A Cluster-Based Approach for Emotion Recognition in Software Development

Timely recognizing developers' emotions is crucial to support their productivity and well-being. To this aim, recent research has proposed approaches for sensor-based emotion detection during programming tasks, with promising results. However, limitations exist due to individual physiological differences, which we aim to address in the current study. Specifically, we propose a novel cluster-based approach for emotion recognition in software development using non-invasive biometric sensors. Our methodology enables the training of emotion recognition models specific to groups of people with similar physiological profiles. We evaluate our approach using a dataset of self-reported emotions and biometrics of developers involved in a Java programming task. Results show that our cluster-based approach enhances the performance of emotion classification compared to baseline approaches that do not account for individual differences. For valence recognition, we achieve improvements in precision (+33%), recall (+12%), and F1-score (+18%). For arousal, the most notable improvement is observed in precision (+29%). The classifier demonstrates particular effectiveness in identifying negative emotions with high arousal, which is especially valuable for detecting emotional states potentially detrimental to developers' well-being. While promising, our results suggest that further optimization through additional data collection and individual model training would be beneficial before practical deployment. The study includes a comprehensive evaluation of the proposed approach and provides a lab package for replication purposes.

Authors

Institutions

Publication Details

Published
2025-04-27
DOI
https://doi.org/10.1109/chase66643.2025.00034
Primary Topic
Emotion and Mood Recognition
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Cluster-Based Approach for Emotion Recognition in Software Development

Nicole Novielli, Filippo Lanubile, Daniela Grassi, Alberta Motca-Schnabel
Emotion and Mood Recognition
article

A Cluster-Based Approach for Emotion Recognition in Software Development

Nicole Novielli, Filippo Lanubile, Daniela Grassi, Alberta Motca-Schnabel
article en

Abstract

Timely recognizing developers' emotions is crucial to support their productivity and well-being. To this aim, recent research has proposed approaches for sensor-based emotion detection during programming tasks, with promising results. However, limitations exist due to individual physiological differences, which we aim to address in the current study. Specifically, we propose a novel cluster-based approach for emotion recognition in software development using non-invasive biometric sensors. Our methodology enables the training of emotion recognition models specific to groups of people with similar physiological profiles. We evaluate our approach using a dataset of self-reported emotions and biometrics of developers involved in a Java programming task. Results show that our cluster-based approach enhances the performance of emotion classification compared to baseline approaches that do not account for individual differences. For valence recognition, we achieve improvements in precision (+33%), recall (+12%), and F1-score (+18%). For arousal, the most notable improvement is observed in precision (+29%). The classifier demonstrates particular effectiveness in identifying negative emotions with high arousal, which is especially valuable for detecting emotional states potentially detrimental to developers' well-being. While promising, our results suggest that further optimization through additional data collection and individual model training would be beneficial before practical deployment. The study includes a comprehensive evaluation of the proposed approach and provides a lab package for replication purposes.

University of Bari Aldo Moro (IT)
Openalex Percentile: Top 87%
Emotion and Mood Recognition
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.