iRaven

Paper · Open models · Version v1

Different Threats Leave Different Traces: Conformal Multi-Expert Detection of Adversarial Attacks on Detection Transformers

First published: arXiv, . Original

Copyright the authors. Licensed under Creative Commons Attribution 4.0 International.

This page holds the text of the paper, converted to HTML; figures may be left out.

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.

Journal: Pattern Recognition

Abstract

Whole-image L∞ 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. L∞ perturbations displace the decoder queries, whereas patch-induced shifts are near-orthogonal or opposite to them, so classifiers trained on L∞ 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 L∞ attacks without any attack data. A gated-attention set classifier (GASC) over the same queries detects L∞ 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 L∞ 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.

Keywords:

Adversarial example detection , Object detection , Detection transformer , Density estimation , Anomaly detection , Conformal p-values , Adversarial patch

1 Introduction

Deep networks can be steered by input perturbations that a human does not notice [1, 2, 3], and object detectors are no exception. An attacker who bounds the change of every pixel in L∞ norm can make a detector miss pedestrians and vehicles, report non-existent objects or lose accuracy across all classes [4, 5, 6, 7]. An attacker who controls a small region can print a patch that hides people or vehicles [8, 9, 10, 11, 12]. The two threat models are complementary. An L∞ perturbation is imperceptible but affects the whole image, whereas a patch is visible but confined to a small region. A practical attack detector must handle both, including attacks absent from its training data, because the defender rarely knows in advance which attack will be used.

Detection transformers [13, 14, 15] are increasingly used in perception systems, and they are vulnerable to both threat models [16, 17, 18]. Their output has a fixed structure that is well suited to statistical modelling: every image is described by the same number of decoder queries, each with class logits that include a “no object” class, a decoder embedding and a box. Attack detection for object detectors, however, has developed mainly as patch localization in the input of convolutional detectors [19, 20, 21, 22, 23] and as consistency checks over detected objects [24, 25]. Statistical and density-based detectors are the dominant approach for image classifiers [26, 27, 28, 29, 30, 31]. We found no attack detector that operates on the decoder queries of a detection transformer; the DETR-related detection work we found addresses backdoors [32] or open-world and out-of-distribution (OOD) objects [33, 34, 35, 36].

A detection transformer poses the detection problem in a form of its own. Each image is a set of queries, about 91% of which predict no object on KITTI, the object classes are strongly imbalanced, and the number of objects varies between images. A vanishing attack removes exactly the detections that a score over detected objects would examine and turns their queries into additional no-object queries. Our detector therefore scores every query, including the no-object queries, against a clean class-conditional density of its predicted class and summarizes all per-query scores in one image score. The aggregation, the density sample size and the representation (logits or decoder embeddings) are fixed on validation data before any test result is computed. The scores detect attacks without attack data, and as per-query features they are the input of a supervised set classifier.

Every detector is evaluated leave-one-attack-family-out: the result for each attack comes from a model that did not use that attack’s family in training or in model selection. The gated-attention set classifier (GASC) detects L∞ attack families with different objectives, including a withheld vanishing attack, at test AUROC 0.970–0.983. Withheld patches remain difficult for every detector that operates on the decoder output, and an analysis of the feature shifts shows why: patch-induced shifts of the query features are near-orthogonal or opposite to the L∞ shifts that the classifier learns, and four further designs on the decoder output do not change this. Different threat models thus leave their traces in different parts of the detector. An L∞ perturbation shifts the decoder queries, whereas a patch remains a strong local texture in the backbone features, which retain it even where the decoder discards it. A texture-anomaly expert detects this texture on the protected detector’s own backbone, and a re-encoding expert measures how much the detector’s output changes under JPEG re-encoding; both are fitted on clean images only. The conformal multi-expert detector (CMED) combines them with the GASC in one test whose clean false-alarm rate is fixed in advance. It detects patch instances that were not used in any design decision, in a single test pass, while L∞ detection remains at 0.967–0.986.

Contributions

  1. Attack detection on the full query set of a detection transformer. Every decoder query, including the no-object queries that receive the trace of a vanishing attack, is scored against a clean density of its predicted class, and the per-query scores are aggregated by a rule chosen with minimax regret over attack goals and datasets. Exact kernel densities fitted on up to 683k clean queries per class detect every L∞ attack at one grey level without attack data. To our knowledge, this is the first attack detector that operates on the queries of DETR-family detectors.
  2. A set classifier that transfers across L∞ attack objectives. The GASC weights the queries by gated attention, so that a few displaced queries can determine the image score, and it is trained with noise negatives of the attack’s budget, so that it does not respond to arbitrary perturbations. Selected from 70 designs per fold on validation only, it detects withheld L∞ families at 0.970–0.983 on two driving datasets and a withheld vanishing attack at 0.915 on a second detector (DINO).
  3. Different threat models leave different traces. In logit and embedding space, patch-induced shifts are near-orthogonal or opposite to L∞ shifts in three of the four patch settings, so classifiers trained on L∞ attacks detect withheld patches from the decoder output at 0.496–0.790. In density-score space the shifts remain aligned, except for BDD100K person patches. The trace of a patch lies instead in the local texture of the backbone features.
  4. A patch detector on the protected detector’s own backbone. The texture-anomaly expert compares local backbone features with a memory bank of clean features. It needs neither attack data nor an additional network, and on its own it detects patches at 0.91–0.98 on KITTI and 0.97–0.997 on BDD100K.
  5. CMED, one calibrated test over supervised and clean-fitted experts. Conformal p-values put the experts on a common scale, and the minimum p-value bounds the clean false-alarm rate for any set of experts, so clean-fitted experts can be added for a detector on which no attack was generated. CMED detects withheld and unseen patch instances at 0.951–0.994 (BDD100K) and 0.818–0.966 (KITTI), and detects attacks on a second detector without using any attack data generated on it.
  6. A paired comparison with three recent patch defenses and a diffusion-based L∞ detector, on identical test images, and for the patch defenses also on harmless occluders and the public APDE benchmark, under a protocol in which every design is fixed on validation and the test split is evaluated once per study.

2 Related work

2.1 Adversarial attacks on object detectors

Gradient-based L∞ attacks [2, 3, 37] were extended to detectors early. DAG [4] perturbs the image so that many proposals receive wrong labels; UEA [5] trains a generator for transferable attacks on image and video detectors; RAP [38] targets the region proposal network of two-stage detectors; CAP [39] exploits context to suppress objects; TOG [6] defines untargeted, vanishing, fabrication and mislabeling objectives on the objectness gradient of one-stage detectors; and Daedalus [7] breaks non-maximum suppression by fabricating dense, overlapping boxes. Localized attacks hide objects with universal patches [8, 9, 10], printed clothing [11] or naturalistic patches produced by generative models [12]. For detection transformers, a small patch can draw the dot-product attention of all queries onto the tokens it controls [16], untargeted attacks on intermediate decoder losses degrade detection transformers broadly [17], and attacks on encoder attention collapse DETR-R50 [18]. Our evaluation uses the attack goals of this literature (untargeted degradation, fabrication and vanishing), with PGD, APGD and a vanishing objective as L∞ attacks and universal patches as localized attacks.

2.2 Detecting adversarial examples in image classifiers

Most adversarial-example detectors were developed for image classifiers; Aldahdooh et al. [40] review and compare them. Statistical and density detectors model clean activations and flag inputs that fall outside them: kernel density and Bayesian uncertainty on the last hidden layer [26], class-conditional Gaussians with Mahalanobis distances on intermediate features [27], local intrinsic dimensionality [28], maximum-mean-discrepancy tests [29], nearest-neighbour consistency across layers [41, 42], invariant checking of activation provenance [43], the statistics of log-odds under noise [44] and latent neighbourhood graphs [45]. Reconstruction and transformation detectors compare an input with a denoised or squeezed version of itself [30, 31, 46]. Supervised detectors learn from adversarial examples directly: Metzen et al. [47] train a detector subnetwork on attacks crafted on the classifier’s training set, and Gong et al. [48] train a binary classifier on clean and adversarial data. Ma et al. [28] and Lee et al. [27] combine such statistics with logistic regression. Generalization to unseen attacks is studied by randomizing the perturbation distribution [49] or adapting across adversarial domains [50], and layer-wise statistics can be combined without supervision [51]. EPS-AD [52] averages the score of a pretrained diffusion model over several noise levels and compares it with clean samples by a kernel maximum mean discrepancy; its kernel is trained on FGSM examples only and detects other L∞ attacks. All of these methods score a single feature vector per image and do not address the query sets, the predominance of no-object queries or the vanishing goal of object detection.

2.3 Attack detection for object detectors

Methods that detect attacks on object detectors follow three approaches. Consistency checks flag scenes whose objects do not fit their context: SCEME [24] learns per-category context profiles and detects L∞ perturbations from context inconsistency, and Yin et al. [25] use a language model of object co-occurrence. Internal-activation checks flag over-activated features [53], and temporal checks exploit consistency across video frames [54]. Patch localizers find and remove the patch: LGS [19] smooths high-gradient regions, Jedi [21] uses local entropy, SAC and PatchZero [20, 55] segment patches, PAD [22] uses semantic independence and recompression residuals without training, NutNet [23] flags blocks that a clean-trained autoencoder reconstructs poorly, and DIFFender [56] uses a diffusion model. DetectorGuard and ObjectSeeker [57, 58] certify patch-hiding detection within a bounded region. APRICOT [59] and APDE [60] benchmark patch defenses,. The consistency-based detectors address convolutional detectors and L∞ perturbations, and the localizers address contiguous patches. We evaluate a single detector on both threat models and compare it with three of the localizers and with EPS-AD.

