Keyword-Guided Neural Conversational Model

Peixiang Zhong, Yong Liu, Hao Wang, Chunyan Miao

Abstract

Traditional conversational agents are often passive, responding to user inputs without a specific objective. This paper presents a Commonsense-aware Keyword-guided (CKC) model designed to proactively steer conversations toward a target keyword. By integrating external Commonsense Knowledge Graphs (CKG), the model facilitates smoother topic transitions and achieves higher success rates in reaching target goals compared to existing similarity-based methods.

Introduction: The Need for Proactive Agents

Most open-domain chatbots function reactively, following the user's lead. However, many practical applications—such as recommendation systems, psychotherapy, or educational tools—require an agent to be "proactive." A proactive agent must steer the conversation toward a specific goal (e.g., a product or a therapeutic topic) without being jarring or repetitive.

Existing target-guided models often struggle with two primary challenges. First, training data for keyword transitions is frequently noisy, containing nonsensical or irrelevant jumps. Second, these models typically rely on simple word embedding similarities (like cosine similarity) to select the next keyword. This approach often fails because semantic proximity (e.g., "dog" and "cat") does not necessarily equate to a logical "stepping stone" toward a distant target (e.g., "juice").

Methodology

The proposed CKC model addresses these issues by decomposing the task into keyword prediction and response retrieval.

Commonsense Knowledge Graph Integration

The model leverages ConceptNet as an external knowledge base, treating the dialogue as a traversal across a graph of concepts. Unlike previous models that look only at the immediate preceding word, CKC uses a Gated Graph Neural Network (GGNN) to encode the local neighborhood of current keywords within the CKG. This allows the model to capture the "commonsense" relationships between topics.

The architecture of the CKC model, highlighting the keyword prediction and utterance matching components.

Strategic Keyword Selection

To reach a target keyword, the model balances the naturalness of a transition with the distance to the goal. Instead of vector math, the model calculates distance using a weighted path length on the CKG (via the Floyd-Warshall algorithm). This graph-based approach better mirrors human logic and prevents the agent from getting stuck in semantic clusters.

Keyword-Augmented Retrieval

The final response is selected via a dual-matching architecture. It matches the conversation context and predicted keywords against a candidate pool, considering both the semantic meaning of the sentences and the specific keywords involved.

Experimental Setup

The model was evaluated on two distinct datasets:

  1. ConvAI2: A standard benchmark based on PersonaChat, featuring persona-driven dialogues.
  2. Reddit: A new, larger dataset curated from r/CasualConversation and r/CasualUK, providing a more diverse and "real-world" test of linguistic patterns.

The researchers also used the CKG to "clean" the training data. By filtering out transitions that did not exist as edges in the knowledge graph, they removed approximately 70% of irrelevant keyword jumps found in standard datasets.

Key Results

The CKC model demonstrated significant improvements over competitive baselines, including the previous state-of-the-art, DKRN.

Performance comparison of the CKC model against baselines on ConvAI2 and Reddit datasets.

As shown in the results, the CKC model achieved a Success Rate of 28.9% on ConvAI2 and 22.7% on the Reddit dataset, consistently outperforming the DKRN model. Furthermore, the model was more efficient, reaching targets in fewer turns (averaging 4.23 turns on ConvAI2). Human evaluations confirmed these findings, with annotators rating CKC's transitions as significantly smoother (3.27 on a 5-point scale) than neural or PMI-based baselines.

Conclusion and Future Work

The CKC model highlights the power of integrating structured commonsense knowledge into neural conversational systems. By treating topic steering as a pathfinding problem on a graph rather than a similarity search in vector space, the model achieves more decisive and natural goal-oriented behavior.

A current limitation lies in the retrieval-based nature of the response system; the model's success is sometimes capped by the availability of high-quality responses in the candidate pool that contain the predicted keyword. Future research will explore generative models that can synthesize responses around specific keywords from scratch, potentially further enhancing the success and naturalness of proactive dialogue.

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