Keyword-Guided Neural Conversational Model

Peixiang Zhong, Yong Liu, Hao Wang, Chunyan Miao

Abstract

Open-domain conversational agents often lack the ability to proactively steer a dialogue toward a specific goal. This paper presents the Commonsense-aware Keyword-guided neural Conversational model (CKC), which grounds keyword transitions and response retrieval in a Commonsense Knowledge Graph (ConceptNet). By moving beyond simple word embedding similarities, CKC achieves more natural topic transitions and reaches target keywords faster than existing state-of-the-art methods.

Introduction

Most current open-domain conversational AI models are passive, responding to user input without a clear objective. However, applications such as conversational recommendation or education require agents to actively guide the conversation toward a "target keyword." The primary challenge lies in balancing transition smoothness—avoiding abrupt subject changes—with the speed of reaching the target.

Existing models often struggle due to noisy training data (where human transitions are often illogical) and a reliance on word embeddings. While embeddings group contextually similar words, they fail to capture the logical, commonsense reasoning humans use to bridge distinct topics.

Methods: The CKC Model

The CKC model addresses these challenges by grounding the agent in a Commonsense Knowledge Graph (CKG), specifically ConceptNet. The architecture consists of three integrated components:

  1. CKG-Aware Next-Turn Keyword Prediction: To mitigate noisy data, the authors filter training sets to include only keyword transitions present in the CKG. A Gated Graph Neural Network (GGNN) encodes the CKG, while a Hierarchical GRU processes conversation history to predict logically sound next-turn keywords.
  2. CKG-Guided Keyword Selection Strategy: Instead of embedding similarity, the model uses the Floyd-Warshall algorithm to find the shortest weighted path on the CKG. It selects the predicted keyword that offers the most logical path toward the final target.
  3. Keyword-Augmented Response Retrieval: The model employs a dual-matching approach for response retrieval. It compares standard utterance representations (via GRUs) and CKG-aware keyword/concept representations to ensure the retrieved response aligns with the intended topic.
The architecture of the CKC model, highlighting the integration of the Commonsense Knowledge Graph (CKG) for keyword prediction and response retrieval.

Datasets

The model was evaluated on two datasets:

  • ConvAI2: A standard open-domain dataset collected from crowd-workers.
  • Reddit: A new, large-scale dataset scraped from subreddits like CasualConversation, providing more diverse linguistic patterns.

Key Results

The CKC model was compared against several baselines, including the previous state-of-the-art, DKRN.

Performance comparison of CKC against baseline models for keyword prediction on the ConvAI2 and Reddit datasets.

Quantitative results show that CKC consistently outperforms baselines in both keyword prediction and response retrieval. On ConvAI2, CKC achieved a Precision@1 of 21.98% for keyword prediction, outperforming DKRN's 20.09%. In self-play simulations, CKC reached target keywords more frequently (28.9% success rate) and in fewer turns (4.23 turns) than its competitors. Human evaluation further confirmed that CKC produces smoother, more natural transitions (3.27/5 vs DKRN's 3.01/5).

Conclusion

The CKC model demonstrates that incorporating commonsense knowledge graphs is superior to relying solely on word embeddings for guided conversation. While the model sets a new state-of-the-art, success rates remain limited by the response retrieval module's ability to find natural sentences containing specific keywords. Future work will focus on training retrieval models on datasets where keywords and responses are more explicitly linked.

Summary updated

BibTeX
@inproceedings{zhong2021keyword,
  author = {Peixiang Zhong and Yong Liu and Hao Wang and Chunyan Miao},
  title = {{Keyword-Guided Neural Conversational Model}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i16.17712},
}
Figure