2.4 Density, OOD and anomaly scoring on detector features

Density models over detector features have been developed for OOD detection. VOS models object features as class-conditional Gaussians and synthesizes virtual outliers [61], Kumar et al. use normalizing flows [62], and Huang et al. [63] and LS-VOS [64] score LiDAR detections on KITTI. Three methods that operate on DETR queries are the closest to ours in form: PROB fits a Gaussian objectness model on Deformable-DETR queries for open-world detection [34], SIREN shapes query embeddings into a von Mises–Fisher mixture for OOD objects [35], and SAFE trains on clean versus FGSM-perturbed detector features as a surrogate for OOD detection [36]. None of them detects adversarial attacks. Lee et al. [27] apply class-conditional Mahalanobis scores to both OOD and adversarial inputs, for image classifiers. In industrial inspection, a memory bank of clean patch features localizes defects by nearest-neighbour distance [65], and conformal outlier tests turn a score into a p-value whose false-alarm rate is set on clean data [66].

3 Problem setting, threat model and attack budgets

3.1 Problem and threat model

A frozen object detector f processes an image x; an attack detector g returns a score g(x), higher meaning more likely attacked, and a decision at an operating threshold. We measure g by image-level AUROC between attacked images and the clean versions of the same images, and by its false-alarm rates on clean and randomly perturbed images. The attacker is white-box on the object detector (weights and gradients) and uses digital L∞-bounded perturbations or universal patches with untargeted, vanishing or fabrication goals; in the transfer setting the attack is crafted on one DETR-family detector and applied to the other. The clean-only experts are fitted on clean images only. The supervised expert is trained on clean and attacked versions of the object detector’s own training images for a set of known attack families, and is evaluated on disjoint images, on known families and on a family withheld from training and selection.

3.2 Choosing the attack budgets

The L∞ budget determines whether the detection task is meaningful. If the budget is too small, the attack does not change the detector’s output; if it is too large, the output collapses and even trivial detectors succeed. Budgets are expressed in the detector’s normalized input space. We chose them from an attack-strength calibration made before any detection experiment (Fig. 1). For seven budgets from ϵ=0.001 to 0.5, PGD and APGD were each run on five independent random draws of 50 KITTI validation images, and detection accuracy (AP@[.5:.95]) was averaged over the draws. Single larger draws had suggested a crossover between PGD and APGD near ϵ=0.005–0.01; the repeated draws showed it to be sampling noise, with the two attacks within one standard deviation of each other at every budget. The curve has a non-saturating window between ϵ≈0.001 and 0.02 and falls below 0.01 AP by ϵ=0.05. We fixed two operating points. ϵ=0.01 is the primary budget: a maximum change of one grey level per channel on the saved 8-bit image, inside the non-saturating window, where the detector is strongly degraded but not destroyed. ϵ=0.5 (29 grey levels) is a saturating reference at which the detector’s output collapses. On the full validation set with 1,000 bootstrap resamples, APGD is stronger than PGD at ϵ=0.01 with non-overlapping intervals (AP 0.0439 [0.0418, 0.0495] vs. 0.0574 [0.0538, 0.0658]; clean 0.371), and both are at the floor at ϵ=0.5.

Figure

Figure 1: Attack-budget calibration on KITTI validation (DETR-R50). Lines: mean and standard deviation over five random draws of 50 images per budget and attack. Open markers: the full validation set (1,497 images) at the two chosen budgets, with 95% bootstrap intervals (1,000 resamples). ϵ=0.01 changes each pixel by at most one grey level, ϵ=0.5 by at most 29.

4 Method

Fig. 2 gives the overview and the components. Three observations determine the design. A vanishing attack moves its trace into the no-object queries, so every decoder query is scored. The two threat models leave their traces in different parts of the detector. An L∞ perturbation shifts the whole query set, whereas a patch is a local texture that the decoder largely discards and the backbone retains, so each threat model is detected in the representation in which its trace is visible. Experts trained on attacks and experts fitted on clean images produce scores on unrelated scales, so all experts enter one conformal test whose clean false-alarm rate is fixed in advance. The supervised expert operates on per-query features of the decoder output, including the clean density scores (Sections 4.1 and 4.2). Two experts fitted on clean images only operate on the backbone features and on the detector’s response to JPEG re-encoding (Sections 4.3 and 4.4), and Section 4.5 gives the fusion.

Figure 2: The conformal multi-expert detector (CMED). The object detector f is frozen and unmodified, and its features are extracted by forward hooks. Each column shows the steps of one expert: the texture-anomaly expert on the detector’s backbone (§4.3), the GASC on the decoder queries (§4.2), whose D features are the per-query scores against the clean class-conditional densities (§4.1), and the re-encoding expert (§4.4). The GASC is trained on known attack families; the densities, the texture-anomaly expert and the re-encoding expert are fitted on clean images only. Each expert score is converted into a conformal p-value against clean validation images, and an image is flagged when the smallest p-value is at most α/J (§4.5; the tie-breaking term of G is not shown). On KITTI, the re-encoding expert on a second detector (DINO) is a fourth expert. The sum of the 20 lowest si alone is a detector that uses no attack data (§4.1).

4.1 Density scoring of detection-transformer query sets

From one vector to a query set

For DETR-R50 an image yields Q=100 queries; query i carries class logits zi∈ℝC+1 including the no-object class, the last decoder layer’s output hi∈ℝ256 (the decoder-query embedding) and a box bi. For DINO (900 queries with sigmoid logits) we keep the 100 queries with the highest class probability and assign a query to the no-object class when no logit exceeds zero. Features are extracted at native resolution by forward hooks and checked on every batch against the model’s own logits. Three properties of the query set determine the design. First, the set is dominated by no-object queries: 683,332 of the 751,800 clean KITTI queries used for density estimation (90.9%) and 547,859 of 800,000 on BDD100K (68.5%). Second, object classes are imbalanced, down to classes with a few dozen training queries. Third, a vanishing attack turns an object query into an additional no-object query, so its trace must be sought among all queries rather than among the remaining detections.

Class-conditional scoring

Each query is assigned to its predicted class ci=argmaxzi, which includes the no-object class, and scored against a clean density of that class. All densities are fitted on clean images that no evaluation split contains (KITTI: the 7,518 unlabelled images of the official testing set; BDD100K: 8,000 images of the official validation set outside the attack set). Classes with fewer than 200 training queries are scored with the density of the detector’s second-choice class for them, fixed on clean data (KITTI Person_sitting → Pedestrian, Tram → Truck; BDD100K train → bus), so that their queries still contribute to the image score. Seven per-query normality scores (higher = more normal) are compared: maximum softmax probability (MSP) [67], the negative energy [68], and five class-conditional densities, namely Mahalanobis distances with a tied Ledoit–Wolf covariance [27, 69] on logits and on embeddings (logit and embedding Mahalanobis), a full-covariance Gaussian mixture model on logits with its size chosen by BIC (logit GMM), and Gaussian kernel density estimates on logits and on PCA-whitened embeddings retaining 95% of the variance (logit and embedding KDE).

Exact densities at full scale

Every hyperparameter is chosen on clean fit data: shrinkage, mixture size by BIC, and kernel bandwidth by cross-validated likelihood, with the grid extended whenever the choice falls on its edge. Two implementation findings were necessary to make kernel densities usable at this scale. First, a widely used tree-based kernel density implementation over-estimates the log-density of queries far from the fit data, by more than one nat on 17% of a sample of 2,000 clean KITTI embedding queries and by up to 228 nats; we therefore evaluate the log-sum-exp exactly in float64. Second, the density continues to improve with fit size far beyond a typical per-class cap: the held-out log-likelihood still rises at the largest fit size for every class measured (Fig. 3), so each class density is fitted on all of its clean queries (up to 683k). A float64 GPU implementation of the kernel densities, the Gaussian mixtures and the bootstrap reproduces the CPU results and reduces fitting, validation and testing of all seven scorers on both datasets to 36 minutes.

Figure

Figure 3: Held-out clean log-likelihood of the kernel densities against the number of clean training queries per class (5,000 held-out queries). The likelihood still rises at the full fit set, so no per-class cap is applied.

Image-level aggregation

An image score must summarize 100 per-query scores so that both a few strongly displaced queries (an untargeted attack) and many mildly displaced ones (a patch) affect it, while the trace of a vanishing attack, which lies among the no-object queries, is retained. We compared twelve aggregations (minimum, mean, five percentiles and five bottom-k sums) on validation only, across the attack goals of both datasets (Table 1). Each cell is the mean AUROC of the seven scorers over a goal’s attacks at ϵ=0.01. The rule, fixed before any number was computed, selects the candidate whose largest regret with respect to the best candidate of any cell is smallest, so that no attack goal or dataset is favoured at the expense of another. The sum of the 20 lowest per-query scores has both the smallest largest regret (0.021) and the highest mean (0.805), and it is chosen by the same rule in 163 of 200 bootstrap resamples of the validation images. The mean, best on three cells, loses up to 0.064 on BDD100K; the minimum and small-k sums lose up to 0.097 on KITTI. The aggregation is then fixed for every scorer, attack and dataset and is not re-tuned per attack.

Table 1: Image-level aggregation selected on validation. Cells: mean AUROC of the seven clean-density scorers over the attacks of a goal at ϵ=0.01 (untargeted: PGD, APGD; vanishing: vanishing attack, all-class patch; fabrication: PGD-Fab, Section 5); best per column in bold. Regret: best value of a column minus the candidate’s value; rows sorted by largest regret. Bottom-20 sum is also chosen in 163 of 200 bootstrap resamples.

