Abstract
Emotion Recognition in Conversation (ERC) requires capturing both the temporal flow of dialogue and the complex dependencies between speakers. We present DAG-ERC, a novel neural network architecture that models conversations as Directed Acyclic Graphs (DAGs). By combining the sequential strengths of Recurrent Neural Networks (RNNs) with the structural flexibility of Graph Neural Networks (GNNs), DAG-ERC achieves state-of-the-art performance on major benchmarks. Notably, the model maintains stability in deep architectures, avoiding the "over-smoothing" problem common in traditional GNNs.
Introduction: The Challenge of Context in ERC
Identifying emotional states—such as joy, sadness, or frustration—within an utterance is significantly more complex than standard sentiment analysis. The meaning of a phrase like "Yeah, right" is entirely dependent on the preceding context and the identity of the speaker.
Existing methodologies typically fall into two categories:
- Recurrence-based (RNNs): These excel at capturing temporal flow but often struggle with long-range dependencies and over-emphasize the most recent utterances.
- Graph-based (GNNs): These are effective at modeling local interactions (who said what to whom) but frequently ignore sequential order. Furthermore, deep GNNs often suffer from "over-smoothing," where node representations become indistinguishable after several layers of information passing.
DAG-ERC bridges this gap by conceptualizing a conversation as a Directed Acyclic Graph, where information flows forward in time, and a speaker’s state is influenced by both their own history and the contributions of others.
Methodology
The DAG-ERC framework consists of three primary components designed to capture the nuances of human dialogue.
DAG Construction and Feature Transformation
Instead of a fully connected graph, DAG-ERC uses specific rules to draw edges. For any utterance, edges are drawn from the last $\omega$ utterances by the same speaker (Remote Information) and all intervening utterances from any speaker (Local Information). This ensures the model tracks both the individual "speaker's thread" and the "immediate interaction."
To account for the different nature of these influences, the model employs Relation-Aware Feature Transformation. It applies distinct weights to edges connecting the same speaker versus those connecting different speakers, learning the unique dynamics of self-influence and inter-speaker influence.
Dual Information Units
Unlike standard DAG networks, DAG-ERC utilizes two specialized update gates:
- Nodal Information Unit: Updates the current utterance representation based on past inputs.
- Contextual Information Unit: A GRU-based gate specifically designed to leverage historical context, preventing the "background" of the conversation from being lost.
Experimental Results
The model was evaluated on four major ERC benchmarks: IEMOCAP, MELD, DailyDialog, and EmoryNLP. DAG-ERC achieved state-of-the-art (SOTA) results on three of these datasets, notably reaching an F1 score of 68.03 on IEMOCAP.
Resistance to Over-smoothing
A key finding of this research is the model's robustness as network depth increases. In standard GNN architectures, performance typically degrades after 5–6 layers. However, DAG-ERC remains stable even with up to 12 layers, suggesting that the DAG structure is a more effective way to model long-range dependencies in text without losing representational distinctness.
Conclusion and Future Work
DAG-ERC demonstrates that modeling conversations as directed acyclic graphs provides a powerful inductive bias for emotion recognition. While the model handles "emotional shifts" better than previous iterations, it still faces challenges in distinguishing between highly similar emotions (e.g., "frustrated" vs. "angry") and managing the inherent data imbalance toward "neutral" classes in dialogue datasets. Future work may involve integrating external commonsense knowledge to better interpret speaker intent and resolve emotional ambiguities.
Summary updated