Uncovering the Causes of Emotions in Software Developer Communication Using Zero-shot LLMs
Mia Mohammad Imran, Preetha Chatterjee, Kostadin Damevski

TL;DR
This paper investigates the use of zero-shot large language models like ChatGPT and GPT-4 to automatically identify emotions and their causes in software developer communications, aiming to improve understanding and collaboration.
Contribution
It demonstrates that zero-shot LLMs can effectively recognize emotion causes in software engineering communications without task-specific training.
Findings
Zero-shot LLMs can identify emotion causes with a BLEU-2 score of 0.598.
Models can recognize emotion categories when provided detailed descriptions.
Case study reveals insights into developer frustration in open-source projects.
Abstract
Understanding and identifying the causes behind developers' emotions (e.g., Frustration caused by `delays in merging pull requests') can be crucial towards finding solutions to problems and fostering collaboration in open-source communities. Effectively identifying such information in the high volume of communications across the different project channels, such as chats, emails, and issue comments, requires automated recognition of emotions and their causes. To enable this automation, large-scale software engineering-specific datasets that can be used to train accurate machine learning models are required. However, such datasets are expensive to create with the variety and informal nature of software projects' communication channels. In this paper, we explore zero-shot LLMs that are pre-trained on massive datasets but without being fine-tuned specifically for the task of detecting…
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.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Engineering Techniques and Practices