UntargetedVanishingFabrication
AggregationKITTIBDD100KKITTIBDD100KKITTIBDD100KMeanLargest regret
bottom-20 sum0.8040.8050.7300.8170.8620.8100.8050.021
10th percentile0.8070.7940.7250.8110.8660.7980.8000.023
5th percentile0.7970.8030.7250.8090.8520.8040.7990.031
bottom-10 sum0.7920.8130.7280.8130.8470.8140.8010.036
25th percentile0.8190.7700.7260.8160.8780.7810.7980.045
2nd percentile0.7820.8100.7260.8060.8330.8100.7950.050
bottom-5 sum0.7780.8150.7270.8080.8300.8150.7960.052
1st percentile0.7690.8100.7250.8010.8190.8080.7890.064
mean0.8220.7510.7270.8340.8830.7650.7970.064
bottom-3 sum0.7660.8150.7260.8030.8160.8130.7900.067
min0.7420.8050.7190.7900.7860.8010.7730.097
bottom-1 sum0.7420.8050.7190.7900.7860.8010.7730.097

Logits or embeddings

Which representation carries more of the attack’s trace differs between the datasets. Paired bootstrap differences (2,000 resamples, test, ϵ=0.01) between the embedding and logit versions of the two density families (supplementary material) favour embeddings on KITTI, where the embedding KDE is better for every attack goal (+0.016 to +0.031), and logits on BDD100K, where logits are at least as good for every goal and the logit Mahalanobis score is better by 0.026–0.085. Both representations are therefore kept as feature groups of the classifier, whose model selection chooses between them in each fold.

4.2 Supervised expert: a gated-attention set classifier over decoder queries

Architecture

The gated-attention set classifier (GASC; Fig. 2) standardizes each query’s features ui with training statistics, encodes them with a shared two-layer MLP ϕ (128 units) and pools them by gated attention [70],

ai∝exp(w⊤(tanh(Vϕ(ui))⊙σ(Uϕ(ui)))),g1(x)=c⊤∑iaiϕ(ui),

which is invariant to the order of the queries and allows a few informative queries to dominate the image score. It is trained with weighted binary cross-entropy (AdamW, early stopping on a held-out part of the training images). Its input is one of five feature groups: the logits (L), the embeddings (E), the seven per-query density scores of §4.1 (D), the logits with the densities (L+D), or all three (L+E+D). Two simpler families compete in every selection: logistic regression (LR) on the seven image scores (the form of Lee et al. [27]) and gradient-boosted trees (GBT) on per-image summaries of every per-query quantity.

Training data

The classifiers are trained on the object detector’s own training split (all 5,984 KITTI training images; a seeded sample of 6,000 BDD100K training images). The density models never used these images, so the D features are out-of-sample on every split. Every attack is regenerated on these images with the evaluation settings, and random-sign noise of the same L∞ budget is added at both budgets as a negative class [28], so that a classifier cannot succeed by flagging any perturbation. A seeded 10% of the training images is held out for early stopping and for a memorization check.

Selection without the withheld attack

The attacks form four families: PGD (with its fabrication subset, PGD-Fab), APGD, L∞ vanishing and patches. In each fold, one family is withheld from both training and model selection, and the design (classifier family, hyperparameters and feature group; 70 candidates per fold) is chosen to maximize the validation AUROC averaged over the fold’s training families; ties within 0.002 go to the simpler design. PGD and APGD share their loss, so in their folds the withheld family is close to a training family; the vanishing and patch folds are the more stringent tests. Table 2 shows the comparison. The GASC is the best family for every feature group except D on KITTI, where GBT is best. E is the strongest single group in every fold; L+E+D ties it within 0.002 in the withheld folds and is chosen when no family is withheld, where it is 0.002–0.003 higher. D alone reaches 0.925–0.987, and adding D to L raises the L-only score in eight of the ten settings. The memorization check compares clean false alarms on validation with those on held-out training images at the threshold that flags 5% of them; the validation rate stays at 0.040–0.072, so training on the detector’s own training images does not increase false alarms.

Table 2: Design selection of the supervised expert on validation. Feature groups: L, logits; E, decoder embeddings; D, the seven per-query density scores. Per feature group: the selection score of the best of the 70 candidate designs of a fold (classifier family LR, GBT or GASC, and its hyperparameters), i.e., the validation AUROC averaged over the fold’s training families (attacked vs. clean and both noise budgets). The best family is the GASC unless marked GBT. Bold: chosen design. Withheld family: the attack family left out of training and selection (none: all families used). Val. FAR: clean false-alarm rate (FAR) on validation at the threshold that flags 5% of held-out training images. Scores ≥0.98 passed a leakage re-check (no duplicate files across splits; shuffled-label controls symmetric around 0.5).

Withheld familyLEDL+DL+E+DVal. FAR
KITTInone0.9690.9860.935GBT0.9750.9890.059
PGD0.9670.9880.927GBT0.9690.9870.072
APGD0.9590.9890.926GBT0.9680.9870.044
L∞ vanishing0.9630.9870.925GBT0.9610.9870.045
patches0.9910.9970.975GBT0.9930.9970.040
BDD100Knone0.9760.9900.9510.9800.9920.051
PGD0.9750.9890.9450.9760.9890.044
APGD0.9710.9870.9420.9770.9890.072
L∞ vanishing0.9750.9880.9470.9750.9890.056
patches0.9940.9990.9870.9950.9990.049

4.3 Clean-fitted expert: texture anomaly on the detector’s backbone

An adversarial patch introduces a foreign texture at a specific location. The decoder reduces the image to object-level predictions and discards this local information, whereas the backbone feature maps retain it. Let F(l)(x) be layer l of the deployed detector’s own frozen ResNet-50 [71]. Each location’s descriptor is its 3×3 average-pooled feature mapped to 256 dimensions by a fixed Gaussian random projection R, vuv(x)=RF¯uv(l)(x) (Fig. 2). A memory bank ℳ holds descriptors of randomly sampled locations of the clean images used for density estimation, and

g2(x)=maxu,vminm∈ℳ‖vuv(x)−m‖2.

Using the protected detector’s own backbone links the expert to the features that the attack must exploit and requires no additional network. The layer and the aggregation were chosen without any attack data, on synthetic local anomalies (squares of 0.1–1% of the image cut from another clean image), among nine candidates: layer 2 with the maximum over locations and a bank of 100 locations per clean image. For KITTI, whose patches are the smallest, a denser bank (layer 1, 500 locations per image) was adopted by a rule fixed in advance on the validation images of the unseen patch instances.

4.4 Clean-fitted expert: self-consistency under JPEG re-encoding

The re-encoding expert measures how much the detector’s output changes when the image is re-encoded, and on KITTI the same measurement on a second detector covers attacks transferred between detectors. A small L∞ perturbation is tuned to exact pixel values; re-encoding alters them, so the output on an attacked image partly recovers, whereas the output on a clean image changes little [31, 46]. With T = JPEG at quality 75, the re-encoding expert runs f on x and T(x) and scores their class-aware disagreement (Fig. 2). For each confident detection r of one output with class cr, the term tr=−log(maxq:IoU(q,r)≥0.5p(q,cr)+10−4) is computed on the other output, in both directions, and g4(x) is the mean of the three largest terms. On KITTI the re-encoding expert on a second detector, DINO, applied to the same image is a fourth expert. An attack crafted on one detector changes the output of the other detector only slightly, so the self-consistency of the detector used to craft the attack identifies attacks transferred from it.

4.5 Calibration and fusion

The experts produce scores on unrelated scales, and only the GASC was trained on attacks. CMED converts each expert’s score into a conformal p-value against the clean validation images 𝒞 [66],

pj(x)=1+|{c∈𝒞:gj(c)≥gj(x)}||𝒞|+1,

which is valid for any expert when 𝒞 and clean test images are exchangeable. An image is flagged when minjpj(x)≤α/J with α=0.05 over J experts, and the fused score is G(x)=−logminjpj(x)−10−6∑jlogpj(x) (the second term breaks ties). The clean false-alarm rate is therefore bounded by α for any combination of experts. The combination has no learned weight, so it requires no attack data and cannot over-fit to the training attacks, and an expert fitted on clean images can be added for a detector on which no attack was generated. The DINO system, texture-anomaly expert (DINO) ⊕ re-encoding expert (DINO) ⊕ re-encoding expert (DETR), uses this property: it has no supervised expert and uses no DINO attack data. The final DETR systems are the GASC ⊕ texture-anomaly expert combination on BDD100K and GASC ⊕ texture-anomaly expert ⊕ re-encoding expert ⊕ re-encoding expert (DINO) on KITTI, with the KITTI GASC ⊕ texture-anomaly expert combination reported alongside as fixed before the test.

5 Experimental protocol

5.1 Detectors and data

We fine-tuned all three detectors ourselves (Table 3): the DETR-R50 architecture [13] on KITTI [72] and on BDD100K [73], and DINO-4scale with a ResNet-50 backbone [15] on KITTI. Each starts from the public COCO checkpoint of its architecture with a classification head re-initialized for the target classes; DINO’s schedule was fixed before training, and its final epoch is used. On BDD100K the scheduled learning-rate drop did not occur within the original schedule, so training was continued from the final weights for 30 epochs with a re-initialized optimizer at a ten-times lower learning rate, which raised AP on the full validation set from 0.189 to 0.243. KITTI’s labelled images are split 80/20 (seed 42) into the detector’s training split and a held-out split of 1,497 images, which is divided once into validation and test halves; BDD100K uses its official split, with a seeded 2,000-image attack set from the official validation set.

