[Paper Review] Improving Multi-turn Dialogue Modelling with Utterance ReWriter
This paper proposes a Transformer-based utterance rewriter to improve multi-turn dialogue systems by resolving coreference and completing omitted information in user utterances. By rewriting utterances to recover contextual dependencies, the model enhances downstream intent detection and response generation, achieving an F1 score of 0.86 and increasing user engagement in online chatbots.
Recent research has made impressive progress in single-turn dialogue modelling. In the multi-turn setting, however, current models are still far from satisfactory. One major challenge is the frequently occurred coreference and information omission in our daily conversation, making it hard for machines to understand the real intention. In this paper, we propose rewriting the human utterance as a pre-process to help multi-turn dialgoue modelling. Each utterance is first rewritten to recover all coreferred and omitted information. The next processing steps are then performed based on the rewritten utterance. To properly train the utterance rewriter, we collect a new dataset with human annotations and introduce a Transformer-based utterance rewriting architecture using the pointer network. We show the proposed architecture achieves remarkably good performance on the utterance rewriting task. The trained utterance rewriter can be easily integrated into online chatbots and brings general improvement over different domains.
Motivation & Objective
- To address the challenge of coreference and information omission in multi-turn dialogues, which hinder accurate understanding and response generation.
- To develop a model-agnostic, memory-efficient pre-processing step that simplifies multi-turn dialogue into a single-turn problem.
- To collect and release a high-quality, manually annotated Chinese dialogue dataset for coreference resolution and information completion.
- To improve intent detection and response quality in real-world chatbot systems through integration of the utterance rewriter.
Proposed method
- The utterance rewriter is trained as an extractive generation task using a modified Transformer architecture enhanced with a pointer network mechanism.
- The model generates rewritten utterances by copying words from either the current utterance or dialogue history using an attention-based mechanism.
- The architecture incorporates the Transformer's self-attention to model intra-sentence dependencies while retaining the ability to copy from source text.
- A new dataset of 20,000 multi-turn Chinese dialogues with human-annotated rewrites is collected for supervised training.
- The model is fine-tuned using a loss function that balances coreference resolution and information completion, with a weighted λ-loss to balance both objectives.
- The trained rewriter is integrated into two online chatbot platforms: a task-oriented system and a chitchat system, for end-to-end evaluation.
Experimental results
Research questions
- RQ1Can a pre-processing utterance rewriter significantly improve multi-turn dialogue understanding by resolving coreference and completing omitted information?
- RQ2How effective is a Transformer-based pointer network architecture for utterance rewriting compared to RNN and standard Transformer baselines?
- RQ3To what extent does integrating the utterance rewriter improve intent classification accuracy in task-oriented dialogue systems?
- RQ4Does the utterance rewriter lead to measurable improvements in user engagement and conversation quality in real-world chatbot applications?
Key findings
- The proposed T-Ptr-λ model achieves an F1 score of 0.86 on the utterance rewriting task, outperforming both RNN and standard Transformer baselines.
- The utterance rewriter improves intent classification precision in a task-oriented chatbot from 81.0% to 89.91%, a relative improvement of over 9%.
- In online A/B testing, the integration of the rewriter increased the average conversation-turns per session (CPS) from 6.3 to 7.7, indicating higher user engagement.
- Human evaluation shows the model's generated rewrites are fluent, with a fluency score of 4.90 out of 5.0, close to the human reference (4.97).
- The rewriter successfully recovers implicit information, such as restoring 'under the weather in Beijing' in a weather-related query, enabling correct intent detection.
- The model generalizes across domains and can be easily integrated into existing black-box dialogue systems without architectural changes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.