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

TL;DR

This paper presents a massive benchmarking effort to determine if Large Language Models (LLMs) can reliably replace human judges in evaluating dialogue systems. By testing 30 different LLMs across 12 datasets and 15 adversarial attack scenarios, the authors find that while proprietary models like GPT-4 are currently the most effective, instruction-tuned open-source models are closing the gap—though all models remain surprisingly vulnerable to subtle adversarial perturbations.

What Problem Does This Paper Address?

Evaluating how well a chatbot converses is notoriously difficult. Traditional metrics like BLEU or ROUGE, which compare a model's output to a "gold standard" reference, fail because a single dialogue prompt can have infinite valid responses. While human evaluation is the gold standard, it is slow, expensive, and hard to reproduce.

Recent research has pivoted toward using LLMs as automatic evaluators. However, most studies focus on a handful of proprietary models (like ChatGPT) and limited datasets. This paper addresses the lack of a comprehensive, multi-dimensional, and robustness-focused analysis of both proprietary and open-source LLMs as dialogue judges.

Methods

The authors conducted a systematic study involving:

  • 30 LLMs: Including proprietary giants (GPT-4, ChatGPT, Palm-2) and 28 open-source models (variants of LLaMA, Falcon, MPT, etc.).
  • Multi-Dimensional Scoring: Models were asked to rate specific qualities. At the turn level, they assessed relevance, understandability, specificity, and interestingness. At the dialogue level, they assessed coherence, engagingness, informativeness, and diversity.
  • Prompting Strategies:
    • Explicit Scoring: Proprietary models were prompted to provide 1-5 ratings directly.
  • Implicit Scoring: For open-source models with weaker instruction-following, the authors calculated the probability of the model generating "Yes" vs. "No" in response to specific quality questions (e.g., "Is the response relevant?").
  • Ensemble Analysis: They tested whether averaging scores from different dimensions or different models improved correlation with human judgment.
  • Robustness Probing: They introduced 15 types of adversarial perturbations (like swapping pronouns or shuffling utterance order) to see if LLMs could detect a drop in quality.

Datasets

The study utilizes 12 meta-evaluation datasets (6 turn-level, 6 dialogue-level), including well-known benchmarks like FED, DailyDialog, and PersonaChat.

A significant contribution of this work is the "filling in" of missing annotations. Many existing datasets only had "overall" scores; the authors used GPT-4 to generate multi-dimensional annotations for these missing gaps, creating a more complete benchmark for the community.

Figure 1: The instruction template for prompting GPT-4 to annotate both dialogue-level (top) and turn-level (bottom) data. For our meta-evaluation of the proprietary models in- cluding ChatGPT and Palm-2 Bison, we also use this in- struction template.

Key Insights and Ideas

  • Instruction Tuning is the Secret Sauce: Vanilla foundation models are poor evaluators. Alignment techniques like Supervised Fine-Tuning (SFT) and Reinforcement Learning from Human Feedback (RLHF) are essential for a model to understand how to "judge" text.
  • LLaMA is the Open-Source King: Derivatives of the LLaMA family (like Tulu-13B and Chimera-13B) consistently outperformed other open-source families (Falcon, MPT, BLOOM) in evaluation tasks.
  • The "Overall" Score Fallacy: Directly asking an LLM for an "overall quality" score is often less accurate than asking it for specific dimensions (like relevance and coherence) and then averaging them. This "dimension-wise ensemble" significantly boosted performance for several models.
  • Adversarial Blind Spots: Models are surprisingly bad at detecting certain flaws. For instance, many struggle with "unnatural paraphrasing" or "dullness," even when they are good at detecting blatant contradictions.

Key Results

  • GPT-4 Leads: GPT-4 achieved the highest correlation with human judgment, outperforming the next best model (ChatGPT) by a margin of 0.085 at the turn level.
  • The Proprietary Gap: There remains a significant performance gap between proprietary and open-source models. ChatGPT outperformed the best open-source model (Tulu-13B) by roughly 11% on average.
  • Correlation vs. Perfection: Even GPT-4 rarely exceeds a 0.8 Pearson correlation with humans, suggesting that while LLMs are good, they aren't perfect proxies yet.
  • Robustness: Palm-2 Bison showed the best robustness at the turn level, while LLaMA-2-Chat-13B was the most robust at the dialogue level, even beating the proprietary models in some multi-turn scenarios.
Table 2: Dimension-specific Pearson correlation scores of different LLMs.

Limitations and Future Work

The authors acknowledge that using GPT-4 to fill in missing annotations might introduce an "LLM bias," where the benchmark favors models that think like GPT-4. Furthermore, the lack of robustness across all adversarial attacks indicates that current LLMs can be "fooled" by subtle linguistic errors that a human would easily spot.

Future work should focus on:

  1. Developing specialized objectives during training specifically for evaluation tasks.
  2. Improving the robustness of models against fine-grained semantic perturbations.
  3. Exploring more sophisticated ensemble methods beyond simple averaging.

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