Presented at ACL-IJCNLP 2021, this research introduces DAG-ERC, a novel architecture for Conversational Emotion Recognition (ERC). By modeling a dialogue as a Directed Acyclic Graph (DAG), the authors bridge the gap between traditional recurrence-based and graph-based neural networks, capturing both temporal flow and complex speaker dependencies.
The Challenge of Conversational Context
Recognizing emotions in a conversation is difficult because an utterance's meaning depends heavily on context. Existing research typically follows two strategies, both with inherent flaws:
- Recurrence-based models (e.g., RNNs): These process utterances sequentially. While they capture temporal order well, they struggle to link an utterance to a "remote" context (e.g., a statement made many turns ago) or to specific speakers in multi-party settings.
- Graph-based models (e.g., GCNs): These treat utterances as nodes. While they can link distant utterances easily, they often ignore the sequential nature of time and suffer from "over-smoothing"—where stacking layers causes node representations to lose distinct details.
The authors argue that a conversation is naturally a DAG: information flows forward in time (no cycles), and an utterance is influenced by both the immediate preceding turn (local context) and the speaker's own previous statements (remote context).
Methodology: The DAG-ERC Framework
DAG-ERC processes conversations through three primary stages to balance structural flexibility with sequential logic:
- DAG Construction: Instead of a fully connected graph, edges are drawn based on specific rules. An utterance $u_i$ receives edges from the most recent utterance by the same speaker (Remote Information) and all utterances occurring between that remote turn and the current turn (Local Information).
- Feature Extraction: Raw text is converted into initial vector representations using a pre-trained RoBERTa-Large model.
- DAG-ERC Layers: This modified Directed Acyclic Graph Neural Network incorporates two critical improvements: Relation-aware Feature Transformation, which uses different weights for edges depending on speaker identity, and a Contextual Information Unit, a dual-gated mechanism that integrates historical context into the current representation.
Key Insights
- The Hybrid Advantage: By using a DAG, the model can gather information from predecessors in a single layer, modeling long-distance dependencies without the structural rigidity of a simple sequence.
- Resistance to Over-smoothing: Unlike standard graph models (like RGAT) where performance drops significantly after 6 layers, DAG-ERC remains stable even up to 12 layers, making it robust for deep architectural stacking.
- Speaker Identity as a Strong Bias: Ablation studies revealed that the relation-aware component—distinguishing between self-talk and others—was the most impactful feature. Knowing who said what is often more critical than when they said it.
- Handling Emotional Shifts: The model showed marked improvement in identifying cases where a speaker's emotion changes from one turn to the next, outperforming previous state-of-the-art (SOTA) models like DialogXL.
Experimental Results
DAG-ERC was evaluated on four major benchmarks: IEMOCAP, MELD, DailyDialog, and EmoryNLP. It achieved new SOTA results on three of the four datasets.
On IEMOCAP, the model reached an F1-score of 68.03%, a significant jump from previous benchmarks. On MELD, it achieved a competitive 63.65% F1, though it trailed the COSMIC model slightly. The authors attribute this to MELD's short, often incoherent snippets where complex context modeling provides less benefit.
Conclusion and Future Work
While DAG-ERC sets a new standard for ERC, limitations remain in distinguishing between fine-grained similar emotions (e.g., "frustrated" vs. "angry") and a tendency to default to "neutral" labels in imbalanced datasets. Future work may involve incorporating external commonsense knowledge into the DAG structure to further enhance performance on noisy or short-form dialogue datasets.
Summary updated