Table 3: Detectors and data roles. All four data roles are mutually disjoint (asserted in code). AP@[.5:.95] at native resolution on the evaluation images (KITTI test half; BDD100K attack set); DINO’s own evaluation transform gives 0.661.

KITTI, DETR-R50KITTI, DINO-4scale R50BDD100K, DETR-R50
InitializationCOCO DETR-R50, new 9-class headCOCO DINO-4scale, new 9-class headCOCO DETR-R50, new 10-class head
Fine-tuning imagestraining split, 5,984training split, 5,984official training split, 70,000
Schedule50 ep. (epoch-45 checkpoint), lr 10−4 / backbone 10−5, batch 224 ep., drop at 20, lr 10−4 / 10−5, batch 450 ep. + 30 ep. at 10−5 / 10−6, batch 2
Clean AP0.2890.6220.224
Density fit, texture-anomaly expert bankofficial testing set (unlabelled), 7,518(as DETR)8,000 official-validation images
Training of the GASCtraining split, 5,984training split, 5,984seeded training sample, 6,000
Validation / test749 / 748 of the held-out split749 / 748 of the held-out split1,000 / 1,000 of the attack set

5.2 Attacks

Every attack is white-box on the detector, runs at native resolution with batch size 1, and is saved as an 8-bit PNG that is audited (L∞ at its bound; no pixel changed outside a patch). Fig. 4 shows examples and Table 4 their strength.

  • PGD (untargeted). Projected gradient ascent [3] on DETR’s classification set loss ℒce, computed on the Hungarian matching of the queries to the ground-truth objects; 100 iterations with step 0.4ϵ.
  • PGD-Fab (fabrication). The PGD images that contain at least one fabricated detection, i.e., a confident (>0.5) object prediction that has IoU <0.05 with every ground-truth box, IoU <0.3 with every confident clean detection, and lies less than 50% inside a ground-truth box of its own class (KITTI’s DontCare class is excluded). PGD images without a fabricated detection are not positives for PGD-Fab.
  • APGD (untargeted). Auto-PGD [37] on the same objective: 100 iterations, one restart, an initial step of 2ϵ halved at fixed checkpoints when the loss stagnates, and momentum 0.75. Because the step size is adapted automatically, the attack strength does not depend on a manually chosen step size.
  • Vanishing (L∞). Projected gradient descent on the cross-entropy toward the no-object class on the queries that the Hungarian matcher assigns to ground-truth objects; the matching is recomputed at every iteration, so the attack always suppresses the query that is currently matched to each object. Budgets, iterations and step as PGD.
  • Universal vanishing patch (UVP). A 64×64 patch following Thys et al. [8], trained on the detector’s training split with the vanishing attack’s no-object loss restricted to patched objects, plus expectation over transformations, total variation and printability terms; on KITTI 60 epochs (person patch: 180 epochs on the person images, matched in optimization steps), on BDD100K schedules matched to KITTI in steps. At evaluation it is pasted at the centre of every target box with a side length of 0.2 (KITTI) or 0.325 (BDD100K) times the box diagonal, either on vehicles and persons (UVP-All) or on persons only (UVP-Per). The BDD100K scale matches KITTI’s median rendered side length of 18.6 pixels.
  • Unseen UVP instances (UVP-All (unseen), UVP-Per (unseen)). New instances of the patch recipe with a new seed and noise initialization, accepted on a training-side development slice (hiding rate minus the grey-square rate ≥0.10; achieved +0.14 to +0.52), generated on the validation and test images, and not used in any design choice before the single test pass.

Grey and random-noise squares at the patch’s placement serve as occlusion controls, and random-sign noise at each budget as the noise negatives. To measure object suppression, we track, for every ground-truth object, the query matched to it on the clean image and count the object as suppressed when the confidence of that query collapses; an object that is still detected with a shifted box is not counted.

Table 4: Attack strength. AP@[.5:.95] at native resolution (KITTI test half; BDD100K attack set; DINO KITTI test half). Suppressed: share of tracked ground-truth objects whose clean-matched query collapses, with 95% bootstrap intervals (KITTI: all 1,497 held-out images; BDD100K: the 2,000-image attack set). Patch hiding on validation, grey square of identical placement in brackets.

KITTI, DETR-R50BDD100K, DETR-R50KITTI, DINO
AP, clean0.2890.2240.622
AP under PGD / APGD / Vanishing, ϵ=0.010.056 / – / –0.037 / 0.024 / 0.033– / 0.074 / 0.067
AP at ϵ=0.50.0001≤ 0.0010≤ 0.001
Vanishing objects suppressed, ϵ=0.0141.3% [39.9, 42.7]49.3% [47.9, 50.8]–
Vanishing objects suppressed, ϵ=0.588.7% [87.8, 89.5]57.3% [55.8, 58.8]–
All-class patch hides (grey square)21.3% (5.0%)64.5% (21.2%)–
Person patch hides (grey square)40.2% (13.6%)80.4% (42.9%)–

Figure

Figure 4: KITTI validation image 000342. (a) The unseen person patch instance on the four pedestrians (outlined). (b) The APGD perturbation at ϵ=0.01: white pixels differ from the clean image by one grey level, 88% of the image. The clean image and the all-class patch are in the supplementary material.

5.3 Evaluation protocol

Positives are attacked test images and negatives the clean versions of the same images; for patches, the patched images only (KITTI 748 all-class / 268 person; BDD100K 994 / 342). We report AUROC with whole-image bootstrap 95% intervals (1,000 resamples; 2,000 for paired differences) per attack and goal, the false-positive rate at 95% true-positive rate, and false-alarm rates at the conformal threshold. For any system containing the supervised expert, each attack’s number comes from the fold that withholds its family. Splits are fixed once and asserted disjoint; every design, hyperparameter and calibration choice uses validation only; each study’s protocol was committed before its numbers; and each test pass was run once with a fixed configuration, verified by file hashes, after the fixed designs had reproduced their validation results exactly. An ϵ=0 “attack” yields bit-identical features and AUROC 0.500 for every expert and fusion. Values ≥0.98 (marked †) were recorded only after an automated leakage checklist passed.

5.4 External baselines

The comparison baselines are three patch defenses that use no patch data, PAD [22] (official code, published constants), NutNet [23] (reimplemented; trained only on clean images from the training split of our classifiers) and the entropy stage of Jedi [21] (reimplemented), and the L∞ detector EPS-AD [52] (official code, the released ImageNet diffusion model and kernel). EPS-AD is applied to 224-pixel tiles at native resolution and its scores are averaged over the tiles; it takes 14–27 s per image on an A100, so it was scored on 200 seeded test images per dataset, and ours is compared with it on the same images. Each baseline is scored on the same paired test images by the score that the method itself thresholds. No baseline is fitted on our validation or test images, and no part of our detector was chosen on the basis of these runs. “Better” means that the paired-bootstrap lower bound of CMED − baseline is above 0; “non-inferior” that it is above −0.03.

6 Results

6.1 Decoder-output detection of unseen attacks

Table 5: Decoder-output detectors on test, ϵ=0.01. Best clean-density scorer: best of the seven clean-density scorers. GASC withheld: the fold withholding the row’s family (∗ fold whose withheld family shares its loss with a training family). FPR@95TPR: best clean-density scorer → GASC withheld. Known: trained on all families. †≥0.98.

AttackBest clean-density scorerGASC withheld [95% CI]FPR@95TPRGASC known
KITTIPGD*∗*Embedding KDE 0.8770.971 [0.963, 0.979]0.457 → 0.1470.983†
PGD-Fab*∗*Embedding KDE 0.9100.973 [0.960, 0.982]0.293 → 0.1340.983†
APGD*∗*Embedding KDE 0.8860.981† [0.973, 0.987]0.440 → 0.0920.993†
L∞ vanishingEmbedding KDE 0.8750.970 [0.960, 0.979]0.444 → 0.1190.992†
UVP-AllLogit KDE 0.7520.756 [0.736, 0.774]0.900 → 0.7790.973
UVP-PerLogit GMM 0.6260.565 [0.542, 0.585]0.806 → 0.9370.944
BDD100KPGD*∗*Logit KDE 0.9010.983† [0.978, 0.987]0.493 → 0.0890.989†
PGD-Fab*∗*Embedding KDE 0.9030.983† [0.979, 0.988]0.394 → 0.0880.989†
APGD*∗*Logit KDE 0.9300.981† [0.976, 0.986]0.406 → 0.1110.992†
L∞ vanishingEmbedding KDE 0.9420.978 [0.974, 0.983]0.272 → 0.1300.991†
UVP-AllLogit GMM 0.9490.790 [0.776, 0.805]0.346 → 0.8240.995†
UVP-PerLogit GMM 0.5390.496 [0.479, 0.511]0.950 → 0.9590.933

The clean-only densities alone detect every L∞ attack at one grey level, with test AUROC 0.875–0.942 for the best scorer (Table 5); the person patch, which covers about 0.3% of the image, is the most difficult case. The set classifier raises withheld L∞ detection by 0.04–0.10 to 0.970–0.983, and its operating point improves further: at 95% detection, the false-positive rate falls from 0.27–0.49 to 0.09–0.15. In the vanishing fold, the classifier was trained without any L∞ vanishing attack and detects this attack at 0.970 (KITTI) and 0.978 (BDD100K). On DINO, where no training family uses the vanishing objective at all, the withheld vanishing fold reaches 0.915 [0.902, 0.927] against 0.779 for the best density (supplementary material). Random sign noise at ϵ=0.01 is flagged at the clean rate, which indicates that the classifier responds to adversarial structure rather than to any perturbation.

