English

Deep Adversarially-Enhanced k-Nearest Neighbors

Machine Learning 2021-10-08 v2 Artificial Intelligence Computer Vision and Pattern Recognition

Abstract

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 dramatically increasing robustness-accuracy trade-off as the layer goes deeper. In this work, we propose a Deep Adversarially-Enhanced k-Nearest Neighbors (DAEkNN) method which achieves higher robustness than DkNN and mitigates the robustness-accuracy trade-off in deep layers through two key elements. First, DAEkNN is based on an adversarially trained model. Second, DAEkNN makes predictions by leveraging a weighted combination of benign and adversarial training data. Empirically, we find that DAEkNN improves both the robustness and the robustness-accuracy trade-off on MNIST and CIFAR-10 datasets.

Keywords

Cite

@article{arxiv.2108.06797,
  title  = {Deep Adversarially-Enhanced k-Nearest Neighbors},
  author = {Ren Wang and Tianqi Chen and Alfred Hero},
  journal= {arXiv preprint arXiv:2108.06797},
  year   = {2021}
}
R2 v1 2026-06-24T05:07:56.942Z