Generalization Bounds for Robust Contrastive Learning: From Theory to Practice

Ngoc N. Tran, Lam Tran, Hoang Phan, Anh Bui, Tung Pham +3 more
11/16/2023
cs.LGcs.CV

No confident code implementation found for this paper.

Abstract

Contrastive Learning first extracts features from unlabeled data, followed by linear probing with labeled data. Adversarial Contrastive Learning (ACL) integrates Adversarial Training into the first phase to enhance feature robustness against attacks in the probing phase. While ACL has shown strong empirical results, its theoretical understanding remains limited. Furthermore, while a fair amount of theoretical works analyze how the unsupervised loss can support the supervised loss in the probing phase, none has examined its role to the robust supervised loss. To fill this gap, our work develops rigorous theories to identify which components in the unsupervised training can help improve the robust supervised loss. Specifically, besides the adversarial contrastive loss, we reveal that the benign one, along with a global divergence between benign and adversarial examples can also improve robustness. Proper experiments are conducted to justify our findings.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{tran2023generalization,
  title  = {Generalization Bounds for Robust Contrastive Learning: From Theory to Practice},
  author = {Ngoc N. Tran and Lam Tran and Hoang Phan and Anh Bui and Tung Pham and Toan Tran and Dinh Phung and Trung Le},
  year   = {2023},
  eprint = {2311.09671},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.09671v2}
}

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/2311.09671.svg)](https://codeofpaper.com/paper/2311.09671)

Discussion