Personalized Dialogue Response Generation Learned from Monologues

Feng-Guang Su, Aliyah R. Hsu, Yi-Lin Tuan, Hung-yi LeeInterspeech 2019

Abstract

Personalized responses are essential for having an informative and human-like conversation. Because it is difficult to collect a large amount of dialogues involved with specific speakers, it is desirable that chatbot can learn to generate personalized responses simply from monologues of individuals. In this paper, we propose a novel personalized dialogue generation method which reduces the training data requirement to dialogues without speaker information and monologues of every target speaker. In the proposed approach, a generative adversarial network ensures the responses containing recognizable personal characteristics of the target speaker, and a backward SEQ2SEQ model reconstructs the input message for keeping the coherence of the generated responses. The proposed model demonstrates its flexibility to respond to open-domain conversations, and the experimental results show that the proposed method performs favorably against prior work in coherence, personality classification, and human evaluation.

Introduction: The Challenge of Personalized Chatbots

Creating a chatbot with a distinct personality usually requires a "persona-based" model trained on thousands of labeled dialogue pairs (e.g., "User: Hello" -> "Speaker A: Howdy!"). However, finding large datasets of dialogues for specific individuals is incredibly difficult.

While we might not have a million chat logs for a specific person, we often have plenty of their monologues—think of a politician’s speeches, a character’s lines in a play, or a YouTuber’s videos. The challenge is that monologues aren't dialogues; they don't show how a person responds to someone else. Previous attempts to bridge this gap often resulted in "generic" responses (like "I don't know") or lost the thread of the conversation entirely.

Proposed Methodology

The authors propose a method that allows a model to learn personality from monologues while maintaining conversational flow through a tripartite architecture. This approach reduces the training data requirement to dialogues without speaker information and monologues of every target speaker.

Conceptual overview of the dialogue generation model using monologues to inform persona-specific responses.

The architecture consists of three primary components designed to balance style and substance:

  1. The Generator (G): A standard Sequence-to-Sequence (Seq2Seq) model that takes an input message and a "persona vector" to produce a response.
  2. The Discriminator (D): This serves two roles. First, it acts as an Adversarial Classifier, checking if the response looks like a "real" sentence. Second, it acts as a Persona Classifier, ensuring the response matches the linguistic style of the target speaker’s monologues.
  3. The Reconstructor (R): This is the "secret sauce" for coherence. It takes the generated response and tries to work backward to guess the original input message. If the reconstructor can't find the original context, the generator is penalized. This forces the model to create responses that are actually relevant to the prompt, not just stylish gibberish.
The tripartite architecture featuring the Generator (G), Reconstructor (R), and Discriminator (D).

The model is trained using a joint method: it learns general conversation flow from unlabeled open-domain dialogues and learns "flavor" from the speaker-specific monologues. During training on general dialogues where no persona is known, the model uses a "zero vector," allowing it to learn the mechanics of language before applying specific styles.

Datasets and Evaluation

The study utilized three primary data sources:

  • OpenSubtitles: A massive, noisy dataset of movie subtitles used to teach the model general conversational "common sense."
  • TV Scripts (Friends and The Big Bang Theory): Used to provide both personalized dialogues (for baseline comparison) and monologues (by extracting individual character lines).
  • Donald Trump’s 2016 Campaign Speeches: Used specifically for human evaluation because political speech is highly distinguishable and provides a clear "persona" for testers to identify.

Key Results

The proposed model was tested against several baselines, including standard Seq2Seq and "Overtrain" models.

  • Automatic Metrics: On the Friends dataset, the proposed model achieved a MaxBLEU of 0.379 (measuring similarity to the persona) and a Persona-cls accuracy of 0.324, significantly outperforming baselines that used the same amount of data.
  • Human Evaluation: When mimicking Donald Trump, judges preferred the proposed model over the standard Seq2Seq model 88.9% of the time for appropriateness and 81.5% of the time for resemblance to his persona.
  • Ablation Studies: Removing the reconstructor caused a significant drop in coherence scores, proving that style-transfer alone is insufficient for functional dialogue.

Conclusion

This research proves that solo speech patterns contain enough "DNA" to inform a dialogue model, effectively bypassing the need for massive interaction datasets. By using a reconstructor (inspired by CycleGANs), the model ensures that the "mutual information" between the prompt and the response remains high, solving the common problem of stylish but irrelevant chatbot responses.

Summary updated

BibTeX
@inproceedings{su2019personalized,
  author = {Feng-Guang Su and Aliyah R. Hsu and Yi-Lin Tuan and Hung-yi Lee},
  title = {{Personalized Dialogue Response Generation Learned from Monologues}},
  booktitle = {Interspeech},
  year = {2019},
  url = {https://openreview.net/forum?id=uL7NKhJuOvd},
}
Figure