atlas

Research map / Architectures and efficiency / Attention and transformers

Progressive Inference: Explaining Decoder-Only Sequence Classification Models Using Intermediate Predictions

ICML 2024 · Architectures and efficiency › Attention and transformers · approach: Language model pretraining and induction · 0 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 Progressive Inference, which reuses intermediate predictions of decoder-only classifiers as masked-input predictions to compute input attributions, via a zero-cost single-pass variant (SP-PI) and a Kernel SHAP-connected multi-pass variant (MP-PI).

Problem

Explaining predictions of decoder-only transformer sequence classifiers with input attributions that are faithful and affordable; prior attribution methods are either expensive (perturbation/SHAP) or yield low-quality attributions for Transformers.

Approach

Due to causal masked attention, the classification head's prediction at position i depends only on tokens up to i, so intermediate predictions approximate the model's output on prefix-masked inputs. SP-PI takes successive differences of these predictions (zero extra cost); MP-PI samples random masks over multiple passes and solves a Kernel SHAP-style weighted regression with an optimized mask dist

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use MP-PI instead of Kernel SHAPAttribution method · IMDBactivation AUC: 0.959 -> 0.97Helped
Use MP-PI instead of Kernel SHAPAttribution method · SST-2activation AUC: 0.899 -> 0.946Helped
Use MP-PI instead of Kernel SHAPAttribution method · AG-Newsactivation AUC: 0.778 -> 0.867Helped
Use MP-PI instead of Kernel SHAPAttribution method · Twitter-Finactivation AUC: 0.821 -> 0.847Helped
Use MP-PI instead of Kernel SHAPAttribution method · Twitter-Sentimentactivation AUC: 0.816 -> 0.887Helped
Use MP-PI instead of Kernel SHAPAttribution method · Twitter-Emotionactivation AUC: 0.871 -> 0.929Helped
Use MP-PI instead of Kernel SHAPAttribution method · TrueTeacher NLIactivation AUC: 0.811 -> 0.921Helped
Use MP-PI instead of Kernel SHAPAttribution method · IMDBinverse activation AUC: 0.688 -> 0.613Helped
Use MP-PI instead of Kernel SHAPAttribution method · SST-2inverse activation AUC: 0.533 -> 0.431Helped
Use MP-PI instead of Kernel SHAPAttribution method · AG-Newsinverse activation AUC: 0.734 -> 0.596Helped
Use MP-PI instead of Kernel SHAPAttribution method · Twitter-Fininverse activation AUC: 0.709 -> 0.684Helped
Use MP-PI instead of Kernel SHAPAttribution method · Twitter-Sentimentinverse activation AUC: 0.348 -> 0.273Helped

Surprising findings

Limitations

Experimental setup

Datasets: IMDB SST-2 AG-News Twitter-Finance Twitter-Sentiment Twitter-Emotion TrueTeacher NLI

Benchmarks: IMDB SST-2 AG-News Twitter-Finance Twitter-Sentiment Twitter-Emotion TrueTeacher NLI

Metrics: AUC of activation study (higher better) AUC of inverse activation study (lower better) cosine similarity to Kernel SHAP

Baselines: Random Attention-last Generic attention-model explainability (GAE) Gradient x Input LRP for Transformers Integrated Gradients Kernel SHAP

Builds on: Kernel SHAP Integrated Gradients LoRA Layer-wise Relevance Propagation

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