Withheld patches are detected at 0.756 / 0.565 (KITTI all-class / person) and 0.790 / 0.496 (BDD100K), whereas the same classifier reaches 0.933–0.995 when patches are among its training families. Patches can therefore be learned when they are included in training, but are not detected by a classifier trained on L∞ attacks only.

6.2 The geometry of feature shifts

Table 6: Cosine between the mean feature shift (attacked − clean) of each patch and the mean shift of the three L∞ attacks at ϵ=0.01, with 95% bootstrap intervals. Held-out training images only.

KITTIBDD100K
Representationall-classpersonall-classperson
E (embeddings)0.55 [0.48, 0.60]0.14 [0.02, 0.26]0.16 [0.11, 0.21]− 0.35 [− 0.40, − 0.29]
L (logits)0.68 [0.58, 0.76]0.50 [0.34, 0.64]0.05 [− 0.04, 0.13]− 0.82 [− 0.86, − 0.76]
D (density scores)0.87 [0.85, 0.88]0.83 [0.60, 0.89]0.79 [0.76, 0.80]0.39 [− 0.01, 0.63]

A classifier trained on L∞ families learns directions along which attacked images move, and it detects a withheld attack to the extent that the attack moves images along them. In the embedding and logit spaces (Table 6), patch shifts are partly aligned with L∞ shifts only for the KITTI all-class patch. They are near-orthogonal for KITTI person (E 0.14) and BDD100K all-class (E 0.16, L 0.05) and opposite for BDD100K person (L −0.82). In the density-score space D they stay aligned (0.79–0.87 except BDD100K person), which is why the clean-fitted densities transfer to patches better than the supervised embedding model. The patch signal is also spread over many queries: an all-class patch moves 36–50% of the queries beyond the 99th percentile of matched-noise movement and a person patch 4–25%, object and background queries alike. Four further designs that recombine the decoder outputs, among them a closed-boundary set transformer [74, 75] trained on synthesized local perturbation patterns, gained at most +0.075 to +0.103 in three withheld patch settings on validation (supplementary material). These results indicate that the decoder output retains little information about small patches. Section 6.3 therefore evaluates experts that use other parts of the detector.

6.3 Experts beyond the decoder output

Table 7: CMED on test (single test pass), each family in its withheld fold. PGD, APGD and L∞ vanishing at ϵ=0.01. Last column: the KITTI GASC ⊕ texture-anomaly expert variant (“=”: the BDD100K system is GASC ⊕ texture-anomaly expert). ϵ=0.5 row: per column, the minimum over the three attacks. False alarms: test images flagged at α=0.05, range over the five settings. †≥0.98. Paired differences and the known setting: supplementary material.

AttackGASCTexture-anomaly expertCMED [95% CI]KITTI GASC ⊕ texture-anomaly expert
KITTIPGD0.9710.4970.984† [0.979, 0.989]0.959
APGD0.981†0.4970.986† [0.981, 0.990]0.972
L∞ vanishing0.9700.4970.979 [0.972, 0.984]0.962
ϵ=0.5, min of 30.998†0.9610.999† [0.998, 1.000]0.999†
UVP-All0.7560.981†0.966 [0.957, 0.975]0.982†
UVP-Per0.5650.9110.823 [0.790, 0.854]0.906
UVP-All (unseen)0.7540.980†0.959 [0.948, 0.969]0.980†
UVP-Per (unseen)0.5530.9100.818 [0.785, 0.850]0.903
clean false alarms0.051–0.0570.032–0.051
noise ϵ=0.5 flagged0.107–0.1110.039–0.043
BDD100KPGD0.983†0.5000.972 [0.966, 0.978]=
APGD0.981†0.5010.973 [0.966, 0.978]=
L∞ vanishing0.9780.4920.967 [0.960, 0.973]=
ϵ=0.5, min of 30.997†0.995†1.000† [1.000, 1.000]=
UVP-All0.7900.997†0.994† [0.991, 0.997]=
UVP-Per0.4960.9680.953 [0.936, 0.967]=
UVP-All (unseen)0.7470.997†0.994† [0.991, 0.997]=
UVP-Per (unseen)0.5080.9670.951 [0.935, 0.965]=
clean false alarms0.052–0.076=
noise ϵ=0.5 flagged0.139–0.142=

Figure

Figure 5: ROC curves on test for the withheld vanishing attack at ϵ=0.01 and the unseen person patch instance, from the stored per-image scores; each curve’s AUROC equals its recorded value (Tables 7–9). EPS-AD: on its 200-image subsample. Negatives are the clean versions of the attacked images.

Table 7 and Fig. 5 report the single test pass of the final systems. The texture-anomaly expert does not detect ϵ=0.01 perturbations (0.49–0.50), which change no local texture by more than one grey level, but it detects patches at 0.91–0.98 on KITTI and 0.97–0.997 on BDD100K without any attack data. The GASC shows the opposite pattern. On BDD100K, the GASC ⊕ texture-anomaly expert combination detects withheld patches at 0.994 (all-class) and 0.953 (person), and the unseen patch instances at 0.994 and 0.951, gains of +0.20 to +0.46 over the GASC, while L∞ detection stays at 0.967–0.973. On KITTI, the final four-expert CMED detects withheld all-class patches at 0.966 / 0.959 (UVP-All / UVP-All (unseen)), raises L∞ detection above the GASC by up to 0.013 (0.979–0.986), and detects person patches at 0.823 / 0.818. The GASC ⊕ texture-anomaly expert variant, fixed before the test, reaches 0.906 / 0.903 on the person patches at an L∞ level of 0.959–0.972. Under minimum-p-value fusion, an expert that contributes little detection power in a setting (here the GASC and the re-encoding expert) still adds false alarms on clean images, which explains the difference. The unseen-instance rows match the patch rows within 0.008 in every setting, and validation and test agree within ±0.02 for every patch setting, so the result does not depend on a single patch instance or on selection effects. Clean false-alarm rates at α=0.05 are 0.051–0.076 on test, calibrated on validation only.

6.4 Transfer to another detector and another dataset

Because the texture-anomaly expert and the re-encoding expert require no attack data, they can be applied to a detector for which no attack was generated: the DINO system detects DINO’s own L∞ attacks at 0.947–0.954 at ϵ=0.01 and DETR-trained patches at 0.947–0.948 (all-class) and 0.869–0.873 (person), whereas supervised classifiers transferred between the two detectors reach 0.86–0.90. Attacks crafted on one detector and applied to the other are detected at 0.952–0.957 (0.894 for DETR-crafted vanishing attack on DINO). With the memory bank of the texture-anomaly expert built from the other dataset, L∞ detection stays at or above 0.956 and all-class patches at 0.949–0.989, and person patches reach 0.839–0.897 (all settings with intervals in the supplementary material).

6.5 Comparison with external detectors

Table 8: Patch attacks, test (attacked image vs. its clean version). CMED: the final system in the withheld fold, not trained on any patch. Comparison baselines: NutNet, Jedi, PAD and EPS-AD (tile-mean score; *§*on the patched images among 200 seeded test images per dataset). CMED is better than each of them in all eight settings (paired lower bound above 0). †≥0.98.

Comparison baselines
AttackCMEDNutNetJediPADEPS-AD*§*
KITTIUVP-All0.9660.8120.6640.4910.492
UVP-Per0.8230.7020.5520.5170.500
UVP-All (unseen)0.9590.8000.6470.4890.494
UVP-Per (unseen)0.8180.7060.5530.5130.501
BDD100KUVP-All0.994†0.988†0.8770.6490.708
UVP-Per0.9530.8520.7150.4940.561
UVP-All (unseen)0.994†0.988†0.8700.6500.712
UVP-Per (unseen)0.9510.8600.6980.4890.556

Table 9: L∞ attacks (PGD, APGD, Vanishing), test, range over the three attacks. CMED: each family in its withheld fold; texture-anomaly expert: clean-fitted on backbone features. *§*On 200 seeded test images per dataset (the same images for PAD and EPS-AD). CMED is better than NutNet, Jedi and PAD in all 12 settings. Against EPS-AD (paired, same images): CMED better on KITTI at ϵ=0.01, EPS-AD better on BDD100K at ϵ=0.01, non-inferior at ϵ=0.5 (supplementary material). With random noise of the same budget as a second negative class, CMED is better in all six ϵ=0.01 validation settings (Fig. 6). †≥0.98.

Comparison baselines
Dataset, ϵCMEDTexture-anomaly expertNutNetJediPADEPS-AD*§*
KITTI, 0.010.979–0.986†0.4970.4980.5190.500–0.5020.900–0.939
KITTI, 0.50.999–1.000†0.961–0.9740.680–0.6940.966–0.9700.404–0.415*§*1.000†
BDD100K, 0.010.967–0.9730.492–0.5010.5000.509–0.5110.496–0.5021.000†
BDD100K, 0.51.000†0.995–0.996†0.849–0.8800.880–0.8990.155–0.189*§*1.000†

On L∞ perturbations (Table 9) the three patch defenses are at chance at ϵ=0.01 (0.496–0.519), consistent with their design for localized patches, while CMED reaches 0.967–0.986 and is better than each of them in all 12 settings. At ϵ=0.01 this advantage comes from the supervised expert, trained on the other L∞ families; at ϵ=0.5 our clean-fitted texture-anomaly expert alone (0.961–0.996) is better than NutNet and PAD in every setting and on par with Jedi on KITTI, while PAD scores such images lower than clean ones (0.16–0.42).

