NeurIPS 2025poster0 citations

Localized Data Shapley: Accelerating Valuation for Nearest Neighbor Algorithms

Guangyi Zhang, Yanhao Wang, Chengliang Chai, Qiyu Liu, Wei Wang

Abstract

Data Shapley values provide a principled approach for quantifying the contribution of individual training examples to machine learning models. However, computing these values often requires computational complexity that is exponential in the data size, and this has led researchers to pursue efficient algorithms tailored to specific machine learning models. Building on the prior success of the Shapley valuation for $K$-nearest neighbor (KNN) models, in this paper, we introduce a localized data Shapley framework that significantly accelerates the valuation of data points. Our approach leverages the distance-based local structure in the data space to decompose the global valuation problem into smaller, localized computations. Our primary contribution is an efficient valuation algorithm for a threshold-based KNN variant and shows that it provides provable speedups over the baseline under mild assumptions. Extensive experiments on real-life datasets demonstrate that our methods achieve a substantial speedup compared to previous approaches.

Data valuationShapley valuesk-Nearest NeighborsClustering
BibTeX
@inproceedings{
zhang2025localized,
title={Localized Data Shapley: Accelerating Valuation for Nearest Neighbor Algorithms},
author={Guangyi Zhang and Yanhao Wang and Chengliang Chai and Qiyu Liu and Wei Wang},
booktitle={The Thirty-ninth Annual Conference on Neural Information Processing Systems},
year={2025},
url={https://openreview.net/forum?id=gOzcYNLKvr}
}