English

Weakly Supervised Contrastive Adversarial Training for Learning Robust Features from Semi-supervised Data

Computer Vision and Pattern Recognition 2025-03-21 v2

Abstract

Existing adversarial training (AT) methods often suffer from incomplete perturbation, meaning that not all non-robust features are perturbed when generating adversarial examples (AEs). This results in residual correlations between non-robust features and labels, leading to suboptimal learning of robust features. However, achieving complete perturbation, i.e., perturbing as many non-robust features as possible, is challenging due to the difficulty in distinguishing robust and non-robust features and the sparsity of labeled data. To address these challenges, we propose a novel approach called Weakly Supervised Contrastive Adversarial Training (WSCAT). WSCAT ensures complete perturbation for improved learning of robust features by disrupting correlations between non-robust features and labels through complete AE generation over partially labeled data, grounded in information theory. Extensive theoretical analysis and comprehensive experiments on widely adopted benchmarks validate the superiority of WSCAT. Our code is available at https://github.com/zhang-lilin/WSCAT.

Keywords

Cite

@article{arxiv.2503.11032,
  title  = {Weakly Supervised Contrastive Adversarial Training for Learning Robust Features from Semi-supervised Data},
  author = {Lilin Zhang and Chengpei Wu and Ning Yang},
  journal= {arXiv preprint arXiv:2503.11032},
  year   = {2025}
}

Comments

This paper has been accepted by CVPR 2025

R2 v1 2026-06-28T22:20:03.643Z