Abstract
Standard "LLM-as-a-judge" evaluations are often noisy, inconsistent, and suffer from "grade inflation," making it difficult to distinguish high-quality responses. This paper introduces Latent Judges, a method that extracts deterministic, fine-grained quality scores from a model’s internal probabilities and hidden activations. By leveraging latent information, this approach significantly outperforms traditional text-based ratings for ranking and evaluation tasks.
1. Introduction
As Large Language Models (LLMs) advance, the "LLM-as-a-judge" paradigm has become a standard for automated evaluation. Typically, a model is prompted to provide a score on a Likert scale. However, this approach suffers from two systemic failures:
- Instability: Due to stochastic decoding, the same response can receive different scores across runs. Even high-performing models like Qwen2.5 70B exhibit only 70-80% agreement with their own mode.
- Poor Calibration: Models often exhibit "grade inflation," clustering scores at the top of the scale. This lack of granularity leads to frequent ties, hindering tasks like "Best-of-N" sampling.
2. Methodology: Latent Judges
To address these issues, we propose extracting quality signals from latent information—the internal mathematical states of the model—rather than discrete text tokens. We evaluate three strategies:
- Probability-Weighted Ratings: Instead of a single integer, we calculate the expected value over the probability distribution of all possible score tokens (e.g., 1–10). This yields a continuous, precise decimal score.
- Verifier-Style Ratings: The model is asked a binary question ("Is this response good?"), and the raw probability of the "yes" token is used as the quality score.
- Latent Probing: A lightweight linear classifier is trained on the model’s internal hidden activations (residual stream). This "truth serum" extracts quality signals even when the output layer is poorly calibrated.
3. Experimental Setup
We evaluated Latent Judges across a diverse suite of benchmarks:
- Pairwise Benchmarks: MT-Bench, RewardBench, HHH-Alignment, and UltraFeedback.
- Single-Rating Benchmarks: FLASK, Vicuna-Eval, and BiGGen Bench.
- Training Data: Probes were trained on the Tulu Preference Mixture, comprising 273,000 prompt-response pairs.
4. Key Results
Latent methods consistently outperformed standard prompting:
- Accuracy: Latent judges showed gains of up to 5 percentage points in average accuracy across pairwise benchmarks.
- Correlation: Probability-weighted scores achieved the highest correlation with human judgments (~0.6 Pearson correlation).
- Ranking: In listwise ranking tasks (ranking 22 responses), latent judges showed significantly higher agreement with GPT-5-level rankings compared to traditional Likert scales.
- Model Specificity: Interestingly, models fine-tuned specifically as judges (e.g., Prometheus) sometimes performed worse with latent signals, suggesting that specialized training may distort internal probability spaces.
5. Conclusion and Future Work
Latent Judges provide a more stable and discriminative alternative to text-based evaluation. However, they require access to model logits or hidden states, limiting their use to open-weights models. Future work will investigate the susceptibility of these latent signals to "reward hacking" and explore unsupervised methods for probe training.
Summary updated