Towards Quantifiable Dialogue Coherence Evaluation

Zheng Ye, Liucun Lu, Lishan Huang, Liang Lin, Xiaodan Liang

Abstract

Evaluating the coherence of dialogue systems remains a significant challenge, as existing automated metrics often fail to align with human judgment. We present QuantiDCE (Quantifiable Dialogue Coherence Evaluation), a framework designed to move beyond binary classification toward a multi-level ranking approach. By utilizing a novel Multi-Level Ranking (MLR) loss and Knowledge Distillation (KD) fine-tuning, QuantiDCE achieves a 5% improvement in correlation with human judgment over state-of-the-art methods, providing more granular and human-like scoring for chatbot responses.

Introduction

Building AI chatbots that can maintain fluent, consistent, and relevant conversations is a primary goal in natural language processing. However, evaluating "dialogue coherence"—the degree to which a response fits its context—is notoriously difficult. While human evaluation is the gold standard, its high cost and slow turnaround time necessitate reliable automatic metrics.

The Limitations of Current Metrics

Existing automatic evaluation tools typically suffer from two major drawbacks: the "Binary Trap" and the "Alignment Gap." Most models are trained to distinguish only between a "perfect" ground-truth response and a "random" negative sample. This binary approach ignores the reality that coherence exists on a spectrum. Furthermore, many models are trained without human-labeled data, leading to internal scoring systems that do not reflect human intuition.

Humans evaluate dialogue on a multi-level spectrum, whereas traditional AI models often use a binary scale, leading to a gap in judgment.

The QuantiDCE Framework

To address these issues, we introduce QuantiDCE, which employs a two-stage training process to bridge the gap between machine scores and human standards.

Stage 1: Multi-Level Ranking (MLR) Pre-training

The model, built upon a BERT architecture, is first pre-trained on a large-scale dataset of automatically generated examples. We introduce a novel MLR Loss designed to structure the model's "score space" according to three primary objectives:

  • Separation: Responses of different quality levels are pushed far apart in the score space.
  • Compactness: Responses within the same quality level receive similar scores, creating tight clusters.
  • Ordering: The model is forced to maintain a hierarchical order (e.g., Level 3 must always score higher than Level 2).
The MLR loss ensures that different quality levels are well-separated and internally compact, maintaining a clear hierarchical order in the scoring space.

Stage 2: Knowledge Distillation (KD) Fine-tuning

Following pre-training, the model is fine-tuned on a small set of human-annotated data to align its scores with human Likert scales. To prevent the model from overfitting to this limited dataset, we utilize Knowledge Distillation. The pre-trained model serves as a "teacher," ensuring the "student" model retains its general linguistic knowledge while adapting to the specific nuances of human ratings.

Experimental Setup and Datasets

QuantiDCE was pre-trained on DailyDialog++, which includes over 11,000 conversations augmented with golden, adversarial, and random responses to create three distinct quality levels. Fine-tuning was performed on DailyDialogEVAL, a 300-sample human-rated subset. To test generalization, the model was evaluated on 1,200 triplets from DailyDialog, ConvAI2, and EmpatheticDialogues.

Key Results and Insights

Our evaluation demonstrates that QuantiDCE significantly outperforms existing metrics:

  • Improved Correlation: QuantiDCE showed an average 5% improvement in correlation with human judgment (Pearson, Spearman, and Kendall metrics) compared to the previous state-of-the-art model, GRADE.
  • Data Efficiency: The framework remains robust even with minimal human-annotated data. While standard models often overfit when training data is scarce, QuantiDCE’s use of Knowledge Distillation maintains high performance.
  • Granular Scoring: Qualitative analysis shows that QuantiDCE provides nuanced, middle-ground scores (e.g., 2.85) that align closely with human ratings (e.g., 2.10), avoiding the extreme binary scores typical of previous models.

Conclusion and Future Directions

QuantiDCE demonstrates that treating coherence as a quantifiable spectrum rather than a binary choice is essential for accurate dialogue evaluation. Future research will explore increasing the granularity of quality levels (e.g., moving from 3 to 5 levels) and improving data efficiency for generating multi-level training sets. Additionally, we aim to extend this framework to other generation tasks such as summarization and storytelling.

Summary updated

BibTeX
@inproceedings{ye2021towards,
  author = {Zheng Ye and Liucun Lu and Lishan Huang and Liang Lin and Xiaodan Liang},
  title = {{Towards Quantifiable Dialogue Coherence Evaluation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.acl-long.211},
}
Figure