English

Demystifying When Pruning Works via Representation Hierarchies

Computation and Language 2026-05-13 v3 Machine Learning

Abstract

Network pruning, which removes less important parameters or architectures, is often expected to improve efficiency while preserving performance. However, this expectation does not consistently hold across language tasks: pruned models can perform well on non-generative tasks but frequently fail in generative settings. To understand this discrepancy, we analyze network pruning from a representation-hierarchy perspective, decomposing the internal computation of language models into three sequential spaces: embedding (hidden representations), logit (pre-softmax outputs), and probability (post-softmax distributions). We find that representations in the embedding and logit spaces are largely robust to pruning-induced perturbations. However, the nonlinear transformation from logits to probabilities amplifies these deviations, which accumulate across time steps and lead to substantial degradation during generation. In contrast, the stability of the categorical-token probability subspace, together with the robustness of the embedding space, supports the effectiveness of pruning for non-generative tasks such as retrieval and multiple-choice selection. Our analysis disentangles the effects of pruning across tasks and provides practical guidance for its application. Code is available at https://github.com/CASE-Lab-UMD/Pruning-on-Representations

Keywords

Cite

@article{arxiv.2603.24652,
  title  = {Demystifying When Pruning Works via Representation Hierarchies},
  author = {Shwai He and Guoheng Sun and Haichao Zhang and Yun Fu and Ang Li},
  journal= {arXiv preprint arXiv:2603.24652},
  year   = {2026}
}

Comments

ICML 2026. 24 pages, 21 figures, and 3 tables. Includes an appendix with supplementary experiments and derivations

R2 v1 2026-07-01T11:37:51.931Z