Uncovering the Causes of Emotions in Software Developer Communication Using Zero-shot LLMs
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 emotion causes in software engineering: ChatGPT, GPT-4, and flan-alpaca. Our evaluation indicates that these recently available models can identify emotion categories when given detailed emotions, although they perform worse than the top-rated models. For emotion cause identification, our results indicate that zero-shot LLMs are effective at recognizing the correct emotion cause with a BLEU-2 score of 0.598. To highlight the potential use of these techniques, we conduct a case study of the causes of Frustration in the last year of development of a popular open-source project, revealing several interesting insights.
Wed 17 AprDisplayed time zone: Lisbon change
11:00 - 12:30 | Generative AI studiesResearch Track / Software Engineering Education and Training at Luis de Freitas Branco Chair(s): Walid Maalej University of Hamburg | ||
11:00 15mTalk | ChatGPT Incorrectness Detection in Software Reviews Research Track Minaoar Hossain Tanzil University of Calgary, Canada, Junaed Younus Khan University of Calgary, Gias Uddin York University, Canada DOI Pre-print | ||
11:15 15mTalk | ChatGPT-Resistant Screening Instrument for Identifying Non-Programmers Research Track Raphael Serafini Ruhr University Bochum, Clemens Otto Ruhr University Bochum, Stefan Albert Horstmann Ruhr University Bochum, Alena Naiakshina Ruhr University Bochum | ||
11:30 15mTalk | Development in times of hype: How freelancers explore Generative AI? Research Track Mateusz Dolata University of Zurich, Norbert Lange Entschleunigung Lange, Gerhard Schwabe University of Zurich DOI Pre-print File Attached | ||
11:45 15mTalk | How Far Are We? The Triumphs and Trials of Generative AI in Learning Software Engineering Research Track Rudrajit Choudhuri Oregon State University, Dylan Liu Oregon State University, Igor Steinmacher Northern Arizona University, Marco Gerosa Northern Arizona University, Anita Sarma Oregon State University Pre-print | ||
12:00 15mResearch paper | Uncovering the Causes of Emotions in Software Developer Communication Using Zero-shot LLMs Research Track Mia Mohammad Imran Virginia Commonwealth University, Preetha Chatterjee Drexel University, USA, Kostadin Damevski Virginia Commonwealth University Pre-print | ||
12:15 15mTalk | Assessing AI Detectors in Identifying AI-Generated Code: Implications for Education Software Engineering Education and Training Wei Hung Pan School of Information Technology, Monash University Malaysia, Ming Jie Chok School of Information Technology, Monash University Malaysia, Jonathan Leong Shan Wong School of Information Technology, Monash University Malaysia, Yung Xin Shin School of Information Technology, Monash University Malaysia, Yeong Shian Poon School of Information Technology, Monash University Malaysia, Zhou Yang Singapore Management University, Chun Yong Chong Monash University Malaysia, David Lo Singapore Management University, Mei Kuan Lim Monash University Malaysia |