Specialist Mediators: Causal Localization of Dense Fine-Tuning
Amir Asiaee
NeurIPS page · OpenReview · Open on the map
Category: Interpretability & Model Adaptation › Transformer Interpretability · Type: new method · Keywords: causal mediation, activation patching, model interpretability, sparse fine-tuning, language model specialization
Summary
Specialist Mediators identifies internal mechanisms that causally mediate a dense fine-tuned specialist's performance by using activation patching to localize and recover these mechanisms.
Explained to a 5-year-old
A big computer brain is trained to become an expert in a new subject. We want to know which parts of the brain are responsible for the new skill. By moving pieces of the expert brain into the original brain, we see which parts make the expert work. This helps us understand the brain and make smaller changes later. It also tells us when simple changes won't work.
Explained to a 5-year-old, longer
A computer program learns to be good at a new subject. We need to find out which parts of the program are doing the work. Scientists look at the program when it is an expert and when it is normal. They copy the expert parts into the normal program. Then they see if the normal program still works like the expert. This tells them which pieces are important. It also shows how much of the expert skill can be copied. Sometimes only a few parts are enough. Other times many parts are needed. The method also helps to make the program smaller and faster. It warns us when a simple change will not fix the problem. Overall, it makes the program easier to understand and improve.
For a technical reader
The paper shows how to discover which internal components of a large language model are truly responsible for a domain-specific capability after dense fine-tuning. By swapping activation patterns from the fine-tuned model into the base model, they measure how much of the specialist performance is recovered and how little off-target behavior is disturbed. They provide theoretical results linking this patching approach to sparse adaptation and give practical bounds for when patching can guide the design of localized updates. Experiments on synthetic transformers and real Pythia-410-M specialists demonstrate that single-patch localization outperforms existing methods and that small localized adapters can capture most of the specialist gain in some domains but not others. The work offers both a diagnostic tool for model interpretability and a pathway to more parameter-efficient fine-tuning.
Problem
Dense fine-tuning can make a language model a domain specialist, but it is unclear which internal computations drive the new behavior. There is a need to isolate the causal mechanisms that mediate the specialist's performance.
Method
The approach identifies causal mediators by patching specialist activations into the base model and measuring which patches recover in-domain performance while minimally affecting off-domain behavior. It also provides theoretical recovery results, approximations, and bounds linking patching to sparse training. Finally, it evaluates localization on synthetic transformers and real Pythia-410-M specialists.
Results
Single-patch localization achieves state-of-the-art recovery, ranking first on GSM8K, MMLU, and PubMedQA by area under the recovery curve, and small mechanism budgets recover most of the specialist gap. Localized-LoRA adapters improve negative log-likelihood on domains where attention carries the gap but fail on GSM8K where MLP blocks dominate.
Contributions
The paper formalizes the separation between localization, recoverability, and sparse training, provides exact recovery results and theoretical bounds, and introduces activation-patching based localization that identifies causal mediators in both synthetic and real language models.
Practical relevance
The findings enable more interpretable and parameter-efficient fine-tuning by pinpointing which model components need adjustment, and they provide diagnostics to avoid ineffective sparse updates.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction