Path-Sampled Integrated Gradients
Organizations: Department of Computational Sciences, Canadian University Dubai, UAE · Abu Dhabi School of Management, Abu Dhabi, UAE · Department of Mathematics, Dr. B.R. Ambedkar National Institute of Technology, India
Abstract
We introduce path-sampled integrated gradients (PS-IG), a framework that generalizes feature attribution by computing the expected value over baselines sampled along the linear interpolation path. We prove that PS-IG is mathematically equivalent to path-weighted integrated gradients, provided the weighting function matches the cumulative distribution function of the sampling density. This equivalence allows the stochastic expectation to be evaluated via a deterministic Riemann sum, improving the error convergence rate from to for smooth models. Furthermore, we demonstrate analytically that PS-IG functions as a variance-reducing filter against gradient noise - strictly lowering attribution variance by a factor of 1/3 under uniform sampling - while preserving key axiomatic properties such as linearity and implementation invariance.
Figures & tables
| Function | Var(IG) | Var(PS-IG) | Ratio |
|---|---|---|---|
| Linear ( ) | 0.00992 | 0.00333 | 0.3356 |
| Quadratic ( ) | 0.01003 | 0.00335 | 0.3337 |
| Sigmoidal ( ) | 0.00982 | 0.00333 | 0.3394 |
Gradient-Based Attribution
Gradient-Based Attribution uses model derivatives to estimate which inputs, features, parameters, or training examples influence predictions and behaviors.
See all 109 papers