mlsanityData to 14 Oct 2026

Mechanistic Interpretability of GPT-like Models on Summarization Tasks

arXiv 2505.17073 ↗First posted 20 May 2025cs.CL cs.AI cs.LGcited by 0

On the map: Mechanistic interpretability → Knowledge and representations inside LLMs

Abstract (arXiv)

Mechanistic interpretability research seeks to reveal the inner workings of large language models, yet most work focuses on classification or generative tasks rather than summarization. This paper presents an interpretability framework for analyzing how GPT-like models adapt to summarization tasks. We conduct differential analysis between pre-trained and fine-tuned models, quantifying changes in attention patterns and internal activations. By identifying specific layers and attention heads that undergo significant transformation, we locate the "summarization circuit" within the model architecture. Our findings reveal that middle layers (particularly 2, 3, and 5) exhibit the most dramatic changes, with 62% of attention heads showing decreased entropy, indicating a shift toward focused information selection. We demonstrate that targeted LoRA adaptation of these identified circuits achieves significant performance improvement over standard LoRA fine-tuning while requiring fewer training epochs. This work bridges the gap between black-box evaluation and mechanistic understanding, providing insights into how neural networks perform information selection and compression during summarization.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Knowledge and representations inside LLMs, one of 13 directions in Mechanistic interpretability. Builds on 10 of its 20 references that are in the map. First posted on arXiv 20 May 2025.

Builds on

10 of 20 references.

References · 10

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  2. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  3. 2017Towards A Rigorous Science of Interpretable Machine Learningcited by 1,416
  4. 2015Teaching Machines to Read and Comprehendcited by 1,049
  5. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
  6. 2019Attention is not Explanationcited by 929
  7. 2019A Multiscale Visualization of Attention in the Transformer Modelcited by 292
  8. 2023Scaling Laws of RoPE-based Extrapolationcited by 125
  9. 2024What needs to go right for an induction head? A mechanistic study of in-context learning circuits and their formationcited by 89
  10. 2025Rope to Nope and Back Again: A New Hybrid Attention Strategycited by 47

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Towards Understanding Fine-Tuning Mechanisms of LLMs via Circuit Analysis
  2. 2024Adaptive Circuit Behavior and Generalization in Mechanistic Interpretability
  3. 2026Mechanistic Interpretability for Large Language Model Alignment: Progress, Challenges, and Future Directions
  4. 2026Architecture, Not Scale: Circuit Localization in Large Language Models
  5. 2025Mechanistic Interpretability of GPT-2: Lexical and Contextual Layers in Sentiment Analysis
  6. 2026From Insight to Action: A Novel Framework for Interpretability-Guided Data Selection in Large Language Models
  7. 2026Causally Grounded Mechanistic Interpretability for LLMs with Faithful Natural-Language Explanations
  8. 2026Translation Heads: Disentangling meaning from language in LLM-based machine translation