IDEAS home Printed from https://ideas.repec.org/a/jbo/ijsrml/v2y2026i2id2.html

Cost-Aware Benchmarking of Classical and Deep Learning Models for Twitter Sentiment Analysis

Author

Listed:
  • Mahima Shankar Pandey
  • Alok Kumar
  • Keshav Pal
  • Vivek Singh
  • Archit Gupta

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.

Suggested Citation

  • Mahima Shankar Pandey & Alok Kumar & Keshav Pal & Vivek Singh & Archit Gupta, 2026. "Cost-Aware Benchmarking of Classical and Deep Learning Models for Twitter Sentiment Analysis," Int. J. Sci. Res. Artif. Intell. Mach. Learn, International Journal of Scientific Research in Artificial Intelligence and Machine Learning, vol. 2(2), pages 01-10, April.
  • Handle: RePEc:jbo:ijsrml:v2:y2026:i2:id:2
    Note: Article URL: https://ijsraiml.com/home/article/view/IJSRAIML26221
    as

    Download full text from publisher

    File URL: https://ijsraiml.com/home/article/view/IJSRAIML26221
    File Function: Article URL
    Download Restriction: no

    File URL: https://ijsraiml.com/home/article/download/IJSRAIML26221/IJSRAIML26221
    File Function: Full text
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jbo:ijsrml:v2:y2026:i2:id:2. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Pankaj Sharma (email available below). General contact details of provider: https://ijsraiml.com/home .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.