Efficient Adversarial Contrastive Learning via Robustness-Aware Coreset Selection

Xilie Xu, Jingfeng Zhang, Feng Liu, Masashi Sugiyama, Mohan Kankanhalli
2/12/2026

No official code found. Best implementation: GodXuxilie/Efficient_ACL_via_RCS (10 stars, last commit 2024-01-22).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

Efficient Adversarial Contrastive Learning via Robustness-aware Coreset Selection (NeurIPS 2023 Spotlight)

103Shell, PythonJan 9, 20232 years ago

Similar Papers

Cite this paper

@article{xu2026efficient,
  title  = {Efficient Adversarial Contrastive Learning via Robustness-Aware Coreset Selection},
  author = {Xilie Xu and Jingfeng Zhang and Feng Liu and Masashi Sugiyama and Mohan Kankanhalli},
  year   = {2026},
  eprint = {2302.03857},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2302.03857},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.03857.svg)](https://codeofpaper.com/paper/2302.03857)

Discussion