Mathematical Foundations for Unifying Explainable AI

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 137 papers37 conceptsfrozen 2026-10-04

The field of Explainable AI (XAI) has long suffered from an "identity crisis." As deep learning models became more complex, researchers developed a dizzying "alphabet soup" of attribution methods—IG, LRP, DeepLIFT, Grad-CAM, and Shapley values—each based on different heuristics. However, as Gabriëlle Ras and Derek Doran point out in Explainable Deep Learning: A Field Guide for the Uninitiated, this fragmentation makes it nearly impossible to objectively compare methods or prove that an explanation is "faithful" to the model's actual logic.

Recent research is moving away from ad-hoc heuristics toward a unified mathematical foundation. By reframing disparate methods as specific instances of broader mathematical frameworks—such as Taylor expansions, game-theoretic synergies, and formal logic—researchers are beginning to turn XAI from a collection of "black-box magic" tricks into a disciplined science.

The Taylor Expansion as a Rosetta Stone

One of the most powerful insights in recent years is that many popular attribution methods are actually doing the same thing: approximating the model's output using a Taylor expansion.

In A Unified Taylor Framework for Revisiting Attribution Methods, Huiqi Deng and Na Zou demonstrate that methods like Integrated Gradients (IG) and $\epsilon$-LRP are simply different ways of distributing the "credit" for a model's prediction across its input features. By decomposing a neural network's output into a sum of independent effects and interaction effects, they found that the primary difference between 14 distinct methods is how they handle feature interactions.

Na Zou further formalizes this in Understanding and Unifying Fourteen Attribution Methods with Taylor Interactions. The intuition is simple: if a model's output depends on the interaction between two features (like "wheels" and "engine" for a "car" prediction), different XAI tools just use different rules to decide which feature gets the credit for that synergy. This framework allows practitioners to evaluate methods based on rigorous criteria, such as "approximation error" and "interaction assignment," rather than visual intuition.

Unifying Game Theory and Synergy Functions

While Taylor expansions work well for gradient-based methods, another family of techniques relies on game theory—specifically Shapley values—to probe model behavior. Historically, these two families (gradient-based and perturbation-based) were seen as distinct.

However, Daniel Lundstrom and Meisam Razaviyayn bridge this gap in A Unifying Framework to the Analysis of Interaction Methods using Synergy Functions. They introduce synergy functions, which provide a unified language to describe how different methods distribute "interaction synergies."

This mathematical bridge extends even to complex architectures like Transformers. Kawin Ethayarajh and Dan Jurafsky proved in Attention Flows are Shapley Value Explanations that "attention flow"—a graph-based method—is actually a layerwise Shapley Value explanation. This provides a formal guarantee that attention-based explanations satisfy mathematical axioms of fairness and consistency, moving beyond the subjective "eye of the beholder" debate.

From Heuristics to Inference Equivariance

Beyond just attributing importance to pixels or words, a new direction seeks to unify how we define "concepts" and "logic" within a model. Pietro Barbiero and Mateja Jamnik argue that interpretability should be defined as inference equivariance.

In Foundations of Interpretable Models, Mateja Jamnik formalizes interpretability as a "commutative diagram." The idea is that for a model to be truly interpretable, the path from "raw data to model prediction" must be mathematically equivalent to the path from "human concepts to logical conclusion." If these two paths don't align, the explanation is merely a post-hoc justification rather than a reflection of the model's true reasoning.

This formalization allows for the creation of "interpretable-by-design" models. For example, Pietro Barbiero shows in Deep concept reasoning that by using category theory and high-dimensional concept embeddings, we can build models that match the accuracy of black-box networks while providing formal, logically sound explanations.

Why Unification Matters

The push for a unified theory is not just an academic exercise; it is a prerequisite for Responsible AI. As Stephanie Baker argues in Explainable AI is Responsible AI, we cannot verify fairness, safety, or robustness without a reliable way to look inside the model.

By treating model behavior as data to be systematically mined—a perspective championed by Haoyi Xiong in Towards Explainable Artificial Intelligence (XAI): A Data Mining Perspective—and grounding that analysis in the rigorous statistical frameworks proposed by Lukas Klein and Paul F. Jäger, the field is finally establishing the standards needed for deployment in safety-critical domains like healthcare and law.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_mathematical_foundations_for_unifying_ex_7f520394,
  title = {Mathematical Foundations for Unifying Explainable AI},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/mathematical-foundations-for-unifying-explainable-ai/rdr_7f520394b16a4e95910d79581dbeb853},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-03},
}

This exact version (version 1, frozen text):

@misc{lacuna_mathematical_foundations_for_unifying_ex_7f520394_v1,
  title = {Mathematical Foundations for Unifying Explainable AI},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/mathematical-foundations-for-unifying-explainable-ai/rdr_7f520394b16a4e95910d79581dbeb853/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-03},
}