Deep Learning Framework for Sentiment Prediction using Residual Connections in Bidirectional – Gated Recurrent Unit

Authors

DOI:

https://doi.org/10.31436/iiumej.v27i1.3703

Keywords:

Bidirectional – Gated Recurrent Unit, DEEP LEARNING, Sentiment analysis, PREDICTION

Abstract

Sentiment analysis plays an essential role in Natural Language Processing (NLP) for differentiating emotions and opinions expressed in various pieces of text. However, existing algorithms face challenges in handling complex language patterns and capturing long-term dependencies, thereby increasing overall computational cost. This research aims to design an improved sentiment analysis model that enhances accuracy and efficiency while addressing gradient-related limitations in deep networks. This research proposes a Residual Bidirectional Gated Recurrent Unit (RBi-GRU) algorithm for effective sentiment analysis, leveraging residual connections to improve accuracy and efficiency. Residual connections are incorporated into the Bi-GRU network to facilitate gradient flow across layers and mitigate the vanishing gradient problem during training. It also enables deeper networks by protecting data from earlier layers, which further enhances feature representation. Additionally, tokenization, stemming, and global vector-based word representations (GloVe) are employed during preprocessing to capture the semantic relationships and meanings of words, thereby improving contextual understanding in sentiment analysis. The developed RBi-GRU algorithm achieves 98.74% accuracy, 98.99% precision, 98.32% sensitivity, and 98.64% F1-score on the Sentiment140 dataset, compared with the Rectified Linear Unit-based Gated Recurrent Unit (ReLU-GRU).

ABSTRAK: Analisis sentimen memainkan peranan penting dalam Pemprosesan Bahasa Semula Jadi (NLP) bagi membezakan emosi dan pendapat yang dizahirkan dalam teks; namun, algoritma sedia ada menghadapi cabaran pengendalian corak bahasa yang kompleks serta kebergantungan jangka panjang, sekaligus meningkatkan masa pemprosesan. Kajian ini bertujuan mereka bentuk model analisis sentimen berketepatan tinggi dan cekap sambil menangani kekangan berkaitan kecerunan rangkaian mendalam. Sebuah algoritma Unit Kawalan Berulang Baki Dua Arah (RBi-GRU) dicadangkan dengan gabungan baki ke dalam rangkaian Bi-GRU bagi memudahkan aliran kecerunan antara lapisan dan mengurangkan masalah lenyap kecerunan semasa latihan, di samping membolehkan pembinaan rangkaian lebih mendalam dan meningkatkan perwakilan ciri. Selain itu, teknik prapemprosesan seperti penandaan token, pengakaran (stemming), serta penggunaan Representasi Kata Vektor Global (GloVe) diaplikasi bagi menangkap hubungan semantik dan makna kontekstual perkataan dengan lebih berkesan. Dapatan kajian eksperimen menunjukkan bahawa algoritma RBi-GRU mencapai ketepatan 98.74%, kejituan 98.99%, kepekaan 98.32%, dan skor F1 sebanyak 98.64% pada set data Sentimen140, sekaligus mengatasi prestasi model Unit Kawalan Berulang berasaskan Unit Pembetulan Linear (ReLU-GRU).

Downloads

Download data is not yet available.

Metrics

Metrics Loading ...

Author Biography

Muthalambika Chaluvegowda Padma, PES College of Engineering

Computer Science and Engineering

References

Krishna MM, Duraisamy B, Vankara J (2023). Independent component support vector regressive deep learning for sentiment classification. Meas.: Sens, 26:100678. https://doi.org/10.1016/j.measen.2023.100678

Havinga I, Marcos D, Bogaart P, Tuia D, Hein L (2024). Understanding the sentiment associated with cultural ecosystem services using images and text from social media. Ecosyst. Serv, 65:101581. https://doi.org/10.1016/j.ecoser.2023.101581

Xu QA, Jayne C, Chang V (2024). An emoji feature-incorporated multi-view deep learning for explainable sentiment classification of social media reviews. Technol. Forecasting Social Change, 202:123326. https://doi.org/10.1016/j.techfore.2024.123326

Jain R, Kumar A, Nayyar A, Dewan K, Garg R, Raman S, Ganguly S (2023). Explaining sentiment analysis results on social media texts through visualization. Multimedia Tools Appl, 82(15):22613-22629. https://doi.org/10.1007/s11042-023-14432-y

Petrescu A, Truica CO, Apostol ES, Paschke A (2024). EDSA-Ensemble: an event detection sentiment analysis ensemble architecture. IEEE Trans. Affective Comput, 1-18. doi: 10.1109/TAFFC.2024.3434355

