TL;DR
The popular "locate-then-update" paradigm in LLM post-training assumes that finding critical model components before fine-tuning can reliably guide updates. This paper reveals that model circuits naturally drift and evolve during training, causing static localization to suffer from severe temporal lag. Consequently, for skill-based tasks, targeting updates based on static maps performs no better than purely random parameter selection.
What Problem Does This Paper Address?
When fine-tuning or editing Large Language Models (LLMs), researchers often want to update specific behaviors (e.g., unlearning toxic data or editing facts) without destroying general capabilities. To do this, they use mechanistic localization—identifying a small "circuit" of neurons or weights responsible for a task and freezing everything else.
The authors challenge a foundational, unverified assumption of this approach: can a static snapshot of a model's internal mechanisms reliably guide a dynamic training process? If the underlying circuits shift during training, navigating by these "old maps" might prematurely freeze the very components the model needs to adapt, leading to optimization bottlenecks and cross-task interference.
Methods
The authors systematically track how Transformer circuits structurally evolve during supervised fine-tuning (SFT). To quantify this, they introduce three novel metrics:
- Circuit Distance (CD): Measures how much critical pathways migrate across parameter states by calculating the Manhattan distance over edge causal effects.
- Circuit Stability (CS): Evaluates knowledge consolidation by measuring the Spearman's rank correlation between circuits derived from different random subsets of the same data.
- Circuit Conflict (CC): Maps circuits into Conjunctive Normal Form (CNF) clauses and uses a Boolean satisfiability (SAT) solver to find the minimum number of conflicting clauses between target and general tasks.
Using these metrics, they compare three strategies: Free Evolution (updating all parameters), Mechanistic Localization (updating only the pre-localized circuit), and Random Localization (updating a random set of parameters of the same size).
Datasets
The paper evaluates its framework across 15 diverse datasets spanning target and pervasiveness (general capability) tasks, including: OpenBookQA, Gender, RTE, IOI, Docstring, SST2, Winogrande, Reverse, Greater Than, FEVER, zsRE, Induction, Bool, Arithmetic, SA, and WMDP-Bio.
Key Insights and Ideas
- "Free Evolution" of Circuits: Without constraints, model circuits spontaneously shift during training. Interestingly, attention mechanisms ("skill"-centric components) undergo drastic structural migrations, whereas MLP layers ("knowledge"-centric components) remain relatively stable.
- The Temporal Lag of Static Maps: Because circuits naturally drift, static localization acts as a straightjacket. Freezing non-circuit components prevents the model from naturally migrating its skills to new parameters, making optimization harder.
- The "Illusion of Effectiveness": Why did previous papers claim localization works? The authors show it's an illusion born from testing primarily on MLP-dominated, knowledge-centric tasks (like fact editing). Because knowledge circuits naturally resist migration, the temporal lag was masked. For attention-heavy skill tasks, mechanistic localization is virtually indistinguishable from random parameter freezing.
Key Results
- No Better Than Random: On skill tasks like Arithmetic, mechanistic localization failed to outperform a baseline of randomly selecting parameters to update, and both methods introduced higher circuit conflict than unconstrained full-parameter tuning.
- Knowledge vs. Skill Unlearning: In unlearning experiments, unlearning biological facts (WMDP-Bio, MLP-dominated) showed clear benefits from mechanistic localization. However, unlearning a skill task (Induction, Attention-dominated) showed that mechanistic localization performed nearly identically to random selection (e.g., Retain Utility of 0.367 for Mech vs 0.359 for Random).
- The Path to Predictive Localization: The authors demonstrate that "Future Mechanistic Localization"—predicting the circuit after training using gradient signals—significantly improves both target and general task accuracy, proving that predictive localization is necessary.
Limitations and Future Work
- Scalability of Circuit Discovery: Current circuit discovery methods are computationally expensive and difficult to scale to massive LLMs, requiring high-quality data.
- Coupled Mechanisms: The study primarily isolates localization using standard SFT. In practice, many editing algorithms use custom update rules (like closed-form vector updates) that are tightly coupled with their localization strategies, which warrants further integrated study.
Summary updated