Investigating and Designing for Trust in AI-powered Code Generation Tools

05/18/2023
by   Ruotong Wang, et al.
0

As AI-powered code generation tools such as GitHub Copilot become popular, it is crucial to understand software developers' trust in AI tools – a key factor for tool adoption and responsible usage. However, we know little about how developers build trust with AI, nor do we understand how to design the interface of generative AI systems to facilitate their appropriate levels of trust. In this paper, we describe findings from a two-stage qualitative investigation. We first interviewed 17 developers to contextualize their notions of trust and understand their challenges in building appropriate trust in AI code generation tools. We surfaced three main challenges – including building appropriate expectations, configuring AI tools, and validating AI suggestions. To address these challenges, we conducted a design probe study in the second stage to explore design concepts that support developers' trust-building process by 1) communicating AI performance to help users set proper expectations, 2) allowing users to configure AI by setting and adjusting preferences, and 3) offering indicators of model mechanism to support evaluation of AI suggestions. We gathered developers' feedback on how these design concepts can help them build appropriate trust in AI-powered code generation tools, as well as potential risks in design. These findings inform our proposed design recommendations on how to design for trust in AI-powered code generation tools.

READ FULL TEXT

page 11

page 12

page 21

page 22

page 23

research
12/07/2022

"It would work for me too": How Online Communities Shape Software Developers' Trust in AI-Powered Code Generation Tools

Software developers commonly engage in online communities to learn about...
research
01/26/2023

On the Design of AI-powered Code Assistants for Notebooks

AI-powered code assistants, such as Copilot, are quickly becoming a ubiq...
research
06/15/2023

Live Exploration of AI-Generated Programs

AI-powered programming assistants are increasingly gaining popularity, w...
research
03/30/2023

Understanding the Usability of AI Programming Assistants

The software engineering community recently has witnessed widespread dep...
research
07/30/2021

Towards Understanding the Impact of Real-Time AI-Powered Educational Dashboards (RAED) on Providing Guidance to Instructors

The objectives of this ongoing research are to build Real-Time AI-Powere...
research
02/14/2023

Generation Probabilities Are Not Enough: Exploring the Effectiveness of Uncertainty Highlighting in AI-Powered Code Completions

Large-scale generative models enabled the development of AI-powered code...
research
09/14/2022

Data Quality, Mismatched Expectations, and Moving Requirements: The Challenges of User-Centred Dashboard Design

Interactive information dashboards can help both specialists and the gen...

Please sign up or login with your details

Forgot password? Click here to reset