一句话:提出基于知识图谱的方法,从应用评论中抽取伦理关切、成因及对应软件需求。
随着移动应用深入日常生活,用户评论常暴露安全、隐私与问责等伦理关切。已有机器学习方法可识别这些关切,但难以理解其背后原因并转化为可操作的软件需求。本文提出一种基于知识图谱(KG)的新方法,从应用评论中提取软件需求并捕获伦理关切的上下文数据。框架包含三部分:构建含相关实体与关系的本体,从评论中抽取关键实体,并建立实体间连接。作者以 Uber 应用评论为案例,给出初步结果。结果表明,KG 能有效捕获软件伦理关切相关上下文、关切背后原因以及相应的潜在需求,为更安全的软件开发提供支持。
As mobile applications become increasingly integral to our daily lives, concerns about ethics have grown drastically. Users share their experiences, report bugs, and request new features in application reviews, often highlighting safety, privacy, and accountability concerns. Approaches using machine learning techniques have been used in the past to identify these ethical concerns. However, understanding the underlying reasons behind them and extracting requirements that could address these concerns is crucial for safer software solution development. Thus, we propose a novel approach that leverages a knowledge graph (KG) model to extract software requirements from app reviews, capturing contextual data related to ethical concerns. Our framework consists of three main components: developing an ontology with relevant entities and relations, extracting key entities from app reviews, and creating connections between them. This study analyzes app reviews of the Uber mobile application (a popular taxi/ride app) and presents the preliminary results from the proposed solution. Initial results show that KG can effectively capture contextual data related to software ethical concerns, the underlying reasons behind these concerns, and the corresponding potential requirements.CCS CONCEPTS• Software and its engineering → Requirements analysis.