Mitigating Linguistic Artifacts in Emotion Recognition for Conversations from TV Scripts to Daily Conversations

Donovan Ong, Shuo Sun, Jian Su, Bin ChenCOLING 2024

Abstract

Emotion Recognition in Conversations (ERC) models often struggle with generalization when moving from stylized datasets like TV scripts to real-world daily dialogues. This paper identifies "linguistic artifacts"—such as dramatic interjections, repetitions, and filler words—as a primary cause of this performance gap. We propose a mitigation strategy using contrastive learning and emotional intensity calibration to de-bias models. Our approach significantly improves out-of-distribution performance on the DailyDialog dataset, achieving a 6.5% absolute improvement in Macro-F1 over the baseline.

Introduction

Building empathetic AI requires robust Emotion Recognition in Conversations (ERC). However, current models trained on popular datasets like MELD (derived from the TV show Friends) exhibit a significant generalization gap when applied to real-world conversational data like DailyDialog. We identify that TV scripts are characterized by "Linguistic Artifacts"—performative elements like "Oh God!", "Wow!", or "How-how..."—which act as lexical shortcuts for models. While these features facilitate high performance on the source domain, they do not represent the deeper semantic features of emotion required for generalizable ERC.

The Linguistic Artifact Problem

TV scripts are written to be performative and exaggerated. In the MELD dataset, these "TV-style" artifacts appear in 13.9% of utterances, compared to only 1.1% in the DailyDialog dataset.

Frequency of TV-style artifacts in MELD vs DailyDialog.

When models rely on these shortcuts, they fail to learn the underlying emotional nuances. For instance, if "Oh God!" is frequently associated with "Surprise" in training, the model may ignore other contextual cues, making it brittle in contexts where such interjections are absent.

Methodology

To force models to focus on core emotional features rather than lexical crutches, we propose a two-pronged strategy:

  1. Contrastive Learning (InfoNCE): We generated a "cleaned" version of the training data by stripping linguistic artifacts. A contrastive loss function was employed to minimize the distance between the vector representations of original and cleaned utterances, teaching the model that emotional content is invariant to these artifacts.
  2. Emotional Intensity Calibration: We introduced a pseudo-emotion intensity score ($z_i$), where neutral utterances are 0, original emotional utterances are 1.0, and cleaned emotional utterances are 0.5. Training the model to predict this intensity via regression prevents it from over-reacting to specific keywords.

The baseline architecture utilizes RoBERTa-large for utterance encoding and a GRU for dialogue context.

Results and Discussion

The proposed method demonstrates a significant boost in adaptability. On the DailyDialog test set, our approach achieved a 42.39% Macro-F1, a 6.5% absolute improvement over the baseline (35.89%). Notably, the de-biased model even outperformed a baseline trained on an equivalent amount of actual DailyDialog data (40.60%), suggesting it learned more robust emotional representations.

Performance comparison of Baseline vs Proposed method across various conversational topics.

As shown in the figure above, the improvement is consistent across diverse conversational topics, including Work, Tourism, and Health. While there was a marginal drop (~1.1%) in MELD performance, this is a necessary trade-off for removing the model's reliance on domain-specific shortcuts.

Conclusion

By identifying and mitigating linguistic artifacts, we can develop ERC models that generalize better to real-world scenarios. Future work will explore multimodal artifacts in audio and video, as well as broader stylistic differences beyond lexical fillers.

Summary updated

BibTeX
@inproceedings{ong2024mitigating,
  author = {Donovan Ong and Shuo Sun and Jian Su and Bin Chen},
  title = {{Mitigating Linguistic Artifacts in Emotion Recognition for Conversations from TV Scripts to Daily Conversations}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2024},
}
Figure