Correcting Attribution Patching with a Few Exact Measurements
Abstract
Mechanistic interpretability asks which language model components matter for a behavior, and activation patching answers by changing one component's activation and measuring its effect, at a cost growing with components and prompts. Attribution patching estimates these effects from one gradient pass, but its estimates can be far off, and verifying each one restores the cost. Can the structure of these errors reduce this cost? We propose Guided-AP, which uses a few exact measurements to reveal attribution patching's errors and correct unmeasured estimates. On a single prompt, many components' errors share one sign, so a small exact sample yields one correction for the rest. Over many prompts of one task, components are misestimated similarly, so a few measured prompts show what to verify and how to correct each component's average effect. Our analysis shows that choosing what to verify needs error size, while correction also needs sign. On a single prompt, the correction lowers error by up to 26% across three behaviors at the compute of verifying the largest estimates and also on larger models. Over many prompts, learned corrections cut the error of average effects on factual completion by 75% to 79%, repaying their cost in long analyses.
Create a lesson
Related papers
EA-Bench: Measuring information and action efficiency under imperfect instructions
Shared title terminologycs.AIXu Wan, Wenyue Xu, Shenjie Zhao
The Dual-Tier Sentiment Framework: Scalable Multimodal UX Attribution in Web Search
Shared title terminologycs.AIYi Ding, Gaurav Kumar, Rui Min et al.
Double counting in LLM evidence fusion: exact posteriors separate rule compliance from posterior gain
Shared title terminologycs.AITengfei Shao, Asma Rezaei, Ali Reza Kamali
CrashGym: Measuring the Decision Value of Experimentation for LLM Agents in Counterfactual Market Crashes
Shared title terminologycs.AIHaocheng Lu, Haoxuan Cheng, Mingyang Chen et al.
From Scores to Safe Sets: Exact Safety--Constrained Decoding for Medication Recommendation
Shared title terminologycs.AIAnimesh Agarwal, Meysam Ghaffari, Nina Fatehi et al.
When Multiple Choices Are Correct: Asymmetric Probability Allocation in Jev and Other Decision Models
Shared title terminologycs.AIRushab Munot