Efficient Task-Specific Data Valuation for Nearest Neighbor Algorithms

被引:81
|
作者
Jia, Ruoxi [1 ]
Dao, David [2 ]
Wang, Boxin [3 ]
Hubis, Frances Ann [2 ]
Gurel, Nezihe Merve [2 ]
Li, Bo [4 ]
Zhang, Ce [2 ]
Spanos, Costas J. [1 ]
Song, Dawn [1 ]
机构
[1] Univ Calif Berkeley, Berkeley, CA 94720 USA
[2] Swiss Fed Inst Technol, Zurich, Switzerland
[3] Zhejiang Univ, Hangzhou, Zhejiang, Peoples R China
[4] UIUC, Champaign, IL USA
来源
PROCEEDINGS OF THE VLDB ENDOWMENT | 2019年 / 12卷 / 11期
关键词
D O I
10.14778/3342263.3342637
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Given a data set D containing millions of data points and a data consumer who is willing to pay for $X to train a machine learning (ML) model over D, how should we distribute this $X to each data point to reflect its "value"? In this paper, we define the "relative value of data" via the Shapley value, as it uniquely possesses properties with appealing real-world interpretations, such as fairness, rationality and decentralizability. For general, bounded utility functions, the Shapley value is known to be challenging to compute: to get Shapley values for all N data points, it requires O(2(N)) model evaluations for exact computation and O(N log N) for (epsilon, delta)-approximation. In this paper, we focus on one popular family of ML models relying on K-nearest neighbors (KNN). The most surprising result is that for unweighted KNN classifiers and regressors, the Shapley value of all N data points can be computed, exactly, in O(N log N) time - an exponential improvement on computational complexity! Moreover, for (epsilon, delta)-approximation, we are able to develop an algorithm based on Locality Sensitive Hashing (LSH) with only sublinear complexity O (N-h(epsilon,N-K) log N) when is not too small and epsilon is not too large. We empirically evaluate our algorithms on up to 10 million data points and even our exact algorithm is up to three orders of magnitude faster than the baseline approximation algorithm. The LSH-based approximation algorithm can accelerate the value calculation process even further. We then extend our algorithm to other scenarios such as (1) weighed KNN classifiers, (2) different data points are clustered by different data curators, and (3) there are data analysts providing computation who also requires proper valuation. Some of these extensions, although also being improved exponentially, are less practical for exact computation (e.g., O (N-K) complexity for weigthed KNN). We thus propose an Monte Carlo approximation algorithm, which is O (N (log N)(2)/(log K)(2)) times more efficient than the baseline approximation algorithm.
引用
收藏
页码:1610 / 1623
页数:14
相关论文
共 50 条
  • [21] Active learning of molecular data for task-specific objectives
    Ghosh, Kunal
    Todorovic, Milica
    Vehtari, Aki
    Rinke, Patrick
    JOURNAL OF CHEMICAL PHYSICS, 2025, 162 (01):
  • [22] Efficient Algorithms for Answering Reverse Spatial-Keyword Nearest Neighbor Queries
    Lu, Ying
    Cong, Gao
    Lu, Jiaheng
    Shahabi, Cyrus
    23RD ACM SIGSPATIAL INTERNATIONAL CONFERENCE ON ADVANCES IN GEOGRAPHIC INFORMATION SYSTEMS (ACM SIGSPATIAL GIS 2015), 2015,
  • [23] Improving motion-planning algorithms by efficient nearest-neighbor searching
    Yershova, Anna
    LaValle, Steven M.
    IEEE TRANSACTIONS ON ROBOTICS, 2007, 23 (01) : 151 - 157
  • [24] Partition based pattern synthesis technique with efficient algorithms for nearest neighbor classification
    Viswanath, P.
    Murty, M. Narasimha
    Bhatnagar, Shalabh
    PATTERN RECOGNITION LETTERS, 2006, 27 (14) : 1714 - 1724
  • [25] Efficient Adsorptive Desulfurization by Task-Specific Porous Organic Polymers
    Jin, Tian
    An, Shuhao
    Yang, Xuejing
    Hu, Jun
    Wang, Hualin
    Liu, Honglai
    Tian, Ziqi
    Jiang, De-en
    Mehio, Nada
    Zhu, Xiang
    AICHE JOURNAL, 2016, 62 (05) : 1740 - 1746
  • [26] Leveraging Task-Specific VAEs for Efficient Exemplar Generation in HAR
    Kann, Bonpagna
    Castellanos-Paez, Sandra
    Rombourg, Romain
    Lalanda, Philippe
    INTERNET OF THINGS, IFIPIOT 2024, 2025, 737 : 207 - 225
  • [27] Task-specific compressive optical system design through genetic algorithms
    Galiardi, Meghan
    Tu-Thach Quach
    Birch, Gabriel C.
    LaCasse, Charles F.
    Dagel, Amber L.
    2019 IEEE MTT-S INTERNATIONAL CONFERENCE ON NUMERICAL ELECTROMAGNETIC AND MULTIPHYSICS MODELING AND OPTIMIZATION (NEMO 2019), 2019,
  • [28] An efficient conjugate hydrothiocyanation of chalcones with a task-specific ionic liquid
    Yadav, Lal Dhar S.
    Patel, Rajesh
    Rai, Vijai K.
    Srivastava, Vishnu P.
    TETRAHEDRON LETTERS, 2007, 48 (44) : 7793 - 7795
  • [29] Efficient Processing of Probabilistic Group Nearest Neighbor Query on Uncertain Data
    Li, Jiajia
    Wang, Botao
    Wang, Guoren
    Bi, Xin
    DATABASE SYSTEMS FOR ADVANCED APPLICATIONS, DASFAA 2014, PT I, 2014, 8421 : 436 - 450
  • [30] Efficient Probabilistic Reverse Nearest Neighbor Query Processing on Uncertain Data
    Bernecker, Thomas
    Emrich, Tobias
    Kriegel, Hans-Peter
    Renz, Matthias
    Zankl, Stefan
    Zuefle, Andreas
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2011, 4 (10): : 669 - 680