Combining Curriculum Learning and Knowledge Distillation for Dialogue Generation

Qingqing Zhu, Xiuying Chen, Pengfei Wu, Junfei Liu, Dongyan Zhao

Abstract

Open-domain dialogue generation remains a significant challenge due to the inherent noise and complexity of human conversation. This paper introduces a hierarchical framework that synergizes Curriculum Learning (CL) and Knowledge Distillation (KD) to improve model performance. By structuring the training process into a "simple-to-complex" schedule—governed by both static data features and dynamic model performance—the framework allows a student model to more effectively mimic a high-performing teacher. Evaluations on the DailyDialog and PersonaChat benchmarks show that this dual-level curriculum significantly enhances response quality and diversity compared to standard baselines.

Introduction

Building robust open-domain dialogue systems is complicated by the variability of web-crawled data. While Knowledge Distillation (KD) is a common technique for transferring knowledge from a large teacher model to a smaller student, standard KD often fails to account for the difficulty of individual training examples. If a student is presented with highly complex or abstract responses too early, it may struggle to converge.

To address this, the authors propose integrating Curriculum Learning (CL), which mimics human education by starting with simple concepts and gradually increasing difficulty. The core contribution is a hierarchical curriculum that operates at both the data level and the model level, ensuring the student model is always learning at an optimal pace.

Methodology

The proposed framework employs a hierarchical curriculum strategy combined with latent space distillation.

Hierarchical Curriculum

  1. Data-Level Curriculum: Dialogue pairs are pre-sorted into difficulty clusters based on sentence length, word entropy (information density), and coherence.
  2. Model-Level Curriculum: A dynamic, self-paced approach uses an adversarial discriminator ($D$) to assess the student's progress. If the discriminator easily distinguishes the student's output from the teacher's, the sample is flagged as "hard," guiding the student to focus on areas where it lags behind.

Latent Space Distillation

Rather than simple token-level mimicry, the student model (a Variational Autoencoder) distills the teacher's latent variable $z$. This approach, implemented via a Wasserstein GAN (WGAN), captures abstract semantic information and avoids common gradient issues in natural language GANs.

Overview of the hierarchical curriculum framework for dialogue generation.

Pacing Functions

The framework utilizes pacing functions to control the transition from easy to hard samples. Experiments showed that an Exponential scheduler performed best, suggesting that starting slowly with simple data allows the student to build a stronger foundation before tackling high-complexity dialogues.

Experimental Results

The model was evaluated on the DailyDialog and PersonaChat datasets. The results demonstrate that the combination of CL and KD provides a "synergy over sum" effect, where the curriculum provides the syllabus and distillation provides expert guidance.

Quantitative Performance

As shown in the results table, the proposed model ("Ours") achieves a BLEU score of 0.357 on DailyDialog, significantly outperforming standard Sequence-to-Sequence (S2S) and standalone KD models. Furthermore, the model shows a dramatic increase in response diversity, with sentence entropy nearly 50% higher than the S2S baseline.

Performance comparison across DailyDialog and PersonaChat datasets.

Human Evaluation

Blind human evaluations confirmed these findings, with volunteers preferring the proposed model's responses for their naturalness and relevance.

Conclusion and Future Work

The integration of hierarchical curriculum learning with knowledge distillation effectively addresses the complexity of dialogue generation. While the model significantly improves quality, it still inherits some "safe response" tendencies from the teacher model. Interestingly, analysis showed that 80.1% of these generic responses originated from the teacher, suggesting the student is highly effective at mimicry. Future work will focus on filtering teacher knowledge to prioritize high-quality responses and extending this framework to other text generation tasks.

Summary updated

BibTeX
@inproceedings{zhu2021combining,
  author = {Qingqing Zhu and Xiuying Chen and Pengfei Wu and Junfei Liu and Dongyan Zhao},
  title = {{Combining Curriculum Learning and Knowledge Distillation for Dialogue Generation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.findings-emnlp.111},
}
Figure