ARA: Adaptive Rank Allocation for Efficient Large Language Model SVD Compression

Lin Xv, Jingsheng Gao, Xian Gao, Ting Liu, Yuzhuo Fu · DOI

Introduction

Compressing Large Language Models (LLMs) is a prerequisite for their deployment on resource-constrained consumer hardware. Singular Value Decomposition (SVD) has emerged as a popular technique for this purpose, decomposing large weight matrices into smaller, low-rank components. However, LLMs are composed of hundreds of distinct modules, leading to the complex challenge of rank allocation: determining which layers should be compressed most aggressively to meet a specific parameter budget.

Existing rank allocation methods often rely on simple heuristics or suboptimal training-based masks. These masks frequently fail to maintain monotonicity—potentially discarding significant singular values while retaining minor ones—and often struggle with the mathematical discontinuity that occurs when a low-rank approximation approaches the parameter count of the original dense matrix.

Methodology

To address these challenges, the authors introduce ARA (Adaptive Rank Allocation), a framework characterized by two primary innovations:

Staircase Mask Design

Unlike methods that assign independent parameters to every singular value, ARA utilizes a "mapping matrix" and a probability simplex to generate a specialized mask. This design ensures monotonicity, prioritizing the most significant singular values. Furthermore, it enables global updates, allowing the optimizer to adjust the entire rank of a layer holistically rather than through incremental edge tweaks.

Comparison of different mask designs for singular value selection, highlighting the monotonicity of the staircase approach.

Full-Rank Guidance Loss ($L_g$)

ARA introduces a guidance loss that acts as a "nudge" for the optimizer. It evaluates the trade-off between preserved model capacity and parameter cost. If a low-rank approximation provides poor informational value relative to its cost, the guidance loss encourages the module to revert to its original, full-rank dense form. The system employs the Straight-Through Estimator (STE) to maintain gradient flow through the non-differentiable binary decision of keeping or discarding singular values.

Key Insights and Ideas

The "Compression Ratio of 1" Discontinuity

A critical insight of this work is that the loss function is non-smooth at the point where a model reaches 100% of its original parameters. ARA is the first method to explicitly manage this discontinuity, allowing modules to dynamically toggle between SVD decomposition and remaining dense during the training process.

Loss function analysis showing the discontinuity at a compression ratio of 1 and a comparison of ARA's allocation logic versus prior work.

Module Heterogeneity and Quantization Synergy

The research confirms that different LLM modules exhibit varying tolerances for compression. In LLaMA2, for instance, "query" and "key" projections are highly compressible, whereas "value" and "down" projections are vital and often remain uncompressed. Additionally, ARA shows strong synergy with quantization; combining ARA with 4-bit GPTQ yields superior results compared to pure quantization at equivalent memory budgets.

Key Results

ARA establishes a new state-of-the-art for SVD-based LLM compression:

  • Performance: On LLaMA2-7B at an 80% compression ratio, ARA improved average zero-shot accuracy by 9.72 percentage points over uniform compression.
  • Perplexity: It reduced WikiText-2 perplexity from 8.38 (uniform) to 6.42, outperforming other mask-based methods like ARS and Dobi-SVD.
  • Efficiency: ARA achieved a 1.26x inference throughput improvement on an NVIDIA 3090 GPU at a 60% compression ratio.

Limitations and Future Work

While effective, ARA's performance is somewhat dependent on the calibration data used during the rank-learning phase. Future research could explore more direct constraint methods for enforcing target compression ratios beyond soft penalties. Additionally, extending ARA to non-Transformer architectures, such as Mamba or Mixture-of-Experts (MoE), represents a promising direction for future study.

Summary updated

BibTeX
@misc{xv2025ara,
  author = {Lin Xv and Jingsheng Gao and Xian Gao and Ting Liu and Yuzhuo Fu},
  title = {{ARA: Adaptive Rank Allocation for Efficient Large Language Model SVD Compression}},
  year = {2025},
  eprint = {2510.19389},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.19389},
}
Figure