Abstract
Why does contrastive learning with simple images and augmentations yield useful representations for downstream tasks? We address this question by analytically computing the optimal representation in terms of a contrastive loss for a range of basic augmentations and any image dataset with stationary statistics. We show that for certain augmentations the optimum can be attained by a CNN whose first layer filters are sinusoids, followed by a pointwise nonlinearity, global average pooling, and a final linear layer that performs partial whitening. We also show that the optimal weights in such CNNs for more complicated augmentations are still sinusoids. The frequencies of the sinusoids and their weights can be computed using a simple waterfilling algorithm given the dataset's expected power spectrum. Experiments with different image datasets and augmentations show that such CNNs trained with SGD empirically learn sinusoids in their first layer and to perform partial whitening
Community
A very cool paper that analytically computes the optimal weights for vision contrastive learning models.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Implicit Data Synthesis for Contrastive Unsupervised Data Augmentation (2026)
- The Loss Is Not Enough: Sampling Conditions and Inductive Bias in Contrastive Representation Learning (2026)
- Sketched Linear Contrastive Learning: Approximation, Optimization, and Statistical Scaling (2026)
- Learning a Maximum Entropy Model for Visual Textures using Diffusion (2026)
- Signal-to-Noise Ratio and Sample Size Govern Representational Alignment in Neural Networks (2026)
- Efficient coding along the visual hierarchy (2026)
- Revisiting Neural Processes via Fourier Transform and Volterra Series (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper