Research Article

A Comparative Study on the Performance of BERT Sentiment Classification Models Based on Data Augmentation

Chong Wang*
Chongqing, China

* Corresponding author: [email protected]

Abstract

With the development of social media and e-commerce platforms, text sentiment analysis is of great value in public opinion monitoring, market analysis, and user experience research. Pre-trained language models such as BERT significantly improve sentiment classification performance, but are still prone to overfitting in small sample scenarios [1]. In order to improve the robustness and generalization ability of the model, this paper compares the performance differences of three lightweight data enhancement methods, namely synonym substitution, random masking and backtranslation, in Chinese sentiment classification tasks [2,3]. Based on the ChnSentiCorp dataset, the enhancement strategy is analyzed from three dimensions: semantic retention, computational cost and performance improvement. The results show that both synonym substitution and random masking can stably improve the model performance, while the effect of unfiltered backtranslation is significantly reduced due to semantic shift. After adding semantic similarity and sentiment consistency screening, the backtranslation performance is restored. This paper provides suggestions for the selection of enhancement strategies for emotion classification in small sample scenarios.

Keywords: Data augmentation; BERT; Sentiment classification; Few-shot learning; Back-translation
Published: December 18, 2025
DOI: 10.54254/2755-2721/2026.TJ30608
Volume: ACE Vol.211
pp. 89-92
Download PDF

References

  1. Devlin, J., Chang, M. W., Lee, K., & Toutanova, K. (2019). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) (pp. 4171-4186). Association for Computational Linguistics.
  2. Wei, J., & Zou, K. (2019). EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Tasks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP) (pp. 6382-6388). Association for Computational Linguistics.
  3. Sennrich, R., Haddow, B., & Birch, A. (2016). Improving neural machine translation models with monolingual data. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) (pp. 86-96).
  4. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... & Polosukhin, I. (2017). Attention is all you need. In Advances in Neural Information Processing Systems 30 (pp. 5998-6008).
  5. Wang, Y., Lu, Y., & Wei, F. (2021). A survey on low-resource neural machine translation. In Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence (IJCAI-21) (pp. 4390-4397). International Joint Conferences on Artificial Intelligence.
  6. Edunov, S., Ott, M., Baevski, A., Fan, A., & Ge, M. (2018). Understanding back-translation at scale. arXiv preprint arXiv: 1808.09381.
  7. Wu, W., Zhang, X., Zhao, Z., & Chen, H. (2019). Conditional BERT contextual augmentation. In Proceedings of the 35th International Conference on Computational Science (ICCS) (pp. 526-537). Springer.