EPS-AD detects L∞ perturbations at both budgets. On the same 200 images per dataset, EPS-AD and CMED both reach 1.000 in every ϵ=0.5 setting. At ϵ=0.01 CMED is better on KITTI (0.975–0.990 vs. 0.900–0.939; Δ +0.051 to +0.074), and EPS-AD is better on BDD100K (1.000 vs. 0.962–0.970; Δ −0.030 to −0.038, every interval below 0). The texture-anomaly expert alone does not detect ϵ=0.01 perturbations, so EPS-AD is better than the texture-anomaly expert at this budget on both datasets. Applied to the whole image resized to 224 pixels, EPS-AD is at chance at ϵ=0.01 (0.51–0.53), so the tiling is necessary on these images. The attacked BDD100K images differ from their clean versions by at most one grey level, as on KITTI.

These AUROCs use the clean version as the only negative, so they do not show whether a detector responds to the structure of an adversarial perturbation or to any change of one grey level. We therefore added random sign noise of the attack’s budget as a second negative class and scored it on 50 validation images per dataset, with the conditions and decision criteria fixed before scoring (Fig. 6; all settings in the supplementary material). Two quantities are reported: the AUROC of the noise against the clean version, which is 0.5 for a detector that ignores harmless noise, and the AUROC of the attack against the noise. At ϵ=0.01 on BDD100K, EPS-AD separates the noise from the clean version at 1.000 and the attack from the noise at 0.508–0.716 (the interval for APGD contains 0.5), whereas CMED gives 0.488–0.516 and 0.961–0.992 (Δ +0.276 to +0.453, every interval above 0). On KITTI the values are 0.703 and 0.783–0.858 for EPS-AD, and 0.498–0.506 and 0.973–0.988 for CMED (Δ +0.128 to +0.190, every interval above 0). With noise as the negative class, CMED is therefore better in all six ϵ=0.01 settings of this validation set. The perfect score of EPS-AD on BDD100K against clean images comes with a perfect score on the noise and on the attack’s own perturbation with its pixel positions shuffled, so it reflects a response to any change of one grey level. The GASC flags such noise at about the clean rate (Section 6.1). At ϵ=0.5 both systems separate the attack from the noise at 1.000, and both distinguish the noise from the clean version. JPEG compression of KITTI images at the quality of the BDD100K files did not reproduce the response of EPS-AD, so the compression of the BDD100K images alone does not explain it (supplementary material).

Figure

Figure 6: Noise as the negative class at ϵ=0.01 (validation, 50 images per dataset; conditions and decision criteria fixed before scoring). Horizontal axis: AUROC of random sign noise of the attack’s budget against the clean version, 0.5 when the detector ignores the noise. Vertical axis: AUROC of the attack against that noise. EPS-AD: primary score (tile mean). CMED: the final system with each attack family withheld. Bars: 95% bootstrap intervals over images.

On patches (Table 8) CMED is better than NutNet (+0.006 to +0.159), Jedi (+0.12 to +0.31), PAD (+0.31 to +0.48) and EPS-AD (+0.29 to +0.48) in every setting; PAD removes as much area from clean images as from attacked ones (6.7% vs. 6.5% on KITTI), so its removal does not separate them. EPS-AD is at chance on KITTI patches (0.49–0.50) and reaches 0.56–0.71 on BDD100K, where it flags random-noise squares at the all-class placement (0.704) about as often as the adversarial patches (0.708 / 0.712). On the public APDE benchmark our attack-free texture-anomaly expert alone (mean AUROC 0.720 over 35 hiding patch types) is above NutNet, Jedi and PAD (0.506–0.633; supplementary material).

6.6 Natural distribution shift and cost

With the densities fitted on BDD100K daytime clear-weather images only, clean night or rain/snow/fog images are separated from clean day images far less (AUROC 0.47–0.63 for the five class-conditional scorers) than attacked day images at ϵ=0.01 (0.82–0.91 for the mixture and kernel-density scorers), and a pre-declared dominance criterion holds for the five class-conditional scorers in every setting (supplementary material). On an NVIDIA A100, DETR-R50 takes 19.0 ms per KITTI image, the GASC adds 0.42 ms, and logit KDE / embedding KDE with resident fit data add 6.2 / 6.8 ms.

7 Discussion

An L∞ perturbation of one grey level changes most pixels (88% in Fig. 4) by an amount that no texture statistic detects, yet it shifts the whole query set consistently, and different L∞ objectives shift it in similar directions. The clean densities detect this displacement, and the set classifier learns its direction, which yields a better operating point and generalization across attack objectives. A small patch has the opposite properties: it is a strong local texture that is represented in the backbone features but largely discarded by the decoder. Information about one threat model that cannot be learned from the other must therefore come from a representation in which that threat model leaves its trace. The experts fitted on clean images provide this information, are calibrated by construction and can be applied to a detector without any of its attack data, and conformal fusion combines them without learned weights. The comparison with EPS-AD shows the same point for L∞ perturbations: against clean images alone, a detector that responds to any change of one grey level reaches a perfect score, and only a noise negative class of the same budget separates that response from the detection of adversarial structure (Fig. 6), which is the property our training negatives were chosen to enforce.

8 Limitations

Patches follow one digital recipe per target group with one unseen instance per setting, so instance variance is not estimated. KITTI person patches are the hardest setting, and the KITTI system uses a second detector at inference; the latency of the texture-anomaly expert and the re-encoding expert was not measured. Each design was trained with one seed, so intervals reflect image sampling. Because of its cost, EPS-AD was scored on 200 test images per dataset, and its response to random noise was examined on 50 validation images per dataset only. The test sets were used by successive studies, as listed in A. The results characterize detection performance on the evaluated attacks and do not establish a deployable defense.

9 Conclusion

Different threat models leave their traces in different parts of a detection transformer. An L∞ perturbation displaces the decoder queries, including the no-object queries into which a vanishing attack moves its trace. Clean class-conditional densities over all queries detect every L∞ attack at one grey level without attack data, and the GASC over these features detects withheld L∞ attack families, including a vanishing attack, at test AUROC 0.970–0.983. Patches shift the query features in directions near-orthogonal or opposite to the L∞ shifts, but they remain visible as local texture in the detector’s own backbone. CMED combines the GASC with a texture-anomaly expert on that backbone and a re-encoding expert, both fitted on clean images only, in one conformal test. It detected unseen patch instances at 0.951–0.994 on BDD100K and 0.818–0.959 on KITTI, kept L∞ detection at 0.967–0.986, detected attacks on a second detector without any of its attack data, and was better than three recent patch defenses in every setting. Against the diffusion-based L∞ detector EPS-AD it was better on every patch and on KITTI perturbations of one grey level, and with random noise of the same budget as a second negative class it was better in all six settings at that budget, including BDD100K, where EPS-AD was better against clean images alone.

CRediT authorship contribution statement

Amirhossein Nazeri: Writing - original draft, Conceptualization, Methodology, Investigation, Visualization, Validation; Pierluigi Pisu: Writing - review & editing, Supervision, Resources.

Declaration of competing interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Data availability

KITTI and BDD100K are publicly available from their providers. Our code and generated data are available upon request.

Acknowledgements

This project was partially funded by a Clemson University PhD Dissertation Completion Grant. The models were trained on Palmetto Cluster HPC nodes.

Appendix A Protocol notes

Use of the test split. Each study fixed its designs on validation before evaluating on the test sets: the clean-only scorers, the three classifier families, two later classifier designs, the CMED systems (together with the unseen patch images) and the external baselines. Every later evaluation reproduced the earlier test results exactly, and no result was re-selected. The clean-only scorers’ reported numbers are from their final configuration (exact kernel densities, uncapped fits, the selected aggregation), each fixed on validation. Selection on validation. The entry criterion of the texture-anomaly expert was revised after its validation numbers (from “above 0.90 in every patch setting alone” to “at least +0.03 over the GASC in two settings”); the re-encoding expert, two-detector and dense-bank designs followed validation results of the settings they target. Claims about unseen patches therefore rest on the unseen patch instances and the single test pass. Baselines. The occluder analysis was added after the baselines’ test numbers and gates nothing. EPS-AD was added after all other results, under a protocol fixed before its numbers; it was scored on 200 seeded test images per dataset (the subsample also used for PAD at ϵ=0.5), and nothing in our detector was changed. The validation diagnostic of its BDD100K ϵ=0.01 result and the noise-negative comparison (Fig. 6) were added after these numbers, each under rules fixed before it was scored, on validation images only, and change none of them.

