Introduction
Maintaining a consistent persona is a fundamental trait of human conversation. However, neural dialogue models often struggle with this, frequently generating responses that contradict their assigned persona traits. This "personality-inconsistent" problem arises because models are typically trained on diverse datasets, leading them to prioritize the most frequent response over persona-specific accuracy. To address this, researchers have proposed the Generate, Delete, and Rewrite (GDR) framework.
The GDR Framework
The GDR framework decomposes the dialogue generation process into three distinct stages, moving away from traditional one-stage decoding which often fails to capture fine-grained persona contradictions.
1. Generate: Prototype Generation
The first stage uses a Transformer-based model to produce an initial "response prototype." A key innovation here is the tuple-interaction mechanism. Unlike simple concatenation, this mechanism explicitly models the relationships between the persona ($P$), the user query ($Q$), and the target response ($Y$), ensuring the generated prototype is contextually grounded.
2. Delete: Consistency Matching
In the second stage, the prototype is evaluated against the persona using a model trained on Natural Language Inference (NLI). If a contradiction is detected, the system identifies the specific words responsible for the inconsistency—often just one or two high-stakes terms like locations or hobbies. These words are replaced with <mask> tokens.
3. Rewrite: Masked Prototype Rewriting
The final stage takes the masked prototype and the persona as inputs. Acting similarly to a denoising autoencoder, the rewriter fills in the masks to produce a final response that is both fluent and strictly consistent with the assigned persona.
Experimental Evaluation
The GDR framework was evaluated using the Persona-Chat and DNLI (Dialogue Natural Language Inference) datasets.
Key Results
GDR demonstrated superior performance across several metrics compared to competitive baselines like GPMN and Per-CVAE:
- Persona Consistency: In human evaluations, GDR achieved a consistency score of 49.2%, significantly higher than the next best model (42.7%).
- Fluency: The model achieved a remarkably low Perplexity (PPL) of 16.7, indicating high confidence and linguistic quality compared to 27.9 for a standard Transformer.
- Diversity: Improvements in Dist-1/2 metrics suggest the model effectively avoids generic, repetitive responses common in simpler chatbots.
Conclusion
The GDR framework effectively addresses persona inconsistency by isolating and correcting contradictory terms. While currently focused on single-turn dialogues, the success of the "denoising" approach in the Rewrite stage provides a robust foundation for future work in multi-turn consistency and more sophisticated deletion heuristics.
Summary updated