When Reasoning Meets Compression: Understanding the Effects of LLMs Compression on Large Reasoning Models

Nan Zhang, Eugene Kwek, Yusen Zhang, Ngoc-Hieu Nguyen, Prasenjit Mitra, Rui Zhang

TL;DR

This paper investigates how compression techniques—quantization, distillation, and pruning—impact the "thinking" process of Large Reasoning Models (LRMs) like DeepSeek-R1. The authors discover that the final layer's MLP is a critical bottleneck for reasoning. By protecting just 2% of these vital weights from aggressive compression, they achieved a 6.57% boost in average accuracy, significantly outperforming state-of-the-art quantization methods.

What Problem Does This Paper Address?

Large Reasoning Models (LRMs) are powerful but computationally expensive to deploy. While standard LLM compression methods (like quantization) work well for general tasks, it hasn't been clear how they affect the specialized "reasoning chains" that define models like DeepSeek-R1.

Existing research often treats models as black boxes, failing to explain why a model's reasoning collapses under compression. There is a fundamental tension between efficiency and intelligence: does pruning a model's weights kill its ability to logic, or does it just make it forget facts? The authors aim to bridge this gap using mechanistic interpretability to locate exactly which weights are responsible for reasoning capabilities.

Methods

The researchers employed a dual-track approach combining performance benchmarking with mechanistic interpretation.

Overview of the study's methodology, detailing compression effects on reasoning performance and model weights.
  1. Performance Benchmarking: They evaluated various compressed versions of DeepSeek-R1 (quantized via Unsloth, distilled into Llama/Qwen, and pruned via SparseGPT) across diverse reasoning tasks.
  2. Mechanistic Interpretation: To look "under the hood," they adapted two key techniques:
  3. Difference of Means: This extracts "steering vectors" by comparing activation patterns when the model is performing specific reasoning behaviors (like backtracking or uncertainty estimation) versus when it is not.
  4. Attribution Patching: This measures the causal importance of every linear component in the model. By "patching" activations from a reasoning-capable model into a compressed one, they could see which specific weight matrices were the most "important" for maintaining logic.

Datasets

The study utilized four datasets representing different reasoning challenges:

  • AIME 2024: High-difficulty mathematical problems from the American Invitational Mathematics Examination.
  • FOLIO: A dataset for first-order logical reasoning.
  • Temporal Sequences: Tasks requiring the model to reason about the order of events in time.
  • MuSiQue: A multihop reasoning dataset that specifically tests the model's ability to combine reasoning with internal "parametric" knowledge.

Key Insights and Ideas

  • Knowledge vs. Reasoning: The authors found that reducing the total weight count (via pruning or distillation) hurts a model's ability to remember facts (knowledge) much more than its ability to follow logic (reasoning). This suggests that compressed models are better suited for Retrieval-Augmented Generation (RAG) setups where they don't have to rely on memorized facts.
  • The Final Layer is the "Brain": Mechanistic analysis revealed that the mlp.up_proj component in the final layer is an extreme outlier in importance. While most compression methods treat all layers equally, this specific module is the linchpin for reasoning behaviors.
Heatmaps showing weight importance across layers, highlighting the critical role of final-layer MLP projections in reasoning behaviors.
  • Quantization's Blind Spot: Popular quantization methods like AWQ and GPTQ tend to over-compress the final layers and MLP gate projections. The authors argue that these "bottleneck" layers require higher precision than the rest of the model.
  • The "2% Protection" Rule: Because reasoning is concentrated in such a small portion of the model, a "mixed-precision" approach is highly effective. Keeping just the final-layer MLP modules at 16-bit while quantizing the rest of the model to 3-bit yields massive performance gains.

Key Results

  • Dynamic Quantization Success: A dynamically quantized 2.51-bit version of DeepSeek-R1 achieved performance nearly identical to the full-precision model, proving that LRMs are highly over-parameterized.
  • Accuracy Boost: By selectively protecting the final-layer MLP (roughly 2% of total weights), the researchers raised the average accuracy of a 3-bit quantized model by 6.57%, with gains as high as 23.17% on specific benchmarks compared to standard 3-bit quantization.
  • Collapse Points: Pruned models showed a "collapse point" on hard math tasks (AIME) much earlier (at 30-40% sparsity) than on simpler logical tasks, indicating that "hard" reasoning is the first thing to go when weights are removed.

Limitations and Future Work

  • Hardware Implementation: While the "mixed-precision" protection of 2% of weights shows great theoretical promise, implementing this efficiently on standard hardware (which often prefers uniform bit-widths) remains a challenge for future engineering.
  • RAG Dependency: Since compression disproportionately affects knowledge retention, the authors emphasize that compressed LRMs must be paired with external knowledge sources (like RAG) to remain useful for knowledge-intensive tasks.
  • Generalization: While the findings held true for DeepSeek-R1, Llama, and Qwen families, the authors suggest further research is needed to see if these "critical reasoning modules" exist in the same locations for non-Transformer or hybrid architectures.

Summary updated

BibTeX
@inproceedings{zhang2026when,
  author = {Nan Zhang and Eugene Kwek and Yusen Zhang and Ngoc-Hieu Nguyen and Prasenjit Mitra and Rui Zhang},
  title = {{When Reasoning Meets Compression: Understanding the Effects of LLMs Compression on Large Reasoning Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=2za3iNkwXn},
}
Figure