mlsanityData to 14 Oct 2026

Towards Understanding Fine-Tuning Mechanisms of LLMs via Circuit Analysis

arXiv 2502.11812 ↗First posted 17 Feb 2025cs.CL cs.AI cs.LGcited by 20

Not on the map. Why?

Abstract (arXiv)

Fine-tuning significantly improves the performance of Large Language Models (LLMs), yet its underlying mechanisms remain poorly understood. This paper aims to provide an in-depth interpretation of the fine-tuning process through circuit analysis, a popular tool in Mechanistic Interpretability (MI). Unlike previous studies (Prakash et al. 2024; Chhabra et al. 2024) that focus on tasks where pre-trained models already perform well, we develop a set of mathematical tasks where fine-tuning yields substantial performance gains, which are closer to the practical setting. In our experiments, we identify circuits at various checkpoints during fine-tuning and examine the interplay between circuit analysis, fine-tuning methods, and task complexities. First, we find that while circuits maintain high node similarity before and after fine-tuning, their edges undergo significant changes, in contrast to prior work that shows circuits only add some additional components after fine-tuning. Based on these observations, we develop a circuit-aware Low-Rank Adaptation (LoRA) method, which assigns ranks to layers based on edge changes in the circuits. Experimental results demonstrate that our circuit-based LoRA algorithm achieves an average performance improvement of 2.46% over standard LoRA with similar parameter sizes. Furthermore, we explore how combining circuits from subtasks can enhance fine-tuning in compositional tasks, providing new insights into the design of such tasks and deepening the understanding of circuit dynamics and fine-tuning mechanisms.

Key facts. Cited by 20 papers in the map (data through 14 Oct 2026). Builds on 41 of its 51 references that are in the map. First posted on arXiv 17 Feb 2025.

Builds on

41 of 51 references.

References · 41

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  2. 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
  3. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  4. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
  5. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
  6. 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,302
  7. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
  8. 2022Mass-Editing Memory in a Transformercited by 1,001
  9. 2022In-context Learning and Induction Headscited by 964
  10. 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 896
  11. 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 767
  12. 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 724
29 more
  1. 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 532
  2. 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 528
  3. 2021Causal Abstractions of Neural Networkscited by 422
  4. 2023AdaLoRA: Adaptive Budget Allocation for Parameter-Efficient Fine-Tuningcited by 357
  5. 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 243
  6. 2023Evaluating the Ripple Effects of Knowledge Editing in Language Modelscited by 242
  7. 2024Retrieval Head Mechanistically Explains Long-Context Factualitycited by 232
  8. 2023Attribution Patching Outperforms Automated Circuit Discoverycited by 209
  9. 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelcited by 202
  10. 2020Causal Mediation Analysis for Interpreting Neural NLP: The Case of Gender Biascited by 191
  11. 2024A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicitycited by 185
  12. 2024Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity Trackingcited by 149
  13. 2024Have Faith in Faithfulness: Going Beyond Circuit Overlap When Finding Model Mechanismscited by 149
  14. 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Modelscited by 118
  15. 2023Mechanistically analyzing the effects of fine-tuning on procedurally defined taskscited by 115
  16. 2024TruthX: Alleviating Hallucinations by Editing Large Language Models in Truthful Spacecited by 91
  17. 2023A Mechanistic Interpretation of Arithmetic Reasoning in Language Models using Causal Mediation Analysiscited by 89
  18. 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 85
  19. 2023Successor Heads: Recurring, Interpretable Attention Heads In The Wildcited by 77
  20. 2023Copy Suppression: Comprehensively Understanding an Attention Headcited by 76
  21. 2024Finding Transformer Circuits with Edge Pruningcited by 60
  22. 2024Knowledge Mechanisms in Large Language Models: A Survey and Perspectivecited by 51
  23. 2024LoRA-drop: Efficient LoRA Parameter Pruning based on Output Evaluationcited by 38
  24. 2024Iteration Head: A Mechanistic Study of Chain-of-Thoughtcited by 31
  25. 2023Interpretability Illusions in the Generalization of Simplified Modelscited by 25
  26. 2024What Can Transformer Learn with Varying Depth? Case Studies on Sequence Learning Taskscited by 19
  27. 2024How Transformers Utilize Multi-Head Attention in In-Context Learning? A Case Study on Sparse Linear Regressioncited by 14
  28. 2024Learning and Unlearning of Fabricated Knowledge in Language Modelscited by 4
  29. 2024Understanding the role of FFNs in driving multilingual behaviour in LLMscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 7; 2026: 13.

