paper-with-me

홈 › Papers

Analyzing the Robustness of Nearest Neighbors to Adversarial Examples

2017-06-13 · ICML 2018 7 · Yizhen Wang, Somesh Jha, Kamalika Chaudhuri

Motivated by safety-critical applications, test-time attacks on classifiers via adversarial examples has recently received a great deal of attention. However, there is a general lack of understanding on why adversarial examples arise; whether they originate due to inherent properties of data or due to lack of training samples remains ill-understood. In this work, we introduce a theoretical framework analogous to bias-variance theory for understanding these effects. We use our framework to analyze the robustness of a canonical non-parametric classifier - the k-nearest neighbors. Our analysis shows that its robustness properties depend critically on the value of k - the classifier may be inherently non-robust for small k, but its robustness approaches that of the Bayes Optimal classifier for fast-growing k. We propose a novel modified 1-nearest neighbor classifier, and guarantee its robustness in the large sample limit. Our experiments suggest that this classifier may have good robustness properties even for reasonable data set sizes.

📄 PDF Abstract BibTeX arXiv:1706.03922

Code (1)

EricYizhenWang/robust_nn_icml 공식 구현 tf

Similar Papers 제목 키워드 기반

On the Robustness of Deep K-Nearest Neighbors

2019-03-20 · Chawin Sitawarin, David Wagner

Despite a large amount of attention on adversarial examples, very few works have demonstrated an effective defense against this threat. We examine Deep k-Nearest Neighbor (DkNN), a proposed defense that combines k-Neares…

Deep k-Nearest Neighbors: Towards Confident, Interpretable and Robust Deep Learning

2018-03-13 · Nicolas Papernot, Patrick McDaniel

Deep neural networks (DNNs) enable innovative applications of machine learning like image recognition, machine translation, or malware detection. However, deep learning is often criticized for its lack of robustness in a…

Machine TranslationMalware Detection

Deep Adversarially-Enhanced k-Nearest Neighbors

2021-08-15 · Ren Wang, Tianqi Chen, Alfred Hero

Recent works have theoretically and empirically shown that deep neural networks (DNNs) have an inherent vulnerability to small perturbations. Applying the Deep k-Nearest Neighbors (DkNN) classifier, we observe a dramatic…

Nearest Neighbor Projection Removal Adversarial Training

2025-09-09 · Himanshu Singh, A. V. Subramanyam, Shivank Rajput, Mohan Kankanhalli arxiv

Deep neural networks have exhibited impressive performance in image classification tasks but remain vulnerable to adversarial examples. Standard adversarial training enhances robustness but typically fails to explicitly …

Adversarial RobustnessImage Classification

Learning To Characterize Adversarial Subspaces

2019-11-15 · Xiaofeng Mao, Yuefeng Chen, Yuhong Li, Yuan He 외

Deep Neural Networks (DNNs) are known to be vulnerable to the maliciously generated adversarial examples. To detect these adversarial examples, previous methods use artificially designed metrics to characterize the prope…