Towards an Automatic Turing Test: Learning to Evaluate Dialogue Responses

Ryan Lowe, Michael Noseworthy, Iulian Vlad Serban, Nicolas Angelard-Gontier, Yoshua Bengio, Joelle Pineau

Abstract

Traditional word-overlap metrics like BLEU and ROUGE are insufficient for evaluating open-domain dialogue systems due to the "one-to-many" nature of conversation. This paper introduces the Automatic Dialogue Evaluation Model (ADEM), a learned metric that predicts human-like scores by mapping conversation context, reference responses, and model-generated responses into a shared semantic space. ADEM shows significantly higher correlation with human judgment than previous automated metrics.

Introduction

Evaluating the quality of chatbot responses remains a significant challenge in natural language processing. Unlike machine translation, where a source sentence typically has a limited set of correct translations, a single dialogue prompt can elicit a vast array of semantically diverse yet equally valid responses. Word-overlap metrics fail in this context because they cannot account for semantic equivalence without lexical overlap. Consequently, researchers often rely on human evaluation, which is costly and prevents rapid iteration. ADEM addresses this by learning a scoring function that mimics human appropriateness ratings.

Methodology: The ADEM Model

ADEM treats dialogue evaluation as a supervised learning task. The model utilizes a hierarchical Recurrent Neural Network (RNN) to encode three distinct inputs into vector embeddings: the conversation context ($c$), the ground-truth reference response ($r$), and the candidate model response ($\hat{r}$).

The ADEM architecture and scoring function.

The core of ADEM is its bilinear scoring function: $$score(c, r, \hat{r}) = (c^T M \hat{r} + r^T N \hat{r} - \alpha) / \beta$$ In this equation, $M$ and $N$ are learned weight matrices that project the model response into the semantic spaces of the context and the reference, respectively. This structure allows the model to evaluate a response based on its relevance to the preceding dialogue flow as well as its similarity to a known good answer. To ensure robust representations, the encoder is pre-trained using a Latent Variable Hierarchical Recurrent Encoder-Decoder (VHRED) model on a large-scale Twitter corpus.

Experimental Setup

The authors developed a new human evaluation dataset to train and validate ADEM. This dataset consists of 4,104 examples, each featuring a context, a reference response, and a candidate response generated by one of four systems: TF-IDF, Dual Encoder, HRED, or a human. Human annotators on Amazon Mechanical Turk provided "appropriateness" scores on a 1-5 scale for each triplet.

Results and Discussion

ADEM demonstrates a marked improvement over baseline metrics. At the utterance level, it achieves a Pearson correlation of 0.436 with human scores, compared to just 0.120 for BLEU-2. More impressively, at the system level—ranking the overall performance of different chatbot architectures—ADEM reaches a correlation of 0.954.

Key insights from the study include:

  • Contextual Awareness: By explicitly incorporating context, ADEM recognizes valid responses that word-matching metrics would penalize.
  • Generalization: The model can effectively evaluate dialogue systems it was not exposed to during training, suggesting it learns a generalizable concept of response quality.
  • Bias Mitigation: To prevent the model from simply rewarding short, "safe" responses (a common human bias), the researchers employed subsampling techniques during training.

Conclusion and Future Work

ADEM represents a significant step toward a scalable, automated "Turing Test." While it currently tends toward conservative predictions due to its training objective and inherits some human biases toward generic responses, it provides a far more reliable signal for model development than traditional metrics. Future research may explore adversarial training to further refine the model's ability to distinguish between truly engaging dialogue and safe, template-based replies.

Summary updated

BibTeX
@inproceedings{lowe2017towards,
  author = {Ryan Lowe and Michael Noseworthy and Iulian Vlad Serban and Nicolas Angelard-Gontier and Yoshua Bengio and Joelle Pineau},
  title = {{Towards an Automatic Turing Test: Learning to Evaluate Dialogue Responses}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2017},
  doi = {10.18653/v1/p17-1103},
}
Figure