Fine-Tuned BERT for Sentiment Classification of Online Reviews
DOI: 10.23977/autml.2026.070214 | Downloads: 1 | Views: 50
Author(s)
Hongru Li 1, Zhitao Wu 1
Affiliation(s)
1 School of Electronic and Information Engineering, University of Science and Technology Liaoning, Anshan, China
Corresponding Author
Zhitao WuABSTRACT
Online review sentiment classification requires models to interpret contextual meaning, negation, and evaluative expressions that may be distributed across a document. This paper presents a fine-tuning study of BERT and compares it with TextCNN and LSTM classifiers on the public IMDB movie review dataset. The design preserves the official test partition, derives validation data from the training partition, and controls the review passage supplied to each model. BERT is adapted with a binary classification head, while the baselines use pretrained word embeddings and task-specific encoders. Learning rate, batch size, and maximum sequence length are examined alongside classification accuracy, positive-class precision, recall, F1, and inference latency. Training duration is included to expose the computational cost of contextual fine-tuning. In the experiments, BERT achieves an accuracy of 93.8% and an F1 of 93.8%, accompanied by greater training and inference costs than the baseline systems. The analysis evaluates gains associated with each complete pretrained system and examines how truncation can remove sentiment-bearing evidence. Subsequent work will address long reviews, mixed sentiment, domain transfer, and probability calibration to support customer-opinion summarization.
KEYWORDS
Online reviews; Sentiment classification; BERT; Fine tuning; Contextual representationCITE THIS PAPER
Hongru Li, Zhitao Wu. Fine-Tuned BERT for Sentiment Classification of Online Reviews. Automation and Machine Learning (2026). Vol. 7, No. 2, 120-125. DOI: http://dx.doi.org/10.23977/autml.2026.070214.
REFERENCES
[1] Kim Y. Convolutional neural networks for sentence classification[C]//Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing. 2014: 1746-1751.
[2] Hochreiter S, Schmidhuber J. Long short-term memory[J]. Neural Computation, 1997, 9(8): 1735-1780.
[3] Vaswani A, Shazeer N, Parmar N, et al. Attention is all you need[C]//Advances in Neural Information Processing Systems. 2017: 5998-6008.
[4] Devlin J, Chang M W, Lee K, Toutanova K. BERT: Pre-training of deep bidirectional transformers for language understanding[C]//Proceedings of NAACL-HLT. 2019: 4171-4186.
[5] Pennington J, Socher R, Manning C D. GloVe: Global vectors for word representation[C]//Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing. 2014: 1532-1543.
[6] Srivastava N, Hinton G, Krizhevsky A, et al. Dropout: a simple way to prevent neural networks from overfitting[J]. Journal of Machine Learning Research, 2014, 15(1): 1929-1958.
[7] Kingma D P, Ba J. Adam: A method for stochastic optimization[C]//International Conference on Learning Representations. 2015.
| Downloads: | 5903 |
|---|---|
| Visits: | 360462 |
Sponsors, Associates, and Links
-
Power Systems Computation
-
Internet of Things (IoT) and Engineering Applications
-
Computing, Performance and Communication Systems
-
Journal of Artificial Intelligence Practice
-
Advances in Computer, Signals and Systems
-
Journal of Network Computing and Applications
-
Journal of Web Systems and Applications
-
Journal of Electrotechnology, Electrical Engineering and Management
-
Journal of Wireless Sensors and Sensor Networks
-
Journal of Image Processing Theory and Applications
-
Mobile Computing and Networking
-
Vehicle Power and Propulsion
-
Frontiers in Computer Vision and Pattern Recognition
-
Knowledge Discovery and Data Mining Letters
-
Big Data Analysis and Cloud Computing
-
Electrical Insulation and Dielectrics
-
Crypto and Information Security
-
Journal of Neural Information Processing
-
Collaborative and Social Computing
-
International Journal of Network and Communication Technology
-
File and Storage Technologies
-
Frontiers in Genetic and Evolutionary Computation
-
Optical Network Design and Modeling
-
Journal of Virtual Reality and Artificial Intelligence
-
Natural Language Processing and Speech Recognition
-
Journal of High-Voltage
-
Programming Languages and Operating Systems
-
Visual Communications and Image Processing
-
Journal of Systems Analysis and Integration
-
Knowledge Representation and Automated Reasoning
-
Review of Information Display Techniques
-
Data and Knowledge Engineering
-
Journal of Database Systems
-
Journal of Cluster and Grid Computing
-
Cloud and Service-Oriented Computing
-
Journal of Networking, Architecture and Storage
-
Journal of Software Engineering and Metrics
-
Visualization Techniques
-
Journal of Parallel and Distributed Processing
-
Journal of Modeling, Analysis and Simulation
-
Journal of Privacy, Trust and Security
-
Journal of Cognitive Informatics and Cognitive Computing
-
Lecture Notes on Wireless Networks and Communications
-
International Journal of Computer and Communications Security
-
Journal of Multimedia Techniques
-
Computational Linguistics Letters
-
Journal of Computer Architecture and Design
-
Journal of Ubiquitous and Future Networks

Download as PDF