BERT-ERC: Fine-Tuning BERT Is Enough for Emotion Recognition in Conversation

Xiangyu Qin, Zhiyu Wu, Tingting Zhang, Yanran Li, Jian Luan, Bin Wang, Li Wang, Jinshi Cui

Abstract

Emotion Recognition in Conversation (ERC) has traditionally relied on a two-step paradigm: extracting context-independent features using Pretrained Language Models (PLMs) and subsequently processing them through complex secondary classifiers like Graph Convolutional Networks (GCNs). BERT-ERC challenges this status quo by demonstrating that direct fine-tuning of PLMs, when integrated with contextual and structural dialogue information, is sufficient to achieve state-of-the-art results. By utilizing a novel two-stage training strategy and suggestive text prompting, the authors outperform complex graph-based architectures across four major benchmarks.

Introduction

The task of Emotion Recognition in Conversation (ERC) involves identifying the emotional state of a speaker for every utterance within a dialogue. Historically, researchers have addressed this through a decoupled approach: first, using a PLM (such as RoBERTa) to generate abstract features, and second, feeding these features into a secondary contextual model to capture the "flow" of conversation and speaker relationships.

Comparison of traditional vs. proposed ERC paradigms.

The authors of BERT-ERC argue that this separation creates a modeling gap. Abstract features often lose the nuanced structural information necessary for accurate classification. Instead, they propose that PLMs can be taught to understand dialogue structure directly during the fine-tuning phase, eliminating the need for complex, randomly initialized secondary architectures.

Methodology

BERT-ERC relies on three primary pillars to adapt PLMs for the ERC task:

1. Suggestive Text

Rather than feeding isolated utterances to the model, BERT-ERC constructs a "prompt-like" input string. This string includes surrounding context, speaker names, and special tokens. For instance, the query utterance is highlighted with <s> and </s> tags, while a <mask> token is used to focus the model's attention specifically on the emotion state. This allows the PLM's internal attention mechanisms to model dialogue dynamics natively.

2. Fine-Grained Classification Module (FCM)

While standard models typically rely on the [CLS] token for classification, BERT-ERC introduces the FCM. This module divides input features into three temporal segments—past, query, and future—and applies mean pooling to each. These are then concatenated into a feature vector that explicitly captures the temporal progression of the dialogue.

3. Two-Stage Training

To further enhance the model, the authors implement a "knowledge-enhanced" two-stage training strategy:

  • Stage 1 (Teacher): A large PLM is trained on the standard ERC task to generate "pseudo-labels" (predicted emotions) for context utterances.
  • Stage 2 (Student): These predictions are explicitly inserted into the input text for a student model (e.g., "Alice angrily says: ..."). This allows the student model to leverage the emotional states of surrounding speakers directly, significantly simplifying the prediction of the current speaker's emotion.
The BERT-ERC two-stage training framework.

Experimental Results

The model was evaluated on four widely used ERC benchmarks: IEMOCAP, MELD, DailyDialog, and EmoryNLP. BERT-ERC achieved State-of-the-Art (SOTA) performance on all four, outperforming both complex graph-based models (like DAG-ERC) and previous PLM-centric models.

Dataset BERT-ERC (Best) Previous SOTA
IEMOCAP 71.70% 68.57% (EmoBERTa)
MELD 67.11% 66.52% (CoMPM)
DailyDialog 61.42% 61.91% (T-GCN)
EmoryNLP 39.84% 39.24% (T-GCN)

Beyond standard benchmarks, the model also demonstrates strong performance in Online ERC (OERC) scenarios, where real-time emotion prediction is required as a conversation unfolds.

Discussion and Insights

The core insight of this research is that the "heavy lifting" in ERC is already being performed by the PLM. Pilot experiments showed that a simple RoBERTa model with a basic MLP classifier could nearly match the performance of complex graph models. By moving the modeling of speaker information and context into the input text itself, the PLM can leverage its pre-trained attention mechanisms to understand dialogue dynamics more effectively than a separate, randomly initialized GCN or RNN.

However, the approach does have limitations. The two-stage training process adds computational overhead, and the 512-token limit of BERT-based models restricts the amount of "suggestive text" (contextual history) that can be included in a single pass.

Conclusion

BERT-ERC serves as a powerful reminder that in the era of increasingly complex architectures, better data representation and smarter training strategies can often outperform more complicated models. By bridging the gap between feature extraction and contextual modeling, BERT-ERC sets a new standard for efficiency and accuracy in emotion recognition.

Summary updated

BibTeX
@inproceedings{qin2023bert,
  author = {Xiangyu Qin and Zhiyu Wu and Tingting Zhang and Yanran Li and Jian Luan and Bin Wang and Li Wang and Jinshi Cui},
  title = {{BERT-ERC: Fine-Tuning BERT Is Enough for Emotion Recognition in Conversation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  url = {https://openreview.net/forum?id=-c4L3REDVfU},
}
Figure