Contrastive Learning with Adversarial Examples
Chih-Hui Ho, Nuno Vasconcelos
Abstract
Contrastive learning (CL) is a popular technique for self-supervised learning (SSL) of visual representations. It uses pairs of augmentations of unlabeled training examples to define a classification task for pretext learning of a deep embedding. Despite extensive works in augmentation procedures, prior works do not address the selection of challenging negative pairs, as images within a sampled batch are treated independently. This paper addresses the problem, by introducing a new family of adversarial examples for constrastive learning and using these examples to define a new adversarial training algorithm for SSL, denoted as CLAE. When compared to standard CL, the use of adversarial examples creates more challenging positive pairs and adversarial training produces harder negative pairs by accounting for all images in a batch during the optimization. CLAE is compatible with many CL methods in the literature. Experiments show that it improves the performance of several existing CL baselines on multiple datasets.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
48 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Can contrastive learning avoid shortcut solutions? cites Hard Negative Mixing for Contrastive Learning
- Can contrastive learning avoid shortcut solutions? cites A Simple Framework for Contrastive Learning of Visual Representations
- Hard Negative Mixing for Contrastive Learning cites A Simple Framework for Contrastive Learning of Visual Representations
- Hard Negative Mixing for Contrastive Learning cites Supervised Contrastive Learning
- Hard Negative Mixing for Contrastive Learning cites On Mutual Information Maximization for Representation Learning
- A Simple Framework for Contrastive Learning of Visual Representations cites On Mutual Information Maximization for Representation Learning
- Fast is better than free: Revisiting adversarial training cites Towards Evaluating the Robustness of Neural Networks
- Supervised Contrastive Learning cites A Simple Framework for Contrastive Learning of Visual Representations
- Supervised Contrastive Learning cites On Mutual Information Maximization for Representation Learning
- On Feature Decorrelation in Self-Supervised Learning cites Hard Negative Mixing for Contrastive Learning
- On Feature Decorrelation in Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
- SimGRACE: A Simple Framework for Graph Contrastive Learning without Data Augmentation cites A Simple Framework for Contrastive Learning of Visual Representations
Cited by top-tier papers48
- Hard Negative Mixing for Contrastive LearningYannis Kalantidis, Mert Bülent Sariyildiz, Noé Pion, Philippe Weinzaepfel et al.NeurIPS 2020 · 805 citations
- SimGRACE: A Simple Framework for Graph Contrastive Learning without Data AugmentationJun Xia, Lirong Wu, Jintao Chen, Bozhen Hu et al.WWW 2022 · 424 citations
- On Feature Decorrelation in Self-Supervised LearningTianyu Hua, Wenxiao Wang, Zihui Xue, Sucheng Ren et al.ICCV 2021 · 237 citations
- Unpaired Deep Image Deraining Using Dual Contrastive LearningXiang Chen, Jinshan Pan, Kui Jiang, Yufeng Li et al.CVPR 2022 · 190 citations
- Can contrastive learning avoid shortcut solutions?Joshua Robinson, Li Sun, Ke Yu, Kayhan Batmanghelich et al.NeurIPS 2021 · 185 citations
Builds on11
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
- Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna et al.NeurIPS 2020 · 7,049 citations
- Fast is better than free: Revisiting adversarial trainingEric Wong, Leslie Rice, J. Zico KolterICLR 2020 · 1,352 citations
- On Mutual Information Maximization for Representation LearningMichael Tschannen, Josip Djolonga, Paul K. Rubenstein, Sylvain Gelly et al.ICLR 2020 · 559 citations
Related papers
- Adversarial Contrastive Graph Augmentation with Counterfactual RegularizationTao Long, Lei Zhang, Liang Zhang, Laizhong CuiAAAI 2025 · 5 citations
- Identity-Disentangled Adversarial Augmentation for Self-supervised LearningKaiwen Yang, Tianyi Zhou, Xinmei Tian, Dacheng TaoICML 2022 · 13 citations
- Data-Efficient Contrastive Self-supervised Learning: Most Beneficial Examples for Supervised Learning Contribute the LeastSiddharth Joshi, Baharan MirzasoleimanICML 2023 · 29 citations
- ReSSL: Relational Self-Supervised Learning with Weak AugmentationMingkai Zheng, Shan You, Fei Wang, Chen Qian et al.NeurIPS 2021 · 147 citations
- Effective Targeted Attacks for Adversarial Self-Supervised LearningMinseon Kim, Hyeonjeong Ha, Sooel Son, Sung Ju HwangNeurIPS 2023 · 6 citations
