Predicting What You Already Know Helps: Provable Self-Supervised Learning
Jason D. Lee, Qi Lei, Nikunj Saunshi, Jiacheng Zhuo
TL;DR
This work addresses why self-supervised learning (SSL) helps downstream tasks by formalizing approximate conditional independence (ACI) between pretext targets and inputs conditioned on the label $Y$. It shows that learning a representation $\psi(X_1)$ to predict the pretext $X_2$ can implicitly encode $Y$, enabling a linear predictor on top of $\psi$ with favorable sample complexity bounds. The paper derives finite-sample excess-risk bounds under exact CI and extends them to ACI with latent variables, including a topic-model example that achieves $\mathcal{O}(k)$ labeled samples, and connections to nonlinear CCA, SimSiam, and ACE with analogous guarantees. Experiments on simulations and real CV/NLP tasks validate the theory, demonstrating substantial improvements in downstream performance with SSL representations and providing a practical pathway to reducing labeled-data requirements in diverse domains.
Abstract
Self-supervised representation learning solves auxiliary prediction tasks (known as pretext tasks) without requiring labeled data to learn useful semantic representations. These pretext tasks are created solely using the input features, such as predicting a missing image patch, recovering the color channels of an image from context, or predicting missing words in text; yet predicting this \textit{known} information helps in learning representations effective for downstream prediction tasks. We posit a mechanism exploiting the statistical connections between certain {\em reconstruction-based} pretext tasks that guarantee to learn a good representation. Formally, we quantify how the approximate independence between the components of the pretext task (conditional on the label and latent variables) allows us to learn representations that can solve the downstream task by just training a linear layer on top of the learned representation. We prove the linear layer yields small approximation error even for complex ground truth function class and will drastically reduce labeled sample complexity. Next, we show a simple modification of our method leads to nonlinear CCA, analogous to the popular SimSiam algorithm, and show similar guarantees for nonlinear CCA.
