GRASP: Replace Redundant Layers with Adaptive Singular Parameters for Efficient Model Compression

Kainan Liu, Yong Zhang, Ning Cheng, Zhitao Li, Shaojun Wang, Jing Xiao

TL;DR

Large Language Models (LLMs) often contain redundant layers, but completely removing them severely degrades model performance. GRASP (Gradient-based Retention of Adaptive Singular Parameters) solves this by using gradient-guided Singular Value Decomposition (SVD) to identify and retain only the most critical 10% of parameters within these redundant layers. This approach achieves hardware speedups comparable to full layer removal while preserving up to 90% of the original model's performance without requiring heavy retraining.

What Problem Does This Paper Address?

As Large Language Models grow, deploying them on resource-constrained hardware becomes increasingly difficult. Structured layer pruning—deleting entire layers from the network—is an attractive solution because it directly reduces inference latency without requiring specialized sparse-matrix hardware.

However, dropping layers completely disrupts the network's internal representations and information flow, causing steep performance drops. Alternative methods that replace dropped layers with lightweight modules typically initialize them randomly, demanding substantial computational resources and data to retrain. The authors of GRASP address this dilemma: how can we achieve the efficiency gains of layer pruning without destroying the model's accuracy or requiring expensive recovery training?

Methods

GRASP operates in two main phases:

  1. Redundant Layer Selection: The framework computes the cosine similarity between the input and output hidden states of each transformer layer using a small calibration dataset. A high cosine similarity implies the layer performs minimal transformation and is functionally redundant.
  2. Gradient-Guided Compression: Instead of deleting these redundant layers, GRASP applies SVD to their weight matrices ($W = U\Sigma V^\top$). Crucially, instead of keeping components based purely on the magnitude of their singular values, GRASP uses a first-order Taylor expansion to compute a gradient-based sensitivity score for each singular group. It retains only the top $r\%$ (typically 10%) highest-scoring components to reconstruct a highly compressed, low-rank version of the layer.
Figure 1: Unlike conventional layer pruning, which either skips redundant layers—often causing moderate performance drops—or replaces them with lightweight modules that require additional training, GRASP (right) retains only the most critical 10% of parameters within the redundant layers, effectively preserving accuracy with minimal overhead.

Datasets

  • Calibration: WikiText-2 and C4 (used to compute gradients and evaluate layer cosine similarities).
  • Evaluation: The method was validated across 19 standard benchmarks, including:
  • Commonsense Reasoning: WinoGrande, HellaSwag, OpenBookQA, PIQA, ARC-Easy, ARC-Challenge, and MathQA.
  • NLU & QA: CMNLI, CHID, WSC, CommonsenseQA, BoolQ, MMLU, CMMLU, Race, and C3.
  • Math/Generation: GSM8K.
  • Long-context: LongBench.

No new benchmarks were introduced.

Key Insights and Ideas

  • Magnitude $\neq$ Importance: A key "aha moment" is that the absolute size of a singular value does not dictate its importance to downstream tasks. Smaller singular values can sometimes be vital for performance, meaning standard magnitude-based SVD truncation leaves performance on the table.
Figure 2: Sensitivity analysis of grouped singular value truncation. While singular values are typically ordered by magnitude, their impact on downstream performance does not follow the same order.
  • The 10% Sweet Spot: Redundant layers exhibit an extremely low-rank structure. The authors found that retaining just 10% of the parameters via gradient-guided selection acts as a practical inflection point—adding more parameters yields diminishing returns, while keeping 10% preserves the original model's spectral alignment.
  • Preserving the Flow: By keeping a low-rank skeleton of the redundant layers rather than skipping them entirely, GRASP maintains the continuity of intermediate representations, preventing the catastrophic information disruption typical of direct layer dropping.

Key Results

  • Training-Free Superiority: Without any post-training fine-tuning, GRASP outperformed structural pruning baselines (like LaCo and SliceGPT) on LLaMA 3.1-8B-Instruct at a 20% compression ratio, achieving an average accuracy of 47% across seven reasoning tasks compared to SliceGPT's 35%.
  • Rapid Recovery: When paired with a lightweight post-training step (just 1 epoch of fine-tuning on the Alpaca dataset), GRASP recovered 94.9% of the original model's performance at a 25% compression ratio.
  • Real Hardware Speedups: Throughput tests (tokens/sec) on an NVIDIA A100 GPU showed that GRASP delivers generation speedups nearly identical to complete layer removal, proving that the retained 10% low-rank parameters add negligible computational overhead.

Limitations and Future Work

  • Heuristic Layer Selection: Identifying redundant layers via hidden-state cosine similarity is effective but simple; it might miss more complex, distributed forms of redundancy across deeper model layers.
  • Gradient Dependency: GRASP requires access to gradients and internal representations, making it unusable for strict black-box models or privacy-restricted environments where weights and gradients are hidden.
  • Scale and Language Limits: The experiments were restricted to models up to 13B parameters (LLaMA and Mistral families) and focused primarily on English-language tasks. Scaling the method to 70B+ parameter models and multilingual settings remains an open area for future research.

Summary updated

BibTeX
@inproceedings{liu2025grasp,
  author = {Kainan Liu and Yong Zhang and Ning Cheng and Zhitao Li and Shaojun Wang and Jing Xiao},
  title = {{GRASP: Replace Redundant Layers with Adaptive Singular Parameters for Efficient Model Compression}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
}
Figure