cs.LGOct 27, 2026

Mechanistic Failure Modes of Weight Pruning in Transformer Language Models

Authors: Nabeelah Faumi, Deshan Sumanathilaka

Organizations: Informatics Institute of Technology, 57, Ramakrishna Road, Colombo 06, Sri Lanka

Abstract

Pruned language models are judged almost entirely by accuracy and perplexity, which assumes that preserved output behaviour implies preserved internal computation. We test this assumption with a factorial pruning study on GPT-2, crossing two importance criteria (magnitude, random), two component types (attention heads, MLP neurons) and three sparsity levels (3%, 50%, 70%). Using the fully characterised indirect object identification (IOI) circuit as ground truth, we measure circuit integrity with activation patching, path patching and direct logit attribution. We find two qualitatively distinct failure modes. Magnitude head pruning >= zeroes the circuit: output-facing heads are removed, and the model falls to near-chance. Magnitude neuron pruning at 30% inverts it: all 26 circuit heads remain intact, but Name Mover contributions flip sign, and the model systematically prefers the wrong name (17.7% accuracy). Perplexity ranks it as less damaged than random head pruning (74.6 vs 140.1). A replication of the Greater-Than circuit shows that the critical component type depends on the circuit's architecture. These results show that output metrics and structural checks can both miss mechanistic damage, motivating circuit-level causal analysis as a complementary evaluation of compressed language models.

Figures & tables

Appendix figures & tables5 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Magnitude Profile Pruning: Calibration-Free Structured Attention Head Removal for Transformer Compression

    Aug 11, 2026Kasun Dewage, Marianna Pensky, Heranga K. Rathnasekara +1LLM CompressionTransformer Pruning

  2. 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

  3. Pruning via Causal Attribution Preserves Reasoning Performance in Large Language Models

    Apr 27, 2026Amogh Sheth, Andrew Lin, Biruk Assefa +2LLM PruningSelf-Attention