References

  • [1] C. Szegedy, W. Zaremba, I. Sutskever, J. Bruna, D. Erhan, I. Goodfellow, R. Fergus, Intriguing properties of neural networks, in: International Conference on Learning Representations (ICLR), 2014.
  • [2] I. J. Goodfellow, J. Shlens, C. Szegedy, Explaining and harnessing adversarial examples, in: International Conference on Learning Representations (ICLR), 2015.
  • [3] A. Madry, A. Makelov, L. Schmidt, D. Tsipras, A. Vladu, Towards deep learning models resistant to adversarial attacks, in: International Conference on Learning Representations (ICLR), 2018.
  • [4] C. Xie, J. Wang, Z. Zhang, Y. Zhou, L. Xie, A. Yuille, Adversarial examples for semantic segmentation and object detection, in: IEEE International Conference on Computer Vision (ICCV), 2017, pp. 1378–1387. doi:10.1109/ICCV.2017.153.
  • [5] X. Wei, S. Liang, N. Chen, X. Cao, Transferable adversarial attacks for image and video object detection, in: International Joint Conference on Artificial Intelligence (IJCAI), 2019, pp. 954–960. doi:10.24963/ijcai.2019/134.
  • [6] K.-H. Chow, L. Liu, M. E. Gursoy, S. Truex, W. Wei, Y. Wu, TOG: Targeted adversarial objectness gradient attacks on real-time object detection systems, arXiv:2004.04320 (2020).
  • [7] D. Wang, C. Li, S. Wen, Q.-L. Han, S. Nepal, X. Zhang, Y. Xiang, Daedalus: Breaking nonmaximum suppression in object detection via adversarial examples, IEEE Transactions on Cybernetics 52 (8) (2022) 7427–7440. doi:10.1109/TCYB.2020.3041481.
  • [8] S. Thys, W. Van Ranst, T. Goedemé, Fooling automated surveillance cameras: Adversarial patches to attack person detection, in: IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), 2019, pp. 49–55. doi:10.1109/CVPRW.2019.00012.
  • [9] T. B. Brown, D. Mané, A. Roy, M. Abadi, J. Gilmer, Adversarial patch, arXiv:1712.09665 (2017).
  • [10] X. Liu, H. Yang, Z. Liu, L. Song, H. Li, Y. Chen, DPatch: An adversarial patch attack on object detectors, arXiv:1806.02299 (2018).
  • [11] K. Xu, G. Zhang, S. Liu, Q. Fan, M. Sun, H. Chen, P.-Y. Chen, Y. Wang, X. Lin, Adversarial T-shirt! Evading person detectors in a physical world, in: Computer Vision – ECCV 2020, Lecture Notes in Computer Science, 2020, pp. 665–681. doi:10.1007/978-3-030-58558-7_39.
  • [12] Y.-C.-T. Hu, J.-C. Chen, B.-H. Kung, K.-L. Hua, D. S. Tan, Naturalistic physical adversarial patch for object detectors, in: IEEE/CVF International Conference on Computer Vision (ICCV), 2021, pp. 7828–7837. doi:10.1109/ICCV48922.2021.00775.
  • [13] N. Carion, F. Massa, G. Synnaeve, N. Usunier, A. Kirillov, S. Zagoruyko, End-to-end object detection with transformers, in: Computer Vision – ECCV 2020, Lecture Notes in Computer Science, 2020, pp. 213–229. doi:10.1007/978-3-030-58452-8_13.
  • [14] X. Zhu, W. Su, L. Lu, B. Li, X. Wang, J. Dai, Deformable DETR: Deformable transformers for end-to-end object detection, in: International Conference on Learning Representations (ICLR), 2021.
  • [15] H. Zhang, F. Li, S. Liu, L. Zhang, H. Su, J. Zhu, L. M. Ni, H.-Y. Shum, DINO: DETR with improved denoising anchor boxes for end-to-end object detection, in: International Conference on Learning Representations (ICLR), 2023.
  • [16] G. Lovisotto, N. Finnie, M. Munoz, C. K. Mummadi, J. H. Metzen, Give me your attention: Dot-product attention considered harmful for adversarial patch robustness, in: IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2022, pp. 15213–15222. doi:10.1109/CVPR52688.2022.01480.
  • [17] A. Nazeri, C. Zhao, P. Pisu, Evaluating the adversarial robustness of detection transformers, Applied Intelligence 56 (2026). doi:10.1007/s10489-026-07220-2.
  • [18] R. Jayasundara, S. Mohamed, T. Fernando, H. Gammulle, B. Fernando, S. Rasnayake, A. V. Subramanyam, S. Sridharan, C. Fookes, Corrupting attention: Evasion-based adversarial attacks on encoder attention in detection transformers, arXiv:2608.06674 (2026).
  • [19] M. Naseer, S. Khan, F. Porikli, Local gradients smoothing: Defense against localized adversarial attacks, in: IEEE Winter Conference on Applications of Computer Vision (WACV), 2019, pp. 1300–1307. doi:10.1109/WACV.2019.00143.
  • [20] J. Liu, A. Levine, C. P. Lau, R. Chellappa, S. Feizi, Segment and complete: Defending object detectors against adversarial patch attacks with robust patch detection, in: IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2022, pp. 14953–14962. doi:10.1109/CVPR52688.2022.01455.
  • [21] B. Tarchoun, A. Ben Khalifa, M. A. Mahjoub, N. Abu-Ghazaleh, I. Alouani, Jedi: Entropy-based localization and removal of adversarial patches, in: IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2023, pp. 4087–4095. doi:10.1109/CVPR52729.2023.00398.
  • [22] L. Jing, R. Wang, W. Ren, X. Dong, C. Zou, PAD: Patch-agnostic defense against adversarial patch attacks, in: IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024, pp. 24472–24481. doi:10.1109/CVPR52733.2024.02310.
  • [23] Z. Lin, Y. Zhao, K. Chen, J. He, I don’t know you, but I can catch you: Real-time defense against diverse adversarial patches for object detectors, in: ACM SIGSAC Conference on Computer and Communications Security (CCS), 2024, pp. 3823–3837. doi:10.1145/3658644.3670317.
  • [24] S. Li, S. Zhu, S. Paul, A. Roy-Chowdhury, C. Song, S. Krishnamurthy, A. Swami, K. S. Chan, Connecting the dots: Detecting adversarial perturbations using context inconsistency, in: Computer Vision – ECCV 2020, Lecture Notes in Computer Science, 2020, pp. 396–413. doi:10.1007/978-3-030-58592-1_24.
  • [25] M. Yin, S. Li, Z. Cai, C. Song, M. S. Asif, A. K. Roy-Chowdhury, S. V. Krishnamurthy, Exploiting multi-object relationships for detecting adversarial attacks in complex scenes, in: IEEE/CVF International Conference on Computer Vision (ICCV), 2021, pp. 7838–7847. doi:10.1109/ICCV48922.2021.00776.
  • [26] R. Feinman, R. R. Curtin, S. Shintre, A. B. Gardner, Detecting adversarial samples from artifacts, arXiv:1703.00410 (2017).
  • [27] K. Lee, K. Lee, H. Lee, J. Shin, A simple unified framework for detecting out-of-distribution samples and adversarial attacks, in: Advances in Neural Information Processing Systems (NeurIPS), 2018.
  • [28] X. Ma, B. Li, Y. Wang, S. M. Erfani, S. Wijewickrema, G. Schoenebeck, D. Song, M. E. Houle, J. Bailey, Characterizing adversarial subspaces using local intrinsic dimensionality, in: International Conference on Learning Representations (ICLR), 2018.
  • [29] K. Grosse, P. Manoharan, N. Papernot, M. Backes, P. McDaniel, On the (statistical) detection of adversarial examples, arXiv:1702.06280 (2017).
  • [30] D. Meng, H. Chen, MagNet: A two-pronged defense against adversarial examples, in: ACM SIGSAC Conference on Computer and Communications Security (CCS), 2017, pp. 135–147. doi:10.1145/3133956.3134057.
  • [31] W. Xu, D. Evans, Y. Qi, Feature squeezing: Detecting adversarial examples in deep neural networks, in: Network and Distributed System Security Symposium (NDSS), 2018. doi:10.14722/ndss.2018.23198.
  • [32] G. Shen, S. Cheng, G. Tao, K. Zhang, Y. Liu, S. An, S. Ma, X. Zhang, Django: Detecting trojans in object detection models via Gaussian focus calibration, in: Advances in Neural Information Processing Systems (NeurIPS), 2023, pp. 51253–51272. doi:10.52202/075280-2231.
  • [33] A. Gupta, S. Narayan, K. J. Joseph, S. Khan, F. S. Khan, M. Shah, OW-DETR: Open-world detection transformer, in: IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2022, pp. 9225–9234. doi:10.1109/CVPR52688.2022.00902.
  • [34] O. Zohar, K.-C. Wang, S. Yeung, PROB: Probabilistic objectness for open world object detection, in: IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2023, pp. 11444–11453. doi:10.1109/CVPR52729.2023.01101.
  • [35] X. Du, G. Gozum, Y. Ming, Y. Li, SIREN: Shaping representations for detecting out-of-distribution objects, in: Advances in Neural Information Processing Systems (NeurIPS), 2022, pp. 20434–20449. doi:10.52202/068431-1486.
  • [36] S. Wilson, T. Fischer, F. Dayoub, D. Miller, N. Sünderhauf, SAFE: Sensitivity-aware features for out-of-distribution object detection, in: IEEE/CVF International Conference on Computer Vision (ICCV), 2023, pp. 23508–23519. doi:10.1109/ICCV51070.2023.02154.
  • [37] F. Croce, M. Hein, Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks, in: International Conference on Machine Learning (ICML), Vol. 119 of Proceedings of Machine Learning Research, 2020, pp. 2206–2216.
  • [38] Y. Li, D. Tian, M.-C. Chang, X. Bian, S. Lyu, Robust adversarial perturbation on deep proposal-based models, arXiv:1809.05962 (2018).
  • [39] H. Zhang, W. Zhou, H. Li, Contextual adversarial attacks for object detection, in: IEEE International Conference on Multimedia and Expo (ICME), 2020, pp. 1–6. doi:10.1109/ICME46284.2020.9102805.
  • [40] A. Aldahdooh, W. Hamidouche, S. A. Fezza, O. Déforges, Adversarial example detection for DNN models: a review and experimental comparison, Artificial Intelligence Review 55 (6) (2022) 4403–4462. doi:10.1007/s10462-021-10125-w.
  • [41] N. Papernot, P. McDaniel, Deep k-nearest neighbors: Towards confident, interpretable and robust deep learning, arXiv:1803.04765 (2018).
  • [42] G. Cohen, G. Sapiro, R. Giryes, Detecting adversarial samples using influence functions and nearest neighbors, in: IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2020, pp. 14441–14450. doi:10.1109/CVPR42600.2020.01446.
  • [43] S. Ma, Y. Liu, G. Tao, W.-C. Lee, X. Zhang, NIC: Detecting adversarial samples with neural network invariant checking, in: Network and Distributed System Security Symposium (NDSS), 2019. doi:10.14722/ndss.2019.23415.
  • [44] K. Roth, Y. Kilcher, T. Hofmann, The odds are odd: A statistical test for detecting adversarial examples, in: International Conference on Machine Learning (ICML), Vol. 97 of Proceedings of Machine Learning Research, 2019, pp. 5498–5507.
  • [45] A. Abusnaina, Y. Wu, S. Arora, Y. Wang, F. Wang, H. Yang, D. Mohaisen, Adversarial example detection using latent neighborhood graph, in: IEEE/CVF International Conference on Computer Vision (ICCV), 2021, pp. 7667–7676. doi:10.1109/ICCV48922.2021.00759.
  • [46] C. Guo, M. Rana, M. Cissé, L. van der Maaten, Countering adversarial images using input transformations, in: International Conference on Learning Representations (ICLR), 2018.
  • [47] J. H. Metzen, T. Genewein, V. Fischer, B. Bischoff, On detecting adversarial perturbations, in: International Conference on Learning Representations (ICLR), 2017.
  • [48] Z. Gong, W. Wang, Adversarial and clean data are not twins, in: International Workshop on Exploiting Artificial Intelligence Techniques for Data Management (aiDM), 2023, pp. 1–5. doi:10.1145/3593078.3593935.
  • [49] Q. Wang, C. Li, Y. Luo, H. Ling, S. Huang, R. Jia, N. Yu, Detecting adversarial data using perturbation forgery, in: IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2025, pp. 13917–13926. doi:10.1109/CVPR52734.2025.01299.
  • [50] H. Peng, Y. Wang, R. Yang, B. Li, R. Wang, Y. Guo, AED-PADA: Improving generalizability of adversarial example detection via principal adversarial domain adaptation, ACM Transactions on Multimedia Computing, Communications, and Applications 21 (2) (2025) 1–24. doi:10.1145/3706061.
  • [51] J. Raghuram, V. Chandrasekaran, S. Jha, S. Banerjee, A general framework for detecting anomalous inputs to DNN classifiers, in: International Conference on Machine Learning (ICML), Vol. 139 of Proceedings of Machine Learning Research, 2021, pp. 8764–8775.
  • [52] S. Zhang, F. Liu, J. Yang, Y. Yang, C. Li, B. Han, M. Tan, Detecting adversarial data by probing multiple perturbations using expected perturbation score, in: International Conference on Machine Learning (ICML), Vol. 202 of Proceedings of Machine Learning Research, 2023, pp. 41429–41451.
  • [53] G. Rossolini, F. Nesti, F. Brau, A. Biondi, G. Buttazzo, Defending from physically-realizable adversarial attacks through internal over-activation analysis, in: AAAI Conference on Artificial Intelligence, Vol. 37, 2023, pp. 15064–15072. doi:10.1609/aaai.v37i12.26758.
  • [54] J. Mu, A real-time defense against object vanishing adversarial patch attacks for object detection in autonomous vehicles, in: Security and Privacy in Cyber-Physical Systems and Smart Vehicles, Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, 2025, pp. 296–307. doi:10.1007/978-3-031-93354-7_14.
  • [55] K. Xu, Y. Xiao, Z. Zheng, K. Cai, R. Nevatia, PatchZero: Defending against adversarial patch attacks by detecting and zeroing the patch, in: IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), 2023, pp. 4621–4630. doi:10.1109/WACV56688.2023.00461.
  • [56] C. Kang, Y. Dong, Z. Wang, S. Ruan, Y. Chen, H. Su, X. Wei, DIFFender: Diffusion-based adversarial defense against patch attacks, in: Computer Vision – ECCV 2024, Lecture Notes in Computer Science, 2024, pp. 130–147. doi:10.1007/978-3-031-72943-0_8.
  • [57] C. Xiang, P. Mittal, DetectorGuard: Provably securing object detectors against localized patch hiding attacks, in: ACM SIGSAC Conference on Computer and Communications Security (CCS), 2021, pp. 3177–3196. doi:10.1145/3460120.3484757.
  • [58] C. Xiang, A. Valtchanov, S. Mahloujifar, P. Mittal, ObjectSeeker: Certifiably robust object detection against patch hiding attacks via patch-agnostic masking, in: IEEE Symposium on Security and Privacy (SP), 2023, pp. 1329–1347. doi:10.1109/SP46215.2023.10179319.
  • [59] A. Braunegg, A. Chakraborty, M. Krumdick, N. Lape, S. Leary, K. Manville, E. Merkhofer, L. Strickhart, M. Walmer, APRICOT: A dataset of physical adversarial attacks on object detection, in: Computer Vision – ECCV 2020, Lecture Notes in Computer Science, 2020, pp. 35–50. doi:10.1007/978-3-030-58589-1_3.
  • [60] J. Zheng, J. Sun, C. Lin, Z. Zhao, C. Ma, C. Zhang, C. Shen, C. Wang, Q. Wang, Revisiting adversarial patch defenses on object detectors: Unified evaluation, large-scale dataset, and new insights, in: IEEE/CVF International Conference on Computer Vision (ICCV), 2025, pp. 23476–23486. doi:10.1109/ICCV51701.2025.02179.
  • [61] X. Du, Z. Wang, M. Cai, Y. Li, VOS: Learning what you don’t know by virtual outlier synthesis, in: International Conference on Learning Representations (ICLR), 2022.
  • [62] N. Kumar, S. Šegvić, A. Eslami, S. Gumhold, Normalizing flow based feature synthesis for outlier-aware object detection, in: IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2023, pp. 5156–5165. doi:10.1109/CVPR52729.2023.00499.
  • [63] C. Huang, V. D. Nguyen, V. Abdelzad, C. G. Mannes, L. Rowe, B. Therien, R. Salay, K. Czarnecki, Out-of-distribution detection for LiDAR-based 3D object detection, in: IEEE International Conference on Intelligent Transportation Systems (ITSC), 2022, pp. 4265–4271. doi:10.1109/ITSC55140.2022.9922026.
  • [64] A. Piroli, V. Dallabetta, J. Kopp, M. Walessa, D. Meissner, K. Dietmayer, LS-VOS: Identifying outliers in 3D object detections using latent space virtual outlier synthesis, in: IEEE International Conference on Intelligent Transportation Systems (ITSC), 2023, pp. 1242–1248. doi:10.1109/ITSC57777.2023.10421856.
  • [65] K. Roth, L. Pemula, J. Zepeda, B. Schölkopf, T. Brox, P. Gehler, Towards total recall in industrial anomaly detection, in: IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2022, pp. 14298–14308. doi:10.1109/CVPR52688.2022.01392.
  • [66] S. Bates, E. Candès, L. Lei, Y. Romano, M. Sesia, Testing for outliers with conformal p-values, The Annals of Statistics 51 (1) (2023) 149–178. doi:10.1214/22-AOS2244.
  • [67] D. Hendrycks, K. Gimpel, A baseline for detecting misclassified and out-of-distribution examples in neural networks, in: International Conference on Learning Representations (ICLR), 2017.
  • [68] W. Liu, X. Wang, J. D. Owens, Y. Li, Energy-based out-of-distribution detection, in: Advances in Neural Information Processing Systems (NeurIPS), 2020.
  • [69] O. Ledoit, M. Wolf, A well-conditioned estimator for large-dimensional covariance matrices, Journal of Multivariate Analysis 88 (2) (2004) 365–411. doi:10.1016/S0047-259X(03)00096-4.
  • [70] M. Ilse, J. M. Tomczak, M. Welling, Attention-based deep multiple instance learning, in: International Conference on Machine Learning (ICML), Vol. 80 of Proceedings of Machine Learning Research, 2018, pp. 2127–2136.
  • [71] K. He, X. Zhang, S. Ren, J. Sun, Deep residual learning for image recognition, in: IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016, pp. 770–778. doi:10.1109/CVPR.2016.90.
  • [72] A. Geiger, P. Lenz, R. Urtasun, Are we ready for autonomous driving? The KITTI vision benchmark suite, in: IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2012, pp. 3354–3361. doi:10.1109/CVPR.2012.6248074.
  • [73] F. Yu, H. Chen, X. Wang, W. Xian, Y. Chen, F. Liu, V. Madhavan, T. Darrell, BDD100K: A diverse driving dataset for heterogeneous multitask learning, in: IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2020, pp. 2633–2642. doi:10.1109/CVPR42600.2020.00271.
  • [74] J. Lee, Y. Lee, J. Kim, A. R. Kosiorek, S. Choi, Y. W. Teh, Set transformer: A framework for attention-based permutation-invariant neural networks, in: International Conference on Machine Learning (ICML), Vol. 97 of Proceedings of Machine Learning Research, 2019, pp. 3744–3753.
  • [75] L. Ruff, R. A. Vandermeulen, N. Görnitz, A. Binder, E. Müller, K.-R. Müller, M. Kloft, Deep semi-supervised anomaly detection, in: International Conference on Learning Representations (ICLR), 2020.