Identifying Interactions at Scale for LLMs

AI-generated summary of reporting by Berkeley. Read the original for the full story.

Why it matters

Berkeley's SPEX and ProxySPEX make interaction-level interpretability computationally feasible at LLM scale, so attribution methods that previously missed interacting features can now catch them with far fewer costly ablations.

Read this as

Researchers at UC Berkeley built two tools, SPEX and ProxySPEX, that figure out which combinations of words, training images, or model components drive an AI's answers. Testing every combination is impossible at scale, so the tools use two shortcuts: only a few combinations actually matter, and important combinations tend to include important smaller ones. The result: on a GPT-4o mini test where the model repeatedly failed a modified trolley problem, the tools found four interacting words behind the error, and replacing them with synonyms fixed it.

This is a research contribution, not a product: Berkeley's SPEX and ProxySPEX cut the number of expensive test interventions (retrains, inference calls) needed for reliable AI explanations, with ProxySPEX matching SPEX using about 10x fewer ablations. For anyone buying or building interpretability tooling, it shows existing methods like SHAP, LIME and Banzhaf can misidentify causes at scale - individual-word attributions missed a four-word interaction that actually caused GPT-4o mini to fail 92% of a modified trolley problem.

SPEX exploits sparsity (few influential interactions) and low-degreeness (small interaction sizes) to cast interaction discovery as sparse recovery, using coding-theory ablation designs plus efficient decoding. ProxySPEX adds a hierarchy assumption, achieving SPEX-level faithfulness with roughly 10x fewer ablations. On sentiment tasks, SPEX matches Faith-Shap/Faith-Banzhaf faithfulness while scaling to thousands of features, where marginal methods (LIME, Banzhaf) degrade. Applications shown: feature attribution on a modified trolley problem (GPT-4o mini answered correctly only 8%), data attribution on ResNet/CIFAR-10 (synergistic vs redundant examples), and attention-head attribution.

Read the original

This summary exists to save you time, not to replace the source.

Berkeley →

Key terms

SPEX ProxySPEX UC Berkeley GPT-4o mini ResNet CIFAR-10 SHAP

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading