Sentiment analysis for software engineering: How far can zero-shot learning (ZSL) go?
Reem Alfayez, Manal Binkhonain

TL;DR
This paper evaluates the potential of zero-shot learning techniques for sentiment analysis in software engineering, showing they can perform comparably to fine-tuned models and address data annotation challenges.
Contribution
It provides an empirical assessment of various ZSL methods in software engineering sentiment analysis, highlighting their effectiveness and limitations.
Findings
ZSL techniques with expert labels achieve macro-F1 scores similar to fine-tuned transformers.
Subjectivity and polar facts are main causes of misclassification in ZSL.
ZSL reduces reliance on annotated datasets for sentiment analysis in software engineering.
Abstract
Sentiment analysis in software engineering focuses on understanding emotions expressed in software artifacts. Previous research highlighted the limitations of applying general off-the-shelf sentiment analysis tools within the software engineering domain and indicated the need for specialized tools tailored to various software engineering contexts. The development of such tools heavily relies on supervised machine learning techniques that necessitate annotated datasets. Acquiring such datasets is a substantial challenge, as it requires domain-specific expertise and significant effort. Objective: This study explores the potential of ZSL to address the scarcity of annotated datasets in sentiment analysis within software engineering Method:} We conducted an empirical experiment to evaluate the performance of various ZSL techniques, including embedding-based, NLI-based, TARS-based, and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
