Abstract
Dialogue Utterance Rewriting (DUR) aims to transform fragmented or context-dependent utterances into standalone sentences. Traditional sequence-to-sequence (Seq2Seq) models often lack robustness, particularly when generalizing to new domains. This paper introduces RAST (Rewriting as Sequence Tagging), a novel approach that frames DUR as a sequence tagging task. By constraining the model to deletion and span-based insertion operations, RAST significantly reduces the search space and prevents hallucinations. Experimental results on Chinese dialogue benchmarks show that RAST outperforms existing models, achieving gains of up to 14.6 BLEU4 points in cross-domain evaluations.
Introduction
In natural human conversation, efficiency is key. We frequently omit words (ellipsis) or use pronouns (coreference) to refer to previously mentioned entities. For an AI to maintain coherence in multi-turn dialogues, it must "rewrite" these incomplete utterances into complete sentences.
Current state-of-the-art models typically treat this as a standard Seq2Seq generation task. However, these models are often brittle; their performance drops significantly when they encounter data from a different domain than their training set. The authors posit that the vast search space of text generation allows models to produce irrelevant or "hallucinated" text when faced with unfamiliar contexts.
Methodology: Rewriting as Sequence Tagging (RAST)
To address the robustness issue, the authors propose RAST. Instead of generating a sentence from scratch, RAST predicts tags for each word in the current utterance.
The model makes two primary decisions for each token:
- Deletion: A binary tag (0 or 1) indicating whether the word should be removed.
- Insertion: A tag representing a
[start, end]span from the previous dialogue context to be inserted before the current word.
This formulation ensures the output remains grounded in the original dialogue. To improve fluency and handle word-to-word dependencies, the authors incorporate a REINFORCE framework. The model is optimized using rewards based on sentence-level BLEU (for reference matching) and GPT-2 Perplexity (for natural language fluency).
Experimental Setup
The approach was evaluated on two major Chinese dialogue rewriting benchmarks:
- REWRITE: A dataset of ~20k examples with 3-turn dialogues.
- RESTORATION: A larger, more complex dataset (~204k examples) with 6-turn dialogues. Approximately 40% of instances in RESTORATION require no rewriting, testing the model's precision.
The researchers specifically focused on cross-domain evaluation—training on one dataset and testing on the other—to measure generalization capabilities.
Results and Discussion
RAST demonstrated superior performance, particularly in cross-domain scenarios. When trained on the smaller REWRITE dataset and tested on the RESTORATION test set, the performance gap was most evident.
As shown in the results table, the standard TRANS-PG+BERT baseline achieved a BLEU4 score of 55.3 on the RESTORATION test set. In contrast, the RAST+RL-GPT2 model reached 80.3 BLEU4. Furthermore, the Exact Match (EM) score—a strict metric requiring the output to be identical to the human reference—jumped from 7.4% for the baseline to 31.8% for RAST.
Key Insights
- Constraint-Driven Robustness: By limiting the output to deletions and context-spans, the reduced search space prevents the model from generating nonsense in new domains.
- Semantic Preservation: The tagging approach inherently preserves the core meaning of the input better than generative models, which might omit key information.
- Reference-Free Rewards: Utilizing a pre-trained GPT-2 for fluency rewards allows the model to improve without additional labeled data, acting as a "sanity check" for tagging decisions.
Conclusion
RAST offers a robust alternative to generative models for dialogue rewriting. While the tagging approach currently covers approximately 93.5% of cases in standard benchmarks, future work will focus on handling more complex paraphrasing tasks that require creative rewriting beyond simple span insertion. The success of this tagging-based philosophy suggests potential applications in other text-editing domains, such as grammatical error correction and summarization.
Summary updated