TL;DR
This paper investigates a subtle but critical issue in how we evaluate Large Language Models (LLMs): non-transitive preferences. They discover that LLM judges can exhibit inconsistent preferences (e.g., preferring A over B, B over C, but C over A), leading to unreliable rankings that depend heavily on the chosen baseline model. To address this, they propose round-robin tournaments and a novel "Swiss-Wise Iterative Matchmaking" (SWIM) approach for more robust and human-aligned LLM evaluations.
What Problem Does This Paper Address?
As LLMs become increasingly capable of complex, open-ended tasks, evaluating their performance reliably is a major challenge. Traditional benchmarks often fall short for tasks with multiple valid answers. A popular alternative is "LLM-as-a-Judge," where an LLM acts as an evaluator, typically by comparing pairs of model outputs and ranking them based on win rates against a fixed baseline. This approach hinges on the assumption that the judge's preferences are transitive – if model A is preferred over B, and B over C, then A should be preferred over C. However, this assumption has rarely been tested. This paper explores whether LLM judges exhibit non-transitive preferences, which could undermine the validity and consistency of LLM-as-a-Judge evaluations, making rankings unstable and dependent on the arbitrary choice of a baseline model.
Methods
The authors introduce two key metrics to quantify non-transitivity:
- Percentage of Non-Transitive Cases (PNT): A binary measure indicating if a triplet of models violates strict transitivity.
- Soft Non-Transitivity Deviation (SNTD): A more nuanced metric that captures the degree of non-transitivity by considering continuous preference probabilities and using Jensen-Shannon divergence.
To address the issue of non-transitivity and baseline dependency, they propose:
- Round-Robin Tournaments: Instead of a fixed baseline, all models are compared against each other. This captures a more comprehensive view of pairwise preferences.
- Bradley-Terry (BT) Model: Used to score models based on tournament outcomes, converting pairwise comparisons into a latent quality score.
- Swiss-Wise Iterative Matchmaking (SWIM): A computationally efficient tournament strategy that dynamically matches models based on their estimated capabilities, reducing the number of comparisons needed compared to full round-robin while maintaining robustness.
They also investigate factors contributing to non-transitivity, such as position bias and judge model capabilities, and explore prompting strategies (like Chain-of-Thought and checklists) to mitigate it.
Datasets
The primary dataset used is AlpacaEval (Li et al., 2023), which contains a variety of instruction types, including information search and coding problems. They also use prompts from the Arena-Hard-Auto dataset (Li et al., 2024) for robustness checks.
Key Insights and Ideas
- LLMs are indeed non-transitive judges: The core finding is that LLMs, particularly weaker ones like GPT-3.5-Turbo, exhibit non-transitive preferences. This means their judgments aren't always logically consistent, leading to unstable rankings.
- Performance similarity amplifies non-transitivity: Non-transitivity is more pronounced when comparing models with similar performance levels. This suggests that judges struggle to differentiate subtle quality differences, leading to more arbitrary or biased decisions.
- Position bias is a significant, but not sole, contributor: While LLMs are known to be influenced by the order of responses (position bias), it's not the only cause of non-transitivity. Even when position bias is mitigated, non-transitive patterns can persist.
- Stronger judges are more transitive: More capable LLMs (like GPT-4-Turbo) exhibit less non-transitivity and more consistent preferences, suggesting that judge quality is crucial for reliable evaluations.
- Round-robin and SWIM offer better alignment with human preferences: Tournament-based approaches, especially when combined with the Bradley-Terry model, produce rankings that correlate better with human evaluations (e.g., from Chatbot Arena) than baseline-fixed methods.
Key Results
- Rankings are sensitive to baseline choice: The paper demonstrates that changing the baseline model in standard LLM-as-a-Judge frameworks can lead to significantly different model rankings.
- Tournament-based methods improve correlation: Their proposed round-robin tournament method achieved a 4% increase in Spearman correlation and a 5.2% increase in Kendall correlation compared to AlpacaEval when compared against Chatbot Arena rankings.
- SWIM is efficient and effective: The SWIM approach offers a significant reduction in computational cost while achieving nearly identical performance to round-robin tournaments.
- GPT-3.5-Turbo shows high non-transitivity: This weaker judge exhibited consistently higher PNT and SNTD values across scenarios, suggesting its evaluations are heavily influenced by biases rather than true quality assessment.
- Position switching helps, but has limits: While position switching mitigates position bias, its effectiveness in reducing non-transitivity varies. It's more effective for stronger judges and less so for weaker ones or in scenarios with very similar model capabilities.
Limitations and Future Work
- Dataset limitations: The AlpacaEval dataset, while diverse, might not fully capture all real-world open-ended tasks. Future work could extend evaluations to broader domains.
- Judge model diversity: The study primarily focuses on GPT-4-Turbo and GPT-3.5-Turbo. Extending the analysis to a wider range of LLM judges is an important future direction.
- Human bias: Human preference rankings, used as a reference, can themselves contain biases that might introduce non-transitivity, limiting the ultimate achievable alignment.
- Pointwise vs. Pairwise: The paper focuses on pairwise comparisons. Future work could explore non-transitivity in pointwise evaluations and how converting these to pairwise comparisons might introduce new issues.
- Model expressiveness: While the Bradley-Terry model is sufficient for current ranking needs, more expressive models that capture multi-dimensional model capabilities could offer a more nuanced understanding of model performance.
Summary updated