Abstract
Attributing changes in a function's output to its individual input variables is a fundamental challenge in fields ranging from financial analysis to machine learning. This paper establishes a rigorous axiomatic foundation for the attribution problem within the class of multilinear functions. We demonstrate that for this class, the continuous Aumann-Shapley method and the discrete Shapley-Shubik method converge into a single, unique attribution method. Furthermore, we provide an efficient $O(n^2)$ algorithm for its computation, making it a practical tool for real-world systems.
Introduction
In many quantitative disciplines, we encounter the attribution problem: given a function $f(x_1, x_2, ..., x_n)$ and a change in its inputs from a starting point $a$ to an ending point $b$, how do we fairly divide the total change $\Delta = f(b) - f(a)$ among the variables $x_i$?
Consider a business expenditure model where $E = \text{quantity} \times \text{price} \times \text{exchange rate}$. If all three factors fluctuate between two quarters, a simple one-at-a-time sensitivity analysis fails the "completeness" test—the sum of the individual effects will not equal the total observed change in expenditure. This paper addresses this discrepancy by applying an axiomatic approach derived from cooperative game theory and cost-sharing literature to identify a mathematically "fair" distribution of change.
The Axiomatic Framework
To define what constitutes a "fair" attribution, the authors propose a set of requirements that any robust attribution method should satisfy:
- Completeness: The sum of all individual attributions must exactly equal the total change in the function value ($f(b) - f(a)$).
- Dummy: If a variable has no impact on the function's value across its range, its assigned attribution must be zero.
- Additivity: The attribution for a sum of two independent processes should equal the sum of the attributions calculated for each process individually.
- Affine Scale Invariance: Attributions should remain consistent regardless of the units of measurement (e.g., converting temperature from Celsius to Fahrenheit should not change the relative attribution).
- Anonymity: The method must be symmetric; the result should depend on the variables' values and their relationship within the function, not on their labels or ordering.
Methodology: Path Methods and Multilinearity
The paper focuses on Path Methods, which calculate attribution by integrating partial derivatives along a trajectory from the starting point $a$ to the ending point $b$. Two primary traditions exist in this space:
- Aumann-Shapley Method: A continuous approach that integrates along a straight-line diagonal path between the two points.
- Shapley-Shubik Method: A discrete approach that averages attributions across all possible permutations of variable changes, effectively treating the transition as a sequence of steps.
The core contribution of this research is identifying the Multilinear "Sweet Spot." For multilinear functions—functions where each variable appears with a degree of at most one (e.g., $f(x,y) = xy + x$)—the authors prove that these two seemingly distinct methods actually coincide.
Key Results and Computational Efficiency
The paper presents several landmark findings for the multilinear class:
- Uniqueness (Theorem 3.4): The authors prove that the "Aumann-Shapley-Shubik" method is the only method that satisfies the core axioms for multilinear functions.
- Convergence (Theorem 4.1): It is formally established that the continuous path integral and the discrete average of permutations yield identical results for this function class.
- Algorithmic Breakthrough: While calculating Shapley values is generally a #P-complete problem (requiring exponential time), the authors introduce Algorithm 1, a dynamic programming approach that computes these attributions in $O(n^2)$ time. This makes the method viable for high-dimensional business and engineering applications.
- Boundary of Uniqueness (Theorem 4.4): The research shows that the class of multilinear plus additively separable functions is the largest possible class where these two major attribution traditions agree. Beyond this boundary, the methods diverge, and no single method can satisfy all axioms simultaneously.
Practical Applications
Though theoretical in nature, the implications of this work are highly practical. The $O(n^2)$ algorithm allows for real-time attribution in various domains:
- Digital Advertising: Attributing changes in total spend to fluctuations in clicks versus cost-per-click (CPC).
- Finance: Decomposing portfolio returns into asset allocation effects versus security selection effects.
- Sports Analytics: Breaking down changes in team efficiency into the contributions of individual player metrics.
Conclusion and Future Work
This paper provides a definitive solution to the attribution problem for multilinear functions, bridging the gap between continuous and discrete game-theoretic approaches. However, limitations remain. The uniqueness result is strictly tied to the multilinear form; complex, non-linear models like deep neural networks do not naturally fit this framework. Future research may explore the use of wavelet theory to compare path-based methods for more complex functional forms and investigate how these axioms might be applied to "black-box" models where the function $f$ is estimated from noisy data rather than known analytically.
Summary updated