The Metagame of Interpretability and Meta-Attributions

Hubert Baniecki, Przemyslaw Biecek, Fabian FumagalliNeurIPS 2026

TL;DR

Standard AI interpretability tools tell you which individual words or pixels mattered to a model’s prediction, but they struggle to show how those inputs team up—like how "not" flips the meaning of "good." This paper introduces METAGAME, a framework that upgrades any existing attribution method to uncover directional, second-order interactions. Instead of explaining the model directly, it treats the explanation itself as a game to measure how much one feature changes the importance of another.

What Problem Does This Paper Address?

Imagine a tiny transformer solving 3 - (-5) = 8. Standard "first-order" attribution methods (like Integrated Gradients, Shapley values, or attention maps) assign a solo importance score to 3, -, and -5. That’s useful, until you realize the minus sign is completely meaningless on its own—its entire job is to invert what comes next.

Researchers have tried to capture these second-order synergies before, but existing tools hit three walls:

  1. Information Leakage: "Serial" methods (like Integrated Hessians, which take derivatives of derivatives) vary two features simultaneously, accidentally bleeding joint interaction effects into individual feature scores.
  2. No Sense of Direction: Set-based game theory methods lump pairs together into undirected buckets $\{i, j\}$, obscuring who is influencing whom ($j \to i$ vs. $i \to j$).
  3. Architectural Lock-in: Second-order calculus often vanishes in standard ReLU networks or ignores rich internal signals like transformer attention.

How do you generalize any off-the-shelf attribution method from first principles to cleanly capture directional interactions?

Decomposing attributions on simple arithmetic (`3 - (-5) = 8`), showing how Meta-attributions avoid leakage and capture directional influence.

Methods

The authors combine discrete cooperative game theory (typically used by masking out inputs) with continuous internal mechanics (like gradients and attention).

The core conceptual leap is the METAGAME:

  • Standard Game Theory: Mask out subsets of features, watch how the model's output changes, and compute Shapley values (a fair way to divide credit among players) to get feature importance.
  • The METAGAME: Pick a target feature $i$ and hold it fixed as present. Now, mask out subsets of all the other $d-1$ features, and watch how an existing attribution score $\phi_i$ changes.

Computing the Shapley value of another feature $j$ inside this new game yields the meta-attribution ($\varphi_{j \to i}$)—a clean, directional measure of how much feature $j$ boosts or suppresses the attribution of feature $i$. The pure solo effect ($\varphi_{i \to i}$) is simply feature $i$'s attribution when every other player stays home.

Because METAGAME wraps around the explanation rather than the network, it acts as a universal adapter. The authors plug it into modern transformer explainability tools to create Meta-AttnLRP (for LLMs), Meta-Grad-ECLIP (for vision–language encoders), and Meta-ConceptAttention (for diffusion models).

Figure 2: METAGAME quantifies gradient-based token interactions in vision–language encoders. Given a token attribution method (Grad-ECLIP) and a dual encoder (MetaCLIP-2), we compute meta-attributions from text token subsets and their corresponding visual patch attributions. First-order attributions quantify the effects that text tokens dog and yellow have on the similarity map (red, most similar). Directional meta-attributions quantify the interaction effects contributed by pairs of text tokens, such as hydr-ant and black-dog (blue, most dissimilar). See also App. Figure 8.

Datasets

The authors evaluate their framework across three distinct domains (no models were trained from scratch):

  • Language Models: A curated set of human-labeled prompts containing 2–4 interacting token pairs (e.g., negations, compound nouns like "honey butter" or "pulmonary embolism") to test interaction recall.
  • Vision–Language Encoders: ImageNet-1k, arranged into 4-image grids for a "pointing interaction recognition" benchmark (from prior work, FIxLIP) that checks if object words map strictly to their corresponding visual patches.
  • Diffusion Transformers: Pascal VOC and MS COCO benchmarks, evaluating zero-shot concept segmentation on generated images.

