atlas

Research map / Architectures and efficiency / Attention and transformers

Decomposing and Editing Predictions by Modeling Model Computation

ICML 2024 · Architectures and efficiency › Attention and transformers · approach: Transformer expressivity and circuits · 2 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.

Introduces component modeling and component attribution, and COAR, a regression-based method that estimates linear attributions of model components from random ablations, then uses them for ablation-based model editing across five tasks.

Problem

Understanding how collective ablations of internal model components (e.g., conv filters, attention rows) change individual predictions, in a way that is interpretable and scalable to large models.

Approach

Cast component counterfactual prediction as supervised linear regression: sample random fractional ablations of components, measure the correct-class margin for each, and fit a per-example linear model whose coefficients are component attributions; use these attributions with a t-test-based selection to pick ablations for model editing.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Coar instead of the LOO baseline for component attributionImageNet ResNet-50 · 5% component ablationPearson correlation: 0.34 -> 0.65Helped
Increase test ablation fraction from 10% to 12.5%Coar · CIFAR-10 ResNet-18Pearson correlation: 0.74 -> 0.70Hurt
Increase test ablation fraction from 10% to 15%Coar · CIFAR-10 ResNet-18Pearson correlation: 0.74 -> 0.68Hurt
Use attribution fit with α_train=0.05 rather than α_train=0.10 (ablation)Coar · ImageNet ResNet-50, small test ablation fractionsPearson correlationHelped
Use attribution fit with α_train=0.10 rather than α_train=0.05 (ablation)Coar · ImageNet ResNet-50, large test ablation fractionsPearson correlationHelped
Reduce component-counterfactual samples by 5× (ablation)Coar on CIFAR-10 ResNet-18 · CIFAR-10Pearson correlation: 0.7 -> 0.65Hurt
Ablate 210 components selected by Coar-EditWaterbirds model · Waterbirds worst-subpopulation accuracyworst-subpopulation accuracy: 64% -> 83%Helped
Ablate 26 components selected by Coar-EditCelebA model · CelebA worst-subpopulation accuracyworst-subpopulation accuracy: 47% -> 85%Helped
Ablate 26 components selected by Coar-EditCelebA model · CelebA average-subpopulation accuracyaverage-subpopulation accuracy: 84% -> 90%Helped
Ablate 8 components selected by Coar-EditImageNet ResNet-50 · Chain-link fence classclass accuracy: 66% -> 20%Hurt
Ablate 25 components selected by Coar-EditBackdoor-trained CIFAR-10 ResNet-18 · Test examples with blue-square triggeraccuracy: 37% -> 84%Helped
Ablate 300 components selected by Coar-EditZero-shot CLIP ViT-B/16 · Held-out images with synthetic typographic attacksaccuracy: 51% -> 89%Helped

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 ImageNet Waterbirds CelebA TinyStories BoolQ ImageNet-Sketch ImageNet* MIMIC-CXR typographic attacks dataset

Benchmarks: CIFAR-10 ImageNet Waterbirds CelebA TinyStories BoolQ ImageNet-Sketch ImageNet* typographic attacks dataset

Metrics: Pearson correlation between ground-truth component counterfa worst-subpopulation accuracy class accuracy backdoor trigger accuracy typographic attack accuracy

Baselines: leave-one-out gradient-times-parameter neuron conductance internal influence

Builds on: integrated gradients datamodeling activation patching attribution patching

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