Robustness for Non-Parametric Classification: A Generic Attack and Defense
Not on the map. Why?
Abstract (arXiv)
Adversarially robust machine learning has received much recent attention. However, prior attacks and defenses for non-parametric classifiers have been developed in an ad-hoc or classifier-specific basis. In this work, we take a holistic look at adversarial examples for non-parametric classifiers, including nearest neighbors, decision trees, and random forests. We provide a general defense method, adversarial pruning, that works by preprocessing the dataset to become well-separated. To test our defense, we provide a novel attack that applies to a wide range of non-parametric classifiers. Theoretically, we derive an optimally robust classifier, which is analogous to the Bayes Optimal. We show that adversarial pruning can be viewed as a finite sample approximation to this optimal classifier. We empirically show that our defense and attack are either better than or competitive with prior work on non-parametric classifiers. Overall, our results provide a strong and broadly-applicable baseline for future work on robust non-parametrics. Code available at https://github.com/yangarbiter/adversarial-nonparametrics/ .
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). First posted on arXiv 7 Jun 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 6; 2022: 2; 2023: 2; 2024: 1; 2025: 1.
12 papers.
- 2021On the Existence of the Adversarial Bayes Classifier (Extended Version)cited by 25
- 2021Connecting Interpretability and Robustness in Decision Trees through Separationcited by 16
- 2022Existence and Minimax Theorems for Adversarial Surrogate Risks in Binary Classificationcited by 15
- 2021Understanding Generalization in Adversarial Training via the Bias-Variance Decompositioncited by 10
- 2023It Is All About Data: A Survey on the Effects of Data on Adversarial Robustnesscited by 9
- 2021Data Quality Matters For Adversarial Training: An Empirical Studycited by 6
- 2023Characterizing the Optimal 0-1 Loss for Multi-class Classification with a Test-time Attackercited by 6
- 2022Adversarial Attack and Defense for Non-Parametric Two-Sample Testscited by 2
- 2024Minimax rates of convergence for nonparametric regression under adversarial attackscited by 2
- 2021Exploring Adversarial Examples for Efficient Active Learning in Machine Learning Classifierscited by 1
- 2025Adversarial Robustness of Nonparametric Regressioncited by 1
- 2021On the (Un-)Avoidability of Adversarial Examplescited by 0
- 2025Adversarial Robustness of Nonparametric Regression23 May 2025
- 2024Minimax rates of convergence for nonparametric regression under adversarial attacks12 Oct 2024
- 2023It Is All About Data: A Survey on the Effects of Data on Adversarial Robustness17 Mar 2023
- 2023Characterizing the Optimal 0-1 Loss for Multi-class Classification with a Test-time Attacker21 Feb 2023
- 2022Existence and Minimax Theorems for Adversarial Surrogate Risks in Binary Classification18 Jun 2022
- 2022Adversarial Attack and Defense for Non-Parametric Two-Sample Tests7 Feb 2022
- 2021On the Existence of the Adversarial Bayes Classifier (Extended Version)3 Dec 2021
- 2021Exploring Adversarial Examples for Efficient Active Learning in Machine Learning Classifiers22 Sep 2021
- 2021On the (Un-)Avoidability of Adversarial Examples24 Jun 2021
- 2021Understanding Generalization in Adversarial Training via the Bias-Variance Decomposition17 Mar 2021
- 2021Data Quality Matters For Adversarial Training: An Empirical Study15 Feb 2021
- 2021Connecting Interpretability and Robustness in Decision Trees through Separation14 Feb 2021