A Note on "Efficient Task-Specific Data Valuation for Nearest Neighbor Algorithms"

Jiachen T. Wang, Ruoxi Jia
4/9/2023
stat.MLcs.LG

No confident code implementation found for this paper.

Abstract

Data valuation is a growing research field that studies the influence of individual data points for machine learning (ML) models. Data Shapley, inspired by cooperative game theory and economics, is an effective method for data valuation. However, it is well-known that the Shapley value (SV) can be computationally expensive. Fortunately, Jia et al. (2019) showed that for K-Nearest Neighbors (KNN) models, the computation of Data Shapley is surprisingly simple and efficient. In this note, we revisit the work of Jia et al. (2019) and propose a more natural and interpretable utility function that better reflects the performance of KNN models. We derive the corresponding calculation procedure for the Data Shapley of KNN classifiers/regressors with the new utility functions. Our new approach, dubbed soft-label KNN-SV, achieves the same time complexity as the original method. We further provide an efficient approximation algorithm for soft-label KNN-SV based on locality sensitive hashing (LSH). Our experimental results demonstrate that Soft-label KNN-SV outperforms the original method on most datasets in the task of mislabeled data detection, making it a better baseline for future work on data valuation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2023note,
  title  = {A Note on "Efficient Task-Specific Data Valuation for Nearest Neighbor Algorithms"},
  author = {Jiachen T. Wang and Ruoxi Jia},
  year   = {2023},
  eprint = {2304.04258},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.04258v2}
}

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

Discussion