atlas

Research map / Probabilistic and scientific modeling / Molecules and proteins

Optimal ablation for interpretability

NeurIPS 2024 · Probabilistic and scientific modeling › Molecules and proteins · approach: Counterfactual and statistical explanations · 6 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.

Proposes optimal ablation (OA), which replaces a model component with a learned constant minimizing expected loss, and shows it gives a canonical, lower-bias importance measure that improves circuit discovery, factual recall localization, and latent prediction in GPT-2 models.

Problem

Measuring component importance via ablation is inconsistent across methods (zero, mean, resample, counterfactual), and prior ablation choices can conflate true deletion effects with spoofing artifacts from out-of-distribution replacement values.

Approach

Replace a component's output with a constant a* that minimizes expected loss of the ablated model relative to the full model's predictions; this is proven to give the lowest ablation loss gap among all total (input-independent) ablation methods, and is used for circuit discovery (with a new UGS search), factual recall tracing, and a latent prediction lens (OCA lens).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace components with an optimized constant rather than zero, mean, resampled, or counterfactual-mean valuesGPT-2-small component importance on IOI · IOIrank correlation with CF: 0.590; 0.825; 0.828; 0.833 -> 0.907Helped
replace components with an optimized constant rather than zero, mean, or resampled valuesGPT-2-small component importance on IOI · IOImedian ablation loss gap: 11.1%; 33.0%; 17.7% -> 100% of the OA loss gapHelped
use Uniform Gradient Sampling for circuit discoveryGPT-2-small circuit discovery · IOICF loss gap at 385 edges: 385 edges; 0.220Helped
use optimal ablation rather than counterfactual, mean, or resample ablation for excluded componentsIOI circuits at 1,000 edges · IOI circuit discoveryloss gap: 32% lower than CF; 62% lower than mean; 88% lower than resampleHelped
use optimal ablation rather than Gaussian noise to remove subject informationGPT-2-XL causal tracing · Factual recall, attention layers 30–34 at last tokenAIE: 20.2% -> 42.6%Helped
use optimal ablation rather than Gaussian noise to remove subject informationGPT-2-XL causal tracing · Attention windows centered around layers 15–23average AIE: 7.0% -> 1.7%Mixed
use OCA lens instead of tuned lensGPT-2-XL latent prediction · GPT-2-XL prediction losspredictive loss: below 0.01 around layer 35; tuned lens does not reach this point even at the last layerHelped
use OCA lens instead of tuned lensGPT-2-XL latent prediction · DBPedia, true demonstrationselicitation accuracy boost: 2.9% -> 18.0%Helped
use OCA lens instead of tuned lensGPT-2-XL latent prediction · DBPedia, false demonstrationselicitation accuracy boost: 19.2% -> 28.8%Helped
use OCA lens instead of tuned lensGPT-2-XL latent prediction · Causal faithfulness across layersmagnitude correlation and direction similarityHelped

Surprising findings

Limitations

Experimental setup

Datasets: IOI Greater-Than factual recall subject-attribute prompts (Meng et al.) 15 text classification datasets

Benchmarks: IOI Greater-Than factual recall (causal tracing) text classification elicitation accuracy

Metrics: ablation loss gap (KL divergence) AIE prediction loss causal faithfulness (magnitude correlation, direction simila rank correlation calibrated elicitation accuracy

Baselines: zero ablation mean ablation resample ablation counterfactual ablation ACDC edge attribution patching tuned lens Gaussian noise causal tracing

Builds on: activation patching ACDC edge attribution patching causal tracing tuned lens

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