Cost-Aware Benchmarking of Classical and Deep Learning Models for Twitter Sentiment Analysis
Mahima Shankar Pandey,
Alok Kumar,
Keshav Pal,
Vivek Singh and
Archit Gupta
International Journal of Scientific Research in Artificial Intelligence and Machine Learning, 2026, vol. 2, issue 2, 01-10
Abstract:
Sentiment analysis of Twitter data has progressed significantly with the adoption of deep learning and transformer-based architectures. However, many existing studies emphasize accuracy improvements without systematically analyzing computational efficiency or ensuring controlled experimental comparison. This paper presents a cost-aware benchmarking study of classical machine learning models (Logistic Regression and Support Vector Machines) and deep learning architectures (CNN, BiLSTM, BiGRU, and DistilBERT) for binary sentiment classification on English-language Twitter data. All models were evaluated under identical preprocessing conditions using balanced subsets of the Sentiment140 dataset to ensure fair comparison. Experimental results demonstrate that DistilBERT achieves the highest accuracy (80.02%), outperforming recurrent networks (~76.6%) and classical baselines (~76%). However, transformer-based inference introduces significantly higher computational cost compared to traditional approaches. The findings reveal that performance gains from transformer models are moderate in short-text classification and must be evaluated alongside efficiency considerations. This study provides a reproducible, resource-efficient experimental framework and offers practical insights for model selection in latency-sensitive deployment scenarios.
Keywords: Sentiment Analysis; Twitter; DistilBERT; Machine Learning; Deep Learning; Natural Language Processing; Benchmarking (search for similar items in EconPapers)
Date: 2026
Note: Article URL: https://ijsraiml.com/home/article/view/IJSRAIML26221
References: Add references at CitEc
Citations:
Downloads: (external link)
https://ijsraiml.com/home/article/view/IJSRAIML26221 Article URL (text/html)
https://ijsraiml.com/home/article/download/IJSRAIML26221/IJSRAIML26221 Full text (application/pdf)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:jbo:ijsrml:v2:y2026:i2:id:2
Access Statistics for this article
More articles in International Journal of Scientific Research in Artificial Intelligence and Machine Learning from International Journal of Scientific Research in Artificial Intelligence and Machine Learning
Bibliographic data for series maintained by Pankaj Sharma ().