Abstract
Modern dialog systems trained on massive, diverse datasets often suffer from inconsistent personas. This paper proposes a two-stage transfer learning framework to address this "multiple personality" problem. By first training on a large general corpus and then fine-tuning on a small stylized dataset—augmented by a novel vocabulary alternation technique—the system generates responses that are both contextually appropriate and stylistically consistent.
Introduction
Most contemporary dialog models are trained on vast social media datasets, such as Twitter, which contain millions of distinct voices. Consequently, these models often exhibit inconsistent personas, fluctuating between various social registers and styles. Training a consistent model from scratch is difficult because large-scale, style-specific datasets are rarely available. This research explores how to impart a specific persona using only a limited amount of stylized data.
Methods
The proposed approach utilizes a two-stage training strategy rooted in transfer learning:
- Dialog Training: A sequence-to-sequence (seq2seq) model is trained on a massive general dialog corpus (3.7 million pairs) to learn conversational logic and fluency.
- Style Training: The pre-trained model is fine-tuned on a much smaller "style corpus" to shift the output distribution toward specific stylistic markers.
A critical component of this framework is Vocabulary Alternation (Trans+alt). To ensure the model can use style-specific terminology that might be absent from the general vocabulary, the authors identify frequent words in the style corpus and swap them into the model's vocabulary, replacing the least frequent words from the general corpus.
Datasets
The study employed three primary datasets:
- General Dialog Corpus: 3.7 million Japanese utterance pairs extracted from Twitter.
- Tetsuko Corpus: ~12,500 pairs from subtitles of a TV show featuring a polite, elderly female personality.
- Oja Corpus: ~1,500 pairs from a cartoon character using archaic, classical Japanese, representing a particularly low-resource scenario.
Results
The models were evaluated by humans on Appropriateness (AR) and Stylistic Consistency (SC). The results demonstrate that the Trans+alt approach significantly outperforms both the baseline and a simple "Mix" training strategy.
Key findings include:
- Massive Consistency Gains: For the "Oja" style, stylistic consistency jumped from a baseline of 2.5% to 82.5% with
Trans+alt. - Improved Appropriateness: Transfer learning actually increased response relevance. For the "Tetsuko" style, appropriateness rose from 49.0% to 60.0%.
- Vocabulary Impact: The success of the
Trans+altmethod suggests that having the correct lexical "tools" is as important as the training data volume for style transfer. The authors hypothesize that while conversational logic requires millions of examples, style can be learned from far fewer if the vocabulary is properly managed.
Conclusion
This research demonstrates that while conversational logic requires massive data, stylistic nuances can be learned from much smaller datasets through effective transfer learning. The two-stage approach not only improves stylistic consistency but also enhances the overall quality of responses by filtering out the noise of general social media data. Future work will focus on maintaining consistency across multi-turn dialogs and developing automated methods for style corpus collection.
Summary updated