Abstract
Collaborative Filtering (CF) models often face a trade-off between training efficiency and recommendation quality. High-performance models typically rely on computationally expensive negative sampling to ensure embedding uniformity, while faster models suffer from performance degradation due to "rank collapse." This paper identifies the stable rank of embedding matrices as a critical indicator of model performance. By introducing a lightweight stable rank regularization as a warm-start strategy, the authors achieve training speedups of up to 65.9% and performance gains of up to 21.2% on large-scale datasets like AmazonBook, effectively providing a "cheap" alternative to computationally expensive negative sampling.
Introduction
Modern recommendation systems rely on learning user and item embeddings that balance two goals: alignment (making embeddings of users and their liked items similar) and uniformity (keeping embeddings of unrelated items distinct). Achieving uniformity usually requires negative sampling, which can be computationally prohibitive. High-accuracy loss functions like DirectAU often scale poorly, leading to a painful choice between fast, low-performing models (like BPR) and slow, high-accuracy ones.
The authors investigate whether an intrinsic property of the embedding matrices can serve as a proxy for uniformity, allowing for more efficient optimization. They identify Stable Rank—defined as the ratio of the squared Frobenius norm to the squared spectral norm ($\|A\|_F^2 / \|A\|_2^2$)—as a continuous metric that reflects how effectively a model utilizes its embedding dimensions.
Methodology
The research provides both theoretical insights and a practical optimization strategy for CF.
Theoretical Foundation
The authors mathematically demonstrate that learning from positive interactions (alignment) naturally causes rank collapse, where embeddings are squashed into a narrow, low-rank subspace. Conversely, uniformity-promoting losses (like negative sampling) act as a counter-force that increases the stable rank.
Stable Rank Warm-Start
To bypass the early computational bottleneck of expensive negative sampling, the paper proposes a Stable Rank Warm-Start phase. During the initial stages of training, a stable rank regularization term is added to the loss function. This forces the user and item matrices to maintain high rank and diversity at a fraction of the cost of standard uniformity losses. Calculating stable rank only requires finding the largest singular value, which is significantly cheaper than the pairwise distance calculations required by traditional uniformity losses. After this warm-start, the model switches to standard loss functions to capture fine-grained user preferences.
Experimental Evaluation
The approach was validated on four benchmark datasets: MovieLens1M, Gowalla, Yelp2018, and AmazonBook.
Rank as a Performance Proxy
Experiments revealed a direct correlation between a model's stable rank and its recommendation accuracy (NDCG). As shown in Figure 1, high-performing models like DirectAU naturally maintain a higher stable rank, whereas BPR suffers from rapid rank collapse early in training.
Efficiency and Performance Gains
The proposed stable rank regularization significantly improves both training speed and accuracy. On the AmazonBook dataset, the warm-start strategy reduced the training time for DirectAU by approximately 66% while maintaining or slightly improving performance. For the simpler BPR loss, adding stable rank regularization led to a 21.2% improvement in NDCG on AmazonBook, suggesting it can elevate "cheap" models to near-state-of-the-art levels.
Conclusion
Stable rank provides a powerful, computationally efficient lens through which to understand and improve Collaborative Filtering. By using it as a regularization tool during a warm-start phase, researchers can achieve massive speedups and performance improvements across various model architectures, including Matrix Factorization and LightGCN. The proposed method scales linearly with the number of users and items, making it highly practical for real-world, massive-scale production systems. Future work may explore automating the transition between training phases and applying these spectral insights to other domains like Self-Supervised Learning and Large Language Models.
Summary updated