Understanding Augmentation-based Self-Supervised Representation Learning via RKHS Approximation and Regression
Runtian Zhai, Bingbin Liu, Andrej Risteski, Zico Kolter, Pradeep Ravikumar
TL;DR
This work presents a kernel-based perspective on augmentation-driven self-supervised representation learning by introducing the augmentation-induced RKHS ${\mathcal{H}}_{\Gamma}$ and proving that upstream pretraining performs RKHS approximation while downstream tasks realize RKHS regression. It derives two nonparametric generalization bounds: one for arbitrary encoders and another for near-optimal encoders that approximate the top-$d$ eigenspace, with accuracy governed by augmentation complexity $\kappa$ and a trace-gap term $\tau$. The framework disentangles the roles of the encoder and augmentation, enabling model-free guarantees and providing a practical metric to compare augmentations; it is complemented by theoretical analysis on masking schemes and empirical evidence on NLP tasks showing a sweet spot in augmentation strength. Overall, the paper offers a principled, mathematically grounded lens to design and evaluate augmentations in SSL, with implications for improving sample efficiency and downstream performance.
Abstract
Data augmentation is critical to the empirical success of modern self-supervised representation learning, such as contrastive learning and masked language modeling. However, a theoretical understanding of the exact role of augmentation remains limited. Recent work has built the connection between self-supervised learning and the approximation of the top eigenspace of a graph Laplacian operator, suggesting that learning a linear probe atop such representation can be connected to RKHS regression. Building on this insight, this work delves into a statistical analysis of augmentation-based pretraining. Starting from the isometry property, a geometric characterization of the target function given by the augmentation, we disentangle the effects of the model and the augmentation, and prove two generalization bounds that are free of model complexity. Our first bound works for an arbitrary encoder, where the prediction error is decomposed as the sum of an estimation error incurred by fitting a linear probe with RKHS regression, and an approximation error entailed by RKHS approximation. Our second bound specifically addresses the case where the encoder is near-optimal, that is it approximates the top-d eigenspace of the RKHS induced by the augmentation. A key ingredient in our analysis is the augmentation complexity, which we use to quantitatively compare different augmentations and analyze their impact on downstream performance.