20 papers.

Sort:

By area:

  1. 2025Model Unlearning via Sparse Autoencoder Subspace Guided Projectionscited by 18
  2. 2025Does higher interpretability imply better utility? A Pairwise Analysis on Sparse Autoencoderscited by 10
  3. 2025Planted in Pretraining, Swayed by Finetuning: A Case Study on the Origins of Cognitive Biases in LLMscited by 5
  4. 2025Mixture of Length and Pruning Experts for Knowledge Graphs Reasoningcited by 5
  5. 2026SafeSeek: Universal Attribution of Safety Circuits in Language Modelscited by 4
  6. 2025Probability Signature: Bridging Data Semantics and Embedding Structure in Language Modelscited by 2
  7. 2025PATCH: Mitigating PII Leakage in Language Models with Privacy-Aware Targeted Circuit PatcHingcited by 2
  8. 2026Demystifying Variance in Circuit Discovery of LLMscited by 2
  9. 2026What does a Bayes-filtered transformer believe? A predictive Monte Carlo approachcited by 1
  10. 2026Text Capability Loss in Vision-Language Adaptation: An Attention-Sink Diagnosiscited by 1
  11. 2026Capsule Lens: Locating and Tracking Concept Geometry in Model Representationscited by 1
  12. 2025Distilled Circuits: A Mechanistic Study of Internal Restructuring in Knowledge Distillationcited by 0
8 more
  1. 2026Beyond Transfer Accuracy: Mechanism-Guided Controlled Adaptation for Low-Resource Languagescited by 0
  2. 2026Mechanism Shift During Post-training from Autoregressive to Masked Diffusion Language Modelscited by 0
  3. 2026Training Prompt Matters: State-Adaptive Optimization for Robust Fine-Tuningcited by 0
  4. 2026Inherited Circuits, Learned Semantics: How Fine-Tuning Creates Evasion Vulnerabilities Invisible to Standard Evaluationcited by 0
  5. 2026AEGIS: A Mechanism-Guided Defense against Visual Synonym Jailbreaks in Text-to-Image Modelscited by 0
  6. 2026Beyond Static Interpretability: Anticipating Post-SFT Mechanisms from Pre-SFT Parameters for Better Tuningcited by 0
  7. 2026Decoupling Internal Representational Changes and Causal Importance in Fine-Tuned Large Language Modelscited by 0
  8. 2026Rewired or Gated? How Instruction Tuning Shapes Knowledge-Conflict Circuits in LLMscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Slimming Down LLMs Without Losing Their Minds
  2. 2025Attribution-Guided Pruning for Insight and Control: Circuit Discovery and Targeted Correction in Small-scale LLMs
  3. 2026Mechanistic Interpretability for Large Language Model Alignment: Progress, Challenges, and Future Directions
  4. 2024LoRA Land: 310 Fine-tuned LLMs that Rival GPT-4, A Technical Report
  5. 2026Learning Rate Matters: Vanilla LoRA May Suffice for LLM Fine-tuning
  6. 2026Navigating by Old Maps: The Pitfalls of Static Mechanistic Localization in LLM Post-Training
  7. 2024Extracting Interpretable Task-Specific Circuits from Large Language Models for Faster Inference
  8. 2024Scaling Laws for Forgetting When Fine-Tuning Large Language Models