Towards an automatic Turing test: Learning to evaluate dialogue responses

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

The Challenge of Evaluating Dialogue

Evaluating non-task-oriented "chit-chat" dialogue systems is notoriously difficult. In domains like machine translation, there are typically only a few valid ways to translate a sentence. In open-ended conversation, however, the space of valid responses is massive.

Currently, researchers heavily rely on word-overlap metrics like BLEU, ROUGE, or METEOR. These metrics measure how many words a model's response shares with a single "gold standard" reference. Unfortunately, these metrics are deeply flawed for dialogue: a perfectly valid and engaging response like "Sounds great!" receives a score of zero if the reference response was "Let's go to the movies." This lack of correlation with human judgment forces researchers to rely on expensive, slow human evaluations to measure progress. To bridge this gap, this paper formulates automatic dialogue evaluation as a supervised learning problem.

Introducing ADEM

The authors propose the Automatic Dialogue Evaluation Model (ADEM), an end-to-end differentiable model that learns to predict the score a human evaluator would give to a dialogue response.

Architecture and Scoring

ADEM explicitly incorporates the conversation history, allowing it to recognize when a response is relevant to the topic even if it doesn't match the reference text. It uses a hierarchical Recurrent Neural Network (RNN) encoder that takes three inputs: the conversation context ($c$), the reference response ($r$), and the model's proposed response ($\hat{r}$).

The ADEM architecture uses a hierarchical RNN to encode context, reference, and model responses into a shared space for scoring.

After encoding these inputs into vector representations, the model calculates a predicted score using a bilinear form: $$score(c, r, \hat{r}) = (c^T M \hat{r} + r^T N \hat{r} - \alpha) / \beta$$ Here, $M$ and $N$ are learnable matrices that project the model's response into the latent space of contexts and references, respectively. By operating in this embedding space, ADEM captures semantic similarity rather than just exact word matches.

Training Strategy

Because human-labeled dialogue data is scarce, the authors employ a semi-supervised approach:

  1. Pre-training: The underlying encoder is pre-trained as part of a Latent Variable Hierarchical Recurrent Encoder-Decoder (VHRED) model on the massive Twitter Corpus to learn rich, general dialogue representations.
  2. Fine-tuning: The projection matrices ($M$ and $N$) are then fine-tuned using a squared error loss on a newly introduced dataset of 4,104 human-scored responses.

Key Results and Insights

ADEM demonstrates a significant leap in evaluation accuracy compared to traditional metrics.

  • Superior Correlation: At the utterance level, ADEM achieved a Pearson correlation of 0.39 with human scores. In stark contrast, BLEU-2 and ROUGE achieved mere correlations of 0.12 and 0.14, respectively.
  • System-Level Ranking: While predicting the exact score for a single sentence is challenging, ADEM excels at ranking different systems. At the system level (averaging scores across many responses), ADEM achieved a Pearson correlation of 0.98, producing the exact same ranking of models as human evaluators.
Scatter plots comparing model scores to human judgments. ADEM (c) shows a much stronger correlation than BLEU-2 (a) or ROUGE (b).
  • Generalization: Crucially, a "leave-one-out" experiment showed that ADEM can accurately score responses from model architectures it had never seen during training. This proves the metric learns general qualities of good dialogue rather than memorizing specific model quirks.
  • Efficiency: Once trained, ADEM can evaluate 10,000 responses in about 2.5 minutes on a GPU, making it orders of magnitude faster and cheaper than human trials. Furthermore, unlike traditional metrics, ADEM does not exhibit a bias toward responses that simply match the length of the reference.

Limitations and Future Directions

While a massive improvement over word-overlap metrics, ADEM has limitations. Because it is trained with a squared error loss, it tends to be conservative, predicting scores closer to the mean rather than extreme highs or lows. It also inherits human biases, such as assigning high scores to safe, generic responses (e.g., "I don't know").

Future work may need to explicitly penalize a lack of informativeness or explore adversarial training techniques to help the model better distinguish between human nuances and machine-generated text. Ultimately, ADEM represents a critical step toward an automatic Turing test, enabling faster and more reliable prototyping in dialogue research.

Summary updated

BibTeX
@inproceedings{lowe2017towards,
  author = {Ryan Lowe and Michael Noseworthy and Iulian V. 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