Abstract
In this paper, we extend the persona-based sequence-to-sequence (Seq2Seq) neural network conversation model to multi-turn dialogue by modifying the state-of-the-art hredGAN architecture. To achieve this, we introduce an additional input modality into the encoder and decoder of hredGAN to capture other attributes such as speaker identity, location, sub-topics, and other external attributes that might be available from the corpus of human-to-human interactions. The resulting persona hredGAN (phredGAN) shows better performance than both the existing persona-based Seq2Seq and hredGAN models when those external attributes are available in a multi-turn dialogue corpus. This superiority is demonstrated on TV drama series with character consistency (such as Big Bang Theory and Friends) and customer service interaction datasets such as Ubuntu dialogue corpus in terms of perplexity, BLEU, ROUGE, and Distinct n-gram scores.
Introduction
Developing conversational AI that maintains a consistent persona over long-term interactions remains a significant challenge. Most existing persona-based models are limited to single-turn responses, often leading to exposure bias and a lack of long-term coherence. Furthermore, standard neural conversation models like Seq2Seq frequently suffer from the "boring response" problem, defaulting to generic phrases such as "I don't know" or "I'm sorry." While Generative Adversarial Networks (GANs) have been used to encourage diversity, they often lack mechanisms to capture specific speaker identities or situational attributes.
To address these issues, researchers have developed phredGAN, a framework that integrates persona-based modeling with multi-turn dialogue history and adversarial learning. By incorporating speaker attributes directly into a hierarchical GAN architecture, the model generates responses that are contextually relevant and personality-consistent.
Methodology
The phredGAN architecture is built upon three primary components:
- Hierarchical Encoding (HRED): The model utilizes three Recurrent Neural Networks (RNNs): an encoder RNN for individual utterances, an attention RNN for memory, and a context RNN to track the conversation state across multiple turns.
- Attribute Embeddings: External attributes, such as Speaker ID, are converted into learned vector embeddings. These are fed into both the encoder and decoder, conditioning the generation process on the speaker's identity.
- Adversarial Training: The system employs a GAN framework where a Generator produces responses and a Discriminator attempts to distinguish them from real human responses. This competition encourages the production of high-quality, diverse text.
Additionally, the researchers explored two types of noise injection—utterance-level (phredGAN_u) and word-level (phredGAN_w)—to enhance the model's exploration of the response space during training.
Experimental Evaluation
The model was evaluated using three distinct datasets:
- TV Series Transcripts: Scripts from The Big Bang Theory and Friends were used to test character consistency (e.g., making Sheldon sound like Sheldon).
- Ubuntu Dialogue Corpus (UDC): Technical support interactions were used to evaluate bimodal personas (asker vs. helper).
- Movie Triplets Corpus (MTC): Utilized for pre-training to establish a baseline understanding of dialogue before fine-tuning on specific datasets.
Results and Discussion
Experimental results indicate that phredGAN consistently outperforms baseline models in both quantitative and qualitative measures.
Quantitative Performance
On the TV series dataset, phredGAN achieved a BLEU-4 score of 3.00%, a significant improvement over the 1.90% achieved by baseline persona models. In the Ubuntu dataset, the model reduced Perplexity from 48.18 to 27.3, while also improving ROUGE and Distinct n-gram scores.
Qualitative Insights
A key finding is that multi-turn context enhances persona modeling. By retaining conversation history, the model can leverage persona attributes to maintain a specific tone. Notably, phredGAN avoids the "I love you" trap—a common failure mode where models default to overly polite, generic responses regardless of character traits. Instead, it captures character-specific nuances, such as Penny’s bluntness or Raj’s social awkwardness. In technical contexts like the Ubuntu corpus, the model successfully learned distinct roles for "askers" and "helpers," providing instructions versus feedback appropriately.
Conclusion and Future Work
While phredGAN shows promising results, the reliance on automated metrics like BLEU and ROUGE is a limitation, as they do not always correlate perfectly with human judgment. Future work will involve formal human evaluations and the exploration of more complex attribute sets, such as simultaneous modeling of speaker identity, mood, and location. Additionally, moving toward multi-class GANs could further refine the identity of generated responses by training the discriminator to classify specific personas.
Summary updated