CGIM: A Cycle Guided Interactive Learning Model for Consistency Identification in Task-oriented Dialogue

Libo Qin, Qiguang Chen, Tianbao Xie, Qian Liu, Shijue Huang, Wanxiang Che, Zhou YuCOLING 2022

Abstract

Consistency is a critical requirement for task-oriented dialogue (ToD) systems. We present the Cycle Guided Interactive learning Model (CGIM), a framework that explicitly models dependencies between dialogue history, user queries, and knowledge bases to identify inconsistencies. By employing a cycle-guided architecture with Guided Multi-head Attention, CGIM allows sub-tasks to iteratively inform each other. Evaluated on the CI-ToD benchmark, CGIM achieves a state-of-the-art overall accuracy of 56.3%, representing a 5.0% absolute improvement over existing multi-task learning baselines.

Introduction

In task-oriented dialogue (ToD), maintaining consistency across multiple information sources is essential for a positive user experience. If a system provides information that contradicts the knowledge base, ignores the user's specific query, or forgets the preceding dialogue history, the interaction fails. Researchers typically categorize Consistency Identification (CI-ToD) into three sub-tasks:

  1. HCIT: Consistency with the Dialogue History.
  2. QCIT: Consistency with the current User Query.
  3. KBCIT: Consistency with the Knowledge Base.
Examples of inconsistencies in task-oriented dialogue across Knowledge Base (KBCIT), User Query (QCIT), and Dialogue History (HCIT).

Traditional approaches often rely on implicit multi-task learning, where a shared backbone (like BERT) is expected to learn correlations between these tasks automatically. However, these tasks are deeply intertwined; for instance, a user query is often a direct continuation of the dialogue history. CGIM addresses this by moving from implicit to explicit interaction modeling.

The CGIM Framework

CGIM introduces an explicit interaction paradigm through two primary components designed to facilitate information flow between the three sub-tasks.

Guided Multi-head Attention (GMA)

Unlike standard self-attention, the GMA module uses the representation of one task to "guide" the representation of another. This allows the model to explicitly align information between related tasks, such as ensuring the system response matches the specific entity mentioned in the user query while remaining consistent with the dialogue history.

Cycle Interaction Mechanism (CIM)

The core innovation of CGIM is the CIM, which organizes the sub-tasks in a circular flow: History → Query → Knowledge Base → History. By stacking multiple layers of this cycle, the model iteratively refines its understanding, allowing information to propagate through all three context sources. This "triple-interaction" ensures that no piece of context is processed in isolation.

The architecture of CGIM, featuring the BERT-based encoder and the Cycle Interactive Learning Module.

Experimental Evaluation

The model was evaluated on the CI-ToD benchmark, which consists of 2,553 training dialogues and approximately 318 dialogues each for validation and testing. Performance is measured using F1 scores for individual sub-tasks and an Overall Accuracy metric, which requires the model to correctly identify consistency for all three sub-tasks simultaneously.

Key Results

CGIM achieved state-of-the-art (SOTA) results across all metrics:

  • Overall Accuracy: 56.3% (a 5.0% absolute improvement over the BART-multi-task baseline).
  • History Consistency (HI F1): Improved significantly from 0.510 to 0.567.
  • Low-Resource Performance: In settings with only 5% of training data, CGIM outperformed baselines by a wide margin, demonstrating the strength of its explicit inductive bias.

Discussion and Conclusion

The success of CGIM highlights that explicit architectural hints are superior to implicit shared representations for complex consistency tasks. Ablation studies confirmed that the "loop" is essential; removing any single link in the cycle leads to a performance drop across all sub-tasks. Furthermore, the model proved robust to the initial task order in the cycle, suggesting it learns the underlying logic of the dialogue context rather than a rigid sequence of operations.

While CGIM sets a new benchmark for identifying inconsistencies, future work may involve integrating this cycle-guided logic directly into the response generation process to prevent errors before they occur. Additionally, exploring dynamic interaction paths could further optimize the model for varying dialogue complexities.

Summary updated

BibTeX
@inproceedings{qin2022cgim,
  author = {Libo Qin and Qiguang Chen and Tianbao Xie and Qian Liu and Shijue Huang and Wanxiang Che and Zhou Yu},
  title = {{CGIM: A Cycle Guided Interactive Learning Model for Consistency Identification in Task-oriented Dialogue}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2022},
  url = {https://openreview.net/forum?id=P8ivka_ODY9},
}
Figure