Papers
Topics
Authors
Recent
Search
2000 character limit reached

Wasserstein-RIF: Robust Data Attribution

Updated 11 December 2025
  • Wasserstein-RIF are robust extensions of classical influence functions that certify model sensitivity under worst-case distributional perturbations.
  • They employ optimal transport and Wasserstein metrics to compute certified intervals, providing formal coverage guarantees for leave-one-out and population influence.
  • In deep networks, Natural Wasserstein metrics yield tighter certificates and facilitate robust anomaly detection, overcoming Euclidean certification limitations.

Wasserstein-Robust Influence Functions (W-RIF) generalize classical influence functions to provide certified robustness under distributional shifts, using optimal transport metrics. W-RIF enables the quantification of how training examples influence model predictions while accounting for worst-case perturbations measured in Wasserstein distance. This framework yields formal coverage guarantees in convex models and provides new geometric tools for certified data attribution in deep neural networks, overcoming severe limitations of Euclidean-based certification by introducing a Natural Wasserstein metric derived from feature covariance geometry (Li et al., 9 Dec 2025).

1. Classical Influence Functions and Their Limitations

Given a data-generating distribution PP over Z\mathcal{Z} and a twice-differentiable loss L(θ;z)L(\theta;z), the empirical risk minimizer is

θ^=argminθRp  EzPn[L(θ;z)]\hat{\theta} = \arg\min_{\theta\in\mathbb{R}^p} \;\mathbb{E}_{z\sim P_n}[L(\theta;z)]

for empirical Pn=1ni=1nδziP_n = \frac{1}{n}\sum_{i=1}^n \delta_{z_i}. The classical influence of training point ziz_i on test loss at ztestz_{\text{test}} is

I(zi,ztest)=θL(θ^;ztest)H1θL(θ^;zi)\mathcal{I}(z_i, z_{\text{test}}) = -\nabla_\theta L(\hat{\theta}; z_{\text{test}})^\top H^{-1} \nabla_\theta L(\hat{\theta}; z_i)

where H=EPn[θ2L(θ^;z)]H = \mathbb{E}_{P_n}[\nabla^2_\theta L(\hat{\theta};z)] is assumed positive definite. This formula quantifies the first-order impact of up-weighting or removing ziz_i but lacks robustness to distributional perturbations and fails to provide certified intervals for influence under data shifts (Li et al., 9 Dec 2025).

2. Wasserstein Uncertainty Sets and Rationale

The Z\mathcal{Z}0-Wasserstein distance between distributions Z\mathcal{Z}1 and Z\mathcal{Z}2 on Z\mathcal{Z}3 is

Z\mathcal{Z}4

The corresponding Wasserstein ball Z\mathcal{Z}5 defines an adversarial uncertainty set for robust analysis. Wasserstein metrics are preferred over Euclidean parameter perturbations because they quantify distributional (mass transport) shifts, accommodate support changes such as outlier addition/removal, and allow tractable duality-based reformulations via Kantorovich–Rubinstein duality. This construction provides a natural notion of uncertainty for robust influence function analysis (Li et al., 9 Dec 2025).

3. Definition and Computation of W-RIF

For any Z\mathcal{Z}6, the W-RIF at radius Z\mathcal{Z}7 is

Z\mathcal{Z}8

Substituting empirical estimators Z\mathcal{Z}9 and L(θ;z)L(\theta;z)0, a first-order expansion yields

L(θ;z)L(\theta;z)1

where the complete sensitivity kernel L(θ;z)L(\theta;z)2 is the sum of L(θ;z)L(\theta;z)3 and L(θ;z)L(\theta;z)4, both involving Hessian and gradient terms. If L(θ;z)L(\theta;z)5 is L(θ;z)L(\theta;z)6-Lipschitz with respect to the input norm, the dual form implies

L(θ;z)L(\theta;z)7

leading to the closed-form certified interval

L(θ;z)L(\theta;z)8

This interval is guaranteed to contain the leave-one-out or true population-level influence as detailed below (Li et al., 9 Dec 2025).

4. Provable Certification and Coverage Guarantees

Leave-one-out influence, given by removing L(θ;z)L(\theta;z)9 from θ^=argminθRp  EzPn[L(θ;z)]\hat{\theta} = \arg\min_{\theta\in\mathbb{R}^p} \;\mathbb{E}_{z\sim P_n}[L(\theta;z)]0, is a specific distributional perturbation: θ^=argminθRp  EzPn[L(θ;z)]\hat{\theta} = \arg\min_{\theta\in\mathbb{R}^p} \;\mathbb{E}_{z\sim P_n}[L(\theta;z)]1. Setting θ^=argminθRp  EzPn[L(θ;z)]\hat{\theta} = \arg\min_{\theta\in\mathbb{R}^p} \;\mathbb{E}_{z\sim P_n}[L(\theta;z)]2, the W-RIF interval around θ^=argminθRp  EzPn[L(θ;z)]\hat{\theta} = \arg\min_{\theta\in\mathbb{R}^p} \;\mathbb{E}_{z\sim P_n}[L(\theta;z)]3 certifies the true leave-one-out influence. For population-level guarantees, one selects

