Attention-based CNN-BiLSTM Deep Model for Sentiment Analysis of User Opinions in Social Media

Document Type : Original Article

Authors

1 Computer Department, Faculty of Electrical and Computer Engineering, University of Tabriz, Tabriz, Iran

2 Faculty of Electrical and Computer Engineering, University of Tabriz, Tabriz, Iran

Abstract

Extracting sentiment from textual data is crucial for understanding public opinion and guiding strategic decisions. We introduce a hybrid deep-learning pipeline that combines convolutional feature detectors, bidirectional recurrent units, and a custom attention mechanism. First, convolutional layers with pooling condense local n-gram patterns into compact feature maps. These maps are fed into a bidirectional LSTM network that captures sequence information in both forward and reverse directions. A specialized attention module then assigns relevance scores to individual tokens, sharpening the final classification. Evaluations on widely used sentiment benchmarks show that our method outperforms leading models in terms of accuracy as well as requires fewer computational resources, making it a practical solution for scalable emotion detection in text.

Keywords