arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.04903cs.HCcs.AIcs.SE
收藏

基于场景设计的生成式人工智能代码解释性研究

Investigating Explainability of Generative AI for Code through Scenario-based Design

University of Southern California(南加利福尼亚大学);Microsoft Research(微软研究院);IBM Research AI(IBM人工智能研究院)

Jiao Sun, Q. Vera Liao, Michael Muller, Mayank Agarwal, Stephanie Houde, Kartik Talamadupula, Justin D. Weisz

摘要:

生成式人工智能模型是可解释的,这意味着什么?可解释人工智能(XAI)的新兴学科在帮助人们理解判别模型方面取得了长足的进步。较少关注生成模型,生成工件,而不是决策,作为输出。同时,生成式人工智能(GenAI)技术正在成熟并被应用于诸如软件工程的应用领域。使用基于XML的设计和问题驱动的XAI设计方法,我们在三个软件工程用例中探索了用户对GenAI的可解释性需求:自然语言到代码,代码翻译和代码自动完成。我们与43名软件工程师进行了9次研讨会,其中使用了最先进的生成式人工智能模型的真实示例来引出用户的可解释性需求。借鉴之前的工作,我们还为GenAI的代码提出了4种类型的XAI功能,并从参与者那里收集了更多的设计想法。我们的工作探索了GenAI对代码的可解释性需求,并展示了以人为本的方法如何推动XAI在新领域的技术发展。

英文摘要:

What does it mean for a generative AI model to be explainable? The emergent discipline of explainable AI (XAI) has made great strides in helping people understand discriminative models. Less attention has been paid to generative models that produce artifacts, rather than decisions, as output. Meanwhile, generative AI (GenAI) technologies are maturing and being applied to application domains such as software engineering. Using scenario-based design and question-driven XAI design approaches, we explore users' explainability needs for GenAI in three software engineering use cases: natural language to code, code translation, and code auto-completion. We conducted 9 workshops with 43 software engineers in which real examples from state-of-the-art generative AI models were used to elicit users' explainability needs. Drawing from prior work, we also propose 4 types of XAI features for GenAI for code and gathered additional design ideas from participants. Our work explores explainability needs for GenAI for code and demonstrates how human-centered approaches can drive the technical development of XAI in novel domains.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