θ^=argminθRp  EzPn[L(θ;z)]\hat{\theta} = \arg\min_{\theta\in\mathbb{R}^p} \;\mathbb{E}_{z\sim P_n}[L(\theta;z)]4

so that, with probability at least θ^=argminθRp  EzPn[L(θ;z)]\hat{\theta} = \arg\min_{\theta\in\mathbb{R}^p} \;\mathbb{E}_{z\sim P_n}[L(\theta;z)]5, θ^=argminθRp  EzPn[L(θ;z)]\hat{\theta} = \arg\min_{\theta\in\mathbb{R}^p} \;\mathbb{E}_{z\sim P_n}[L(\theta;z)]6 and the population influence is covered: θ^=argminθRp  EzPn[L(θ;z)]\hat{\theta} = \arg\min_{\theta\in\mathbb{R}^p} \;\mathbb{E}_{z\sim P_n}[L(\theta;z)]7 This provides formal certification for robust attribution and data influence quantification in convex models (Li et al., 9 Dec 2025).

5. Computational Strategies

Exact estimation of θ^=argminθRp  EzPn[L(θ;z)]\hat{\theta} = \arg\min_{\theta\in\mathbb{R}^p} \;\mathbb{E}_{z\sim P_n}[L(\theta;z)]8 by pairwise slope calculation has computational complexity θ^=argminθRp  EzPn[L(θ;z)]\hat{\theta} = \arg\min_{\theta\in\mathbb{R}^p} \;\mathbb{E}_{z\sim P_n}[L(\theta;z)]9. Practical approximations include:

  • Estimating Pn=1ni=1nδziP_n = \frac{1}{n}\sum_{i=1}^n \delta_{z_i}0 at a random subset of points.
  • Solving the dual optimization

Pn=1ni=1nδziP_n = \frac{1}{n}\sum_{i=1}^n \delta_{z_i}1

using projected gradient methods, which scale linearly in Pn=1ni=1nδziP_n = \frac{1}{n}\sum_{i=1}^n \delta_{z_i}2. All other computations (Hessian inversion, gradient evaluation) adhere to standard influence-function workflows (Li et al., 9 Dec 2025).

6. Extensions to Deep Networks and the Spectral Amplification Barrier

In non-convex deep networks, the parameter solution map Pn=1ni=1nδziP_n = \frac{1}{n}\sum_{i=1}^n \delta_{z_i}3 may change discontinuously under data perturbations, rendering classical W-RIF constructions invalid. TRAK (a linearized attribution method at the fixed network) is formulated as

Pn=1ni=1nδziP_n = \frac{1}{n}\sum_{i=1}^n \delta_{z_i}4

where Pn=1ni=1nδziP_n = \frac{1}{n}\sum_{i=1}^n \delta_{z_i}5. However, naive use of Euclidean Pn=1ni=1nδziP_n = \frac{1}{n}\sum_{i=1}^n \delta_{z_i}6-balls in feature space results in vacuous certificates, because the relevant Lipschitz constant scales inversely with the smallest eigenvalue of Pn=1ni=1nδziP_n = \frac{1}{n}\sum_{i=1}^n \delta_{z_i}7, and deep representations typically exhibit ill-conditioning with condition numbers of Pn=1ni=1nδziP_n = \frac{1}{n}\sum_{i=1}^n \delta_{z_i}8–Pn=1ni=1nδziP_n = \frac{1}{n}\sum_{i=1}^n \delta_{z_i}9. Empirically, such Euclidean certificates cover ziz_i0 of ranking pairs (Li et al., 9 Dec 2025).

7. Natural Wasserstein Metric and Robust Neural Attribution

To address spectral amplification, the Natural Wasserstein metric is defined as

ziz_i1

In this induced geometry, the Lipschitz constant of the attribution score coincides with the data-dependent “Self-Influence” score: ziz_i2 The critical bound is

ziz_i3

Empirically, this yields certified intervals that are ziz_i4–ziz_i5 tighter than Euclidean baselines. On CIFAR-10 with ResNet-18, Natural W-TRAK certificates cover ziz_i6 of ranking pairs, in contrast to ziz_i7 for Euclidean approaches (Li et al., 9 Dec 2025).

Furthermore, Self-Influence not only certifies attribution robustness but also provides a mathematically grounded leverage score for anomaly detection, achieving AUROC ziz_i8 for label noise detection and identifying ziz_i9 of corrupted labels when considering the top ztestz_{\text{test}}0 of the training data (Li et al., 9 Dec 2025).


Wasserstein-Robust Influence Functions unify classical and modern approaches to data attribution by extending influence function analysis to robust, distributional settings. For convex models, W-RIF yields ztestz_{\text{test}}1-accurate certified intervals with provable guarantees for leave-one-out and population influence. For deep networks, robust certification is only achievable by linearizing at the feature level and measuring perturbations in the Natural Wasserstein metric, thereby circumventing the issue of spectral amplification. The theory provides a formal basis for certified data valuation, debugging, unlearning, and robust anomaly detection in high-dimensional, non-convex machine learning models (Li et al., 9 Dec 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Wasserstein-Robust Influence Functions (W-RIF).