RMT-KD: Random Matrix Theoretic Causal Knowledge Distillation
Davide Ettori, Nastaran Darabi, Sureshkumar Senthilkumar, Amit Ranjan Trivedi
TL;DR
RMT-KD addresses the cost of deploying large models by applying Random Matrix Theory to identify informative directions in hidden activations. It iteratively compresses networks by projecting activations onto a causal subspace defined by outlier eigenvalues beyond the MP bulk, coupled with self-distillation to preserve accuracy; the approach uses $\Sigma = \tfrac{1}{n} X X^\top$ and thresholds at $\lambda_\pm = \sigma^2(1 \pm \sqrt{d/n})^2$ with outliers beyond $\lambda_+$. A principled rule based on the BBP-like signal separation guides which directions to retain, avoiding heuristic rank choices, and the training loop runs with $L = \alpha \mathrm{CE}_{\text{task}} + (1-\alpha) \mathrm{KL}(p_{old} \| p_{new})$, until compression targets are met. Empirically, the method yields up to $\approx 80\%$ parameter reduction with about $2\%$ accuracy loss and substantial speedups (around $2.8\times$) and energy savings on GLUE and CIFAR-10, with larger gains for overparameterized transformers and dense, hardware-friendly implementations.
Abstract
Large deep learning models such as BERT and ResNet achieve state-of-the-art performance but are costly to deploy at the edge due to their size and compute demands. We present RMT-KD, a compression method that leverages Random Matrix Theory (RMT) for knowledge distillation to iteratively reduce network size. Instead of pruning or heuristic rank selection, RMT-KD preserves only informative directions identified via the spectral properties of hidden representations. RMT-based causal reduction is applied layer by layer with self-distillation to maintain stability and accuracy. On GLUE and CIFAR-10, RMT-KD achieves up to 80% parameter reduction with only 2% accuracy loss, delivering 2.8x faster inference and nearly halved power consumption. These results establish RMT-KD as a mathematically grounded approach to network distillation.
