An Augmentation-Aware Theory for Self-Supervised Contrastive Learning
Jingyi Cui, Hongwei Wen, Yisen Wang
TL;DR
This work introduces an augmentation-aware theory for self-supervised contrastive learning by deriving an error bound that ties downstream supervised risk to the unsupervised risk plus two augmentation-induced distance terms. The authors formalize the data-generation and loss framework, and under a Centered Representation enhancement present an improved bound. A novel Semantic Label Assumption enables analysis of how random crop and color distortion trade off the two augmentation distances, a claim substantiated by pixel- and representation-level experiments. Empirical results on CIFAR-100 and TinyImagenet demonstrate that optimal augmentation parameters minimize the distance sum and maximize downstream linear-probing accuracy, providing practical guidance for augmentations in contrastive learning.
Abstract
Self-supervised contrastive learning has emerged as a powerful tool in machine learning and computer vision to learn meaningful representations from unlabeled data. Meanwhile, its empirical success has encouraged many theoretical studies to reveal the learning mechanisms. However, in the existing theoretical research, the role of data augmentation is still under-exploited, especially the effects of specific augmentation types. To fill in the blank, we for the first time propose an augmentation-aware error bound for self-supervised contrastive learning, showing that the supervised risk is bounded not only by the unsupervised risk, but also explicitly by a trade-off induced by data augmentation. Then, under a novel semantic label assumption, we discuss how certain augmentation methods affect the error bound. Lastly, we conduct both pixel- and representation-level experiments to verify our proposed theoretical results.
