CHG Shapley: Efficient Data Valuation and Selection towards Trustworthy Machine Learning

Huaiguang Cai
6/17/2024
cs.GTcs.LG

Official code: caihuaiguang/CHG-Shapley-for-Data-Valuation (4 stars, MIT, last commit 2024-10-14). 1 more implementation below.

Abstract

Understanding the decision-making process of machine learning models is crucial for ensuring trustworthy machine learning. Data Shapley, a landmark study on data valuation, advances this understanding by assessing the contribution of each datum to model performance. However, the resource-intensive and time-consuming nature of multiple model retraining poses challenges for applying Data Shapley to large datasets. To address this, we propose the CHG (compound of Hardness and Gradient) utility function, which approximates the utility of each data subset on model performance in every training epoch. By deriving the closed-form Shapley value for each data point using the CHG utility function, we reduce the computational complexity to that of a single model retraining, achieving a quadratic improvement over existing marginal contribution-based methods. We further leverage CHG Shapley for real-time data selection, conducting experiments across three settings: standard datasets, label noise datasets, and class imbalance datasets. These experiments demonstrate its effectiveness in identifying high-value and noisy data. By enabling efficient data valuation, CHG Shapley promotes trustworthy model training through a novel data-centric perspective. Our codes are available at https://github.com/caihuaiguang/CHG-Shapley-for-Data-Valuation and https://github.com/caihuaiguang/CHG-Shapley-for-Data-Selection.

View on arXivView PDF

Code Implementations(2)

MIT

OpenDataVal: a Unified Benchmark for Data Valuation in Python (NeurIPS 2023)

40Python, MakefileOct 13, 20242 years agoMIT
MIT

Reduce end to end training time from days to hours (or hours to minutes), and energy requirements/costs by an order of magnitude using coresets and data selection.

20Python, Jupyter NotebookOct 13, 20242 years agoMIT

Similar Papers

Cite this paper

@article{cai2024shapley,
  title  = {CHG Shapley: Efficient Data Valuation and Selection towards Trustworthy Machine Learning},
  author = {Huaiguang Cai},
  year   = {2024},
  eprint = {2406.11730},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.11730v3}
}

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/2406.11730.svg)](https://codeofpaper.com/paper/2406.11730)

Discussion