arXiv · 1903.08333
On the Robustness of Deep K-Nearest Neighbors
Abstract
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-Nearest Neighbor (kNN) and deep learning to improve the model's robustness to adversarial examples. It is challenging to evaluate the robustness of this scheme due to a lack of efficient algorithm for attacking kNN classifiers with large k and high-dimensional data. We propose a heuristic attack that allows us to use gradient descent to find adversarial examples for kNN classifiers, and then apply it to attack the DkNN defense as well. Results suggest that our attack is moderately stronger than any naive attack on kNN and significantly outperforms other attacks on DkNN.
Explore related subjects
Keep this discovery
Chawin Sitawarin, David Wagner. 2019-03-20. On the Robustness of Deep K-Nearest Neighbors. https://arxiv.org/abs/1903.08333
Cite the original work for its findings. Save a collection to share your selection of sources.