One Sample Fits All: Approximating All Probabilistic Values Simultaneously and Efficiently

Weida Li, Yaoliang Yu
10/1/2024
14 citations

Official code: watml/one-for-all (2 stars, Python, last commit 2024-12-11).

Abstract

The concept of probabilistic values, such as Beta Shapley values and weighted Banzhaf values, has gained recent attention in applications like feature attribution and data valuation. However, exact computation of these values is often exponentially expensive, necessitating approximation techniques.

Show full abstract

Prior research has shown that the choice of probabilistic values significantly impacts downstream performance, with no universally superior option. Consequently, one may have to approximate multiple candidates and select the best-performing one. Although there have been many efforts to develop efficient estimators, none are intended to approximate all probabilistic values both simultaneously and efficiently. In this work, we embark on the first exploration of achieving this goal. Adhering to the principle of maximum sample reuse, we propose a one-sample-fits-all framework parameterized by a sampling vector to approximate intermediate terms that can be converted to any probabilistic value without amplifying scalars. Leveraging the concept of $ (\epsilon, \delta) $-approximation, we theoretically identify a key formula that effectively determines the convergence rate of our framework. By optimizing the sampling vector using this formula, we obtain i) a one-for-all estimator that achieves the currently best time complexity for all probabilistic values on average, and ii) a faster generic estimator with the sampling vector optimally tuned for each probabilistic value. Particularly, our one-for-all estimator achieves the fastest convergence rate on Beta Shapley values, including the well-known Shapley value, both theoretically and empirically. Finally, we establish a connection between probabilistic values and the least square regression used in (regularized) datamodels, showing that our one-for-all estimator can solve a family of datamodels simultaneously.

View on arXivView PDF

Code Implementations(1)

watml/one-for-allOfficial100%
20PythonOct 29, 20241 years ago

Similar Papers

Cite this paper

@article{li2024sample,
  title  = {One Sample Fits All: Approximating All Probabilistic Values Simultaneously and Efficiently},
  author = {Weida Li and Yaoliang Yu},
  year   = {2024},
  eprint = {2410.23808},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2410.23808},
  url    = {https://arxiv.org/abs/2410.23808},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.23808.svg)](https://codeofpaper.com/paper/2410.23808)

Discussion