[Paper Review] Generalized Integrated Gradients: A practical method for explaining diverse ensembles
This paper introduces Generalized Integrated Gradients (GIG), a novel axiomatic method for explaining diverse machine learning ensembles by extending Integrated Gradients to handle mixed-type models—such as combinations of neural networks and tree-based models—using measure-theoretic path integrals. GIG uniquely and deterministically assigns feature attributions without arbitrary assumptions, outperforming existing methods in accuracy and consistency across diverse model architectures.
We introduce Generalized Integrated Gradients (GIG), a formal extension of the Integrated Gradients (IG) (Sundararajan et al., 2017) method for attributing credit to the input variables of a predictive model. GIG improves IG by explaining a broader variety of functions that arise from practical applications of ML in domains like financial services. GIG is constructed to overcome limitations of Shapley (1953) and Aumann-Shapley (1974), and has desirable properties when compared to other approaches. We prove GIG is the only correct method, under a small set of reasonable axioms, for providing explanations for mixed-type models or games. We describe the implementation, and present results of experiments on several datasets and systems of models.
Motivation & Objective
- To address the lack of a general, consistent method for explaining diverse machine learning ensembles, especially in high-stakes domains like finance and healthcare.
- To overcome the limitations of existing methods such as Shapley values and Integrated Gradients, which rely on arbitrary lifts or unrealistic independence assumptions.
- To develop a credit allocation framework that is fully determined by axioms and the model function, ensuring uniqueness and correctness for mixed-type models.
- To provide a practical, computable method that generalizes Integrated Gradients to handle discontinuous, piecewise-constant, and continuous functions in a unified way.
Proposed method
- GIG extends Integrated Gradients using measure theory to define a path integral over the Lebesgue decomposition of the input space, incorporating both continuous paths and discontinuities along hyperplanes.
- It computes attributions via a geometric decomposition based on orthants around function discontinuities, avoiding arbitrary combinatorial lifts required by Shapley values.
- The method relies on a unique solution derived from a small set of axioms: linearity, insensitivity to null variables, and symmetry, ensuring uniqueness.
- GIG uses a formal framework of function algebras and Borel measures to generalize credit assignment to mixed-type models, including generalized location models.
- The algorithm computes attributions by integrating over paths defined by the Lebesgue measure and the orthogonal Borel measure induced by discontinuities in the model.
- It is the only method that correctly assigns credit to all composed functions of mixed type—such as ensembles of neural networks and decision trees—without requiring feature independence.
Experimental results
Research questions
- RQ1Can a single, axiomatic credit assignment method be developed that consistently explains diverse, mixed-type machine learning models without relying on arbitrary assumptions or combinatorial lifts?
- RQ2Is there a unique method that satisfies key axioms—linearity, symmetry, and insensitivity to null variables—for attributing credit in models with both continuous and discontinuous components?
- RQ3How can Integrated Gradients be formally generalized to handle models with piecewise-constant behavior, such as tree ensembles, while preserving accuracy and consistency?
- RQ4Does a measure-theoretic formulation of path integrals enable a more robust and general explanation method than existing approaches like DeepSHAP or TreeExplainer?
- RQ5Can a method be constructed that is fully determined by its axioms and the model function, eliminating free parameters and arbitrary choices?
Key findings
- GIG is the only method that satisfies the core axioms of linearity, symmetry, and insensitivity to null variables while being fully determined by the model function and input data, with no free parameters.
- GIG uniquely and correctly assigns feature attributions to mixed-type models—such as ensembles combining neural networks and tree-based models—where existing methods fail due to independence assumptions or arbitrary lifts.
- Unlike Shapley-based methods, GIG avoids combinatorial lifts into higher-dimensional spaces, eliminating ambiguity and ensuring consistency across different model representations.
- GIG outperforms DeepSHAP and TreeExplainer in accuracy and generality, particularly when models are not in margin space or when features are dependent.
- The method provides a rigorous, measure-theoretic foundation that extends Integrated Gradients to discontinuous and mixed models, enabling accurate explanation of real-world ML systems.
- Empirical results on multiple datasets confirm that GIG delivers consistent, reliable, and interpretable attributions across diverse model architectures and data types.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.