atlas

Research map / Large language models / Instruction and fine-tuning

Towards Understanding Fine-Tuning Mechanisms of LLMs via Circuit Analysis

ICML 2025 · Large language models › Instruction and fine-tuning · approach: Fine-tuning generalization and delta compression · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Analyzes how EAP-IG circuits evolve during LoRA/full fine-tuning of Pythia-1.4B on arithmetic and math tasks, finds edges change more than nodes, and uses these edge-change signals to allocate LoRA ranks (CircuitLoRA) with gains over standard LoRA.

Problem

Fine-tuning improves LLMs but its internal mechanisms are poorly understood, especially on tasks where pre-trained models initially perform poorly. Prior circuit studies focus on tasks where the base model already performs well.

Approach

Build arithmetic/math tasks where fine-tuning yields large gains, track EAP-IG circuit node and edge changes across checkpoints, and use layers with the most edge changes to assign higher LoRA ranks (CircuitLoRA); also test whether the union of subtask circuits approximates a compositional task circuit.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Allocate higher LoRA ranks to circuit-identified critical layers (r_o=8, r_c=32) instead of uniform LoRA r=16Pythia-1.4B · Add/Sub(300)accuracy: 78.40 -> 82.70Helped
Allocate higher LoRA ranks to circuit-identified critical layers (r_o=8, r_c=32) instead of uniform LoRA r=16Pythia-1.4B · Mul/Divaccuracy: 95.50 -> 96.00Helped
Allocate higher LoRA ranks to circuit-identified critical layers (r_o=8, r_c=32) instead of uniform LoRA r=16Pythia-1.4B · Sequenceaccuracy: 83.40 -> 92.20Helped
Allocate higher LoRA ranks to circuit-identified critical layers (r_o=8, r_c=32) instead of uniform LoRA r=16Pythia-1.4B · LCMaccuracy: 91.20 -> 92.60Helped
Allocate higher LoRA ranks to circuit-identified critical layers (r_o=8, r_c=32) instead of uniform LoRA r=16Pythia-1.4B · Functionaccuracy: 97.30 -> 99.40Helped
Use union subtask circuits rather than the compositional circuit to identify critical layers (ablation)CircuitLoRA on Pythia-1.4B · Two-Step Operationsaccuracy: 67.20 -> 65.50Hurt
Use union circuit for critical-layer identification rather than randomly selected critical layersCircuitLoRA on Pythia-1.4B · Two-Step Operationsaccuracy: 62.30 -> 65.50Helped
Increase CircuitLoRA ranks from (r_o=8, r_c=32) to (r_o=16, r_c=64) (ablation)Pythia-1.4B · Sequenceaccuracy: 92.20 -> 94.60Helped
Increase CircuitLoRA ranks from (r_o=8, r_c=32) to (r_o=16, r_c=64) (ablation)Pythia-1.4B · Add/Sub(300)accuracy: 82.70 -> 83.10Helped
Increase CircuitLoRA ranks from (r_o=8, r_c=32) to (r_o=16, r_c=64) (ablation)Pythia-1.4B · Mul/Divaccuracy: 96.00 -> 97.00Helped
Increase CircuitLoRA ranks from (r_o=8, r_c=32) to (r_o=16, r_c=64) (ablation)Pythia-1.4B · LCMaccuracy: 92.60 -> 93.00Helped
Increase CircuitLoRA ranks from (r_o=8, r_c=32) to (r_o=16, r_c=64) (ablation)Pythia-1.4B · Functionaccuracy: 99.40 -> 99.50Helped

Surprising findings

Limitations

Experimental setup

Datasets: Synthetic arithmetic tasks (Add/Sub, Mul/Div, Sequence, LCM, Function) and two-step compositional arithmetic

Benchmarks: Add/Sub (100-500) Mul/Div Sequence LCM Function evaluation two-step compositional arithmetic

Metrics: accuracy faithfulness (KL-based) robustness (edge Jaccard similarity) node/edge change rate top-k overlap

Baselines: LoRA RandomLoRA Full FT AdaLoRA

Builds on: EAP-IG LoRA AdaLoRA Automated Circuit Discovery

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy