Multi-Task Learning for Speaker-Role Adaptation in Neural Conversation Models

Yi Luan, Chris Brockett, Bill Dolan, Jianfeng Gao, Michel Galley

Abstract

Building a persona-based conversation agent is challenging owing to the lack of large amounts of speaker-specific conversation data for model training. This paper addresses the problem by proposing a multi-task learning approach to training neural conversation models that leverages both conversation data across speakers and other types of data pertaining to the speaker and speaker roles to be modeled. Experiments show that our approach leads to significant improvements over baseline model quality, generating responses that capture more precisely speakers’ traits and speaking styles. The model offers the benefits of being algorithmically simple and easy to implement, and not relying on large quantities of data representing specific individual speakers.

Introduction

Standard neural conversation models, particularly Sequence-to-Sequence (Seq2Seq) architectures, often suffer from the "blandness" problem. Because these models are typically trained to maximize the likelihood of a response across massive, diverse datasets, they tend to generate safe, generic phrases like "I don't know" or "I'm not sure." While these responses are statistically probable, they lack the specific persona or role-based expertise required for effective conversational agents, such as technical support bots or personalized assistants.

Developing a chatbot with a distinct "voice" is difficult because speaker-specific conversational data is scarce. While general chat logs are abundant, finding millions of turns of dialogue for a specific individual or professional role is rare. This research explores whether a person's non-conversational writing—such as blog posts or single social media updates—can be used to teach a model their unique speaking style and domain knowledge.

Methodology

The researchers propose a Multi-Task Learning (MTL) framework that simultaneously trains a model on two distinct objectives. This approach allows the model to learn the mechanics of conversation from general data while absorbing stylistic and topical traits from persona-specific text.

The Multi-Task Framework

  1. The Seq2Seq Task: A standard conversational task where the model learns to predict a response given a dialogue history using a large-scale general conversation dataset.
  2. The Autoencoder Task: An unsupervised task where the model takes persona-specific, non-conversational data (e.g., a single tweet or blog post) and attempts to reconstruct that same text.
The multi-task learning framework combining Seq2Seq and Autoencoder tasks with shared decoder parameters.

The core innovation lies in the shared parameters. As shown in Figure 1, both tasks share the same decoder (Target LSTM). By forcing the decoder to handle both conversational responses and the reconstruction of persona-specific text, the model "injects" the vocabulary, tone, and expertise found in the non-conversational data into its dialogue generation.

Two variants were evaluated:

  • MTASK-S (Single): Personalized for one specific user at a time.
  • MTASK-M (Multiple): A scalable version using speaker embeddings to allow a single model to represent multiple distinct personas.

Experimental Setup

The study utilized data from the Twitter FireHose (2012). The general conversation set consisted of 4 million 3-turn conversational triples. For persona data, the researchers selected the top 20 most frequent users, including technical support accounts, novelists, and sports fans. For these users, at least 9,000 single posts per user were extracted to serve as the training material for the autoencoder task.

Results and Discussion

The MTL models demonstrated significant improvements over standard Seq2Seq baselines across both automated and human metrics.

Quantitative Performance

The MTASK models showed a marked increase in response quality and diversity. Specifically, the MTASK-S model achieved a 34.9% reduction in perplexity on test data, indicating a much higher predictive accuracy for the target speaker's style.

BLEU scores and diversity metrics (distinct-1 and distinct-2) for the baseline and MTL models.

As detailed in Figure 5, the MTASK-M model achieved a 71.7% improvement in BLEU score on the test set. Furthermore, the diversity of the generated text improved significantly; the MTL models produced a higher percentage of distinct unigrams and bigrams, effectively mitigating the "blandness" problem by using more varied and specific language.

Qualitative Insights

Human evaluations confirmed that the MTL models better captured speaker roles. For instance, the tech support persona successfully adopted a "professionally polite" register, frequently using phrases like "Let us know if the issue persists," which were entirely absent in the baseline model's output. This suggests the model successfully decoupled conversational flow (learned from Seq2Seq) from stylistic content (learned from the autoencoder).

Conclusion

This multi-task learning approach provides a simple yet effective method for speaker-role adaptation without requiring massive conversational datasets for every target persona. By leveraging non-conversational text, the model can adopt specific registers and domain expertise. Future work will address "semantic congruity"—ensuring that while the tone is correct, the factual content remains strictly relevant to the user's query—and explore the scalability of the MTASK-M model to thousands of distinct roles.

Summary updated

BibTeX
@inproceedings{luan2017multi,
  author = {Yi Luan and Chris Brockett and Bill Dolan and Jianfeng Gao and Michel Galley},
  title = {{Multi-Task Learning for Speaker-Role Adaptation in Neural Conversation Models}},
  booktitle = {IJCNLP},
  year = {2017},
  url = {https://openreview.net/forum?id=RV2RsWot86},
}
Figure