Abstract
Modern Self-Supervised Learning (SSL) models are often interpreted as performing spectral decomposition on data kernels. However, standard objectives typically recover only an unordered feature subspace rather than specific, ranked eigenfunctions. This paper introduces a modular framework to extract ordered and identifiable eigenfunctions from data. By bridging the gap between classical spectral theory and modern representation learning, the authors enable the creation of "adaptive-dimensional representations" that can be truncated on-the-fly for efficient storage or search without significant loss in accuracy.
Introduction
In Self-Supervised Learning (SSL), models like CLIP, SimCLR, or VICReg learn representations by analyzing the relationships between inputs and their contexts. Recent theoretical work suggests these models implicitly perform a spectral decomposition of a contextual kernel. Despite this, a significant gap remains: standard SSL objectives only recover the top-$d$ eigenspace. This results in a "cloud" of features that span the correct mathematical space but lack uniqueness, ordering, or inherent interpretability.
This lack of identifiability and ordering presents a practical challenge. If a model is trained twice, it may produce different features spanning the same space. Furthermore, it prevents efficient truncation; one cannot simply use the first 16 dimensions of a 512-dimensional vector for a low-resource task without experiencing a massive drop in performance. This paper addresses these issues by providing a framework for true eigenfunction extraction.
Methodology
The authors propose a framework to transform standard eigenspace extractors into eigenfunction extractors using three primary building blocks:
1. Nesting Strategies
To force the model to prioritize information, the authors utilize nested objectives.
- Sequential Nesting: Learning one feature at a time in a sequence.
- Joint Nesting: Minimizing a weighted sum of losses across different representation lengths. This is conceptually similar to Matryoshka Representation Learning and encourages the network to pack the most critical information into the leading dimensions.
2. Variational Objectives
The framework maps two major SSL paradigms to spectral objectives:
- Low-Rank Approximation (LoRA): This involves minimizing the error in approximating the kernel, which the authors show is equivalent to the Spectral Contrastive Loss (SCL).
- Rayleigh Quotient (RQ) Optimization: This involves maximizing a specific ratio to find dominant eigenvectors, connecting the framework to non-contrastive methods like VICReg.
3. The Rayleigh-Ritz Method
For models that have already been trained to span a subspace, the authors suggest the Rayleigh-Ritz method as a post-processing technique. By performing a small-scale eigendecomposition on the learned features, one can "rotate" the features into the true, ordered eigenfunctions without retraining the entire network.
Experimental Validation
The framework was validated using both synthetic and real-world datasets:
- Synthetic Kernels: Using Legendre polynomials and Fourier basis functions, the authors confirmed that their methods (specifically LoRA with joint nesting) could recover ground-truth eigenfunctions with high precision, whereas standard methods failed to maintain ordering.
- Real-World Image Data: Testing on CIFAR-10 and ImageNette, the authors evaluated "adaptive-dimensional" performance. Representations ordered by this framework significantly outperformed randomly selected features when truncated. For instance, using only the first 8 or 16 dimensions of a 512-dimensional vector yielded substantially higher linear probe accuracy than standard fixed-feature models.
Key Insights
- Theoretical Foundation for Matryoshka Learning: The paper provides a rigorous explanation for why summing losses over different embedding lengths works: it effectively forces the neural network to perform a true spectral decomposition.
- Identifiability: By extracting eigenfunctions, features represent unique, fundamental structures of the data distribution rather than arbitrary rotations. This makes the features more consistent across different training runs.
- Eigenvalues as Importance Scores: The recovered eigenvalues serve as natural metrics for feature importance, allowing for principled dimensionality reduction.
Discussion and Limitations
While the framework is robust, certain practical challenges remain. The common use of $\ell_2$ normalization in contrastive learning (like SCL) can distort eigenvalue decay, potentially hindering post-processing methods like Rayleigh-Ritz. The authors suggest Joint Nesting as a more effective alternative in these cases. Additionally, while Joint Nesting is efficient, Sequential Nesting remains computationally expensive for high-dimensional vectors.
Conclusion
By moving from subspace recovery to eigenfunction extraction, this research provides a path toward more interpretable and flexible representations. The ability to extract ordered features not only aligns SSL with classical spectral theory but also provides immediate practical benefits for deploying scalable, adaptive-dimensional models in resource-constrained environments.
Summary updated