Data value estimation on private gradients

Zijian Zhou, Xinyi Xu, Daniela Rus, Bryan Kian Hsiang Low

TL;DR

Data valuation methods (like Data Shapley) normally become more accurate with a larger evaluation budget, but this paper reveals a paradox: when Differential Privacy (DP) is enforced via standard independent gradient noise, a larger budget actually destroys the quality of value estimates. To fix this, the authors introduce a novel method that injects carefully correlated noise across evaluations, reducing estimation uncertainty from scaling linearly to a constant and restoring the utility of private data valuation.

What Problem Does This Paper Address?

Data valuation helps identify which training data points or datasets are most valuable to a machine learning model. This is crucial for data marketplaces, collaborative ML, and federated learning (FL). However, sharing user statistics like gradients to calculate these values poses severe privacy risks.

While Differential Privacy (DP) is the gold standard for protecting training data—typically achieved by adding independent and identically distributed (i.i.d.) Gaussian noise to gradients—applying it to sampling-based data valuation creates a bizarre paradox. Because a larger evaluation budget requires algorithms to look at gradients more times, the total privacy risk accumulates. To maintain a fixed privacy guarantee, the algorithm must inject increasingly larger amounts of noise. Consequently, the estimation uncertainty grows linearly with the budget, rendering the final data value estimates no better than random guesses.

Methods

The authors propose mitigating this issue by injecting correlated noise instead of i.i.d. noise across repeated evaluations. This technique exploits DP's post-processing immunity, which states that reusing previously released private statistics does not degrade the overall privacy guarantee.

  • Algorithm Design: Instead of adding fresh i.i.d. noise at each iteration $t$, the algorithm computes a weighted sum of previously released private gradients using a specific lower-triangular matrix ($X^*$).
  • Variance Reduction: This matrix structure ensures that the gradient estimates remain unbiased while drastically reducing variance over time.
  • Burn-in Variant: They also introduce a variant using a non-square matrix ($Y^*$) with a "burn-in" ratio ($q$). This variant discards highly fluctuating marginal contributions from early iterations, successfully bounding the estimation uncertainty to a constant $O(1)$ regardless of how large the budget size $k$ becomes.

Datasets

The authors evaluated their approach across several standard datasets:

  • Diabetes dataset: Used for initial logistic regression evaluations of variance and data removal tasks.
  • Covertype dataset: Used for noisy label detection tasks with logistic regression.
  • MNIST: Used for convolutional neural network (CNN) evaluations in noisy label detection and federated learning.
  • CIFAR-10: Used for evaluating more complex models (CNN and fine-tuned ResNet-18/34) in dataset valuation and federated learning settings.

Key Insights and Ideas

  • The Budget Paradox: Intuitively, spending more computational budget on Monte Carlo sampling should yield more precise estimates. Under standard DP, however, it does the exact opposite because the noise required to maintain privacy scales up with the number of queries.
  • Smart Reuse via Post-Processing: The core "aha moment" is realizing that because DP is immune to post-processing, we can correlate the noise across iterations. Reusing the history of noisy gradients acts as a variance reduction mechanism without leaking any additional privacy.
Figure 1: Left: Box plots of ∆cos vs. budget k, where higher is better. Right: Box plots of ∆ℓ2 vs. budget k, where lower is better. ϵ = 1 for both plots.
  • Burn-in Benefits: Discarding the first few highly volatile iterations (the burn-in phase) prevents early noise from dominating the final average, turning an escalating uncertainty bound into a perfectly flat constant bound.

Key Results

  • Uncertainty Control: The proposed correlated noise method successfully dropped the mean-adjusted variance of data value estimates by several orders of magnitude compared to the i.i.d. baseline.
  • Data Selection & Noisy Label Detection: In data removal tasks, removing high-value data points identified by the authors' method led to significant model degradation (proving the valuation was accurate), matching the performance of non-private valuation. Meanwhile, the i.i.d. approach performed no better than random removal. For noisy label detection, the proposed method achieved substantially higher AUC-ROC scores (e.g., ~0.82 vs ~0.53 for Banzhaf values on MNIST).
  • MIA Defense: The method successfully defended against Membership Inference Attacks (MIA), reducing the attacker's AUROC to approximately 0.5 (equivalent to a random guess).

Limitations and Future Work

  • Memory Overhead: The primary limitation is the need to store historical gradients to compute the rolling correlated noise. However, this scales linearly with the number of parties ($O(n)$) and can be distributed across participants in federated learning scenarios.
  • Theoretical Assumptions: The theoretical proofs assume a diagonal multivariate sub-Gaussian distribution of gradients, which may not strictly hold for complex deep neural networks (though empirical results show it still works remarkably well).
  • Future Directions: The authors suggest exploring alternative matrix structures to minimize estimation uncertainty even further.

Summary updated

BibTeX
@misc{zhou2024data,
  author = {Zijian Zhou and Xinyi Xu and Daniela Rus and Bryan Kian Hsiang Low},
  title = {{Data value estimation on private gradients}},
  year = {2024},
  eprint = {2412.17008},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.17008},
}
Figure