[Paper Review] Real-Time Emotion Recognition via Attention Gated Hierarchical Memory Network
This paper proposes an Attention Gated Hierarchical Memory Network (AGHMN) for real-time emotion recognition in conversations, using a bidirectional GRU-based Hierarchical Memory Network (HMN) to capture utterance and inter-utterance context, and an Attention GRU (AGRU) to preserve positional order during memory summarization. The model achieves state-of-the-art performance on two benchmark datasets, outperforming prior methods with significant margins.
Real-time emotion recognition (RTER) in conversations is significant for developing emotionally intelligent chatting machines. Without the future context in RTER, it becomes critical to build the memory bank carefully for capturing historical context and summarize the memories appropriately to retrieve relevant information. We propose an Attention Gated Hierarchical Memory Network (AGHMN) to address the problems of prior work: (1) Commonly used convolutional neural networks (CNNs) for utterance feature extraction are less compatible in the memory modules; (2) Unidirectional gated recurrent units (GRUs) only allow each historical utterance to have context before it, preventing information propagation in the opposite direction; (3) The Soft Attention for summarizing loses the positional and ordering information of memories, regardless of how the memory bank is built. Particularly, we propose a Hierarchical Memory Network (HMN) with a bidirectional GRU (BiGRU) as the utterance reader and a BiGRU fusion layer for the interaction between historical utterances. For memory summarizing, we propose an Attention GRU (AGRU) where we utilize the attention weights to update the internal state of GRU. We further promote the AGRU to a bidirectional variant (BiAGRU) to balance the contextual information from recent memories and that from distant memories. We conduct experiments on two emotion conversation datasets with extensive analysis, demonstrating the efficacy of our AGHMN models.
Motivation & Objective
- To address the limitations of prior real-time emotion recognition models that use unidirectional RNNs and soft attention, which fail to capture bidirectional context and lose positional order in memory summarization.
- To improve utterance-level feature representation by replacing CNNs with bidirectional GRUs in the hierarchical memory architecture.
- To design a memory summarization mechanism that retains positional and ordering information of historical utterances, overcoming the bag-of-memories problem of soft attention.
- To evaluate the effectiveness of the proposed AGHMN model on real-world emotion conversation datasets with ablation and visualization studies.
Proposed method
- Proposes a Hierarchical Memory Network (HMN) with a bidirectional GRU (BiGRU) as the utterance reader to model word sequences within each utterance, improving feature extraction over CNNs.
- Introduces a BiGRU fusion layer to model interactions between historical utterances, enabling bidirectional context flow and richer memory representation.
- Designs an Attention GRU (AGRU) that uses query-to-memory attention weights to update the GRU’s internal state, preserving positional order during memory summarization.
- Extends AGRU to a bidirectional variant (BiAGRU) to balance contextual information from recent and distant memories.
- Employs a context-window mechanism to build dynamic memory banks of size K, with optimal K values determined empirically on each dataset.
- Uses a two-level memory hierarchy: word-to-utterance (via BiGRU) and utterance-to-conversation (via BiGRU fusion), forming a hierarchical memory bank.
Experimental results
Research questions
- RQ1Can a bidirectional GRU-based utterance reader outperform convolutional neural networks in learning utterance-level features for emotion recognition?
- RQ2Does a bidirectional fusion layer improve the modeling of inter-utterance relationships compared to unidirectional RNNs?
- RQ3Can an attention-gated GRU (AGRU) preserve positional and ordering information in memory summarization better than soft attention?
- RQ4Does the bidirectional variant of AGRU (BiAGRU) provide better contextual balance than unidirectional AGRU?
- RQ5How does the context-window size K affect model performance, and what is the optimal window size for different conversation dynamics?
Key findings
- The proposed AGHMN model achieves state-of-the-art performance on both IEMOCAP and MELD datasets, outperforming existing methods with significant margins.
- BiGRU-based utterance readers consistently outperform CNN-based readers, demonstrating better compatibility with hierarchical memory structures.
- The BiF-AGRU model achieves the best performance, with optimal context-window sizes of K=40 on IEMOCAP and K=5 on MELD, aligning with average conversation lengths.
- Ablation studies confirm that both the BiGRU fusion layer and AGRU mechanism contribute significantly to performance gains, with AGRU outperforming soft attention even with unidirectional memory banks.
- Visualization shows that BiAGRU captures more comprehensive contextual cues than soft attention or unidirectional AGRU, especially in complex emotional dynamics.
- The model shows robustness in handling emotional shifts, though performance remains limited on minority classes like 'disgust' in MELD, suggesting room for improvement with more data or multimodal features.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.