Automatic Generation of Explainability Requirements and Software Explanations From User Reviews
Martin Obaidi, Jannik Fischbach, Jakob Droste, Hannah Deters, Marc Herrmann, Jil Kl\"under, Steffen Kr\"atzig, Hugo Villamizar, Kurt Schneider

TL;DR
This paper presents an automated tool-supported approach to derive explainability requirements and generate explanations from user reviews, aiming to improve transparency and trust in software systems, with empirical evaluation and dataset release.
Contribution
It introduces a novel automated method for deriving explainability requirements and explanations from user feedback, supported by empirical validation and dataset sharing.
Findings
AI-generated explanations are often clearer and stylistically preferred.
AI requirements tend to lack relevance and correctness.
Human validation is crucial for ensuring correctness.
Abstract
Explainability has become a crucial non-functional requirement to enhance transparency, build user trust, and ensure regulatory compliance. However, translating explanation needs expressed in user feedback into structured requirements and corresponding explanations remains challenging. While existing methods can identify explanation-related concerns in user reviews, there is no established approach for systematically deriving requirements and generating aligned explanations. To contribute toward addressing this gap, we introduce a tool-supported approach that automates this process. To evaluate its effectiveness, we collaborated with an industrial automation manufacturer to create a dataset of 58 user reviews, each annotated with manually crafted explainability requirements and explanations. Our evaluation shows that while AI-generated requirements often lack relevance and correctness…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsExplainable Artificial Intelligence (XAI) · Ethics and Social Impacts of AI · Software Engineering Research
