Efficient Maximal Coding Rate Reduction by Variational Forms

Christina Baek, Ziyang Wu, Kwan Ho Ryan Chan, Tianjiao Ding, Yi Ma, Benjamin D. Haeffele · DOI

Abstract

The principle of Maximal Coding Rate Reduction ($MCR^2$) has recently been proposed as a training objective for learning discriminative low-dimensional structures intrinsic to high-dimensional data to allow for more robust training than standard approaches, such as cross-entropy minimization. However, despite the advantages that have been shown for $MCR^2$ training, $MCR^2$ suffers from a significant computational cost due to the need to evaluate and differentiate a significant number of log-determinant terms that grows linearly with the number of classes. By taking advantage of variational forms of spectral functions of a matrix, we reformulate the $MCR^2$ objective to a form that can scale significantly without compromising training accuracy. Experiments in image classification demonstrate that our proposed formulation results in a significant speed up over optimizing the original $MCR^2$ objective directly and often results in higher quality learned representations. Further, our approach may be of independent interest in other models that require computation of log-determinant forms, such as in system identification or normalizing flow models.

Introduction

Standard deep learning models typically use Cross-Entropy (CE) loss, which focuses on fitting labels but often leads to "neural collapse"—a state where all data points in a class collapse into a single point in the feature space, losing internal variability.

The Maximal Coding Rate Reduction ($MCR^2$) principle was proposed as an alternative. It encourages features to lie on diverse, low-dimensional subspaces, which is more robust to noise and better reflects the underlying geometry of data. However, $MCR^2$ has a massive computational bottleneck: it requires calculating and differentiating multiple log-determinant terms. This cost scales cubically with the feature dimension ($d^3$) and linearly with the number of classes ($k$). Consequently, $MCR^2$ was previously impractical for datasets with hundreds or thousands of classes.

Methods: Variational Reformulation

The authors propose a variational reformulation of the $MCR^2$ objective. Instead of calculating the log-determinant of a matrix directly, they use a mathematical identity that transforms the problem into a maximization over auxiliary variables. This reparameterization uses a shared "dictionary" ($\Gamma$) and class-specific encoding vectors ($A_j$), turning the compression term of $MCR^2$ into a form resembling a "low-rank LASSO" problem.

To optimize this new objective, the training process alternates between updating the neural network weights and updating the variational parameters. To speed up convergence, the authors introduce a technique called "latching"—periodically re-initializing the variational parameters using an approximate Singular Value Decomposition (SVD). This prevents the optimization from getting stuck in slow-moving gradient steps.

Experimental Evaluation

The authors evaluated their method on four standard image classification benchmarks: MNIST, CIFAR-10, CIFAR-100, and Tiny ImageNet. The inclusion of CIFAR-100 and Tiny ImageNet is significant, as these were previously considered too computationally expensive for the original $MCR^2$ objective.

Training dynamics across MNIST, CIFAR-10, CIFAR-100, and Tiny ImageNet.

As shown in the training curves above, V-$MCR^2$ consistently achieves stable convergence across all benchmarks. Notably, the variational form isn't just faster; it's often more effective at driving the features into orthogonal subspaces.

Key Results

  • Massive Speedups: V-$MCR^2$ was 5x faster per epoch on CIFAR-100 and 12x faster on Tiny ImageNet compared to the original $MCR^2$.
  • Superior Accuracy: On CIFAR-100, V-$MCR^2$ achieved a test accuracy of 58.7%, dwarfing the original $MCR^2$’s 24.2%. It even slightly outperformed standard Cross-Entropy (58.4%) in the same experimental setup.
  • Robustness: The representations learned via V-$MCR^2$ showed much clearer class separation (orthogonality) in high-dimensional spaces than the original formulation, especially as the number of classes increased.
Detailed comparison of training objectives on CIFAR-100 for feature dimensions d=100 and d=500.

Figure 4 highlights the performance gap on CIFAR-100. While the original $MCR^2$ struggles to increase the rate reduction $\Delta R$ effectively, V-$MCR^2$ drives it much higher, indicating better class separation and feature compression.

Conclusion

V-$MCR^2$ successfully addresses the scalability bottleneck of the Maximal Coding Rate Reduction principle. By leveraging variational forms, the method avoids the cubic complexity of log-determinants while improving representation quality and robustness. Future work will explore hyperparameter sensitivity and the theoretical reasons behind the variational form's superior optimization landscape.

Summary updated

BibTeX
@misc{baek2022efficient,
  author = {Christina Baek and Ziyang Wu and Kwan Ho Ryan Chan and Tianjiao Ding and Yi Ma and Benjamin D. Haeffele},
  title = {{Efficient Maximal Coding Rate Reduction by Variational Forms}},
  year = {2022},
  eprint = {2204.00077},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.00077},
}
Figure