Threshold KNN-Shapley: A Linear-Time and Privacy-Friendly Approach to Data Valuation

Jiachen T. Wang, Yuqing Zhu, Yu-Xiang Wang, Ruoxi Jia, Prateek Mittal
8/30/2023
cs.LGcs.CRcs.GT

No official code found. Best implementation: Jiachen-T-Wang/TKNN-Shapley (6 stars, last commit 2023-12-04).

Abstract

Data valuation aims to quantify the usefulness of individual data sources in training machine learning (ML) models, and is a critical aspect of data-centric ML research. However, data valuation faces significant yet frequently overlooked privacy challenges despite its importance. This paper studies these challenges with a focus on KNN-Shapley, one of the most practical data valuation methods nowadays. We first emphasize the inherent privacy risks of KNN-Shapley, and demonstrate the significant technical difficulties in adapting KNN-Shapley to accommodate differential privacy (DP). To overcome these challenges, we introduce TKNN-Shapley, a refined variant of KNN-Shapley that is privacy-friendly, allowing for straightforward modifications to incorporate DP guarantee (DP-TKNN-Shapley). We show that DP-TKNN-Shapley has several advantages and offers a superior privacy-utility tradeoff compared to naively privatized KNN-Shapley in discerning data quality. Moreover, even non-private TKNN-Shapley achieves comparable performance as KNN-Shapley. Overall, our findings suggest that TKNN-Shapley is a promising alternative to KNN-Shapley, particularly for real-world applications involving sensitive data.

View on arXivView PDF

Code Implementations(1)

Official Codebase for "Threshold KNN-Shapley: A Linear-Time and Privacy-Friendly Approach to Data Valuation" (NeurIPS 2023 Spotlight)

62PythonDec 3, 20232 years ago

Similar Papers

Cite this paper

@article{wang2023threshold,
  title  = {Threshold KNN-Shapley: A Linear-Time and Privacy-Friendly Approach to Data Valuation},
  author = {Jiachen T. Wang and Yuqing Zhu and Yu-Xiang Wang and Ruoxi Jia and Prateek Mittal},
  year   = {2023},
  eprint = {2308.15709},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.15709v2}
}

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

Discussion