Does Bigger Mean Better? A Domain-Aware Comparison of Lexicon-Based, TF-IDF, and Transformer Models for Sentiment Analysis

Sentiment analysis systems range from training-free lexicons to compact supervised models and fine-tuned transformer encoders, but fair comparison requires identical test examples and explicit computational accounting. (1) Background: We reassess three sentiment-classification paradigms under matched binary-label evaluation on IMDb movie reviews and Sentiment140 tweets. (2) Methods: After duplicate and label audits, VADER, TF–IDF with validation-tuned Logistic Regression, and three-epoch GPU-fine-tuned DistilBERT were evaluated on the same 5065 IMDb and 10,000 Sentiment140 held-out records within each corpus. Accuracy, macro-F1, confusion matrices, paired McNemar tests, bootstrap intervals, training time, and inference throughput were computed from saved predictions and execution logs. (3) Results: DistilBERT reached 92.00% accuracy on IMDb and 83.41% on Sentiment140, compared with 91.06% and 78.77% for Logistic Regression and 69.83% and 66.54% for VADER. DistilBERT exceeded Logistic Regression by 0.95 percentage points on IMDb (paired 95% CI 0.08–1.76; p=0.0351) and by 4.64 points on Sentiment140 (CI 3.85–5.41; p<0.001), but required GPU fine-tuning and longer measured training. (4) Conclusions: The relative advantage of a transformer depends on the dataset and available computation. Logistic Regression remains a compact, accurate alternative; results are restricted to these two within-domain configurations and do not demonstrate cross-domain transfer or domain causation.

Authors

Institutions

Publication Details

Journal
Computation
Published
2026-11-05
DOI
https://doi.org/10.3390/computation14110278
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Does Bigger Mean Better? A Domain-Aware Comparison of Lexicon-Based, TF-IDF, and Transformer Models for Sentiment Analysis

Isabel de la Torre Díez, Mónica Gracia Villar, Ahmad Sami Al‐Shamayleh, Muhammad Abbas et al.
Computation
Sentiment Analysis and Opinion Mining
article

Does Bigger Mean Better? A Domain-Aware Comparison of Lexicon-Based, TF-IDF, and Transformer Models for Sentiment Analysis

Isabel de la Torre Díez, Mónica Gracia Villar, Ahmad Sami Al‐Shamayleh, Muhammad Abbas, Helena Garay, Ghulam Mustafa, Shujat Hussain, Azam Mehmood
article en

Abstract

Sentiment analysis systems range from training-free lexicons to compact supervised models and fine-tuned transformer encoders, but fair comparison requires identical test examples and explicit computational accounting. (1) Background: We reassess three sentiment-classification paradigms under matched binary-label evaluation on IMDb movie reviews and Sentiment140 tweets. (2) Methods: After duplicate and label audits, VADER, TF–IDF with validation-tuned Logistic Regression, and three-epoch GPU-fine-tuned DistilBERT were evaluated on the same 5065 IMDb and 10,000 Sentiment140 held-out records within each corpus. Accuracy, macro-F1, confusion matrices, paired McNemar tests, bootstrap intervals, training time, and inference throughput were computed from saved predictions and execution logs. (3) Results: DistilBERT reached 92.00% accuracy on IMDb and 83.41% on Sentiment140, compared with 91.06% and 78.77% for Logistic Regression and 69.83% and 66.54% for VADER. DistilBERT exceeded Logistic Regression by 0.95 percentage points on IMDb (paired 95% CI 0.08–1.76; p=0.0351) and by 4.64 points on Sentiment140 (CI 3.85–5.41; p<0.001), but required GPU fine-tuning and longer measured training. (4) Conclusions: The relative advantage of a transformer depends on the dataset and available computation. Logistic Regression remains a compact, accurate alternative; results are restricted to these two within-domain configurations and do not demonstrate cross-domain transfer or domain causation.

ComputationVol. 14(11)
Al-Ahliyya Amman University (JO), Universidad de Valladolid (ES), Shifa Tameer-e-Millat University (PK), Shaheed Zulfiqar Ali Bhutto Institute of Science and Technology (PK), Universidad Europea del Atlántico (ES), Universidade Internacional do Cuanza (AO), Universidad Internacional Iberoamericana (PR), Fundación Universitaria Internacional de Colombia (CO), Universidad Internacional Iberoamericana (MX), Universidad de la Romana (DO), University of Gujrat (PK)
Openalex Percentile: Top 16%
Sentiment Analysis and Opinion Mining
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon