mlsanityData to 7 Oct 2026

Defense Against Adversarial Images using Web-Scale Nearest-Neighbor Search

arXiv 1903.01612 ↗First posted 5 Mar 2019cs.CV cs.LGcited by 19

Not on the map. Why?

Abstract (arXiv)

A plethora of recent work has shown that convolutional networks are not robust to adversarial images: images that are created by perturbing a sample from the data distribution as to maximize the loss on the perturbed example. In this work, we hypothesize that adversarial perturbations move the image away from the image manifold in the sense that there exists no physical process that could have produced the adversarial image. This hypothesis suggests that a successful defense mechanism against adversarial images should aim to project the images back onto the image manifold. We study such defense mechanisms, which approximate the projection onto the unknown image manifold by a nearest-neighbor search against a web-scale image database containing tens of billions of images. Empirical evaluations of this defense strategy on ImageNet suggest that it is very effective in attack settings in which the adversary does not have access to the image database. We also propose two novel attack methods to break nearest-neighbor defenses, and demonstrate conditions under which nearest-neighbor defense fails. We perform a series of ablation experiments, which suggest that there is a trade-off between robustness and accuracy in our defenses, that a large image database (with hundreds of millions of images) is crucial to get good performance, and that careful construction the image database is important to be robust against attacks tailored to circumvent our defenses.

Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). First posted on arXiv 5 Mar 2019.

Builds on

No reference list yet.

Built on by

Cited by year

Citing papers per year: 2021: 9; 2022: 2; 2023: 2; 2024: 4; 2025: 2.

19 papers.

Sort:

By area:

  1. 2024ARGS: Alignment as Reward-Guided Searchcited by 99
  2. 2024Process Reward Model with Q-Value Rankingscited by 78
  3. 2021Noise-robust Graph Learning by Estimating and Leveraging Pairwise Interactionscited by 20
  4. 2021Two Coupled Rejection Metrics Can Tell Adversarial Examples Apartcited by 14
  5. 2023DeDrift: Robust Similarity Search under Content Driftcited by 11
  6. 2021Adversarial Attack and Defense in Deep Rankingcited by 8
  7. 2024On the Learnability of Out-of-distribution Detectioncited by 8
  8. 2022Be Your Own Neighborhood: Detecting Adversarial Example by the Neighborhood Relations Built on Self-Supervised Learningcited by 5
  9. 2021Multiplicative Reweighting for Robust Neural Network Optimizationcited by 4
  10. 2021Simple Post-Training Robustness Using Test Time Augmentations and Random Forestcited by 4
  11. 2023Adversarial Medical Image with Hierarchical Feature Hidingcited by 3
  12. 2021The Effects of Image Distribution and Task on Adversarial Robustnesscited by 1
7 more
  1. 2021THAT: Two Head Adversarial Training for Improving Robustness at Scalecited by 1
  2. 2021Medical Aegis: Robust adversarial protectors for medical imagescited by 1
  3. 2022Individual health-disease phase diagrams for disease prevention based on machine learningcited by 1
  4. 2025A Few Large Shifts: Layer-Inconsistency Based Minimal Overhead Adversarial Example Detectioncited by 1
  5. 2021Deep Adversarially-Enhanced k-Nearest Neighborscited by 0
  6. 2024Adversarial Detection with a Dynamically Stable Systemcited by 0
  7. 2025KNN-Defense: Defense against 3D Adversarial Point Clouds using Nearest-Neighbor Searchcited by 0