SoLA: Leveraging Soft Activation Sparsity and Low-Rank Decomposition for Large Language Model Compression

Xinhao Huang, You-Liang Huang, Zeyi Wen

Introduction

As Large Language Models (LLMs) scale to billions of parameters, their deployment is increasingly constrained by memory and computational requirements. Traditional compression techniques like pruning and quantization often require specialized hardware or expensive retraining to maintain accuracy. Low-Rank Decomposition (LRD), such as Singular Value Decomposition (SVD), typically suffers from high reconstruction loss because it treats all weight matrix components as equally significant, ignoring the actual data flow during inference.

SoLA (Soft activation sparsity and Low-rAnk decomposition) addresses these challenges by exploiting "soft" activation sparsity. Unlike older ReLU-based models, modern LLMs using SiLU or GeLU do not produce true zeros but exhibit a "long-tail" distribution where a small subset of neurons contributes to the vast majority of activation. SoLA leverages this insight to perform targeted compression without retraining.

Methodology

The SoLA pipeline consists of three primary stages: identifying critical neurons, performing soft sparsity-driven decomposition, and adaptive rank allocation.

Overview of the SoLA compression pipeline, illustrating the transition from the original model to the compressed version via weight slicing and SVD.
  1. Identifying "Prime Neurons": Analysis of Feed-Forward Networks (FFNs) reveals that a tiny fraction of neurons, termed "Prime Neurons," dominate the activation norm. SoLA identifies these (typically the top 15%) and preserves their weights in their original form.
  2. Soft Sparsity Driven Decomposition: SVD is applied exclusively to the "Marginal Neurons"—those contributing minimally to the output. This strategy protects critical information pathways from the noise introduced by low-rank approximation.
  3. Adaptive Rank Allocation: Recognizing that layer sensitivity varies, SoLA employs a greedy heuristic to distribute the compression budget. Instead of a uniform rate, it optimizes rank allocation across layers to minimize total reconstruction error.

Activation Sparsity Analysis

The core motivation for SoLA is the observation of a "15/95 Rule" in modern LLMs. For instance, in Llama-2-13B, the top 15% of neurons account for approximately 95% of the total activation norm.

Activation norm distributions for Llama-2-7B and 13B on WikiText and C4 datasets, showing the characteristic long-tail distribution and cumulative proportion.

This distribution suggests that the majority of neurons (the remaining 85%) can be compressed using low-rank approximations with minimal impact on the model's overall performance.

Experimental Results

SoLA was evaluated on Llama-2 (7B, 13B, 70B) and Mistral-7B models across language modeling (WikiText2, C4) and various downstream benchmarks (MMLU, BoolQ, etc.).

  • Accuracy: On Llama-2-70B at a 30% compression rate, SoLA achieved a perplexity of 4.44, significantly outperforming previous state-of-the-art methods (6.95). Downstream task accuracy improved by 10% compared to baseline compression techniques.
  • Efficiency: The method provides tangible hardware benefits. At a 30% pruning ratio, SoLA delivered a 1.77x speedup for matrix multiplications on Llama-2-13B and a 1.69x speedup on the 70B model using an NVIDIA RTX 4090.
  • Robustness: Performance remained stable across different calibration sets, indicating that the method is not overly sensitive to specific data samples used to identify activation patterns.

Conclusion

SoLA demonstrates that training-free LLM compression is highly viable when leveraging the inherent soft sparsity of activations. By focusing decomposition on marginal neurons and adaptively allocating rank, SoLA achieves superior accuracy and inference speedups. Future work includes refining the greedy search for rank allocation and integrating layer-wise significance to further optimize the compression process.

Summary updated

BibTeX
@inproceedings{huang2025sola,
  author = {Xinhao Huang and You-Liang Huang and Zeyi Wen},
  title = {{SoLA: Leveraging Soft Activation Sparsity and Low-Rank Decomposition for Large Language Model Compression}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i16.33923},
}
Figure