[Paper Review] Bidirectional Encoder Representations from Transformers (BERT): A sentiment analysis odyssey
The paper compares four sentiment analysis techniques (Sent WordNet, logistic regression, LSTM, and BERT) on IMDB reviews and shows BERT’s superior performance.
The purpose of the study is to investigate the relative effectiveness of four different sentiment analysis techniques: (1) unsupervised lexicon-based model using Sent WordNet; (2) traditional supervised machine learning model using logistic regression; (3) supervised deep learning model using Long Short-Term Memory (LSTM); and, (4) advanced supervised deep learning models using Bidirectional Encoder Representations from Transformers (BERT). We use publicly available labeled corpora of 50,000 movie reviews originally posted on internet movie database (IMDB) for analysis using Sent WordNet lexicon, logistic regression, LSTM, and BERT. The first three models were run on CPU based system whereas BERT was run on GPU based system. The sentiment classification performance was evaluated based on accuracy, precision, recall, and F1 score. The study puts forth two key insights: (1) relative efficacy of four highly advanced and widely used sentiment analysis techniques; (2) undisputed superiority of pre-trained advanced supervised deep learning BERT model in sentiment analysis from text data. This study provides professionals in analytics industry and academicians working on text analysis key insight regarding comparative classification performance evaluation of key sentiment analysis techniques, including the recently developed BERT. This is the first research endeavor to compare the advanced pre-trained supervised deep learning model of BERT vis-à-vis other sentiment analysis models of LSTM, logistic regression, and Sent WordNet.
Motivation & Objective
- Evaluate and compare four sentiment analysis techniques on a common dataset.
- Assess performance using standard metrics (accuracy, precision, recall, F1).
- Highlight the relative efficacy of pre-trained BERT versus traditional models.
Proposed method
- Use Sent WordNet for unsupervised lexicon-based sentiment analysis.
- Train a traditional supervised model using logistic regression on labeled data.
- Train an LSTM-based supervised deep learning model.
- Fine-tune and evaluate a pre-trained BERT model on the same data using GPU acceleration.
Experimental results
Research questions
- RQ1Which sentiment analysis approach yields the highest accuracy, precision, recall, and F1 on IMDB reviews?
- RQ2Do pre-trained advanced models like BERT consistently outperform traditional and other deep learning methods in sentiment analysis?
- RQ3How do computational resources (CPU vs GPU) impact performance comparisons across models?
Key findings
- BERT demonstrates undisputed superiority among the four techniques for sentiment analysis in this study.
- Pre-trained BERT, evaluated on GPU, outperforms Sent WordNet, logistic regression, and LSTM on the IMDB corpus.
- The study provides a side-by-side performance comparison to inform practitioners about relative strengths of each approach.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.