Dynamic Knowledge Routing Network for Target-Guided Open-Domain Conversation

Jinghui Qin, Zheng Ye, Jianheng Tang, Xiaodan Liang

Abstract

Target-guided open-domain conversation requires an agent to proactively steer a dialogue toward a specific target keyword while maintaining naturalness. We present the Dynamic Knowledge Routing Network (DKRN), which utilizes a semantic knowledge graph to prune irrelevant topics and a dual guiding strategy to ensure target achievement. Evaluated on a new large-scale Chinese Weibo dataset (CWC) and the TGPC benchmark, DKRN significantly outperforms previous models in success rate and transition smoothness.

Introduction

Most contemporary conversational agents are reactive, responding to user input without a specific agenda. However, many real-world applications—such as therapeutic counseling, sales, or education—require agents to be proactive, guiding the user toward a specific goal or topic. This task, known as Target-Guided Open-Domain Conversation, presents two primary challenges: maintaining transition smoothness to avoid jarring topic shifts and ensuring target achievement by selecting responses that actually contain or lead to the target keyword.

Methodology

The proposed Dynamic Knowledge Routing Network (DKRN) addresses these challenges by decoupling the problem into keyword prediction and response retrieval, governed by a novel routing mechanism.

Dynamic Knowledge Routing Network

The core of the system is the DKRN, which features two distinct branches for keyword prediction:

  1. Basic Keyword Prediction Branch: A standard recurrent neural network (RNN) that suggests a distribution of potential next keywords based on conversation history.
  2. Explicit Knowledge-Routed Branch: This branch utilizes a Knowledge Relation Graph built from large-scale chat data. It identifies natural transitions from the current topic and generates a "Relation Mask Vector" to filter out irrelevant suggestions from the basic branch.
The architecture of the Dynamic Knowledge Routing Network (DKRN), illustrating the dual-branch keyword prediction and the keyword-augmented response retrieval process.

Dual Discourse-Level Strategy

Unlike previous models that only constrained keyword prediction, DKRN employs a dual strategy that also constrains response selection. This ensures that the retrieved response either contains the target keyword or moves the conversation semantically closer to the goal, as measured by word embedding cosine similarity.

Keyword-Augmented Response Retrieval

The system uses a Sequential Matching Network (SMN) to retrieve the best response from a corpus. The selection is conditioned on both the conversation history and the selected "bridge" keyword, ensuring the final utterance is both contextually relevant and strategically aligned.

Datasets

The model was evaluated on two benchmarks:

  • TGPC (Target-guided PersonaChat): A standard dataset with approximately 9,000 conversations.
  • CWC (Chinese Weibo Conversation): A new, large-scale dataset introduced in this work, containing over 900,000 conversations crawled from Sina Weibo. This dataset provides a more diverse and realistic benchmark for testing topic transitions.

Experimental Results

DKRN demonstrates superior performance across both datasets in terms of keyword prediction accuracy and response retrieval quality.

Quantitative performance comparison of DKRN against state-of-the-art baselines on the TGPC and CWC datasets.

Key Findings

  • Success Rate: On the TGPC dataset, DKRN achieved an 89% success rate, a significant improvement over the 62.5% achieved by previous state-of-the-art models. On the more challenging CWC dataset, it maintained a high success rate of 84.4%.
  • Smoothness: Human evaluations rated DKRN's transitions at 3.22/5.0 for smoothness, compared to 2.48 for the baseline models.
  • Efficiency: The model typically reaches the target keyword within approximately 5 turns, demonstrating an efficient guiding strategy.

Conclusion

By integrating a knowledge-based routing mechanism and a dual-constraint strategy, the DKRN effectively navigates the vast space of open-domain conversation. The use of a knowledge graph to prune the action space allows for more natural "bridge" topics, while the dual strategy ensures that the agent's utterances consistently move toward the target. Future work will explore reinforcement learning to further refine multi-turn negotiation and persuasion strategies.

Summary updated

BibTeX
@inproceedings{qin2020dynamic,
  author = {Jinghui Qin and Zheng Ye and Jianheng Tang and Xiaodan Liang},
  title = {{Dynamic Knowledge Routing Network for Target-Guided Open-Domain Conversation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i05.6390},
}
Figure