mlsanityData to 26 Nov 2026

Fewer Heads, Fewer Memories: Pruning Redundant Attention Heads Suppresses Verbatim Memorisation

arXiv 2610.40974 ↗Submitted 29 Oct 2026cs.CL cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Large language models have been shown to memorise and reproduce verbatim sequences from their training data, raising concerns about privacy leakage, intellectual property exposure, and the limits of generalisation. Recent theoretical work suggests that attention heads may contribute to this behaviour by functioning as associative memory mechanisms, with memorisation capacity scaling with the number of heads. At the same time, empirical work has shown that many attention heads are redundant and can be pruned with limited impact on downstream performance. Despite these parallel findings, the effect of pruning redundant heads on memorised-sequence reproduction remains unexplored. In this work, we demonstrate that zeroing out a substantial fraction of attention heads prior to inference can significantly suppress verbatim memorisation while preserving, or even improving, language modelling performance on the benchmark used to identify redundant heads. Evaluating GPT-2-XL(1.5B) on known memorised sequences, we find that pruning 729 task-redundant heads reduces the memorisation count by 91.5%, while improving WikiText-103 perplexity by 0.92. These findings suggest that attention-head redundancy can be exploited to mitigate memorisation at inference time, without retraining or modifying the training data.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 10 of its 16 references that are in the map. Submitted 29 Oct 2026.

Builds on

10 of 16 references.

References · 10

  1. 2022Locating and Editing Factual Associations in GPTcited by 2,951
  2. 2020Extracting Training Data from Large Language Modelscited by 2,267
  3. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,232
  4. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 1,077
  5. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 899
  6. 2019Are Sixteen Heads Really Better than One?cited by 856
  7. 2021Differentially Private Fine-tuning of Language Modelscited by 411
  8. 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 327
  9. 2022Preventing Verbatim Memorization in Language Models Gives a False Sense of Privacycited by 109
  10. 2023Memorization Capacity of Multi-Head Attention in Transformerscited by 47

Built on by

Not cited yet.