Toward explaining value concerns in software artifacts : A human-in-the-loop method

Mougouei, Davoud, Pham, Son, Azarnik, Ahmad, Fahmideh, Mahdi, Nurwidyantoro, Arif, Mougouei, Elahe, Haque, Amanul, Dam, Hoa Khanh, Rafi, Saima and Khan, Javed Ali (2026) Toward explaining value concerns in software artifacts : A human-in-the-loop method. Information and Software Technology, 199: 108254. ISSN 0950-5849
Copy

Context: Violations of human values in software can lead to user dissatisfaction, economic harm, and loss of trust. Existing software engineering research has focused on detecting such violations through manual labeling or automated classification, without explaining the mechanisms through which they occur. This lack of explanation makes reported violations difficult to verify and offers limited guidance for addressing them. Objectives: This study introduces a human-in-the-loop method that explains potential violations of human values in software artifacts—value concerns—by articulating the conditions under which they may arise. Methods: The proposed human-in-the-loop method integrates the automated reasoning capabilities of a large language model (ChatGPT) with human assessment to identify and articulate value concerns in software artifacts. We evaluate the method through a case study of 1200 Android and iOS APIs, assessing its ability to produce traceable accounts of potential value violations. Results: The results show that ChatGPT’s inferences about value concerns are reasonably accurate but incomplete. Errors arise from unfounded explanations and overextended reasoning, while the persuasive presentation of LLM outputs can make these errors difficult to recognize. The human-in-the-loop method mitigates these issues through human review. Conclusion: Our findings support the use of LLMs as reasoning partners that, when combined with human oversight, can effectively explain value concerns in software artifacts.


picture_as_pdf
1-s2.0-S0950584926002430-main.pdf
subject
Published Version
Available under Creative Commons: BY 4.0

View Download

EndNote BibTeX Reference Manager Refer Atom Dublin Core MODS OpenURL ContextObject HTML Citation OPENAIRE METS ASCII Citation Data Cite XML OpenURL ContextObject in Span MPEG-21 DIDL RIOXX2 XML
Export

Downloads