Stacked LSTM Model for Contextual Correlation Detection Among Multiple Emotions
Emotions are closely tied to human behavior and play a critical role in daily life. With the widespread use of social media, individuals frequently express their feelings online, making emotion extraction from social networks an active area of research. This has applications in domains such as patient emotion monitoring, emotional text-to-speech synthesis, and empathetic chatbots. While numerous studies have focused on single-emotion detection, limited work has addressed the simultaneous identification of multiple coexisting emotions. These emotions are often influenced by contextual factors, including past emotional states and social interactions. Leveraging such dependencies can significantly enhance emotion detection performance. This study proposes a fast, accurate, and robust method to predict future emotions based on current emotional states, while also identifying interrelated emotions expressed in social media posts. We annotate a public dataset with multi-label emotion tags and model contextual dependencies—both temporal and social—using a novel Stacked Long Short-Term Memory (LSTM) architecture. The model incorporates encoder-decoder layers to capture short- and long-term dependencies among emotions and employs a time-distributed dense layer to differentiate features associated with each emotion. Our experiments show significant improvements in capturing contextual correlations among multiple emotions. The proposed model achieved a micro F1-score of 0.50 on the GoEmotions dataset and demonstrated comparable performance to transformer-based models on the DepressionEmo dataset, while requiring fewer computational resources. These findings underscore the effectiveness and efficiency of our approach in modeling complex emotional dynamics across social networks.
Authors
- Saqib Ali
- Aqsa Younas (ORCID: https://orcid.org/0000-0003-3834-2762)
- Daehan Kwak (ORCID: https://orcid.org/0000-0001-5614-0190)
- Mohib Ullah (ORCID: https://orcid.org/0000-0003-0534-8826)
- Rafiullah Khan (ORCID: https://orcid.org/0000-0002-0229-7747)
- Shazia Riaz (ORCID: https://orcid.org/0000-0001-9016-0478)
Institutions
- National University of Computer and Emerging Sciences (PK)
- Government College Women University Faisalabad (PK)
- Kean University (US)
- University of Agriculture Faisalabad (PK)
- Macquarie University (AU)
Publication Details
- Journal
- IEEE Access
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/access.2025.3582764
- Citations
- 2
- Primary Topic
- Opinion Dynamics and Social Influence
- Type
- article
- Field-Weighted Citation Impact
- 2.65