Balanced Accuracy: The Right Metric for Evaluating LLM Judges -- Explained through Youden's J statistic
Stephane Collot, Colin Fraser, Justin Zhao, William F. Shen, Timon Willi, Ilias Leontiadis
TL;DR
The paper argues that evaluating LLM judges through Balanced Accuracy, equivalently Youden’s J, yields prevalence-robust, symmetric judgments that reliably detect true prevalence differences between models. It mathematically connects J to classifier slope and ROC geometry, and demonstrates via empirical studies that BA outperforms traditional metrics (Accuracy, F1, Macro-F1) in selecting judges that preserve model-prevalence order. The results advocate adopting BA as a standard metric for judge evaluation to improve the reliability of downstream model comparisons and release decisions.
Abstract
Rigorous evaluation of large language models (LLMs) relies on comparing models by the prevalence of desirable or undesirable behaviors, such as task pass rates or policy violations. These prevalence estimates are produced by a classifier, either an LLM-as-a-judge or human annotators, making the choice of classifier central to trustworthy evaluation. Common metrics used for this choice, such as Accuracy, Precision, and F1, are sensitive to class imbalance and to arbitrary choices of positive class, and can favor judges that distort prevalence estimates. We show that Youden's $J$ statistic is theoretically aligned with choosing the best judge to compare models, and that Balanced Accuracy is an equivalent linear transformation of $J$. Through both analytical arguments and empirical examples and simulations, we demonstrate how selecting judges using Balanced Accuracy leads to better, more robust classifier selection.
