DetectViT: Test-time Backdoor Detection for Vision Transformers via Inter-Head Attention Discrepancy
Update NeurIPS 2026 submission WjAq71jgrz: 5 notes
@openreview[bot] · 2026-11-24 15:52 UTC · 0e5fcb72dbaf ·
reviews/openreview/wjaq71jgrz/notes/k3raqjrhz9.json modified
+++ b/reviews/openreview/wjaq71jgrz/notes/k3raqjrhz9.json@@ -5,11 +5,12 @@"kind": "meta_review","invitation": "Meta_Review","signature": "Area Chair V3cM","content": {- "metareview": "The paper proposes DetectViT, a training-free test-time detector for backdoored ViT inputs. It uses abnormal agreement and entropy variation across attention heads, with thresholds calibrated from a small clean OOD set. The method is simple, efficient, and performs strongly across four attacks, several ViT architectures, and classification and captioning tasks. Reviewers Hbcr and TWph view the attention-based design as intuitive, practical, and reasonably novel. However, all three reviewers raise concerns about limited attack diversity. Most tests use patch triggers, with only one blended attack. Semantic, frequency-domain, clean-label, distributed, and self-supervised encoder attacks are missing. Reviewer DN52 also questions some claims about embedding-based defenses and missing related work. The three-sigma calibration is weakly justified, appears sensitive to the OOD source, and assumes near-Gaussian scores without evidence. Overall, this is a paper of decent quality, so I would recommend a borderline accept."+ "metareview": "The paper proposes DetectViT, a training-free test-time detector for backdoored ViT inputs. It uses abnormal agreement and entropy variation across attention heads, with thresholds calibrated from a small clean OOD set. The method is simple, efficient, and performs strongly across four attacks, several ViT architectures, and classification and captioning tasks. Reviewers Hbcr and TWph view the attention-based design as intuitive, practical, and reasonably novel. However, all three reviewers raise concerns about limited attack diversity. Most tests use patch triggers, with only one blended attack. Semantic, frequency-domain, clean-label, distributed, and self-supervised encoder attacks are missing. Reviewer DN52 also questions some claims about embedding-based defenses and missing related work. The three-sigma calibration is weakly justified, appears sensitive to the OOD source, and assumes near-Gaussian scores without evidence. Overall, this is a paper of decent quality, so I would recommend a borderline accept.",+ "final_justification": "The paper proposes DetectViT, a training-free test-time backdoor detector for Vision Transformers based on discrepancies across attention heads. The reviewers generally found the approach simple, efficient, and practically useful. The rebuttal partly strengthened the paper. In particular, the authors added evaluations on five additional attacks covering self-supervised, clean-label, frequency-domain, and optimized global triggers. They also provided further evidence supporting the calibration strategy, tested an alternative thresholding rule, and evaluated a stronger adaptive attacker. These additions address most of the original concerns regarding attack diversity and calibration robustness. Two reviewers now support acceptance. One reviewer remains at borderline reject, mainly because the methodological novelty is considered incremental and the comparison with closely related approaches could be more substantive. The method also remains limited for semantic triggers, and accessing attention weights may introduce overhead in some optimized inference settings. Overall, I find that the rebuttal addresses the main technical and empirical concerns. I therefore recommend acceptance."},"createdAt": "2026-07-21T19:13:25.974Z",- "modifiedAt": "2026-11-18T15:19:53.207Z",+ "modifiedAt": "2026-11-19T04:59:56.664Z","url": "https://openreview.net/forum?id=WjAq71jgrz¬eId=K3RaQjrhZ9","license": "CC-BY-4.0"}
reviews/openreview/wjaq71jgrz/notes/kok1k7kyxo.json added
+++ b/reviews/openreview/wjaq71jgrz/notes/kok1k7kyxo.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "kOK1K7KyxO",+ "replyTo": "K3RaQjrhZ9",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to the Meta Review",+ "comment": "# Response to the Meta Review\n\nWe thank the AC for the careful meta review and the recommendation, and we thank all three reviewers for the time they invested. We are encouraged that our inter-head formulation was found simple, efficient, and effective across architectures and tasks, as well as intuitive, practical, and reasonably novel (@Hbcr, @TWph), and that the technical approach was appreciated, with agreement that backdoor defenses should be as black-box as possible (@DN52). We respond point by point to the weaknesses listed in the meta review below.\n\n**1. Limited attack diversity (@DN52, @TWph, @Hbcr).** We added five attacks during the rebuttal: BadEncoder and DRUPE for self-supervised encoders, Label-Consistent for clean labels, Low-Frequency for frequency-domain triggers, and Blended-Optimized for optimized global triggers. DetectViT attains the best value in most cells and is the only method that keeps AUC at 0.97 or above across all five, while every baseline collapses on at least one. All five attacks will be moved into the main evaluation, which @DN52 identified in their response to our rebuttal as essential for the work to be considered publishable.\n\n**2. Three-sigma calibration (@TWph, @Hbcr).** We plotted the score distributions of clean, OOD, and backdoor samples on each attacked model, and report the underlying statistics. *On near-Gaussianity*: a Shapiro-Wilk test and the fraction of samples within one, two, and three standard deviations both confirm that the clean scores are close to Gaussian. *On OOD alignment*: clean and OOD means differ by at most one clean standard deviation, whereas the backdoor mean sits 3.7 to 6.8 standard deviations away. Using the 99th percentile of the OOD scores instead gives essentially the same performance. Some sensitivity to the calibration source is unavoidable for any test-time detector, since calibration data can never align perfectly with test data, but our scores separate backdoor from clean samples far more sharply than the baselines, as reflected in the highest AUC across all attacks.\n\n**3. Claims about embedding-based defenses and related work (@DN52).** We clarified that our claim concerned TrojViT, an attack that targets the classification head rather than the encoder, and we will make this point clearer in the paper. On related work, although BYE operates at training time and the Trojaned-BERT study addresses NLP, we will discuss these attention-based approaches in detail in Related Work rather than in the brief form they currently receive.\n\n**4. Adaptive attacks (@Hbcr).** Following the suggestion for a stronger adaptive attacker, we retrained each attack with a loss aligning the signal values of backdoor samples with those of clean samples rather than merely penalising them. The attacker cannot achieve stealth and performance at the same time: aligning both signals drops BadViT's clean accuracy to 14.39 and BadCLIP's attack success rate to 16.90.\n\nAll analyses above, together with the new experiments, will be incorporated into the revised paper. We are grateful for the reviewers' engagement, which has materially improved both the evaluation and the positioning of the work."+ },+ "createdAt": "2026-08-03T03:42:58.071Z",+ "modifiedAt": "2026-11-19T16:59:52.869Z",+ "url": "https://openreview.net/forum?id=WjAq71jgrz¬eId=kOK1K7KyxO",+ "license": "CC-BY-4.0"+}
reviews/openreview/wjaq71jgrz/notes/qx6epjhxp1.json added
+++ b/reviews/openreview/wjaq71jgrz/notes/qx6epjhxp1.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "Qx6ePjhXP1",+ "replyTo": "qgrMitMQ5y",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer DN52",+ "content": {+ "title": "Post-Rebuttal Assessment",+ "comment": "Thank you for the detailed rebuttal and the additional experiments. The authors have partially addressed my concerns, particularly the most important one regarding global and frequency-domain triggers. The new results on Low-Frequency and Blended-Optimized attacks substantially strengthen the empirical evaluation.\n\nIn my view, including these core experiments on global triggers in the revised paper is essential for the work to be considered publishable. However, I still have concerns about the presentation and positioning of the paper. Given that the methodological novelty is relatively incremental, a careful and substantive comparison with closely related methods should be one of the central elements of the paper. The revised manuscript should clearly explain the conceptual and technical differences from prior work, rather than limiting the comparison primarily to empirical performance.\n\nOverall, the rebuttal has improved my assessment, but it does not fully resolve my concerns. I am therefore willing to raise my score to **Borderline Reject**."+ },+ "createdAt": "2026-07-31T11:10:07.530Z",+ "modifiedAt": "2026-11-19T16:59:52.916Z",+ "url": "https://openreview.net/forum?id=WjAq71jgrz¬eId=Qx6ePjhXP1",+ "license": "CC-BY-4.0"+}
reviews/openreview/wjaq71jgrz/notes/z7accskuu8.json added
+++ b/reviews/openreview/wjaq71jgrz/notes/z7accskuu8.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "z7ACCskuu8",+ "replyTo": "Qx6ePjhXP1",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Clarifying Differences from Prior Work (to Reviewer DN52)",+ "comment": "We thank the reviewer for the constructive engagement and for raising the score. Following the suggestion to compare with closely related methods conceptually, we highlight our core contribution below, followed by how it differs from prior work.\n\n**Our core contribution.** To our knowledge, this is the first work to detect backdoors from the discrepancy between attention heads in a ViT. The observation behind it is that triggers hijack attention with different degrees of strength, and that this difference in strength leaves two distinct traces across heads: a strong, localised trigger drives all heads onto the same region and raises inter-head consistency, while a weak, diffuse trigger captures heads unevenly and raises the variance of attention concentration across them. Detecting a backdoor then becomes a question of how heads differ from one another, rather than of what any single attention map looks like.\n\n**1. Relative to other test-time detectors (TeCo, Scale-Up, PatchProc, BackdoorIDS).** These methods reach a decision by generating many transformed copies of each test sample and examining how the model responds across them, which makes detection cost a multiple of inference cost. They also constrain the tasks they apply to: TeCo, Scale-Up, and PatchProc reason over predicted hard labels and therefore require a discrete label space, which does not exist for captioning, while BackdoorIDS needs repeated forward passes under progressive masking. Our method requires neither. It reads the attention weights of a single forward pass, which are already computed during inference, and needs no supervision from the downstream task, so it applies unchanged to classification and to open-ended generation.\n\n**2. Relative to attention-based detection (BYE).** Beyond the fact that BYE operates during training while our method operates at test time, the perspective from which we analyse the attention map is substantively different. BYE flags a backdoor when the attention distribution of a layer becomes highly concentrated on a small region, a signature that a visually salient patch trigger produces and a stealthy one does not. We instead examine how heads diverge from each other, which captures both regimes: the salient case through inter-head consistency, and the stealthy case through inter-head entropy variance. This is what allows our method to detect Low-Frequency and blended-based attacks, where no single region dominates the attention map.\n\nWe will state these differences explicitly in Related Work. If any concerns remain, we would be glad if the reviewer could describe them further, so that we can address them fully within the discussion period."+ },+ "createdAt": "2026-08-01T01:05:19.504Z",+ "modifiedAt": "2026-11-19T16:59:53.052Z",+ "url": "https://openreview.net/forum?id=WjAq71jgrz¬eId=z7ACCskuu8",+ "license": "CC-BY-4.0"+}
reviews/openreview/wjaq71jgrz/notes/zyf6stfq2f.json added
+++ b/reviews/openreview/wjaq71jgrz/notes/zyf6stfq2f.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "ZYf6stfQ2f",+ "replyTo": null,+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Area Chair V3cM",+ "content": {+ "comment": "Dear reviewers,\n\nThis submission received initial evaluations of (5, 4, 2). The authors have submitted their rebuttal.\n\nPlease discuss whether the rebuttal adequately addresses your concerns, and whether it changes your assessment. Thanks.\n\nBest, \nAC"+ },+ "createdAt": "2026-07-30T14:04:37.594Z",+ "modifiedAt": "2026-11-19T16:59:52.927Z",+ "url": "https://openreview.net/forum?id=WjAq71jgrz¬eId=ZYf6stfQ2f",+ "license": "CC-BY-4.0"+}