Venturing ChatGPT's lens to explore human values in software artifacts: a case study of mobile APIs

Mougouei, Davoud, Rafi, Saima, Fahmideh, Mahdi, Mougouei, Elahe, Khan, Javed Ali, Dam, Hoa Khanh, Nurwidyantoro, Arif and Chaudron, Michel (2025) Venturing ChatGPT's lens to explore human values in software artifacts: a case study of mobile APIs. Behaviour and Information Technology: 2478278. pp. 1-37. ISSN 0144-929X
Copy

Software is designed for humans and must account for their values. However, current research and practice focus on a narrow range of well-explored values, e.g. security, overlooking a more comprehensive perspective. Those exploring a broader array of values rely on manual identification, which is labour-intensive and prone to human bias. Moreover, existing methods offer limited reliability as they fail to explain their findings. In this paper, we propose leveraging the reasoning capabilities of Large Language Models (LLMs) for automated inference about values. This allows for not only detecting values but also explaining how they are expressed in the software. We aim to examine the effectiveness of LLMs, specifically ChatGPT (Chat Generative Pre-Trained Transformer), in automated detection and explanation of values in software artifacts. Using ChatGPT, we investigate how mobile APIs align with human values based on their documentation. Human evaluation of ChatGPT's findings shows a reciprocal shift in understanding values, with both ChatGPT and experts adjusting their assessments through dialogue. While experts recognise ChatGPT's potential for revealing values, emphasis is placed on human involvement to enhance the accuracy of the findings by detecting and eliminating convincing but inaccurate explanations provided by the language model due to potential hallucinations or confabulations.


picture_as_pdf
Venturing_ChatGPT_s_lens_to_explore_human_values_in_software_artifacts_a_case_study_of_mobile_APIs.pdf
subject
Published Version
Available under Creative Commons: BY 4.0

View Download

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

Downloads