Abstract
Emotion Recognition in Conversation (ERC) is a challenging task due to the intricate dependencies between speakers and the overarching context of a dialogue. This paper introduces COGMEN, a novel framework that integrates the global perspective of Transformers with the local relational modeling of Graph Neural Networks (GNNs). By representing dialogues as relational graphs, COGMEN effectively captures intra-speaker and inter-speaker dependencies. Our experimental results demonstrate that this hybrid approach achieves a new state-of-the-art (SOTA), notably providing a 7.7% F1-score improvement on the IEMOCAP dataset.
Introduction
Recognizing emotions in human conversation requires more than just analyzing individual utterances. A speaker's emotional state is influenced by three primary factors: the Global Context (the general atmosphere or topic), Intra-speaker Dependency (the influence of one's own previous state), and Inter-speaker Dependency (emotional reactions triggered by others). Existing models often struggle to balance these local and global influences, particularly when fusing data from multiple modalities such as text, audio, and video.
The COGMEN Architecture
The COGMEN framework utilizes a multi-stage pipeline designed to capture both broad context and specific speaker dynamics.
- Context Extractor: Multimodal features—concatenated from text (sBERT), audio (OpenSmile/librosa), and video (facial cues)—are processed through a Transformer encoder. By omitting positional encodings, the model allows every utterance to attend to every other utterance, establishing a global context for the entire dialogue.
- Graph Formation: The dialogue is modeled as a graph where utterances are nodes. Directed edges represent specific relationships, such as past vs. future interactions and same-speaker vs. different-speaker dependencies.
- Relational GCN (RGCN) & GraphTransformer: The graph is processed by an RGCN using learnable weights for different edge types to capture local conversational flow. A subsequent GraphTransformer layer uses attention mechanisms to weigh the importance of neighboring utterances before final classification.
Experimental Results and Analysis
COGMEN was evaluated on two benchmark datasets: IEMOCAP (dyadic conversations) and CMU-MOSEI (YouTube monologues). The model established new SOTA benchmarks, achieving an 84.50% F1-score on IEMOCAP (4-way classification) and 67.6% F1 on the 6-way classification task, outperforming models like DialogueRNN and ICON.
Key Insights
- Local + Global Synergy: Ablation studies confirmed that neither global context nor local relations are sufficient in isolation. The Transformer sets the global stage, while the GNN captures the specific "stimulus-response" dynamics between speakers.
- GNNs as Clusterers: UMAP visualizations reveal that the GNN layer explicitly helps the model group similar emotional states together in the feature space, significantly aiding the final classifier.
- Fusion Simplicity: Interestingly, simple concatenation of modalities outperformed more complex, attention-based fusion mechanisms.
- Context Window: A window of approximately 10 utterances was found to be the optimal "sweet spot" for capturing context without introducing excessive noise.
Conclusion and Future Work
While COGMEN significantly advances ERC performance, it currently operates in an "offline" mode, requiring access to future utterances to predict current emotions. This limits its use in real-time applications. Furthermore, the model still faces challenges in distinguishing between highly similar emotions, such as "frustrated" versus "angry." Future research will focus on developing "online" versions using sliding buffers and improving the modeling of sudden emotional shifts within a conversation.
Summary updated