[Paper Review] Toward Understanding the Feature Learning Process of Self-supervised Contrastive Learning
This paper introduces the feature decoupling principle to explain how contrastive learning with data augmentations enables deep neural networks to learn semantically meaningful sparse features instead of spurious dense noise. Theoretically, it proves that ReLU networks trained via contrastive learning with proper augmentations (e.g., RandomMask) suppress correlations in dense noise while preserving sparse signal correlations, enabling effective feature learning—whereas without augmentations, networks collapse onto noisy features due to uncontrolled gradient updates.
How can neural networks trained by contrastive learning extract features from the unlabeled data? Why does contrastive learning usually need much stronger data augmentations than supervised learning to ensure good representations? These questions involve both the optimization and statistical aspects of deep learning, but can hardly be answered by analyzing supervised learning, where the target functions are the highest pursuit. Indeed, in self-supervised learning, it is inevitable to relate to the optimization/generalization of neural networks to how they can encode the latent structures in the data, which we refer to as the feature learning process. In this work, we formally study how contrastive learning learns the feature representations for neural networks by analyzing its feature learning process. We consider the case where our data are comprised of two types of features: the more semantically aligned sparse features which we want to learn from, and the other dense features we want to avoid. Theoretically, we prove that contrastive learning using $\mathbf{ReLU}$ networks provably learns the desired sparse features if proper augmentations are adopted. We present an underlying principle called $ extbf{feature decoupling}$ to explain the effects of augmentations, where we theoretically characterize how augmentations can reduce the correlations of dense features between positive samples while keeping the correlations of sparse features intact, thereby forcing the neural networks to learn from the self-supervision of sparse features. Empirically, we verified that the feature decoupling principle matches the underlying mechanism of contrastive learning in practice.
Motivation & Objective
- To understand why contrastive learning requires stronger data augmentations than supervised learning to learn useful representations.
- To analyze the feature learning process in self-supervised contrastive learning, particularly how augmentations influence the optimization dynamics of neural networks.
- To formalize and prove that contrastive learning with proper augmentations enables neural networks to learn sparse, semantically meaningful features over spurious dense noise.
- To establish a theoretical foundation for the role of data augmentations in guiding representation learning toward desired latent structures.
Proposed method
- The authors model input data as a sparse signal (Mz) corrupted by dense noise (ξ), with ||z||₀ = Õ(1) and ||ξ||₂ = poly(d) ≫ ||Mz||₂.
- They analyze a one-hidden-layer ReLU network trained via stochastic gradient descent (SGD) on contrastive objectives with and without data augmentations.
- They define a data augmentation technique called RandomMask, which stochastically masks input features, and show it reduces correlation between dense noise components in positive pairs.
- The key mechanism, feature decoupling, is formalized as a reduction in cross-correlation of dense features between positive samples while preserving sparse feature correlations.
- Theoretical analysis uses expectation bounds on ReLU activations and gradient updates to show that without augmentations, networks learn dominant dense noise features due to high gradient magnitude on noise.
- Empirical validation is performed using feature visualization and downstream linear evaluation to confirm that augmentations lead to cleaner, more semantically aligned features.
Experimental results
Research questions
- RQ1Why does contrastive learning fail to learn meaningful features without data augmentations?
- RQ2How do data augmentations influence the optimization trajectory of neural networks in self-supervised contrastive learning?
- RQ3What underlying principle enables contrastive learning to focus on sparse, semantically meaningful features rather than dense, spurious noise?
- RQ4Can we theoretically characterize the conditions under which contrastive learning successfully learns desired features?
Key findings
- Without data augmentations, the neural network collapses to learning features dominated by dense noise, as the gradient updates are strongly biased toward high-magnitude noise components.
- With proper augmentations such as RandomMask, the network learns to emphasize sparse signals by reducing inter-sample correlation of dense noise while preserving sparse signal correlations.
- Theoretical analysis proves that under the feature decoupling principle, contrastive learning with SGD on ReLU networks provably learns the desired sparse features when augmentations are applied.
- Empirical results confirm that feature decoupling matches the actual mechanism in practice: augmented contrastive learning produces more semantically meaningful features than non-augmented training.
- The loss function for non-augmented training decays slowly and remains high, indicating poor representation quality, due to the dominance of dense noise in the feature space.
- The learned representations without augmentations are ineffective for downstream linear classification, as shown by near-perfect correlation between features and noise vectors, rendering them useless for linear probing.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.