A Comprehensive Analysis of the Effectiveness of Large Language Models as Automatic Dialogue Evaluators

Chen Zhang, Luis Fernando D'Haro, Yiming Chen, Malu Zhang, Haizhou Li

Introduction: The Evaluation Bottleneck

Accurately assessing the quality of human-AI dialogue remains a significant hurdle in natural language processing. Traditional overlap-based metrics like BLEU and METEOR often fail to correlate with human judgment, as they prioritize word-level similarity over conversational flow, relevance, and engagement. While neural evaluators have emerged as an alternative, they frequently struggle with generalization across diverse domains. Large Language Models (LLMs) offer a promising solution due to their extensive general knowledge, yet a systematic understanding of their efficacy as automatic judges has been lacking.

Methodology: Benchmarking 30 LLMs

This study presents a large-scale benchmark of 30 LLMs, including 2 proprietary models (GPT-4 and ChatGPT) and 28 open-source models (e.g., LLaMA, Falcon, BLOOM). The evaluation framework covers two distinct granularities:

  • Turn-level evaluation: Assessing individual responses for relevance, understandability, and interestingness.
  • Dialogue-level evaluation: Assessing entire multi-turn conversations for coherence, engagement, and diversity.

The researchers employed two scoring strategies: explicit scoring, where models provide a numerical rating, and implicit scoring, which leverages the model's internal probability distributions for "Yes" vs. "No" responses to evaluation prompts.

The Impact of Instruction Tuning and Architecture

A primary finding of the analysis is that foundation models (e.g., the original LLaMA) are inadequate evaluators. However, their performance improves dramatically following instruction tuning. Models within the LLaMA family, such as Tulu-13B and Chimera-13B, emerged as the strongest open-source contenders, significantly outperforming other architectures like Falcon or BLOOM.

Comprehensive performance metrics for 30 LLMs across turn-level and dialogue-level evaluation dimensions.

Performance Gap: Proprietary vs. Open-Source

Despite the rapid progress of open-source models, a substantial performance gap remains between them and proprietary systems. GPT-4 stands as the current gold standard, consistently outperforming ChatGPT and Palm-2 across nearly all metrics.

Performance comparison of top-tier models, demonstrating GPT-4's lead in dialogue assessment.

The study also explored ensembling techniques, finding that combining multiple strong open-source models can narrow the gap, occasionally matching the performance of models like ChatGPT.

Robustness and Nuance: Where LLMs Struggle

While LLMs excel at identifying logical coherence and relevance—the "logic" of a response—they struggle with more subjective qualities like "interestingness" and "diversity." There is a notable bias toward "safe" but dull responses, which models often rate as highly as more engaging ones.

Furthermore, the researchers introduced adversarial perturbations to test the robustness of these AI judges. This involved intentionally breaking dialogues by repeating sentences, swapping the order of turns, or inserting random responses. The results were concerning: even top-tier models often failed to penalize these obvious drops in quality. For instance, many models struggled to detect "dullness" attacks or random response insertions, suggesting that LLM evaluators can be fooled by grammatically correct but semantically nonsensical dialogue.

Conclusion

LLMs represent a powerful new tool for automatic dialogue evaluation, with instruction-tuned models showing particular promise. However, the gap between open-source and proprietary models, coupled with vulnerabilities to adversarial perturbations, suggests that further research is needed. Future efforts should focus on improving robustness and developing training objectives that better capture the nuanced, subjective dimensions of human conversation.

Summary updated

BibTeX
@inproceedings{zhang2024comprehensive,
  author = {Chen Zhang and Luis Fernando D'Haro and Yiming Chen and Malu Zhang and Haizhou Li},
  title = {{A Comprehensive Analysis of the Effectiveness of Large Language Models as Automatic Dialogue Evaluators}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i17.29923},
}
Figure