Skip to main navigation Skip to search Skip to main content

Localized Data Shapley: Accelerating Valuation for Nearest Neighbor Algorithms

  • Guangyi Zhang
  • , Yanhao Wang*
  • , Chengliang Chai
  • , Qiyu Liu
  • , Wei Wang*
  • *Corresponding author for this work
  • Shenzhen Technology University
  • East China Normal University
  • Southwest University
  • The Hong Kong University of Science and Technology (Guangzhou)
  • Hong Kong University of Science and Technology

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

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.

Original languageEnglish
Title of host publication39th Conference on Neural Information Processing Systems, NeurIPS 2025
PublisherNeural information processing systems foundation
Pages42714-42736
Number of pages23
ISBN (Electronic)9798331338275
Publication statusPublished - 2025
Event39th Conference on Neural Information Processing Systems, NeurIPS 2025 - San Diego, United States
Duration: 2 Dec 2025 → 7 Dec 2025

Publication series

NameAdvances in Neural Information Processing Systems
Volume38
ISSN (Print)1049-5258

Conference

Conference39th Conference on Neural Information Processing Systems, NeurIPS 2025
Country/TerritoryUnited States
CitySan Diego
Period2/12/25 → 7/12/25

Fingerprint

Dive into the research topics of 'Localized Data Shapley: Accelerating Valuation for Nearest Neighbor Algorithms'. Together they form a unique fingerprint.

Cite this