BERT-Based Sentiment Analysis: A Software Engineering Perspective
Not on the map. Why?
Abstract (arXiv)
Sentiment analysis can provide a suitable lead for the tools used in software engineering along with the API recommendation systems and relevant libraries to be used. In this context, the existing tools like SentiCR, SentiStrength-SE, etc. exhibited low f1-scores that completely defeats the purpose of deployment of such strategies, thereby there is enough scope for performance improvement. Recent advancements show that transformer based pre-trained models (e.g., BERT, RoBERTa, ALBERT, etc.) have displayed better results in the text classification task. Following this context, the present research explores different BERT-based models to analyze the sentences in GitHub comments, Jira comments, and Stack Overflow posts. The paper presents three different strategies to analyse BERT based model for sentiment analysis, where in the first strategy the BERT based pre-trained models are fine-tuned; in the second strategy an ensemble model is developed from BERT variants, and in the third strategy a compressed model (Distil BERT) is used. The experimental results show that the BERT based ensemble approach and the compressed BERT model attain improvements by 6-12% over prevailing tools for the F1 measure on all three datasets.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 15 of its 34 references that are in the map. First posted on arXiv 4 Jun 2021.
Builds on
15 of 34 references.
References · 15
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2016Enriching Word Vectors with Subword Informationcited by 1,578
- 2014word2vec Explained: deriving Mikolov et al.'s negative-sampling word-embedding methodcited by 109
- 2017Unsupervised Learning of Sentence Embeddings using Compositional n-Gram Featurescited by 103
- 2020Natural Language Processing Advancements By Deep Learning: A Surveycited by 50
- 2018A Benchmark Study on Sentiment Analysis for Software Engineering Researchcited by 14
- 2017Sentiment Polarity Detection for Software Developmentcited by 12
- 2021Data Augmentation in a Hybrid Approach for Aspect-Based Sentiment Analysiscited by 10
- 2017EmoTxt: A Toolkit for Emotion Recognition from Textcited by 9
3 more
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 1; 2024: 2; 2025: 3; 2026: 1.
9 papers.
- 2024Securing Large Language Models: Threats, Vulnerabilities and Responsible Practicescited by 36
- 2024Decoding the AI Pen: Techniques and Challenges in Detecting AI-Generated Textcited by 14
- 2021Hate speech detection using static BERT embeddingscited by 4
- 2023TransformCode: A Contrastive Learning Framework for Code Embedding via Subtree Transformationcited by 4
- 2022An Empirical Study of IoT Security Aspects at Sentence-Level in Developer Textual Discussionscited by 3
- 2025Concept-Based Interpretability for Toxicity Detectioncited by 1
- 2025Tricks and Plug-ins for Gradient Boosting with Transformerscited by 0
- 2025Polarity Detection of Sustainable Development Goals in News Textcited by 0
- 2026Sentiment analysis for software engineering: How far can zero-shot learning (ZSL) go?cited by 0
- 2026Sentiment analysis for software engineering: How far can zero-shot learning (ZSL) go?15 Apr 2026
- 2025Concept-Based Interpretability for Toxicity Detection15 Nov 2025
- 2025Polarity Detection of Sustainable Development Goals in News Text24 Sep 2025
- 2025Tricks and Plug-ins for Gradient Boosting with Transformers4 Aug 2025
- 2024Securing Large Language Models: Threats, Vulnerabilities and Responsible Practices19 Mar 2024
- 2024Decoding the AI Pen: Techniques and Challenges in Detecting AI-Generated Text9 Mar 2024
- 2023TransformCode: A Contrastive Learning Framework for Code Embedding via Subtree Transformation10 Nov 2023
- 2022An Empirical Study of IoT Security Aspects at Sentence-Level in Developer Textual Discussions7 Jun 2022
- 2021Hate speech detection using static BERT embeddings29 Jun 2021