Abstract
Retrieval-based multi-turn dialogue systems face significant challenges in capturing user intent across complex conversation histories. This paper introduces Deep Utterance Aggregation (DUA), a novel framework that improves context representation by explicitly fusing the most recent utterance into previous turns and utilizing self-matching attention to filter noise. Evaluated on the Ubuntu Dialogue Corpus, Douban Conversation Corpus, and a new E-commerce Dialogue Corpus (ECD), DUA achieves state-of-the-art performance, demonstrating superior context representation and response selection capabilities.
Introduction
Building chatbots capable of multi-turn conversation is significantly more complex than single-turn question-answering. In a multi-turn setting, the system must parse the entire history to select the most appropriate response. Existing retrieval-based models often struggle with two primary issues:
- Noise and Redundancy: Concatenating previous utterances often results in a long, noisy string where the core intent is obscured by conversational filler.
- Turn Indifference: Many models treat all previous turns as equally important, failing to recognize that the last utterance typically contains the most critical user intent, while earlier turns provide necessary context.
The DUA framework aims to create a fine-grained context representation that prioritizes the most recent message while filtering out irrelevant information from the history.
Methodology: Deep Utterance Aggregation
The DUA model processes conversation history through five specialized modules designed to refine the relationship between the context and the candidate response.
- Utterance Representation: Each utterance and the candidate response are encoded using a Gated Recurrent Unit (GRU) to capture word-level dependencies.
- Turns-aware Aggregation: A core innovation of DUA is the explicit fusion of the last utterance's representation into every preceding utterance. This ensures the most recent intent acts as a "guideline" for interpreting the history.
- Matching Attention Flow: The model employs a self-matching attention mechanism to identify salient features within the fused representations, effectively pruning redundant information and "distilling the linchpins" of the conversation.
- Response Matching: Word-level and utterance-level matching matrices are constructed for each utterance-response pair and processed via a Convolutional Neural Network (CNN) to extract local matching features.
- Attentive Turns Aggregation: Finally, matching vectors are fed into a GRU in chronological order. An attention mechanism weighs the importance of different turns to calculate the final matching score.
Datasets
The researchers evaluated DUA on three major multi-turn benchmarks:
- Ubuntu Dialogue Corpus: A large-scale dataset of technical support logs.
- Douban Conversation Corpus: An open-domain dataset from a Chinese social networking site.
- E-commerce Dialogue Corpus (ECD): A new dataset released with this paper, featuring real-world customer service interactions from Taobao. ECD covers diverse intents such as commodity consultation, logistics, and negotiation.
Experimental Results
DUA consistently outperformed baseline models, including the previous state-of-the-art Sequential Matching Network (SMN), across all datasets.
On the Ubuntu Corpus, DUA achieved an $R_{10}@1$ of 0.752 (vs. SMN's 0.726). On the Douban Corpus, it reached a MAP of 0.551 (vs. SMN's 0.529). For the newly introduced ECD, DUA showed a significant improvement with an $R_{10}@1$ of 0.501, compared to 0.453 for SMN.
Discussion and Future Work
Ablation studies highlighted that the Matching Attention Flow module is critical for performance, as it allows the model to focus on "linchpin" keywords (e.g., specific product names or complaints) while ignoring filler. The results suggest that sophisticated context fusion is necessary to move beyond simple utterance-by-utterance matching.
However, limitations remain. The model can struggle when users pack multiple intentions into a single message or when the topic shifts abruptly between different products. Future research may explore explicit topic recognition and more flexible evaluation metrics that account for multiple valid responses in a conversation.
Summary updated