Neighbor Context Encoder: An Adversarial Example Detection Method That Learns to Characterize the Adversarial SubspaceLearning To Characterize Adversarial Subspaces
AI summary
The researchers propose the Neighbor Context Encoder (NCE) to detect adversarial examples. The method uses k-nearest neighbors as context to represent the subspace surrounding the examined sample, and adaptively learns a metric to characterize the adversarial subspace. Experiments on CIFAR-10, CIFAR-100, and ImageNet show that the method outperforms existing methods under all three settings: attack-aware black-box detection, attack-unaware black-box detection, and white-box detection.