Conversation Generation with Concept Flow

Houyu Zhang, Zhenghao Liu, Chenyan Xiong, Zhiyuan Liu

Abstract

Human conversations naturally evolve around related concepts and scatter to multi-hop concepts. This paper presents a new conversation generation model, ConceptFlow, which leverages commonsense knowledge graphs to explicitly model conversation flows. By grounding conversations to the concept space, ConceptFlow represents the potential conversation flow as traverses in the concept space along commonsense relations. The traverse is guided by graph attentions in the concept graph, moving towards more meaningful directions in the concept space, in order to generate more semantic and informative responses. Experiments on Reddit conversations demonstrate ConceptFlow's effectiveness over previous knowledge-aware conversation models and GPT-2 based models while using 70% fewer parameters, confirming the advantage of explicit modeling conversation structures.

Introduction

Standard neural conversation models often suffer from the "degeneration problem," where they produce dull, repetitive, or generic responses like "I don't know." While recent research has attempted to ground these models in external knowledge graphs, many existing approaches treat this data as a static memory bank, failing to capture the dynamic, shifting nature of human dialogue. In real-world interactions, speakers smoothly transition between related concepts, moving from immediate topics to more distant, creative associations.

To address this, the authors propose ConceptFlow, a model that explicitly maps conversation flows as traverses within a commonsense knowledge graph. By modeling these multi-hop transitions, the system can generate more informative and contextually rich responses.

Figure 1: Illustration of the concept flow mechanism, showing how a post's concepts (zero-hop) lead to related one-hop and two-hop concepts in the knowledge graph to inform a response.

Methods

ConceptFlow uses an encoder-decoder architecture that treats dialogue as a path through a structured knowledge space.

Concept Graph Construction

For every input prompt, the model identifies directly mentioned "zero-hop" concepts. It then expands this set by querying ConceptNet for immediate neighbors ("one-hop") and their subsequent neighbors ("two-hop"). To maintain computational efficiency despite the exponential growth of nodes, a lightweight concept selector prunes the two-hop graph down to the top 100 most relevant concepts per conversation.

Model Architecture

The architecture integrates three distinct information flows:

  1. Central Flow Encoding: Zero-hop and one-hop concepts are encoded using a Graph Neural Network (GNN) to capture the immediate semantic context.
  2. Outer Flow Encoding: Two-hop concepts are processed via a specialized "Flow Attention" mechanism over concept-relation triples, allowing the model to incorporate more distant but logically connected ideas.
  3. Gated Decoding: During text generation, a control gate mechanism decides at each step whether to output a standard vocabulary word, a central concept, or a two-hop concept.
Figure 2: The ConceptFlow model architecture, highlighting the integration of the post encoder, GNN-based central concept encoding, and flow-attention-based outer subflow encoding.

Experiments and Results

The model was evaluated using a Reddit conversation dataset containing over 3.3 million training pairs, grounded by the ConceptNet knowledge graph.

Performance Metrics

ConceptFlow significantly outperformed baseline models such as CCM and even a fine-tuned GPT-2. It achieved a BLEU-4 score of 0.0246, nearly double that of GPT-2 (0.0124). Remarkably, ConceptFlow achieved these results with only ~35.3 million parameters, representing a 70% reduction compared to the 124M-parameter GPT-2.

Human Evaluation

In blind human tests, ConceptFlow was rated highest for both appropriateness and informativeness. Judges selected ConceptFlow's responses as the best 30.4% of the time, compared to 26.2% for GPT-2 and 17.0% for CCM.

The Value of Multi-Hop Reasoning

An ablation study revealed that expanding the graph from one-hop to two-hop increased the recall of ground-truth concepts from 39% to 61%. This demonstrates that modeling multi-hop traverses is essential for capturing the semantic breadth required for natural human conversation.

Conclusion

ConceptFlow demonstrates that explicit modeling of conversation structures as graph traverses is a highly effective way to generate semantic and informative responses. By leveraging structured commonsense knowledge, the model achieves superior performance and parameter efficiency, suggesting that structured knowledge is a powerful alternative to brute-force scaling in dialogue systems.

Summary updated

BibTeX
@inproceedings{zhang2020conversation,
  author = {Houyu Zhang and Zhenghao Liu and Chenyan Xiong and Zhiyuan Liu},
  title = {{Conversation Generation with Concept Flow}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.acl-main.184},
}
Figure