Training-Time Attacks against k-Nearest Neighbors
Ara Vartanian, Will Rosenbaum, Scott Alfeld

TL;DR
This paper investigates training-time poisoning attacks on k-Nearest Neighbors, proving their computational hardness, and proposes algorithms demonstrating their practical vulnerability and potential defenses.
Contribution
It proves NP-hardness of optimal poisoning attacks on kNN and introduces algorithms to perform and defend against such attacks.
Findings
kNN is vulnerable to training-time poisoning attacks
Dimensionality reduction can serve as an effective defense
The proposed algorithms are effective on synthetic and real datasets
Abstract
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 -Nearest Neighbor classification (NN). We prove that computing an optimal training-time (a.k.a. poisoning) attack against NN classification is NP-Hard, even when 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 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 NN is…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Anomaly Detection Techniques and Applications · Network Security and Intrusion Detection
