Abstract: Automated "LLM-as-a-Judge" frameworks have become the de facto standard for scalable evaluation across natural language processing. For instance, in safety evaluation, these judges are relied upon to evaluate harmfulness in order to benchmark the robustness of safety against adversarial attacks. However, we show that existing validation protocols fail to account for substantial distribution shifts inherent to red-teaming: diverse victim models exhibit distinct generation styles, attacks distort output patterns, and semantic ambiguity varies significantly across jailbreak scenarios. Through a comprehensive audit using 6,642 human-verified labels, we reveal that the unpredictable interaction of these shifts often causes judge performance to degrade to near random chance. This stands in stark contrast to the high human agreement reported in prior work. Crucially, we find that many attacks inflate their success rates by exploiting judge insufficiencies rather than eliciting genuinely harmful content. To enable more reliable evaluation, we propose ReliableBench, a benchmark of behaviors that remain more consistently judgeable, and JudgeStressTest, a dataset designed to expose judge failures.
Introduction
To keep pace with the rapid development of Large Language Models (LLMs), the industry has pivoted toward automated safety evaluations. Frameworks like GPT-4 or Llama Guard act as "judges," determining whether a model's response to a prompt is harmful. While these judges align well with human intuition on standard, static datasets, they falter significantly during adversarial red-teaming.
This failure stems from three primary distribution shifts that occur during jailbreak attempts:
- Attack Shift: Adversarial prompts often force victim models to produce high-perplexity, distorted, or "gibberish" text that differs from the standard harmful examples used to validate judges.
- Model Shift: A judge validated on one model (e.g., Llama) may struggle with the unique linguistic styles of another (e.g., Qwen).
- Data Shift: Certain categories of harm, such as subtle propaganda, are inherently more difficult for automated systems to detect than explicit violence.
Methodology and Data Audit
We conducted a massive audit of LLM judges using 6,642 human-verified labels as ground truth. We evaluated four popular judges—Aegis, HarmBench Classifier, JailJudge, and LlamaGuard-3—against four victim models and five distinct attack types.
To improve evaluation rigor, we introduced several new metrics and resources:
- Corrected ASR: A revised Attack Success Rate (ASR) that scales reported results by the judge’s precision (the likelihood that a "positive" label is a true positive).
- Judge Concordance Score: A metric based on binary entropy to measure agreement levels across a panel of judges.
- ReliableBench: A curated subset of 41 behaviors that LLM judges evaluate with higher consistency (improving accuracy from ~57% to 70%).
- JudgeStressTest (JST): A dataset of 971 "hard" cases where judges consistently fail to match human labels.
Key Insights: The "Judge-Hacking" Phenomenon
Our analysis reveals that many popular adversarial attacks do not actually make models more harmful. Instead, they engage in judge-hacking. For example, the Best-of-N (BoN) attack generates thousands of variations until it finds one that triggers a false positive in the judge. The attack "succeeds" not by breaking the victim model, but by exploiting the judge's inability to distinguish distorted text from genuine harm.
Furthermore, we found that agreement is not truth. Even when multiple LLM judges show high concordance, they are often systematically wrong together, sharing the same underlying biases and failure modes. As adversarial attacks are optimized, the actual harmfulness of the output often remains flat while the judge's score increases, suggesting the attacks are learning to "speak the judge's language" of false positives.
Results
In adversarial settings, judge accuracy frequently plummeted to between 45% and 55%, effectively no better than a coin flip. This leads to severely inflated success rates in prior literature.
As shown in Figure 1, the "Corrected ASR" for the BoN attack is significantly lower than previously reported. Systemic failure was further evidenced by the JudgeStressTest: when a panel of judges failed to identify a human label, a held-out judge's accuracy dropped as low as 17%, proving these errors are architectural rather than random.
Conclusion and Recommendations
While larger models (like Qwen-3-32B) are generally easier to judge, even the most advanced evaluators hover near random chance on specific attack distributions. To ensure the reliability of future safety benchmarks, we recommend that researchers:
- Collect multiple judge-positive samples per behavior to reduce the impact of false positives.
- Utilize ReliableBench for more stable and consistent benchmarking.
- Always report precision-corrected ASR to distinguish between genuine model vulnerabilities and judge errors.
Data and code are available at: https://github.com/SchwinnL/LLMJudgeReliability
Summary updated