Papers › Efficient Adversarial Contrastive Learning via Robustness-Aware Coreset Selection

Efficient Adversarial Contrastive Learning via Robustness-Aware Coreset Selection

8 Feb 2023NeurIPS 2023 11arXiv:2302.03857archive 2025-07-28

Xilie Xu, Jingfeng Zhang, Feng Liu, Masashi Sugiyama, Mohan Kankanhalli

Adversarial contrastive learning (ACL) does not require expensive data annotations but outputs a robust representation that withstands adversarial attacks and also generalizes to a wide range of downstream tasks. However, ACL needs tremendous running time to generate the adversarial variants of all training data, which limits its scalability to large datasets. To speed up ACL, this paper proposes a robustness-aware coreset selection (RCS) method. RCS does not require label information and searches for an informative subset that minimizes a representational divergence, which is the distance of the representation between natural data and their virtual adversarial variants. The vanilla solution of RCS via traversing all possible subsets is computationally prohibitive. Therefore, we theoretically transform RCS into a surrogate problem of submodular maximization, of which the greedy search is an efficient solution with an optimality guarantee for the original problem. Empirically, our comprehensive results corroborate that RCS can speed up ACL by a large margin without significantly hurting the robustness transferability. Notably, to the best of our knowledge, we are the first to conduct ACL efficiently on the large-scale ImageNet-1K dataset to obtain an effective robust representation via RCS. Our source code is at https://github.com/GodXuxilie/Efficient_ACL_via_RCS.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2302.03857")

Code

Syntology Ran 13 of 16 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 6 ran · our draft was wrong; 1 ran · fixture could not drive it; 6 ran with no contract checked.

By repository: official repository: 16 samples from 1 repository, 13 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

godxuxilie/efficient_acl_via_rcs officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 13 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

6ran · our draft was wrong
1ran · fixture could not drive it
6ran
3unverified

Licence: 16 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from godxuxilie/efficient_acl_via_rcs. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Coreset godxuxilie/efficient_acl_via_rcs/ACL_RCS/ImageNet_32/RCS.py official repository ran no licence file found · pointer only · 21c42dbea46422ff · report
IndexSubset godxuxilie/efficient_acl_via_rcs/ACL_RCS/ImageNet_32/RCS.py official repository ran fingerprinted no licence file found · pointer only · 4f24b8d92ab580fe · report
JS_loss godxuxilie/efficient_acl_via_rcs/ACL_RCS/ImageNet_32/RCS.py official repository ran · fixture could not drive it no licence file found · pointer only · 3cec42992290574e · report
PGD godxuxilie/efficient_acl_via_rcs/ACL_RCS/ImageNet_32/RCS.py official repository ran no licence file found · pointer only · 73ccccfd9181a1bf · report
Subset godxuxilie/efficient_acl_via_rcs/ACL_RCS/ImageNet_32/RCS.py official repository ran · metamorphic tier: well formed fingerprinted no licence file found · pointer only · b6ab53b0b1d32748 · report
cost_matrix_cos godxuxilie/efficient_acl_via_rcs/ACL_RCS/ImageNet_32/RCS.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · d40168e2231e8a69 · report
del_tensor_ele godxuxilie/efficient_acl_via_rcs/ACL_RCS/ImageNet_32/RCS.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 2675d3b1a4707435 · report
get_cost_matrix godxuxilie/efficient_acl_via_rcs/ACL_RCS/ImageNet_32/RCS.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 4a362ab42a0fc3d1 · report
kl_loss godxuxilie/efficient_acl_via_rcs/ACL_RCS/ImageNet_32/RCS.py official repository ran · our draft was wrong no licence file found · pointer only · 9b4fc11504440ef7 · report
nt_xent godxuxilie/efficient_acl_via_rcs/ACL_RCS/ImageNet_32/RCS.py official repository ran no licence file found · pointer only · b65e98b094ad2fb9 · report
pair_cosine_similarity godxuxilie/efficient_acl_via_rcs/ACL_RCS/ImageNet_32/RCS.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 1927d091cae2a0e8 · report
sinkhorn godxuxilie/efficient_acl_via_rcs/ACL_RCS/ImageNet_32/RCS.py official repository ran no licence file found · pointer only · 79f77411b14d1a67 · report
sinkhorn_loss_joint_IPOT godxuxilie/efficient_acl_via_rcs/ACL_RCS/ImageNet_32/RCS.py official repository ran · our draft was wrong no licence file found · pointer only · ed62e0c7d3f3f006 · report
PGD_contrastive godxuxilie/efficient_acl_via_rcs/ACL_RCS/ImageNet_32/RCS.py official repository unverified no licence file found · pointer only · 5b14bac90e4e55c1 · report
RCS godxuxilie/efficient_acl_via_rcs/ACL_RCS/ImageNet_32/RCS.py official repository unverified no licence file found · pointer only · 8b21ffe825b5bbb7 · report
ot_loss godxuxilie/efficient_acl_via_rcs/ACL_RCS/ImageNet_32/RCS.py official repository unverified no licence file found · pointer only · ca78310a071c219e · report

Tasks

Contrastive Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections