Controlling Style in Generated Dialogue

Eric Michael Smith, Diana Gonzalez-Rico, Emily Dinan, Y-Lan BoureauarXiv 2020

Open-domain chatbots often act as "conversational chameleons," mirroring the inconsistent styles of their massive training sets rather than maintaining a stable persona. This research from Facebook AI Research (FAIR) explores how to move toward agents with controllable, consistent personalities by adapting three generation frameworks to a space of 217 distinct styles.

The Challenge of Style Consistency

Modern large-scale dialogue models are trained on billions of parameters from diverse internet sources. Consequently, they lack a stable "persona," often shifting between polite and abrasive tones or failing to maintain consistent formality. While previous work focused on binary sentiment or specific factual personas, this paper addresses style as a "medium-grained" control knob across 217 categories without sacrificing conversational quality.

Methodological Framework

The researchers compared three primary architectures to achieve style control:

  1. Retrieve-and-Style-Transfer (RnST): A hybrid model that retrieves a relevant response and rewrites it to match a target style.
  2. Plug-and-Play Language Model (PPLM): An inference-time method using a style classifier to steer internal activations.
  3. Conditioned Generation (C): A fine-tuning approach using style "tags" (e.g., [Sarcastic]). The authors specifically highlighted C75, a "style dropout" variant where tags are provided for 75% of training examples to ensure robustness.
Summary of datasets, models, and experimental combinations used in the study.

Datasets and Weak Labeling

The study utilizes several benchmarks to train and evaluate style control:

  • Image-Chat (IC): The primary source for 217 styles, featuring 400k utterances with assigned personalities.
  • Dialogue Mix (D): A combination of ConvAI2, Wizard of Wikipedia, EmpatheticDialogues, and BlendedSkillTalk.
  • D+ (Augmented): A key contribution where a classifier trained on IC "weakly labels" standard dialogue datasets, providing a massive, style-aware corpus for fine-tuning.

Key Results: Efficiency and Accuracy

The study found that Conditioned Generation significantly outperforms inference-time refinement (PPLM) in high-dimensional style spaces.

Comparison of C75 and PPLM models across SST5 and IC styles, highlighting accuracy and generation time.
  • Style Accuracy: Human evaluations showed that participants correctly identified the target style of the C100 model 41.3% of the time, compared to 14.2% for the baseline.
  • Computational Efficiency: As shown in the results table, C75 is roughly 20-40 times faster at inference than PPLM, making it far more viable for real-time interaction.
  • Quality Preservation: While style control slightly impacted "humanness" ratings (as some styles like "Irritable" are inherently less pleasant), metrics for empathy and relevance remained stable.

Insights and Future Directions

The researchers conclude that conditioning beats refinement for complex style spaces. PPLM, while effective for binary sentiment, struggles with the gradients of 200+ styles. Furthermore, "weak labeling" proves to be a powerful tool; a classifier trained on a small labeled set can successfully transfer style signals to massive unlabeled datasets.

Future work aims to address "image-grounding bias"—where models occasionally hallucinate visual references—and move toward unsupervised style discovery to mimic conversation partners directly.

Summary updated

BibTeX
@misc{smith2020controlling,
  author = {Eric Michael Smith and Diana Gonzalez-Rico and Emily Dinan and Y-Lan Boureau},
  title = {{Controlling Style in Generated Dialogue}},
  year = {2020},
  eprint = {2009.10855},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2009.10855},
}
Figure