Key Insights and Ideas

  • Hierarchical Efficiency: All directional influences flowing into feature $i$ (plus its solo effect) sum exactly back up to its original first-order attribution: $\phi_i = \sum_j \varphi_{j \to i}$. You don't have to stare at a massive $O(d^2)$ matrix all at once; you can inspect a familiar first-order map and "zoom in" on key tokens to see what drives them.
  • Hidden Unification: The authors prove mathematically that classic undirected methods—like Shapley-Taylor interactions and Integrated Hessians—were actually performing this hierarchical decomposition implicitly all along, just symmetrized or tangled up!
  • Directionality Reveals Asymmetry: In Gemma 3, when analyzing a radiology report, the presence of embolism reduces the model's reliance on pulmonary (embolism $\to$ pulmonary is negative), whereas removing pulmonary forces embolism to carry more weight. Symmetrical methods completely wash this out.
  • Free Lunch for Diffusion: In text-to-image diffusion (FLUX.1), Meta-ConceptAttention denoises messy, context-dependent heatmaps using cached embeddings—meaning it requires only a single model forward pass, just like the first-order baseline.

Key Results

  • Vision–Language Pointing Game (ImageNet-1k): On a 4-object grid where random guessing scores .25 (and standard first-order methods collapse to .25), Meta-MaskCLIP jumps from .25 to .89 on CLIP (ViT-B/16), and Meta-Attention jumps from .25 to .86 on MetaCLIP-2 (ViT-H/14)—matching or beating dedicated, slower second-order baselines.
  • Diffusion Concept Segmentation: On FLUX.1 [schnell] with distracting concepts in the context, Meta-ConceptAttention improves multi-concept mIoU from .476 to .553 (and pixel accuracy from .612 to .803) on Pascal VOC, and boosts mIoU from .350 to .390 on MS COCO.
  • LLM Token Interactions: On Gemma-3 (1B and 27B), Meta-AttnLRP substantially outperforms standard AttnLRP at recalling human-annotated token interactions across top-$K$ thresholds.

Limitations and Future Work

  • Masking Assumptions: Meta-attributions require underlying methods that can be evaluated on masked inputs, relying on baseline imputation. Extending the theory to alternative token-removal schemes remains open.
  • Scaling & Estimation: Exact Shapley computation is fast for small games ($d < 20$ tokens/concepts), but longer LLM prompts require Monte Carlo or regression-based sampling approximations.
  • Evaluation Depth on LLMs: The authors candidly note their LLM experiments are primarily a qualitative showcase and recall check; rigorous faithfulness benchmarks (like token-pair insertion/deletion curves) and navigating the cognitive load of higher-order (3rd-order+) interactions are left for future work.

Summary updated

Abstract

How can an arbitrary attribution method be generalized from first principles to capture interactions? We answer this with the metagame, a conceptual framework for quantifying second-order interaction effects of model explanations. We cast the attribution value $\phi_i$ of feature $i$ as a cooperative game among the other features and compute its Shapley value, which measures how much feature $j$ influences the attribution of $i$, yielding the directional meta-attribution $\varphi_{j \to i}$. By decomposing attribution itself rather than the model directly, meta-attributions extend any gradient- or attention-based method to interactions, uniting removal-based perturbations with model internals. Theoretically, we prove that meta-attributions sum to the first-order attribution they explain, a hierarchical decomposition that Shapley interactions and integrated Hessians turn out to perform implicitly. Empirically, we demonstrate that meta-attributions deliver insights across diverse interpretability applications: (i) quantifying token interactions in instruction-tuned language models, (ii) explaining cross-modal similarity in vision-language encoders, and (iii) interpreting text-to-image concepts in multimodal diffusion transformers.
BibTeX
@inproceedings{baniecki2026metagame,
  author = {Hubert Baniecki and Przemyslaw Biecek and Fabian Fumagalli},
  title = {{The Metagame of Interpretability and Meta-Attributions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=yHeBdE6C4F},
}
Figure