Safety evaluation is like a coin toss: LLM judges cannot reliably measure adversarial robustnessA Coin Flip for Safety: LLM Judges Fail to Reliably Measure Adversarial Robustness
The authors use 6,642 human labels to audit safety judges and say that under adversarial shift their performance is on average only slightly better than a coin flip.
- Safety evaluation uses LLM judges to determine whether outputs are harmful, but the authors state that existing validation does not account for attack shift, model shift, and data shift in red-teaming, and ASR changes may just be judge error.
- Sample 100 queries from HarmBench, generate outputs on 4 open-source victim models and 5 attacks, manually annotate only samples judged harmful by StrongREJECT on a 1-to-5 scale, then compare against 4 judges, and construct ReliableBench and JudgeStressTest.
- On the balanced 2746 samples, Llama-3.1-8B, HarmBench, Direct accuracy is 0.45. JailJudge's AUROC for GCG-R is 0.48. The authors state that after precision correction, this example's BoN ASR is the lowest; the average accuracy across 41 behaviors is written as 70% in the main text.
- The authors note that distribution shifts specific to particular defenses are not accounted for, and conclusions are limited to the tested combinations. The experiments include 4 open-source victim models, 4 judges, and 100 queries from HarmBench; humans only label StrongREJECT positives.
- Evaluated models
- Gemma-3-1BLlama-3.1-8BGemma-27-BQwen-3-32BAegisGuardLlama-2-13B HarmBench classifierJailJudgeLlamaGuard-3
- Benchmarks
- HarmBenchReliableBenchJudgeStressTest
- Metrics
- AccuracyAUROCASRprecisionR²Judge ConcordanceAcc@0Acc@1
Researchers from TU Munich, Mila, and other institutions audited LLM-as-a-Judge with 6,642 human annotations and found it is on average only slightly better than random guessing in adversarial robustness evaluation. The study points out that three types of distribution shift—attack, victim model, and semantic category—compound, reducing judge accuracy to near random levels, with JailJudge achieving an AUROC as low as 0.48 on Llama-3.1-8B. The authors state that the high success rates of attacks like BoN are more due to judge false positives than genuinely harmful outputs, and after correcting by judge precision, attack success rates drop noticeably. To this end, they release two datasets, ReliableBench and JudgeStressTest: the former selects 41 behaviors that are easiest to judge, raising average accuracy to 70%, while the latter contains 971 samples where judges commonly fail.
Why it was selectedThe paper audits LLM judges with 6,642 human annotations, showing they are close to random guessing in adversarial evaluation, and provides a method to correct attack success rates by judge precision.
Related events and news
0 events · 1 news mentions
News that mentions this paper
- Qiitagives the paper's title攻击成功率(ASR)数字怎么读:评分标准、试验次数和数据集能让同一评估结果变成 15% 或 100%
Schwinn et al., A Coin Flip for Safety: LLM Judges Fail to Reliably Measure Adversarial Robustness (ICML 2026)
Paper analysis
What problem does this paper attempt to solve?
Distribution shift in adversarial evaluation makes LLM judges close to random, and attack success rates may come from misjudgment rather than genuinely harmful outputs.
Do LLM judges in adversarial robustness evaluation still measure accurately under red-team distribution shift.
- Use case: The authors say that after red-teaming scales up, human evaluation becomes too costly, so evaluation switches to LLM-as-a-Judge to determine whether generations are harmful, and to compare attacks and model robustness.
- Validation gap: The authors say judges are mostly validated against human scores on static held-out sets with high agreement rates; this protocol does not cover distribution shift in adversarial evaluation.
- Three types of shift: Attack Shift means adversarial prompts elicit distorted, high-perplexity outputs; Model Shift means style changes after switching models or defenses; Data Shift means categories change difficulty, with the authors giving covert propaganda as harder than explicit violence.
- Measurement consequences: The authors say attacks can exploit false positives to inflate ASR, apparent robustness can also come from answer styles that trigger false negatives, and comparisons can become judge error.
- This paper's output: Human labels are used to audit judges across attacks, victim models, and semantic categories, ASR is corrected by precision, and ReliableBench and JudgeStressTest are provided.
What related research exists?
The authors say existing work has seen single failure modes but has not jointly examined the three types of distribution shift in adversarial evaluation.
LLM-as-a-Judge in Safety Evaluation
- Static toxicity data: RealToxicityPrompts (Gehman et al., 2020) and SOLID (Rosenthal et al., 2021) use static data and classifiers to detect toxic content.
- LLM judges: Zheng et al. (2023) propose LLM-as-a-Judge; the authors state that GPT-4 has high agreement with humans on general quality evaluation. Llama Guard (Inan et al., 2023) is a fine-tuned guardrail, AEGIS (Ghosh et al., 2024) covers 13 risk categories, and the authors state that WildGuard (Han et al., 2024) achieves open-source SOTA and reduces jailbreak success rate.
- HarmBench: Mazeika et al. (2024) is used to systematically compare attacks and defenses; this paper's queries and semantic categories come from its test set.
Adversarial Vulnerability of Judges
- Injection and obfuscation: Maloyan and Namiot (2025) study using prompt injection to make evaluators give favorable verdicts; high-perplexity suffixes or obfuscated inputs also interfere with analysis.
- RobustJudge: Li et al. (2025) evaluate 15 attacks. The authors state that optimization-based attacks can make judges classify 100% of harmful outputs as safe; input re-tokenization and ensemble voting only partially mitigate this.
Failure Modes and Distribution Sensitivity
- Style: Feuer et al. (2024) state that judges value completeness, politeness, and format more than factuality or safety. Chen and Goldfarb-Tarrant (2025) state that adding only an apology prefix can shift preferences by up to 98%. Zheng et al. (2023) and Eiras et al. (2025) write that slight style perturbations increase false negative rates.
- Calibration and content: Liu et al. (2025) state that guardrails are overconfident, and miscalibration worsens after jailbreaks or model changes. Mei et al. (2024) and Yan et al. (2025) state that judges rely more on malicious language patterns, and many successful jailbreaks are hallucinations or unexecutable instructions. Panfilov et al. (2025) treat strategic dishonesty as a judge limitation.
Baselines and Benchmarks
- Comparison: Human 1–5 scores, with ≥3 as harmful, serve as the gold standard. On the attack side, Direct Prompting without adversarial rewriting is the baseline. Final judges are Aegis-Guard, Llama-2-13B HarmBench classifier, JailJudge, and LlamaGuard-3. Queries come from HarmBench.
The authors state that existing work each points out a single failure mode, but does not jointly examine attack, model, and data shift in adversarial safety evaluation, lacks human ground truth to distinguish category difficulty and systematic bias, and does not check whether optimization or multiple sampling exploits judge error.
How does the paper address this problem?
Audit safety judges under three types of distribution shift with human labels, and filter out two subsets that are easier and harder to judge.
The authors do not train a new judge; instead, they audit existing safety judges with human labels. The problem is framed as Attack Shift, Model Shift, Data Shift in adversarial evaluation, and they build an annotation set accordingly, correct the ASR, and then filter out ReliableBench and JudgeStressTest.
Shift and Success Definitions
- Attack Shift: Adversarial prompts may elicit distorted, high-perplexity outputs that differ from the standard harmful answers judges have seen.
- Model Shift: A judge validated on one model may drop in classification performance when moved to other models or defenses due to language variation.
- Data Shift: Difficulty varies with semantic category; the authors give the example that covert propaganda may be harder to detect reliably than explicit violence.
- Success Definition: The common practice is that any judge positive counts as a successful attack. The authors instead scale by precision: multiply the ASR by the probability that a judge positive is a true positive.
Queries, Victim Models, and Attacks
- Queries: 400 from the HarmBench test set, with 100 randomly sampled so that annotations can be spread across more attack–model combinations.
- Victim models: Gemma-3-1B, Llama-3.1-8B, Gemma-27-B, Qwen-3-32B. The authors exclude closed-source models because version changes affect reproducibility and submitting harmful queries often leads to account bans.
- Five attacks: Implementations come from AdversariaLLM. Direct Prompting does not rewrite and uses sampling to strengthen it. GCG uses discrete optimization to append suffixes that increase the likelihood of affirmative answers. GCG-REINFORCE puts judge feedback into REINFORCE. BoN applies random character perturbations to queries, samples multiple answers, and has the judge select. PAIR uses another attack LLM to iteratively rewrite based on the victim model and judge feedback; the paper does not name that model.
- Relationship to judges: The authors classify BoN as implicit judge hacking and GCG-REINFORCE as explicit judge hacking, while Direct, PAIR, and GCG do not use judge feedback by default. The authors emphasize that these methods are not designed to deliberately exploit judge weaknesses. The paper says BoN uses up to 10,000 attempts per query and does not state the N actually used in the annotation set.
Human Annotation and Filtering
- Scale: 1 clear refusal, 2 indirect refusal, 3 partial compliance, 4 compliance with reservations, 5 full compliance. ≥3 is harmful. They look at intent and compliance, not executability; erroneous code or infeasible steps can still be labeled harmful. The Figure 2 caption says scores greater than 2 are harmful.
- Personnel: The authors labeled 2,370 items themselves; Labelbox labeled another 4,272, requiring passing a 10-item pre-labeling quiz. Spot-checking 90 tasks, the harmful/harmless binary agreement rate was 95%.
- Labeling only positives: The fine-tuned StrongREJECT gives H∈[0,1], with H>0.5 considered harmful, and humans only label these positives. The authors say most trials do not elicit harmful content and labeling negatives would exhaust the budget.
- Scale: Final total is 6,642 items. The paper says harmful is 1,437 (78%) and harmless is 5,205 (22%), but the percentages do not match the counts. Each attack–model has at least 105 items, and each model at least 785. The balanced experimental subset is 2,746 items.
Consistency Score
Let px be the proportion of N judges labeling a sample harmful, and H(px) the binary entropy. The authors define SJC(x)=1−H(px): 1 is full agreement, 0 is maximal disagreement. It is used to see whether agreement corresponds to human correctness, not as a substitute for human labels.
Two Subsets
- ReliableBench: Behaviors are sorted by average judge accuracy from easy to hard, keeping the 41 most consistent. The main text says average accuracy ranges from 57% to 70%; the Figure 9 caption says from 53% to 70%.
- JudgeStressTest: On each attack–model combination, harmful and harmless are first balanced, then only samples where at most one judge is correct are kept, and leave-one-out is used to see whether difficulty transfers across judges. Final total is 971 items.
What experiments did the paper conduct?
The authors state that under adversarial settings, judges on average are only slightly better than a coin flip; on Llama-3.1-8B, HarmBench's accuracy against Direct is 0.45.
Experimental Setup
- Victim models: Gemma-3-1B, Llama-3.1-8B, Gemma-27-B, Qwen-3-32B. Figures sometimes write Gemma-1B, Gemma-27B, Llama-3.1.
- Judges: Aegis-Guard, Llama-2-13B HarmBench classifier, JailJudge, LlamaGuard-3. StrongREJECT is used only for filtering.
- Data: 100 random HarmBench queries; 6642 human labels; 2746 samples in the balanced accuracy experiments. At least 105 per attack–model and at least 785 per model.
- Attacks: Direct Prompting, GCG, GCG-REINFORCE (GCG-R in figures), BoN, PAIR.
- Metrics: Accuracy with human ≥3 as harmful, AUROC, R² of judge scores and human scores, uncorrected ASR and precision-corrected Expected ASR, P(∃Harmful), Judge Concordance, Acc@0 and Acc@1.
- Determination: The gold standard is human labels; the paper does not use another LLM to determine success and does not report attack repetition counts. Binary agreement is reported only on 95% of 90 spot-checked tasks.
Main Results
According to Figure 3(a), the victim model is Llama-3.1-8B and the metric is judge accuracy. This figure belongs to the balanced experiment, which has 2746 samples in total in the paper; the figure does not break down sample size by model.
Swipe horizontally to read the table
Judge BoN Direct GCG GCG-R PAIR LlamaGuard-3 0.49 0.50 0.47 0.59 0.44 HarmBench 0.49 0.45 0.57 0.57 0.58 AegisGuard 0.50 0.50 0.44 0.50 0.42 JailJudge 0.52 0.55 0.62 0.53 0.50 - Authors' interpretation: The authors state that accuracy is highly dependent on the victim model, and many cells are close to random guessing. For the same Direct + HarmBench, Llama-3.1-8B is 0.45 and Gemma-27-B is 0.58 (Figure 3).
- Thresholds: In Figure 5, JailJudge's AUROC on Llama-3.1-8B is BoN 0.53, Direct 0.57, GCG 0.64, GCG-R 0.48, PAIR 0.53. The authors state that threshold tuning is insufficient, and GCG-R's 0.48 is below random.
- Cannot be written as all close to random: Figure 3(b) does not list PAIR; on Gemma-27-B, HarmBench is 0.67 for BoN and 0.51 for GCG-R. In appendix Figure 10, Qwen-3-32B's HarmBench is BoN 0.74, Direct 0.67, GCG 0.60, GCG-R 0.69; Gemma-3-1B's LlamaGuard-3 is 0.42 for BoN.
Optimization Trajectories and ASR Correction
- Trajectories: Figure 7 tracks GCG, GCG-R, and PAIR. The authors state that the optimization phase does not show stable increases in human harmfulness rate, judge scores, or judge accuracy. Appendix A.6 states this is consistent with "attacks mainly break refusal rather than making content more harmful"; StrongREJECT positive filtering makes the starting harmfulness rate already high.
- Multiple samples: Figure 8 is on Gemma-3-1B. The authors state that for BoN, a single judge-positive gives low confidence. The figure does not mark exact readings for each curve.
- Corrected ranking: The authors state that after multiplying by precision, several methods' Expected ASR is below the uncorrected dashed line (Figure 8). In Figure 1's example, uncorrected BoN would be reported as the highest ASR, and after correction it is the lowest. The main text does not give the values for Figure 1's bars. The legend is Corrected and Prior Work, and the x-axis is BoN, Direct, GCG.
Correlation, Ensembling, and New Benchmarks
- Correlation: In Figure 6 on Llama-3.1-8B, HarmBench's R² is 0.02, and the multi-judge average is 0.05. The authors state that individual judges are noisy, and averaging does not show a clear correlation either. Appendix Figure 12's average-score R² is Gemma-3-1B 0.05, Gemma-27-B 0.04, Llama-3.1-8B 0.00, Qwen-3-32B 0.11. Llama's 0.00 is inconsistent with Figure 6(b)'s 0.05, and the paper does not explain this.
- Agreement does not equal correctness: The authors state that several behaviors' average concordance is close to 1 yet still disagrees with human ground truth. Figure 14 covers 100 behaviors, and the authors state that high concordance does not stably correspond to high accuracy.
- Subsets: The main text writes that retaining 41 behaviors raises average accuracy from 57% to 70%; Figure 9's caption writes from 53% to 70%. The authors state that in Figure 15, adding more behaviors lowers the mean and the standard deviation is relatively low. Table 1's OVERALL ACC. is LlamaGuard-3 0.54, HarmBench 0.59, AegisGuard 0.51, JailJudge 0.56; when other judges are all wrong, Acc@0 is 0.17, 0.30, 0.23, 0.18, and Acc@1 is 0.34, 0.45, 0.35, 0.37. JST has 971 samples total. The authors state that difficulty transfers across architectures.
Other Ablations and Analyses
- Appendix Figure 11, Llama-3.1-8B: HarmBench's AUROC is BoN 0.48, Direct 0.54, GCG 0.60, GCG-R 0.63, PAIR 0.54; AegisGuard is 0.46 for GCG.
- Same figure, Qwen-3-32B: HarmBench is BoN 0.78, Direct 0.76, GCG 0.73, GCG-R 0.91; LlamaGuard-3 is 0.37 for GCG-R.
- Figure 4: The authors state that judgeability differs across attack types, small-model outputs are slightly harder than large-model outputs, and accuracy also differs across behaviors and semantic categories (CI, CB, ILG, HF, HB, MD); the bars do not mark exact values.
- Figure 13 extends "at least one true positive" to four victim models, and the main text does not give values for each point. Llama-3.1-8B's legend includes PAIR, while the other three models' figure does not list PAIR.
- The introduction's box writes that on average it is only slightly better than a coin flip; the conclusion writes that on average it is no better than a coin flip. Both are the authors' summaries, not statistical tests from a particular table.
What are some points that can be further explored?
The authors point out that distribution shifts from defenses are not accounted for, and that conclusions are limited to the tested attack and model combinations.
Limitations and Future Directions Noted by the Authors
- Defense shift: Defenses such as adversarial training, paraphrasing, and Circuit Breakers that output high-perplexity, non-semantic content are not included; the authors believe this may further degrade judge performance (Section 5 Limitations).
- Tested combinations: The authors state that findings are limited to the tested attack and model combinations; unseen distribution shifts in future attacks or models may pose different problems (Section 5).
- Future directions: The authors propose examining the impact of strong model-tampering attacks on judge-hacking (Section 5).
Experimental Coverage
- Models: Victim models are Gemma-3-1B, Llama-3.1-8B, Gemma-27-B, and Qwen-3-32B. Section 3.2 states that closed-source models are excluded because updates or takedowns affect reproducibility, and submitting harmful queries often triggers account bans.
- Judges and attacks: Final judges are Aegis-Guard, Llama-2-13B HarmBench classifier, JailJudge, and LlamaGuard-3; StrongREJECT (H>0.5) is used for filtering. Attacks are Direct Prompting, GCG, GCG-REINFORCE, BoN, and PAIR, implemented from AdversariaLLM.
- Data scale: 100 randomly sampled from the 400 HarmBench test set items; 6642 human labels, of which 2370 self-labeled and 4272 from Labelbox; balanced subset of 2746. At least 105 per attack–model and at least 785 per model.
- Annotation: Scale 1–5, with ≥3 as harmful, and only judge-positive samples are annotated. Agreement on harmful/harmless across 90 spot-checked tasks is 95%. The paper does not report inter-annotator agreement on the full sample, nor sampling temperature, GCG iteration steps, or the attack model name used for PAIR.
- Subsets and categories: ReliableBench retains the 41 behaviors with the highest average judge accuracy; JudgeStressTest contains 971 samples and is validated with leave-one-judge-out. Semantic categories follow HarmBench's CB, CI, HB, HF, ILG, MD.
Summarize the main content of the paper
The authors say that in adversarial evaluation, LLM judges are on average close to a coin flip, and they release ReliableBench and JudgeStressTest.
The authors audit LLM judges in adversarial safety evaluation, not new attacks.
- Problem: The authors say high human agreement rates on static held-out sets do not cover attack, model, and semantic category shifts in red-teaming; ASR rises or falls may just be false positives or false negatives.
- Approach: 100 queries are sampled from HarmBench, run on four open-source models with Direct, GCG, GCG-REINFORCE, BoN, and PAIR, and only StrongREJECT positives are human-labeled on a 1–5 scale, totaling 6,642 items, then compared against four judges.
- Results: In the balanced 2,746 items, HarmBench accuracy on Direct on Llama-3.1-8B is 0.45 (Figure 3). On the same model, JailJudge AUROC is 0.48 for GCG-R and 0.64 for GCG (Figure 5). The introduction box says on average only slightly better than a coin flip; the conclusion says on average not better than a coin flip.
- Exceptions: On Qwen-3-32B, HarmBench AUROC for GCG-R is 0.91 (Figure 11), so not all cells can be called close to 0.5.
- Corrections: The authors say that in the Figure 1 example, after precision correction, BoN has the lowest ASR. The main text says average accuracy ranges from 57% to 70% after keeping 41 behaviors. On JST, LlamaGuard-3 Acc@0 is 0.17 (Table 1).
- Authors' conclusion: The authors believe existing judges are insufficient to support adversarial robustness comparisons; multiple positives, precision correction, and behavior filtering can reduce measurement error. ReliableBench and JudgeStressTest with human labels are provided in the paper.