Elevating Deep Learning Models with Gated Recurrent Units for Emotion Detection
This research explores emotion analysis in natural language processing (NLP) by employing bidirectional gated recurrent units (GRUs). Unlike traditional models that process data in a single direction, bidirectional GRUs can capture dependencies in both past and future sequences, making them significantly more effective for tasks like emotion analysis where context is crucial. The proposed model utilizes a sequential framework, starting with an embedding layer that converts word indices into dense vectors for text processing. To combat overfitting, a dropout layer with a 0.5 rate is incorporated. This is followed by two bidirectional GRU layers, each configured to return sequences and capture detailed temporal dependencies. A batch normalization layer is applied to stabilize and speed up training. An additional bidirectional GRU layer, consisting of six units and a softmax activation function, further refines the model’s ability to capture complex dependencies and classify emotions into six categories. The model concludes with a dense layer and uses the Adam optimizer with sparse categorical cross-entropy as the loss function. Accuracy is employed to evaluate performance, with the model achieving a 94% accuracy rate. This indicates the superior capability of bidirectional GRUs in detecting emotions by effectively identifying intricate patterns in sequential data. The model summary details the components and parameter choices that contribute to these strong results.
Authors
- Kanwarpartap Singh Gill (ORCID: https://orcid.org/0000-0002-6496-7208)
- Swati Devliyal
- Deepak Upadhyay
- Aditya Kumar (ORCID: https://orcid.org/0000-0001-7550-8034)
Institutions
- Graphic Era University (IN)
- Chitkara University (IN)
Publication Details
- Published
- 2024-10-25
- DOI
- https://doi.org/10.1109/gccit63234.2024.10862501
- Citations
- 1
- Primary Topic
- Emotion and Mood Recognition
- Type
- article
- Field-Weighted Citation Impact
- 0.51