COALA: Numerically Stable and Efficient Framework for Context-Aware Low-Rank Approximation
This addresses a critical stability issue for practitioners compressing large neural networks, though it is incremental as it builds on existing context-aware methods.
The paper tackles numerical instability in context-aware low-rank approximation for neural network compression and fine-tuning, proposing a stable inversion-free framework that handles memory constraints, near-singular inputs, and insufficient data, with proven convergence and error bounds.
Recent studies suggest that context-aware low-rank approximation is a useful tool for compression and fine-tuning of modern large-scale neural networks. In this type of approximation, a norm is weighted by a matrix of input activations, significantly improving metrics over the unweighted case. Nevertheless, existing methods for neural networks suffer from numerical instabilities due to their reliance on classical formulas involving explicit Gram matrix computation and their subsequent inversion. We demonstrate that this can degrade the approximation quality or cause numerically singular matrices. To address these limitations, we propose a novel inversion-free regularized framework that is based entirely on stable decompositions and overcomes the numerical pitfalls of prior art. Our method can handle possible challenging scenarios: (1) when calibration matrices exceed GPU memory capacity, (2) when input activation matrices are nearly singular, and even (3) when insufficient data prevents unique approximation. For the latter, we prove that our solution converges to a desired approximation and derive explicit error bounds.