Amortized Attribution for Real-Time Interpretability

You are reading version 1 of this direction, frozen 2026-10-04. The latest version is version 2.

Version 1 of 2250 papers300 conceptsfrozen 2026-10-04

In the standard toolkit of explainable AI (XAI), there is a painful trade-off between the quality of an explanation and the time it takes to generate it. "Gold standard" methods like Shapley values or Leave-One-Out (LOO) attribution are mathematically rigorous but computationally ruinous. To explain a single prediction, these methods often require thousands of model evaluations, effectively "probing" the model by perturbing the input over and over again.

This computational bottleneck makes high-quality interpretability impossible for real-time systems like autonomous vehicles, high-frequency trading, or interactive Large Language Models (LLMs). A new research direction—amortized attribution—seeks to break this bottleneck. Instead of solving an expensive optimization problem for every new input, these methods shift the computational burden to a one-time training or transformation phase, enabling explanations to be generated in a single forward pass.

Learning to Explain

The most direct way to achieve real-time interpretability is to train a dedicated "explainer" model. This is the core intuition behind L2X (Learning to Explain), introduced by Jianbo Chen and Michael Jordan. Instead of sampling perturbations at inference time, L2X uses a global explainer network that learns to identify the most informative features for any given input. Once trained, this network provides feature attributions orders of magnitude faster than iterative methods like LIME.

Similarly, Yu-Neng Chuang and Fan Yang developed CoRTX, which uses contrastive learning to train an explainer. By learning "explanation-oriented" representations, CoRTX can produce high-fidelity attributions in milliseconds. This shift from per-instance optimization to a learned global function allows interpretability to scale to high-throughput production environments.

Self-Explaining Architectures

Rather than training a separate explainer, some researchers argue that interpretability should be a "free lunch" provided by the model itself. This involves designing architectures where the forward pass naturally produces both a prediction and a rationale.

  • Logic Rule Reasoning: Seungeon Lee and Xiting Wang proposed SELOR, which integrates a differentiable rule-generation process directly into the model. The model doesn't just output a score; it outputs a human-readable logic rule (e.g., A and B => Positive) as part of its standard execution.
  • Mesomorphic Networks: For tabular data, Arlind Kadra introduced Interpretable Mesomorphic Neural Networks (IMN). These models use a hypernetwork to generate instance-specific linear weights. Because the model is locally linear by design, feature importance scores are simply the weights generated during the forward pass, requiring no post-hoc sampling.
  • Harsanyi Interactions: Lu Chen and Quanshi Zhang developed HarsanyiNet, which redesigns neurons to represent specific AND-relationships between variables. This allows the model to compute exact Shapley values in a single forward pass, bypassing the exponential complexity usually associated with game-theoretic explanations.

Mathematical Shortcuts and Spectral Transforms

A third approach involves finding mathematical "wormholes" that bypass the need for sampling. If we can approximate a complex model with a more tractable mathematical form, we can often derive explanations analytically.

Ali Gorji and Andreas Krause demonstrated this with FourierSHAP. By performing a one-time spectral transformation of a model into a sparse Fourier representation, they "linearize" the Shapley calculation. Once the model's spectral signature is established, explaining any individual prediction becomes a trivial summation. This approach, also seen in SHAP zero by Darin Tsui, reduces the marginal cost of a query to near-zero.

In the realm of reinforcement learning, Hangguan Shan and Na Li showed that feature attributions can be computed analytically using Kernel Mean Embeddings. This allows agents to understand which state dimensions are driving their rewards in real-time during the training process itself.

Scaling to Large Language Models

The rise of LLMs has made the need for efficiency even more acute. Explaining why a model generated a specific word in a 10,000-token context is computationally staggering.

To address this, Fengyuan Liu and Colin Raffel introduced AttriBoT, which uses KV caching and hierarchical scoring to speed up Leave-One-Out attribution by 300x. Similarly, Yung-Sung Chuang and Aleksander Madry developed AT2 (Attribution with Attention). AT2 learns to weight existing attention heads as features to predict the effects of token removal. By leveraging the attention weights already computed during the forward pass, AT2 provides "gold standard" attribution quality at the speed of a single inference step.

Why Amortization Works

The common thread across these papers is the realization that model behavior is not random. While a model might be a "black box," its responses to perturbations follow patterns that can be learned, cached, or analytically derived. By shifting the "intelligence" of the explanation from a per-instance search to a global understanding of the model, amortized attribution transforms interpretability from a slow, post-hoc diagnostic into a real-time feature of modern AI.

Papers in this version

Showing 60 of 250 papers.

History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 329 papers
  2. Version 1 · 2026-10-04 · 250 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_amortized_explanation_generation_f02db150,
  title = {amortized explanation generation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/amortized-explanation-generation/rdr_f02db150ab5348919bd0bbe66fccb41e},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-26},
}

This exact version (version 1, frozen text):

@misc{lacuna_amortized_attribution_for_real_time_inte_f02db150_v1,
  title = {Amortized Attribution for Real-Time Interpretability},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/amortized-attribution-for-real-time-interpretability/rdr_f02db150ab5348919bd0bbe66fccb41e/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-26},
}