atlas

Research map / Adversarial robustness and security / Attacks on text and graphs

Be Your Own Neighborhood: Detecting Adversarial Examples by the Neighborhood Relations Built on Self-Supervised Learning

ICML 2024 · Adversarial robustness and security › Attacks on text and graphs · approach: Defenses against universal perturbations · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes BEYOND, an adversarial example detector that flags inputs whose SSL-based label predictions and representations are inconsistent with those of 50 augmented neighbors, without any adversarial examples for training.

Problem

Detecting adversarial examples in image classifiers reliably, including under adaptive attacks, without relying on reference adversarial examples for training.

Approach

Use an off-the-shelf SSL model (SimSiam) to compare an input with its 50 augmented neighbors on two signals, label consistency and representation cosine similarity; adversarial inputs show abnormal relations with neighbors, and attacking both signals simultaneously creates conflicting gradients.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use BEYOND instead of the strongest listed baselineCIFAR-10 AE detection · CIFAR-10, unseen PGDAUC: 63.14% -> 99.29%Helped
Use BEYOND instead of the strongest listed baselineCIFAR-10 AE detection · CIFAR-10, seen FGSMAUC: 99.88% -> 98.89%Hurt
Add BEYOND to adversarially trained classifierR2021Fixing70 · CIFAR-10, AutoAttackrobust accuracy: 66.20% -> 84.40%Helped
Add ATC to BEYONDBEYOND · CIFAR-10, Orthogonal-PGD, L∞=8/255RA@FPR5%: 13.80% -> 94.50%Helped
Combine label consistency and representation similarity rather than use an individual mechanism (ablation)BEYOND · CIFAR-10 and CIFAR-100, varied perturbation budgetsAUCHelped
Use label consistency alone instead of the combined detector (ablation)BEYOND · CIFAR-10 and CIFAR-100, varied perturbation budgetsAUCHurt
Use representation similarity alone instead of the combined detector (ablation)BEYOND · CIFAR-10 and CIFAR-100, varied perturbation budgetsAUCHurt
Increase the number of neighbors beyond 50 (ablation)BEYOND · CIFAR-10, PGDdetection performanceNo clear effect
Set adaptive-attack trade-off α to 1 rather than 0 (ablation)Adaptive attack against BEYOND · CIFAR-10AUC: 82.03% -> 63.91%Hurt
Set adaptive-attack trade-off α to 1 rather than 0 (ablation)Adaptive attack against BEYOND · CIFAR-100AUC: 90.58% -> 88.49%Hurt

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 CIFAR-100 ImageNet

Benchmarks: CIFAR-10 CIFAR-100 ImageNet

Metrics: TPR@FPR AUC ROC curve robust accuracy

Baselines: kNN DkNN LID LNG Hu et al. Trapdoor DLA'20 SID'21 SPAM'19

Builds on: SimSiam DkNN LNG RobustBench

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy