arXiv:2610.37126cs.LGOct 2026

Manuscript Offprint

arXiv:2610.37126

Mechanistic Failure Modes of Weight Pruning in Transformer Language Models

Nabeelah Faumi, Deshan Sumanathilaka

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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 (30%, 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 ( ≥\geq50%) 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.

1 Introduction

Compression is now a default step in the language model deployment pipeline: pruning, quantisation, and distillation are routinely applied to reduce memory footprint and inference cost, often as a black-box post-processing stage after training (Ding et al., 2023; Bai et al., 2024). Because these methods are judged almost entirely by their effect on downstream benchmarks, accuracy and perplexity, they are treated as behaviourally neutral whenever those numbers hold up. This paper asks whether that judgment is safe to make. The concern is not merely academic. A model can produce a correct answer for the wrong reason, and the pathways that mechanistic interpretability has isolated in unpruned models, such as the IOI circuit (Wang et al., 2022), give a concrete setting in which "correct reason" can actually be checked, rather than assumed. If pruning is capable of severing or inverting the specific components responsible for a behaviour while leaving redundant computation to paper over the loss at the output layer, then accuracy-based compression audits are measuring the wrong thing, and models cleared for deployment on that basis may carry mechanistic damage that only surfaces under distribution shift, adversarial input, or further fine-tuning. This risk is what our factorial pruning study is designed to expose. Rather than treating pruning as a single method to be validated once, we vary both what is removed (attention heads vs. MLP neurons) and how it is selected (magnitude-based vs. random), across a range of sparsities, and ask whether these choices leave distinguishable fingerprints on a well-characterised circuit's internal structure, independent of whatever the accuracy metric reports.

Our contributions are twofold. First, we identify two qualitatively distinct mechanistic failure modes of structured pruning in Transformer language models: circuit zeroing and circuit inversion. We show that MLP-neuron pruning can invert an otherwise structurally intact circuit, transforming a functioning circuit into an actively misleading circuit that produces systematic rather than random errors. Second, we demonstrate that standard behavioural and structural pruning evaluations can miss such mechanistic failures: for example, perplexity may rank an inverted model as less damaged, while checking whether circuit components remain present can falsely suggest that the circuit is intact. Our results therefore motivate circuit-level causal analysis as a complementary evaluation of compressed language models.

In the following sections, we review related work, outline our experimental setup, present our results, and conclude with a discussion and conclusion.

References (11)