Introduction
Emotion Recognition in Conversations (ERC) is a critical task in natural language processing that involves identifying the emotional state of speakers at each turn of a dialogue. Unlike standard sentiment analysis, ERC must account for complex dynamics such as context dependency—where an utterance's meaning is shaped by preceding turns—and speaker sensitivity, reflecting individual emotional baselines and interpersonal styles.
The Challenge of Implicit Modeling
A significant hurdle in ERC is that textual context can be deceptive. Most existing models attempt to capture speaker interactions implicitly by analyzing the text of surrounding utterances. However, linguistic nuances like sarcasm can easily mislead these models. For instance, a sarcastic remark like "There will still be a blackout today, it is really great" might be incorrectly classified as "Happy" by a text-only model. This error then propagates, leading the model to expect a positive response from the next speaker, even when the actual sentiment is anger or frustration.
The authors of this paper argue that explicitly incorporating emotion labels from surrounding turns would mitigate this issue. However, a practical challenge arises: "gold" ground-truth labels are unavailable during inference.
Proposed Method: Iterative Emotion Interaction Network
To address the lack of ground-truth labels at test time, the researchers developed the Iterative Emotion Interaction Network (IEIN). This architecture consists of three primary components:
- Utterance Encoder: Utilizes a BiGRU with an attention mechanism to transform raw text into robust vector representations ($u$) for each utterance.
- Emotion Interaction Based Context Encoder (EC-Encoder): This component explicitly models interactions by mapping emotion probabilities to emotion embeddings. These embeddings are concatenated with text vectors and processed through another BiGRU to capture conversational flow.
- Iterative Improvement Mechanism: The model begins with an initial prediction. It then iteratively feeds these predicted probabilities back into the EC-Encoder to refine its guesses. This process typically repeats for $T$ steps (e.g., $T=3$).
To ensure that each iteration leads to higher accuracy, the team implemented a specialized loss function incorporating margin-ranking loss. This penalizes the model if a subsequent iteration reverts a previously correct prediction to an incorrect one.
Experimental Results
The IEIN was evaluated on two major ERC benchmarks: IEMOCAP (dyadic acting performances) and MELD (multi-party dialogue from the TV show Friends).
Performance Benchmarks
The iterative approach demonstrated superior performance over strong baselines like DialogueGCN and DialogueRNN:
- IEMOCAP: Achieved a weighted F1-score of 64.37%, marking a 1.21% improvement over DialogueGCN.
- MELD: Achieved a weighted F1-score of 60.72%, a 1.39% improvement over the cLSTM baseline.
Key Insights
- Explicit Modeling Efficacy: Even predicted labels provide a more reliable signal for interaction modeling than raw text alone, as they help the model filter out "noise" from ambiguous phrasing.
- Refinement through Iteration: The iterative process effectively "fixes" incorrect labels. Analysis showed that "Wrong → Right" transitions significantly outnumbered "Right → Wrong" transitions between steps.
- Support for Minority Classes: The model showed significant gains in identifying rare emotions. For example, the "disgust" category in MELD saw a nearly 10% improvement in F1-score, as the model could better leverage the emotional context of the surrounding dialogue.
Conclusion and Future Directions
The Iterative Emotion Interaction Network proves that explicit, iterative modeling of emotional states can overcome the limitations of text-only context. While the current work focuses on text, future iterations could incorporate acoustic and visual modalities to further enhance performance. Additionally, developing "early exit" strategies to dynamically determine the optimal number of iterations could improve computational efficiency for real-time applications.
Summary updated