Abstract
Dialog Act Recognition (DAR) and Sentiment Classification (SC) are two critical tasks for understanding human conversation. While inherently linked, they are often treated as independent problems. This paper introduces Co-GAT, a co-interactive graph attention network designed to jointly model these tasks. By employing a dual-connection graph structure, Co-GAT captures both the conversational context (cross-utterance) and the mutual influence between intent and emotion (cross-task). Experimental results on the Mastodon and Dailydialog datasets demonstrate that Co-GAT achieves state-of-the-art performance, effectively leveraging the synergy between dialog acts and sentiment.
Introduction
In natural conversation, a speaker's intent (Dialog Act) and emotional state (Sentiment) are deeply intertwined. For instance, an "Agreement" act is frequently accompanied by positive sentiment. Recognizing these elements is essential for building sophisticated dialog systems. However, traditional approaches often treat DAR and SC as separate tasks or use sequential pipeline models. These methods typically suffer from two main drawbacks: they fail to adequately capture the temporal context of a conversation and they ignore the simultaneous mutual interaction between a single utterance's intent and emotion.
Co-GAT addresses these gaps by modeling the conversation as a graph where nodes represent utterances for both tasks. This allows for the simultaneous update and refinement of task-specific representations, preventing the error propagation common in pipeline architectures.
Methodology
The Co-GAT architecture consists of three primary stages: a hierarchical speaker-aware encoder, a stacked co-interactive graph layer, and task-specific decoders.
Hierarchical Speaker-Aware Encoder
The model first utilizes a BiLSTM to encode word-level information within each utterance. To capture individual speaker dynamics, a Speaker-Level Graph Attention Network (GAT) is employed. This component models the relationships between utterances from the same speaker, tracking how their specific intent and emotion evolve throughout the dialogue.
Stacked Co-Interactive Graph Layer
The core innovation of Co-GAT is the stacked co-interactive graph layer. The model constructs a graph with 2N nodes for a conversation of N utterances, where each utterance has a corresponding node for the DAR task and another for the SC task. Two types of edges are defined:
- Cross-Utterance Connections: These links connect nodes within the same task (e.g., DA to DA) to capture the broader conversational context.
- Cross-Task Connections: These links connect a DA node to its corresponding SC node (and vice versa) to model their mutual influence.
These representations are updated iteratively and simultaneously, allowing knowledge from one task to inform the other in a feedback loop. This structure "hard-wires" the intuition that knowing the dialog act provides significant clues for sentiment classification, and vice versa.
Decoders
Finally, separate decoders process the refined representations to produce the final predictions for Dialog Acts and Sentiment.
Experimental Results
Co-GAT was evaluated on two benchmark datasets: Mastodon (social media interactions) and Dailydialog (human-written daily conversations).
Performance Comparison
Co-GAT achieved state-of-the-art (SOTA) results across both datasets. On the Mastodon dataset, it improved F1 scores by 3.0% for SC and 1.9% for DAR compared to previous best-performing models. On Dailydialog, the model showed a significant 5.6% F1 improvement in Sentiment Classification.
Integration with Pre-trained Language Models (PLMs)
The authors observed that Co-GAT's benefits persist even when using powerful PLMs like BERT, RoBERTa, or XLNet. For example, combining Co-GAT with XLNet on the Mastodon dataset yielded F1 scores of 65.9% for SC and 67.5% for DAR, significantly outperforming the standalone XLNet model. This suggests that while PLMs excel at semantic understanding, Co-GAT provides a superior framework for modeling dialogue structure and inter-task relationships.
Ablation Study
Ablation studies confirmed the importance of the dual-connection strategy. Removing either the cross-task or cross-utterance connections resulted in a measurable performance decline, proving that both context and mutual interaction are vital for joint DAR and SC.
Discussion and Conclusion
The success of Co-GAT highlights the importance of breaking away from sequential pipeline models in favor of co-interactive frameworks. By updating intent and sentiment representations in tandem, the model effectively captures the feedback loop inherent in human communication.
While Co-GAT is highly effective, future work could address its computational complexity, particularly for very long multi-party conversations where graph pruning might be necessary. Additionally, exploring the model's robustness to noisy speaker identification in "wild" datasets remains an open area. The authors suggest that this co-interactive approach could be extended to other related tasks, such as Emotion Recognition in Conversation (ERC) or intent detection in task-oriented systems.
Summary updated