Whole-image perturbations and adversarial patches can make detection transformers, such as DETR and its high-performance successor DINO, miss or fabricate objects. We find that the two threats leave traces in different parts of the detector. Whole-image perturbations displace the decoder queries, whereas patch-induced shifts are near-orthogonal or opposite to them, so classifiers trained on whole-image attacks detect withheld patches poorly, although a patch remains visible as local texture in the backbone features. We therefore propose a detector built from experts that each operate where the attack leaves its trace. Scoring every decoder query, including the no-object queries, against a clean class-conditional density detects whole-image attacks without any attack data. A gated-attention set classifier (GASC) over the same queries detects whole-image attack families withheld from training at 0.970-0.983. For patches, a texture-anomaly expert compares backbone features with clean features, and a re-encoding expert measures how the output changes under JPEG re-encoding, both fitted on clean images only. Finally, our conformal multi-expert detector (CMED) fuses the experts and the GASC in one test with a preset clean false-alarm rate. On KITTI and BDD100K, CMED detects withheld patch families and unseen patch instances at 0.818-0.966 and 0.951-0.994 AUROC, respectively, and keeps whole-image detection at 0.967-0.986. On paired test images it outperforms the patch defenses PAD, NutNet and Jedi in every setting, and the diffusion-based EPS-AD on every patch setting. EPS-AD scores higher only on BDD100K perturbations of one grey level, at the cost of oversensitivity to random noise of the same budget; with noise as a second negative class, CMED is better in all six one-grey-level settings. CMED also detects attacks on DINO (0.947-0.954) with no attack generated on it.
翻译:暂无翻译