IAES International Journal of Artificial Intelligence (IJ-AI)
Vol 15, No 4: August 2026

Text emotion recognition based on deep learning and attention with whale optimization algorithm

Tabarek Alwan Tuib (University of Tabriz)
Mohammad-Reza Feizi-Derakhshi (University of Tabriz)
Yaqdhan Mahmood Hussein (Al Ayen University)
Fahad Taha Al-Dhief (Universiti Kebangsaan Malaysia)



Article Info

Publish Date
01 Aug 2026

Abstract

Text emotion recognition (TER) represents one of the crucial tasks in natural language processing (NLP), and it is highly important for many applications. To improve the performance of TER, advanced deep learning (DL) model GRU-BiGRU-CNN-Att is presented in this research. It is a combination of gated recurrent units (GRU), bidirectional gated recurrent units (BiGRU) with a convolutional neural network (CNN), and an attention mechanism. Using a GRU, BiGRU, and CNN as part of a deep feature extraction model, combined with an attention mechanism that gives important information different weights, the method that is proposed in the present work enhances the quality of the word vectors and leads to increasing sentiment analysis judgment accuracy. The whale optimization algorithm (WOA), which selects the most informative features for further enhancing the model, is used lastly for the optimization of the feature selection process. After such optimization, those chosen features are trained on a multi-layer perceptron (MLP), successfully combining machine learning (ML) and DL approaches for improving TER. A varied corpus of tweets, sentences, and dialogues had been used in the present work for the assessment of the performance of the suggested model. The proposed method achieves 83.76% accuracy in emotion recognition.

Copyrights © 2026






Journal Info

Abbrev

IJAI

Publisher

Subject

Computer Science & IT Engineering

Description

IAES International Journal of Artificial Intelligence (IJ-AI) publishes articles in the field of artificial intelligence (AI). The scope covers all artificial intelligence area and its application in the following topics: neural networks; fuzzy logic; simulated biological evolution algorithms (like ...