A Graph Reasoning Network for Multi-turn Response Selection via Customized Pre-training

Yongkang Liu, Shi Feng, Daling Wang, Kaisong Song, Feiliang Ren, Yifei Zhang

Introduction

In the field of retrieval-based chatbots, the primary challenge is selecting the most appropriate response from a candidate pool based on a multi-turn conversation history. While existing models are proficient at surface-level semantic matching—for instance, linking a response about "trains" to a context about "travel"—they frequently struggle with complex logical reasoning.

Effective response selection often requires the ability to perform logical inference across non-adjacent turns. For example, if a user mentions a departure time in turn 2 and a travel duration in turn 5, the model must synthesize these disparate clues to validate a response about the arrival time. This paper introduces the Graph Reasoning Network (GRN), a framework designed to overcome these limitations by combining customized pre-training with a dual-path reasoning architecture that treats dialogue as a web of interconnected dependencies.

Methodology

The GRN architecture is divided into three primary stages: customized pre-training, dual-path reasoning, and feature aggregation.

The GRN framework overview, illustrating the flow from customized UBERT pre-training to the dual-path reasoning and final aggregation.

1. Customized Pre-training (UBERT)

Standard pre-training objectives like those in BERT or ALBERT are often insufficient for capturing the unique chronological and semantic nuances of human dialogue. To address this, the authors propose UBERT, which incorporates two specialized tasks:

  • Next Utterance Prediction (NUP): The model determines if a specific utterance logically follows a given dialogue segment.
  • Utterance Order Prediction (UOP): The model identifies whether a sequence of utterances is in its original chronological order or has been shuffled.

These tasks force the model to learn the underlying flow and logic of conversation, providing a more robust backbone for contextual representation.

2. Dual-Path Reasoning

Following representation, the model processes information through two parallel modules to capture both global and local context:

  • Sequence Reasoning (Global): This path utilizes multi-head self-attention over summarized context vectors to maintain a high-level overview of the entire conversation.
  • Graph Reasoning (Local): This core innovation involves constructing an Utterance Dependency Graph (UDG). In this graph, each dialogue turn is a node. Edges are established between adjacent turns to preserve chronology and between non-adjacent turns that share logical topics. Topics are identified by extracting keywords using the TextRank algorithm. A Graph Convolutional Network (GCN) then performs message passing across these edges, allowing the model to "reason" by jumping between logically linked utterances.
Mapping a multi-turn dialogue to an Utterance Dependency Graph (UDG) using keyword extraction and chronological links.

3. Aggregation

Finally, a gating mechanism intelligently merges the features from the global sequence path and the local graph path. This combined representation is used to calculate a final matching score for each candidate response.

Experimental Results

The GRN model was evaluated on the MuTual and MuTual^plus benchmarks, which are specifically designed to test reasoning capabilities in multi-turn dialogues derived from English listening comprehension tests.

  • State-of-the-Art Performance: GRN achieved an R@1 of 91.5% on the MuTual dataset, significantly outperforming standard ALBERT (84.7%) and RoBERTa (82.5%) baselines. This performance is remarkably close to the human baseline of 93.8%.
  • Ablation Studies: Removing the GCN module or the UBERT pre-training tasks led to a substantial decline in accuracy, confirming that both the graph-based inference and the specialized pre-training are essential for logical reasoning.
  • Robustness: On MuTual^plus—a harder version including "safe responses" like "I'm not sure"—the model maintained a strong R@1 of 84.1%, though it occasionally struggled with deep logical negations and highly complex grammatical structures.

Conclusion

The Graph Reasoning Network demonstrates that treating dialogue as a graph of topical dependencies rather than a simple linear sequence allows for more sophisticated logical inference. By combining this structural approach with customized pre-training tasks that emphasize dialogue flow, the GRN sets a new standard for reasoning-heavy retrieval-based conversational AI.

Summary updated

BibTeX
@inproceedings{liu2021graph,
  author = {Yongkang Liu and Shi Feng and Daling Wang and Kaisong Song and Feiliang Ren and Yifei Zhang},
  title = {{A Graph Reasoning Network for Multi-turn Response Selection via Customized Pre-training}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i15.17585},
}
Figure