mlsanityData to 7 Oct 2026

Training-Time Attacks against k-Nearest Neighbors

arXiv 2208.07272 ↗First posted 15 Aug 2022cs.LG cs.CRcited by 0

Not on the map. Why?

Abstract (arXiv)

Nearest neighbor-based methods are commonly used for classification tasks and as subroutines of other data-analysis methods. An attacker with the capability of inserting their own data points into the training set can manipulate the inferred nearest neighbor structure. We distill this goal to the task of performing a training-set data insertion attack against k-Nearest Neighbor classification (kNN). We prove that computing an optimal training-time (a.k.a. poisoning) attack against kNN classification is NP-Hard, even when k = 1 and the attacker can insert only a single data point. We provide an anytime algorithm to perform such an attack, and a greedy algorithm for general k and attacker budget. We provide theoretical bounds and empirically demonstrate the effectiveness and practicality of our methods on synthetic and real-world datasets. Empirically, we find that kNN is vulnerable in practice and that dimensionality reduction is an effective defense. We conclude with a discussion of open problems illuminated by our analysis.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 7 of its 41 references that are in the map. First posted on arXiv 15 Aug 2022.

Builds on

7 of 41 references.

References · 7

  1. 2017Understanding Black-box Predictions via Influence Functionscited by 1,714
  2. 2017Wild Patterns: Ten Years After the Rise of Adversarial Machine Learningcited by 411
  3. 2018Manipulating Machine Learning: Poisoning Attacks and Countermeasures for Regression Learningcited by 219
  4. 2016Data Poisoning Attacks on Factorization-Based Collaborative Filteringcited by 78
  5. 2017Analyzing the Robustness of Nearest Neighbors to Adversarial Examplescited by 36
  6. 2020When are Non-Parametric Methods Robust?cited by 15
  7. 2019Data Poisoning Attacks on Neighborhood-based Recommender Systemscited by 10

Built on by

Not cited yet.