Comparative performance analysis of LSTM, GRU, and bidirectional neural networks for political ideology classification
Open Access
- 1 October 2025
- journal article
- Published by Institute of Advanced Engineering and Science in Bulletin of Electrical Engineering and Informatics
- Vol. 14 (5) , 3692-3703
Abstract
Political ideology classification is crucial for understanding social polarization, monitoring democratic processes, and identifying bias on online platforms. This study compares the performance of long short-term memory (LSTM), gated recurrent unit (GRU), and bidirectional GRU (Bi-GRU) neural network models in classifying liberal and conservative political ideologies from social media text data. The Bi-GRU achieved the best results with 88.75% accuracy and 89.16% F1-score, highlighting its strength in contextual analysis. These findings suggest their applicability in areas such as election monitoring and the analysis of political discourse. This study contributes to the field of political text classification by offering a comparative analysis of deep learning architectures. The dataset utilized covers a wide range of issues, including social, political, economic, religious, and racial topics, demonstrating its comprehensive nature. Visualizations using WordCloud and uniform manifold approximation and projection (UMAP) reveal distinct ideological patterns, validating the dataset’s quality for training models. The findings underscore the importance of utilizing advanced bidirectional architectures for nuanced tasks, such as ideology classification, where contextual understanding is crucial. These insights open avenues for future research, such as the application of Bi-GRU in analyzing multilingual political ideologies or real-time sentiment tracking during election campaigns.Keywords
This publication has 22 references indexed in Scilit:
- Forecasting cryptocurrencies volatility using statistical and machine learning methods: A comparative studyApplied Soft Computing, 2023
- Air pollutant prediction based on ARIMA-WOA-LSTM modelAtmospheric Pollution Research, 2023
- Predicting stock market index using LSTMMachine Learning with Applications, 2022
- Bidirectional convolutional recurrent neural network architecture with group-wise enhancement mechanism for text sentiment classificationJournal of King Saud University Computer and Information Sciences, 2022
- Working Memory Connections for LSTMNeural Networks, 2021
- A review on sentiment analysis and emotion detection from textSocial Network Analysis and Mining, 2021
- Dimensionality reduction by UMAP reinforces sample heterogeneity analysis in bulk transcriptomic dataCell Reports, 2021
- Predictions for COVID-19 with deep learning models of LSTM, GRU and Bi-LSTMChaos, Solitons & Fractals, 2020
- Social Media Effects: Hijacking Democracy and Civility in Civic Engagement2020
- RNN-LSTM-GRU based language transformationSoft Computing, 2019