Introduction
Open-domain dialogue systems, or chatbots, frequently suffer from a "degeneration" problem. While modern models can generate grammatically correct sentences, they often struggle with long-term coherence, becoming repetitive or failing to steer a conversation toward meaningful topics. Word-level models lack semantic direction, and utterance-level models often fail to plan beyond the immediate turn.
The fundamental challenge lies in learning semantic transitions—understanding which topics naturally follow others in human discourse. This paper introduces CG-Policy, a reinforcement learning (RL) framework that treats conversation as navigation across a "Conversational Graph" (CG). By grounding the RL agent's actions in a pre-constructed map of successful human interactions, the system learns to generate more coherent and sustainable dialogue.
Methodology: The Conversational Graph
The core of the proposed system is the Conversational Graph, which represents the semantic and stylistic space of potential dialogues.
1. Graph Construction
The authors build the CG from large-scale dialogue corpora (e.g., the Weibo dataset). The graph consists of two types of nodes:
- What-vertices: These represent keywords or content topics.
- How-vertices: These represent "responding mechanisms"—specialized MLP networks that capture different speaking styles or ways to express the chosen content.
Edges in the graph represent natural transitions observed in real-world data, effectively mapping out how humans move from one topic to another.
2. CG-Policy and NLG
The RL agent, CG-Policy, performs a guided traversal of this graph. When a user sends a message, the system identifies "hit" vertices in the graph. The policy then selects a neighboring "what-vertex" and an associated "how-vertex" to guide the response. This approach significantly prunes the action space, allowing the agent to focus on high-quality candidate actions rather than every possible word in a vocabulary.
Finally, a specialized Natural Language Generation (NLG) component, the Seq2BF decoder, takes the selected keyword and responding mechanism to produce a fluent, contextually relevant sentence.
Optimization via Graph-Grounded Rewards
To ensure the bot remains engaging, the authors implement rewards based on graph properties:
- Sustainability: Using PageRank scores, the model is rewarded for choosing "hub" topics—keywords that are highly connected and lead to more conversational possibilities, avoiding dead-ends.
- Global Coherence: TransE embeddings are used to ensure that the transition from the current state to the next topic is semantically sound on a global level.
Experimental Results
The CG-Policy was evaluated against state-of-the-art baselines, including LaRL and ChatMore, using the Weibo and Persona Dialog datasets.
Performance Metrics
In human evaluations on the Weibo dataset, CG-Policy demonstrated superior performance across multiple dimensions, particularly in coherence and informativeness.
Key findings include:
- Coherence: CG-Policy achieved a coherence score of 1.26, significantly higher than ChatMore (0.88) and LaRL (0.82).
- Diversity: The model maintained high diversity (Dist-2 scores) because the "how-vertices" allowed for multiple ways to express the same underlying topic.
- Target Steering: In tasks requiring the bot to steer the conversation toward a specific goal keyword, CG-Policy achieved a 98% success rate, far exceeding previous retrieval-based methods (69%).
Conclusion and Future Directions
By grounding reinforcement learning in a conversational graph, CG-Policy effectively addresses the degeneration problem in open-domain dialogue. It decouples "what to say" from "how to say it," allowing for strategic topic management and varied expression.
A current limitation is the static nature of the graph; the model's knowledge is bound by the initial training corpus. Future research may explore dynamic graph updates or hierarchical topic management to enable even more complex, long-form interactions across broader domains.
Summary updated