NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Affect-Driven Dialog Generation

Pierre Colombo, Wojciech Witon, Ashutosh Modi, James Kennedy, Mubbasir Kapadia

Introduction

Modern conversational agents are increasingly proficient at functional tasks but often lack the "social intelligence" required for truly natural interaction. Standard sequence-to-sequence (seq2seq) models frequently suffer from the "safe response" problem, generating bland, repetitive outputs like "I don't know" because they are statistically overrepresented in training data. Researchers from Disney Research and Rutgers University have addressed this by developing EMOTICONS (EMOTIonal CONversational System), a framework designed to generate responses with fine-grained emotional control.

The EMOTICONS Framework

The EMOTICONS architecture moves beyond discrete emotional categories (e.g., "Happy" vs. "Sad") by utilizing a continuous 3D emotion space: Valence-Arousal-Dominance (VAD). In this space, every word is mapped to a vector representing its positivity (Valence), intensity (Arousal), and the sense of control it conveys (Dominance). This allows the model to capture the nuances of human emotion more effectively than categorical labels.

The EMOTICONS architecture, featuring the Encoder, Decoder with Affective Sampling, and the Affective Re-ranking module.

Technical Methodology

The system integrates emotion through several interlocking strategies:

  1. Explicit Modeling (SEE & SED): The model injects "emotion embeddings" at both the Sequence-Level Explicit Encoder (SEE) and the Sequence-Level Explicit Decoder (SED) stages to signal the desired emotional target.
  2. Affective Regularizer (WI): A "word-level implicit" loss function penalizes the model during training if it selects words that are emotionally distant from the target in the VAD space.
  3. Adaptive Affective Sampling (WE): During generation, the system tracks the "remaining emotional content" needed to reach the goal. If early words in a sentence are neutral, the model compensates by selecting more emotionally charged words toward the end.
  4. Affective Re-ranking: During inference, the system generates multiple candidate responses and re-ranks them using a modified Maximum Mutual Information (MMI) objective that penalizes emotional deviation.

Experimental Setup and Results

The models were trained on the Cornell Movie-Dialogs Corpus and a filtered version of OpenSubtitles2018 (2.5M utterances). To label the training data, a pre-trained emotion classifier mapped sentences into six basic categories.

Quantitatively, EMOTICONS demonstrated significant improvements over vanilla seq2seq and previous state-of-the-art models like ECM. On the OpenSubtitles dataset, the system achieved a 7.7% improvement in BLEU score and a 52.5% increase in response diversity (distinct unigrams). Qualitatively, human evaluators preferred EMOTICONS responses 96 times compared to only 39 times for the baseline MMI model. Crucially, the model maintained high grammatical integrity (~80-84%) while expressing rich emotions.

Key Insights and Optimization

A striking finding of the study is that emotional constraints actually drive linguistic creativity. Because "safe" responses are typically emotionally neutral, the affective regularizer pushes the model toward more specific and diverse vocabulary.

To refine the system, the researchers optimized the re-ranking algorithm by analyzing the relationship between emotional difference ($\Delta E$) and the penalty parameter $\gamma$. By using a tool called the "AffectButton"—a coordinate-based face emoji—human annotators helped identify the mathematical "sweet spot" for $\gamma$ across different emotional categories.

Optimization of the re-ranking parameter γ across different emotional categories (joy, anger, surprise, fear).

Conclusion and Future Work

While EMOTICONS represents a major step forward, limitations remain. The system performs better on high-frequency emotions like "Joy" than on more ambiguous ones like "Surprise" or "Fear." Additionally, the current model focuses on single-turn prompt-response pairs. Future work aims to incorporate broader conversational context to capture how emotional states evolve over the course of a long-form dialogue and to enable the system to autonomously select appropriate emotional responses based on user input.

Summary updated

BibTeX
@inproceedings{colombo2019affect,
  author = {Pierre Colombo and Wojciech Witon and Ashutosh Modi and James Kennedy and Mubbasir Kapadia},
  title = {{Affect-Driven Dialog Generation}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/n19-1374},
}
Figure