NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

When Pruning Meets Interpretability: Preserving Sparse Autoencoder Robustness in LLMs

Suchit Gupte, Xueru Zhang, Mohammad Mahdi Khalili

TL;DR

This paper investigates how post-hoc weight pruning in Large Language Models (LLMs) affects the reliability of Sparse Autoencoders (SAEs) used for mechanistic interpretability. The authors introduce "perturbation energy"—a covariance-weighted norm—as a theoretical framework to explain why activation-aware pruning methods (like Wanda and SparseGPT) are significantly better at preserving SAE functionality than simple magnitude pruning.

What Problem Does This Paper Address?

As LLMs grow, post-hoc compression (like pruning) has become essential for deployment. Simultaneously, Sparse Autoencoders (SAEs) have become the gold standard for "peeking under the hood" to understand a model's internal features.

However, these two workflows are in tension: an SAE is typically trained on the activations of a specific dense model. When that model is pruned, its internal activations shift. The central question is: Does an SAE trained on a dense model remain valid after that model is pruned? Until now, there was no theoretical framework to explain why some pruning methods break interpretability tools more than others, or how to mitigate this degradation.

Methods

The authors develop a unified perturbation-theoretic analysis to bound SAE degradation.

  1. Perturbation Energy ($\epsilon^2$): They show that SAE reconstruction error is governed by a data-dependent quantity called perturbation energy. Mathematically, this is a covariance-weighted norm: $\epsilon^2 = \text{tr}(\Delta W \Sigma_{x_{in}} \Delta W^\top)$, where $\Sigma_{x_{in}}$ is the second-moment matrix of layer inputs.
  2. Pruning Paradigm Comparison: The authors use this theory to rank pruning methods.
  3. Magnitude Pruning ignores activation geometry, minimizing the Frobenius norm (which only works if the covariance is an identity matrix).
  4. Wanda uses a diagonal approximation of the covariance.
  5. SparseGPT uses the full covariance matrix, making it the most robust.
  6. Layer-wise Sparsity Allocation: Based on the discovery that middle layers are uniquely sensitive, the authors propose a non-uniform pruning schedule. Instead of pruning every layer by 50%, they prune early layers less aggressively to protect the foundational features that middle layers depend on.

Datasets

The study evaluates four model architectures: Pythia-70m, Gemma-2-2b, Gemma-2-9b, and Mistral-7b.

For evaluation, they utilize SAEBench, a comprehensive suite that goes beyond simple reconstruction error to include:

  • Core Metrics: KL divergence, Cross-Entropy loss, and Explained Variance.
  • Feature Absorption: Detecting if features "split" or get swallowed by unrelated latents.
  • SCR (Spurious Correlation Removal): Testing if causal interventions still work.
  • TPP (Targeted Probe Perturbation): Measuring the selectivity of feature ablations.

Key Insights and Ideas

  • Geometry Matters: The impact of pruning depends not just on how much the weights change, but how those changes align with high-variance input directions. Magnitude pruning is "blind" to this geometry, causing it to distort the representation space severely.
  • The "Middle-Layer" Vulnerability: Across all models and methods, middle layers are the most sensitive to pruning. The authors hypothesize that early layers build foundational features that are inherited by middle layers via residual connections. Pruning upstream weights creates a cascading "perturbation" that hits middle layers the hardest.
  • Aggregate Metrics are Deceptive: A pruned model might have a "reasonable" KL divergence score (suggesting it still performs well), while its interpretability metrics (SCR and TPP) have completely collapsed. This means a model can remain functional but become a "black box" again because its SAEs no longer provide faithful decompositions.

Key Results

  • Method Ordering: Experiments confirmed the theoretical hierarchy: SparseGPT $\approx$ Wanda $\gg$ Magnitude Pruning.
  • Interventional Collapse: At 50% sparsity on Gemma-2-2b, Magnitude pruning degraded SCR by up to 60% and TPP by 80% in the worst-affected layers. In contrast, Wanda and SparseGPT remained within 15–25% of the dense baseline.
  • Efficiency Gains: The proposed layer-wise sparsity schedule (ramping from 20% in early layers to 60% in later layers) achieved significantly lower perplexity than uniform 50% pruning while maintaining the same total parameter budget.

Limitations and Future Work

  • Fixed SAEs: The study holds SAE weights fixed. A natural next step is exploring whether retraining SAEs on pruned models can recover lost interpretability.
  • Scope of Compression: The analysis is limited to unstructured pruning. Future work is needed to see if these theoretical bounds apply to structured pruning, quantization, or knowledge distillation.
  • Theoretical Gap: While the middle-layer sensitivity is empirically robust, the paper notes that a formal, first-principles theoretical explanation for why this specific depth is so vulnerable remains an open problem.

Summary updated

BibTeX
@inproceedings{gupte2026when,
  author = {Suchit Gupte and Xueru Zhang and Mohammad Mahdi Khalili},
  title = {{When Pruning Meets Interpretability: Preserving Sparse Autoencoder Robustness in LLMs}},
  booktitle = {COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=ylNaIG9BIt},
}
Figure