A novel hybrid model for emotion detection in text through sequential and transformer-based approaches: LSTM enhanced RoBERTa (LER)

B Bilal Khan M Muhammad Usman M Muhammad Binsawad

Abstract

Abstract Text emotion detection is an essential task in Natural Language Processing (NLP), with applications in customer support automation, diagnosing mental health, and social media analysis. Yet, precise emotion detection is a difficult problem as human emotional states are subtle, ambiguous, and contextual. Current models typically fail to fully grasp these subtleties. To overcome these limitations, the current study proposes a new hybrid architecture, LSTM Enhanced RoBERTa (LER), that combines the sequential learning ability of Long Short-Term Memory (LSTM) networks with the deep contextual knowledge provided by the RoBERTa transformer model. The LER model proposed here is tested on the popular ISEAR emotion dataset and registers an impressive accuracy of 88%, which surpasses many robust baseline models. The model’s performance is evaluated on standard metrics, such as precision, recall, and F1-score. The results show that the hybrid approach efficiently detects intricate emotional cues, thus improving the state of emotion detection for real-world, context-sensitive applications.

Article Details

Volume / Issue Vol. 16, Issue 1
Published January 19, 2026
ISSN 2045-2322
Publisher Nature Portfolio

Journal Info

Scientific Reports

Nature Portfolio

ISSN: 2045-2322 Open Access Life Sciences

Authors (3)

B

Bilal Khan

M

Muhammad Usman

M

Muhammad Binsawad