Abstract
Deep neural networks have produced significant progress among machine learning models in terms of accuracy and functionality, but their inner workings are still largely unknown. Attribution methods seek to shine a light on these "black box" models by indicating how much each input contributed to a model's outputs. The Integrated Gradients (IG) method is a state of the art baseline attribution method in the axiomatic vein, meaning it is designed to conform to particular principles of attributions. We present four axiomatic characterizations of IG, establishing IG as the unique method to satisfy different sets of axioms among a class of attribution methods.
Introduction
As deep neural networks become increasingly integrated into critical decision-making processes, the need for interpretability has never been greater. Attribution methods—techniques that assign importance scores to input features—are the primary tools used to peer inside these "black boxes." Among these, Integrated Gradients (IG) has emerged as a leading standard due to its grounding in axiomatic principles.
However, the theoretical foundation of IG recently faced a crisis of confidence. Previous research suggested that the original proofs claiming IG was the unique method to satisfy its core axioms were incomplete or flawed. This raised a fundamental question for the machine learning community: if IG is not the unique solution to these logical requirements, why should it be preferred over other methods? This paper addresses this gap by providing the rigorous mathematical bedrock necessary to establish IG’s uniqueness through four distinct axiomatic characterizations.
Methodology: Axiomatic Analysis
This research utilizes Axiomatic Analysis, a theoretical approach that uses formal logic and calculus to define a set of desirable properties (axioms) and determine which mathematical functions satisfy them. The authors evaluate attribution methods across two primary classes of functions:
- $F^1$ (Real Analytic Functions): Smooth, infinitely differentiable functions.
- $F^2$ (Feed-forward Neural Networks): Modern architectures that include non-smooth components such as ReLU (Rectified Linear Unit) and Max functions.
By testing methods against these classes, the authors ensure that their proofs are relevant to both idealized mathematical models and the practical architectures used in contemporary AI.
The Core Axioms
To characterize IG, the authors define and refine several key axioms that represent logical requirements for a "fair" explanation:
- Completeness: The sum of all feature attributions must equal the difference between the model's output for the specific input and its output for a baseline input.
- Affine Scale Invariance (ASI): Explanations should remain consistent regardless of the units used for input features (e.g., the attribution should not change if temperature is converted from Fahrenheit to Celsius).
- Symmetric Monotonicity: If one input feature consistently exerts a stronger influence on the output than another, its attribution score should be higher.
- Proportionality: In simple additive models, the credit assigned to features should be directly proportional to the input values themselves.
Key Insights and Characterizations
The paper’s primary contribution is the presentation of four "Characterization Theorems," each proving that IG is the unique method satisfying a specific combination of axioms:
1. The Necessity of the Straight-Line Path
A defining feature of IG is its integration along a straight-line path from a baseline to the input. The authors prove that this straight-line approach is not merely a convenient choice; it is the only path that satisfies Affine Scale Invariance. This establishes that any method seeking robustness against unit conversions must adopt the IG approach.
2. Bridging the Gap to ReLU Networks
Traditional attribution theory often struggles with the "sharp corners" of ReLU networks, where derivatives are undefined. The authors demonstrate that IG for ReLU networks is the consistent limit of IG applied to smooth "Softplus" approximations. This justifies the application of IG to modern, non-smooth neural architectures.
3. Monomial Logic and Path Methods
The authors show that a broad class of "Path Methods" are the only ones to satisfy a core set of four axioms: Linearity, Completeness, Dummy (assigning zero credit to irrelevant features), and Non-Decreasing Positivity. Furthermore, they reveal that IG is uniquely identified by how it handles monomials (simple polynomial terms like $x^2y^3$). If a method distributes credit based on exponents while maintaining continuity, it must be Integrated Gradients.
4. Summary of Theorems
- Theorem 3: IG is the unique monotone path method satisfying Symmetry-Preserving and Affine Scale Invariance.
- Theorem 4: IG is the unique method satisfying Linearity, ASI, Completeness, Non-Decreasing Positivity, and Proportionality.
- Theorems 5 & 6: IG is the unique method satisfying Completeness, Dummy, Linearity, and Symmetric Monotonicity.
- Theorem 7: IG is uniquely defined by its specific credit distribution in monomials combined with Taylor approximation continuity.
Conclusion and Limitations
While this work provides a definitive mathematical defense of Integrated Gradients, the authors acknowledge the "No Free Lunch" nature of interpretability. No single attribution method can satisfy every possible desirable property. For instance, while IG is unique under the axioms presented here, other methods like Shapley Values may be unique under a different set of logical constraints.
The choice of which axioms are most important remains a subjective decision for practitioners. However, by providing a clear map of the logical consequences of these choices, this paper empowers researchers to understand exactly why they are using IG and the specific mathematical guarantees it provides.
Summary updated