cs.LGAug 26, 2026

When Pruning Meets Interpretability: Preserving Sparse Autoencoder Robustness in LLMs

Authors: Suchit Gupte, Xueru Zhang, Mohammad Mahdi Khalili

Organizations: Department of Computer Science The Ohio State University Columbus, OH 43210, USA

Abstract

Sparse autoencoders (SAEs) are widely used to interpret the internal representations of large language models (LLMs), yet their reliability under post-hoc model compression remains poorly understood. We present a systematic study of how pruning affects SAE behavior and theoretically show that, for a fixed SAE, its impact is governed by perturbation energy, a covariance-weighted norm. This perspective exposes a key limitation of magnitude pruning: by ignoring activation geometry, it distorts the learned representation space and degrades SAE functionality. Activation-aware methods such as Wanda and SparseGPT, in contrast, implicitly control perturbation energy and are therefore substantially more robust at preserving SAE behavior. We further reveal a consistent structural vulnerability across all pruning methods: middle layers are significantly more sensitive to pruning than early or late layers. Guided by this insight, we propose a layer-wise sparsity allocation strategy, achieving lower perplexity under the same average pruning sparsity. Experiments across four model architectures validate our theoretical findings. Code is publicly available at https://github.com/osu-srml/sae-robustness-under-pruning/tree/main.

Figures & tables

Appendix figures & tables5 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. How Pruning Reshapes Features: Sparse Autoencoder Analysis of Weight-Pruned Language Models

    Mar 26, 2026Hector Borobia, Elies Seguí-Mas, Guillermina Tormo-CarbóLLM PruningRepresentation Geometry in Language Models

  2. Sparse but Wrong: Incorrect L0 Leads to Incorrect Features in Sparse Autoencoders

    Aug 22, 2025David Chanin, Adrià Garriga-AlonsoActivation SparsityLLM Interpretability

  3. Improving Robustness In Sparse Autoencoders via Masked Regularization

    Apr 7, 2026Vivek Narayanaswamy, Kowshik Thopalli, Bhavya Kailkhura +1Sparse AutoencodersMechanistic Interpretability