LeJEPA features differ from ideal form improving self-supervised learning speed
LeJEPA Features Are Not Isotropic, and Should Not Be
Computer Vision and Pattern RecognitionMachine Learning
Summary
Regularization methods aim to shape how computer models learn features from data. The authors found that the common LeJEPA approach tries to make features spread out like a perfect ball shape, but it doesn't quite work. They created a better way to guide this feature shaping that speeds up learning on image tasks. They also show that forcing features into this perfect ball shape is not ideal because the detailed math of feature directions and sizes conflicts with it. Their improved method relaxes this strictness and achieves better results faster.
What this means in practice
- •For computer vision teams: Train self-supervised models faster and with better accuracy using the improved regularization method on image classification tasks.
- •For machine learning engineers: Implement more reliable feature distribution regularization without hyperparameter tuning across datasets and model sizes.
Authors
Richeek Das, Pratik Chaudhari
Abstract
The SIGReg term in LeJEPA regularizes features to have an isotropic Gaussian distribution. Our first result is to show that this regularizer, in practice, cannot achieve its goal. We design a modified regularizer to enforce the objective better. This leads to slightly improved performance. For example, on ImageNet-100, our modified regularizer reaches the final accuracy of SIGReg in 1.3$\times$ fewer epochs. Our second result argues that self-supervised encoders should not have isotropic Gaussian features. We show that the alignment term in LeJEPA conflicts with SIGReg, because it couples the magnitude of the features with their directions. In contrast, isotropic Gaussian features would entail independent magnitude and directions. Features obtained with LeJEPA are, in fact, not isotropic. So LeJEPA has two issues. Its regularizer is weak, and the isotropic Gaussian target is too strict. Our third result is about reformulating the isotropic Gaussian regularizer to enforce only the marginal distributions of the magnitude and direction, without enforcing independence. This leads to a simple regularization term, PolarReg, that can be optimized reliably across many different datasets, batch sizes and embedding dimensions without any hyper-parameter changes. On ImageNet-1k, our technique matches the accuracy of LeJEPA and its variants in 4.7$\times$ fewer epochs. It improves the final accuracy by 1.8 points.