Halawani HT, Mashraqi AM, Badr SK, Alkhalaf S (2023). Automated sentiment analysis in social media using Harris Hawks optimisation and deep learning techniques. Alexandria Eng. J, 80:433-443. https://doi.org/10.1016/j.aej.2023.08.062

Kaur G, Sharma A (2023). A deep learning-based model using hybrid feature extraction approach for consumer sentiment analysis. Journal of big data, 10(1):5. https://doi.org/10.1186/s40537-022-00680-6

Üveges I, Ring O (2023). HunEmBERT: a fine-tuned BERT-model for classifying sentiment and emotion in political communication. IEEE Access, 11:60267-60278. doi: 10.1109/ACCESS.2023.3285536

Barik K, Misra S, Ray AK, Bokolo A (2023). LSTM?DGWO?Based Sentiment Analysis Framework for Analyzing Online Customer Reviews. Comput. Intell. Neurosci, 2023(1):6348831. https://doi.org/10.1155/2023/6348831

Kastrati M, Kastrati Z, Shariq Imran A, Biba M (2024). Leveraging distant supervision and deep learning for twitter sentiment and emotion classification. J. Intell. Inf. Syst, 62(4):1045-1070. https://doi.org/10.1007/s10844-024-00845-0

Kumar T, Mahrishi M, Sharma G (2023). Emotion recognition in Hindi text using multilingual BERT transformer. Multimedia Tools Appl, 82(27):42373-42394. https://doi.org/10.1007/s11042-023-15150-1

Zou H, Wang Z (2023). A semi-supervised short text sentiment classification method based on improved Bert model from unlabelled data. Journal of Big Data, 10(1):35. https://doi.org/10.1186/s40537-023-00710-x

Zhou L, Zhang Z, Zhao L, Yang P (2023). Microblog sentiment analysis based on deep memory network with structural attention. Complex Intell. Syst, 9(3):3071-3083. https://doi.org/10.1007/s40747-022-00904-5

Yadav NB (2023). Harnessing customer feedback for product recommendations: an aspect-level sentiment analysis framework. Hum.-Centric Intell. Syst, 3(2):57-67. https://doi.org/10.1007/s44230-023-00018-2

Jacob N, Viswanatham VM (2024). Sentiment Analysis using Improved Atom Search Optimizer with a Simulated Annealing and ReLU based Gated Recurrent Unit. IEEE Access, 12:38944-38956. doi: 10.1109/ACCESS.2024.3375119

Loh NKN, Lee CP, Ong TS, Lim KM (2024). MPNet-GRUs: Sentiment Analysis with Masked and Permuted Pre-training for Language Understanding and Gated Recurrent Units. IEEE Access, 12:74069-74080. doi: 10.1109/ACCESS.2024.3394930

Parveen N, Chakrabarti P, Hung BT, Shaik A (2023). Twitter sentiment analysis using hybrid gated attention recurrent network. Journal of Big Data, 10(1):50. https://doi.org/10.1186/s40537-023-00726-3

Onan A (2023). SRL-ACO: A text augmentation framework based on semantic role labeling and ant colony optimization. Journal of King Saud University-Computer and Information Sciences, 35(7):101611. https://doi.org/10.1016/j.jksuci.2023.101611

Suresh Kumar K, Radha Mani AS, Ananth Kumar T, Jalili A, Gheisari M, Malik Y, Chen HC, Jahangir Moshayedi A (2024). Sentiment Analysis of Short Texts Using SVMs and VSMs-Based Multiclass Semantic Classification. Applied Artificial Intelligence, 38(1):2321555. https://doi.org/10.1080/08839514.2024.2321555

Rahman, M.M., Shiplu, A.I., Watanobe, Y. and Alam, M.A., 2025. RoBERTa-BiLSTM: A context-aware hybrid model for sentiment analysis. IEEE Transactions on Emerging Topics in Computational Intelligence.

Sentiment-140 dataset: https://www.kaggle.com/datasets/kazanova/sentiment140.

Downloads

Published

2026-01-12

How to Cite

Nagaraju, V., & Padma, M. C. (2026). Deep Learning Framework for Sentiment Prediction using Residual Connections in Bidirectional – Gated Recurrent Unit. IIUM Engineering Journal, 27(1), 263–274. https://doi.org/10.31436/iiumej.v27i1.3703

Issue

Section

Mechatronics and Automation Engineering