Abstract
In a dialog system, dialog act recognition and sentiment classification are two correlative tasks to capture speakers intentions, where dialog act and sentiment can indicate the explicit and the implicit intentions separately. The dialog context information (contextual information) and the mutual interaction information are two key factors that contribute to the two related tasks. Unfortunately, none of the existing approaches consider the two important sources of information simultaneously. In this paper, we propose a Co-Interactive Graph Attention Network (Co-GAT) to jointly perform the two tasks. The core module is a proposed co-interactive graph interaction layer where a cross-utterances connection and a cross-tasks connection are constructed and iteratively updated with each other, achieving to consider the two types of information simultaneously. Experimental results on two public datasets show that our model successfully captures the two sources of information and achieve the state-of-the-art performance. In addition, we find that the contributions from the contextual and mutual interaction information do not fully overlap with contextualized word representations (BERT, Roberta, XLNet).
Introduction
In human conversation, the intent behind an utterance (Dialog Act) and the underlying emotion (Sentiment) are deeply intertwined. For instance, an "Agreement" dialog act is often accompanied by a sentiment that aligns with the previous speaker's stance. Effective dialog systems must model two critical types of information: contextual information (how utterances relate sequentially) and mutual interaction (how intent and emotion influence each other within an utterance).
Existing approaches typically treat these tasks in isolation or via pipeline methods where one task informs the other in a one-way flow. Such methods are suboptimal as they fail to capture the simultaneous, bidirectional influence between intent and emotion. Co-GAT addresses this by modeling both context and mutual interaction in a unified framework.
Methods
The Co-Interactive Graph Attention Network (Co-GAT) framework consists of three primary components designed to capture speaker-specific and task-interdependent features.
Hierarchical Speaker-Aware Encoder
The process begins with a BiLSTM that generates initial utterance representations from word sequences. Subsequently, a Speaker-Aware Graph Attention Network (GAT) links utterances by the same speaker. This allows the model to track the evolution of an individual's intent and emotional state throughout the dialogue.
Stacked Co-Interactive Graph Layer
This core innovation represents the dialogue as a graph with $2N$ nodes for $N$ utterances, where each utterance has a dedicated node for both Dialog Act (DA) and Sentiment Classification (SC).
- Cross-Utterance Connections: These edges link nodes within the same task (e.g., DA node $i$ to DA node $j$) to model conversational flow.
- Cross-Task Connections: These edges link a DA node to its corresponding SC node, enabling explicit information sharing between tasks during the iterative update process. By employing GAT, the model dynamically learns the relevance of neighboring utterances and cross-task features.
Joint Decoders
The refined representations are processed by task-specific LSTMs and linear layers to produce final predictions for both DA and SC.
Experimental Evaluation
The model was evaluated on the Mastodon dataset (social media interactions) and the Dailydialog dataset (large-scale daily communication).
Key Results
Co-GAT established new state-of-the-art benchmarks:
- Mastodon: Achieved a 3.0% improvement in Sentiment F1 and a 1.9% improvement in DA F1 over the previous best model, DCR-Net.
- Dailydialog: Demonstrated a significant 5.6% jump in Sentiment F1 and a 0.3% improvement in DA F1.
Ablation studies confirmed that removing cross-task connections significantly degrades performance, highlighting the necessity of modeling the interaction between intent and emotion.
Insights and Discussion
A key finding is that the benefits of Co-GAT's structural modeling do not fully overlap with the gains from large-scale pre-trained models like BERT or XLNet. Even with powerful embeddings, the explicit graph structure provides essential reasoning capabilities regarding dialogue structure. Furthermore, the speaker-aware modeling helps mitigate noise by capturing individual emotional trajectories.
Conclusion
Co-GAT demonstrates that simultaneous modeling of dialog acts and sentiment through a co-interactive graph structure significantly enhances performance. Future work may explore higher-order dependencies beyond first-order neighbors and investigate methods to reduce the computational complexity associated with large-scale graph interactions in real-time applications.
Summary updated