[Paper Review] Adversarial Examples for Non-Parametric Methods: Attacks, Defenses and Large Sample Limits.
This paper introduces adversarial pruning, a general defense for non-parametric classifiers like k-NN, decision trees, and random forests that preprocesses data to enhance separability. It proposes a novel attack applicable across these models and theoretically derives an optimally robust classifier, showing adversarial pruning approximates this ideal in finite samples, outperforming prior methods in robustness.
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 this https URL .
Motivation & Objective
- To address the lack of general, principled defenses and attacks for non-parametric classifiers, which have previously been developed in an ad-hoc or classifier-specific manner.
- To develop a unified defense strategy applicable across diverse non-parametric models, including k-nearest neighbors, decision trees, and random forests.
- To establish a theoretical benchmark for adversarial robustness in non-parametric learning by deriving an optimally robust classifier analogous to the Bayes optimal.
- To empirically validate that adversarial pruning achieves competitive or superior robustness compared to prior work on non-parametric models.
Proposed method
- Proposes adversarial pruning as a preprocessing defense that removes adversarial examples or perturbed points from the training data to improve class separability.
- Introduces a novel, general-purpose attack applicable to a wide range of non-parametric classifiers, enabling consistent evaluation across models.
- Derives an optimally robust classifier for non-parametric learning using theoretical analysis, analogous to the Bayes optimal classifier in standard classification.
- Shows that adversarial pruning is a finite-sample approximation to the theoretically optimal classifier, providing a principled link between defense and theory.
- Employs empirical evaluation on standard non-parametric models to compare robustness against prior methods under the new attack.
Experimental results
Research questions
- RQ1Can a general defense be developed for non-parametric classifiers that is not specific to a single model architecture?
- RQ2How does adversarial pruning compare to prior defenses in terms of robustness across k-NN, decision trees, and random forests?
- RQ3What is the theoretically optimal non-parametric classifier under adversarial perturbations, and how can it be approximated in practice?
- RQ4To what extent does the proposed attack generalize across different non-parametric models?
- RQ5Can adversarial pruning be interpreted as a finite-sample approximation to an optimal robust classifier?
Key findings
- Adversarial pruning significantly improves the robustness of k-NN, decision trees, and random forests against adversarial examples.
- The proposed attack generalizes effectively across multiple non-parametric models, enabling consistent evaluation of defenses.
- The theoretically derived optimal classifier provides a benchmark for adversarial robustness in non-parametric learning.
- Adversarial pruning is empirically shown to be competitive with or superior to prior defenses on non-parametric models.
- The defense method is validated as a finite-sample approximation to the theoretically optimal classifier, providing theoretical grounding for its effectiveness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.