Curriculum Learning for Natural Answer Generation

Cao Liu, Shizhu He, Kang Liu, Jun Zhao

Abstract

Training AI to generate natural, conversational answers is challenging due to the noisy and often brief nature of web-crawled data. This paper introduces CL-NAG, a framework that leverages Curriculum Learning to improve Natural Answer Generation (NAG). By starting with simple, low-quality question-answer pairs and gradually transitioning to complex, high-quality ones, the model learns to produce significantly more accurate and fluent responses.

Introduction: The Challenge of Natural Answers

Traditional Question Answering (QA) systems typically focus on "exact" answers—returning specific entities like "Paris" or "1789." However, modern users prefer Natural Answer Generation (NAG), where the system responds in full, human-like sentences (e.g., "The capital of France is Paris.").

The primary bottleneck for NAG is training data quality. Researchers often rely on Community Question Answering (CQA) sites like Yahoo! Answers or Baidu Zhidao. This data is inherently noisy: answers range from single-word entities to grammatically incomplete or factually thin conversational snippets. Treating all such data as equally "correct" prevents models from learning a consistent, high-quality linguistic style.

Examples of answer quality levels and lexical/sentential ranking.

The CL-NAG Framework

To address these data quality issues, the authors propose CL-NAG, a curriculum-based approach that mimics human learning by starting with basic concepts before moving to advanced material. The framework consists of three core components:

The CL-NAG framework architecture.
  1. Answer Selectors: These rank training data by quality or "difficulty."
    • Term Frequency (TF) Selector (Lexical Level): Identifies informative answers containing rare words.
  2. Grammar (GM) Selector (Sentential Level): Uses the Stanford Parser to score grammatical completeness and fluency.
  3. Instance Scheduler: Acting as a "teacher," this component decides the training sequence. Initially, the model focuses on "common instances" (simple or noisy data) to learn basic Knowledge Base (KB) interactions. Over time, a mathematical scheduler shifts focus toward "target instances"—the high-quality sentences identified by the selectors.
  4. NAG Model: Built on the COREQA architecture, this sequence-to-sequence model utilizes a "copy mechanism" to extract words from the question and "knowledge retrieval" to incorporate facts from a database.

Datasets and Evaluation

The study utilized a large-scale real-world CQA dataset from Baidu Zhidao, grounded with a Knowledge Base using integer linear programming. The data was categorized into simple-QA (one KB fact) and complex-QA (multiple facts). For rigorous evaluation, the authors hand-labeled 100 high-quality QA pairs to serve as a gold standard for word-based metrics.

Key Insights

  • Noise as a Foundation: Noisy data, such as single-entity names, helps the model learn the fundamental relationship between a question and the Knowledge Base. The curriculum ensures the model learns what the answer is before perfecting how to say it.
  • Dynamic Scheduling: Mixing all data types can dilute quality, while using only high-quality data limits robustness. Dynamic sampling provides the "best of both worlds" by utilizing the full dataset while prioritizing quality in later training stages.
  • Lexical vs. Grammatical Quality: The paper demonstrates that lexical richness and grammatical fluency are distinct. Combining both selectors ensures generated answers are both informative and natural.

Results and Performance

The CL-NAG framework significantly outperformed the state-of-the-art COREQA baseline:

  • Accuracy: Improved by 6.8% for simple questions and 8.7% for complex questions.
  • Human Evaluation: Models were rated higher for correctness, fluency, and coherence in manual evaluations.
  • Quantitative Metrics: Answers showed higher noun counts and increased sentence length, indicating more informative content compared to the baseline.

Limitations and Future Work

Despite its success, the system occasionally suffers from word repetition and fact-matching errors (generating fluent but factually incorrect sentences). Additionally, standard metrics like BLEU and ROUGE were found to correlate poorly with human judgment for NAG. Future work will focus on developing more sophisticated evaluation metrics and incorporating diverse data types into the curriculum.

Summary updated

BibTeX
@inproceedings{liu2018curriculum,
  author = {Cao Liu and Shizhu He and Kang Liu and Jun Zhao},
  title = {{Curriculum Learning for Natural Answer Generation}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/587},
}
Figure