Fine‐tuning XLNet for Amazon review sentiment analysis: A comparative evaluation of transformer models

Abstract Transfer learning in large language models adapts pretrained models to new tasks by leveraging their existing linguistic knowledge for domain‐specific applications. A fine‐tuned XLNet, base‐cased model is proposed for classifying Amazon product reviews. Two datasets are used to evaluate the approach: Amazon earphone and Amazon personal computer reviews. Model performance is benchmarked against transformer models including ELECTRA, BERT, RoBERTa, ALBERT, and DistilBERT. In addition, hybrid models such as CNN‐LSTM and CNN‐BiLSTM are considered in conjunction with single models such as CNN, BiGRU, and BiLSTM. The XLNet model achieved accuracies of 95.2% for Amazon earphone reviews and 95% for Amazon personal computer reviews. The accuracy of ELECTRA is slightly lower than that of XLNet. The exact match ratio values for XLNet on the AE and AP datasets are 0.95 and 0.94, respectively. The proposed model achieved exceptional accuracy and F1 scores, outperforming all other models. The XLNet model was fine‐tuned with different learning rates, optimizers (such as Nadam and Adam), and batch sizes (4, 8, and 16). This analysis underscores the effectiveness of the XLNet approach for sentiment analysis tasks.

Authors

Institutions

Publication Details

Journal
ETRI Journal
Published
2025-02-12
DOI
https://doi.org/10.4218/etrij.2024-0318
Citations
4
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
9.92
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Fine‐tuning XLNet for Amazon review sentiment analysis: A comparative evaluation of transformer models

Amrithkala M. Shetty, Mohammed Fadhel Aljunid, D. H. Manjaiah
4 citations
ETRI Journal
Sentiment Analysis and Opinion Mining
9.92
article

Fine‐tuning XLNet for Amazon review sentiment analysis: A comparative evaluation of transformer models

Amrithkala M. Shetty, Mohammed Fadhel Aljunid, D. H. Manjaiah
article en
4 citations

Abstract

Abstract Transfer learning in large language models adapts pretrained models to new tasks by leveraging their existing linguistic knowledge for domain‐specific applications. A fine‐tuned XLNet, base‐cased model is proposed for classifying Amazon product reviews. Two datasets are used to evaluate the approach: Amazon earphone and Amazon personal computer reviews. Model performance is benchmarked against transformer models including ELECTRA, BERT, RoBERTa, ALBERT, and DistilBERT. In addition, hybrid models such as CNN‐LSTM and CNN‐BiLSTM are considered in conjunction with single models such as CNN, BiGRU, and BiLSTM. The XLNet model achieved accuracies of 95.2% for Amazon earphone reviews and 95% for Amazon personal computer reviews. The accuracy of ELECTRA is slightly lower than that of XLNet. The exact match ratio values for XLNet on the AE and AP datasets are 0.95 and 0.94, respectively. The proposed model achieved exceptional accuracy and F1 scores, outperforming all other models. The XLNet model was fine‐tuned with different learning rates, optimizers (such as Nadam and Adam), and batch sizes (4, 8, and 16). This analysis underscores the effectiveness of the XLNet approach for sentiment analysis tasks.

ETRI JournalVol. 48(1)
Nitte University (IN), Mangalore University (IN), Al-Razi University (YE)
Openalex Percentile: Top 3%
Sentiment Analysis and Opinion Mining
9.92
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.

Fine‐tuning XLNet for Amazon review sentiment analysis: A comparative evaluation of transformer models — Amrithkala M. Shetty, Mohammed Fadhel Aljunid, et al. · ETRI Journal (2025) | TGRS Research Map | TGRS