Enhancing Sentiment Analysis with Fine-Tuned DeBERTa in a Cross-Domain Study on IMDb and Amazon Polarity Datasets

Sentiment analysis has become crucial for understanding consumer behavior in e-commerce and social media. While models based on transformers like Bidirectional Encoder Representations from Transformers (BERT) and A Robustly Optimized BERT Pretraining Approach (RoBERTa) have great performance in Natural Language Processing (NLP) tasks, challenges persist in domain-specific language nuances and context sensitivity. This study addresses these gaps by utilizing DeBERTa, an advanced model with disentangled attention mechanisms, to improve sentiment classification. The methodology involves fine-tuning the DeBERTa-base on the IMDb dataset and evaluating its generalization on the Amazon Polarity dataset. The results achieved 93.21% accuracy, 91.28% precision, 94.98% recall, and 93.32% F1 score, achieving a good balance between precision and recall while maintaining high accuracy. The result of this study demonstrates that Decoding-enhanced BERT with Disentangled Attention (DeBERTa) has strong performance in handling long, structured text and short, diverse comments. This illustrates DeBERTa's superiority in capturing complex semantic relationships and context-dependent sentiments.

Authors

Institutions

Publication Details

Journal
Applied and Computational Engineering
Published
2025-05-06
DOI
https://doi.org/10.54254/2755-2721/2025.kl22625
Citations
1
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing Sentiment Analysis with Fine-Tuned DeBERTa in a Cross-Domain Study on IMDb and Amazon Polarity Datasets

Zijian Cao
1 citations
Applied and Computational Engineering
Sentiment Analysis and Opinion Mining
2.48
article

Enhancing Sentiment Analysis with Fine-Tuned DeBERTa in a Cross-Domain Study on IMDb and Amazon Polarity Datasets

Zijian Cao
article en
1 citations

Abstract

Sentiment analysis has become crucial for understanding consumer behavior in e-commerce and social media. While models based on transformers like Bidirectional Encoder Representations from Transformers (BERT) and A Robustly Optimized BERT Pretraining Approach (RoBERTa) have great performance in Natural Language Processing (NLP) tasks, challenges persist in domain-specific language nuances and context sensitivity. This study addresses these gaps by utilizing DeBERTa, an advanced model with disentangled attention mechanisms, to improve sentiment classification. The methodology involves fine-tuning the DeBERTa-base on the IMDb dataset and evaluating its generalization on the Amazon Polarity dataset. The results achieved 93.21% accuracy, 91.28% precision, 94.98% recall, and 93.32% F1 score, achieving a good balance between precision and recall while maintaining high accuracy. The result of this study demonstrates that Decoding-enhanced BERT with Disentangled Attention (DeBERTa) has strong performance in handling long, structured text and short, diverse comments. This illustrates DeBERTa's superiority in capturing complex semantic relationships and context-dependent sentiments.

Applied and Computational EngineeringVol. 149(1)
Central South University (CN)
Openalex Percentile: Top 11%
Sentiment Analysis and Opinion Mining
2.48
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.