Exploring Interaction Patterns for Debugging: Enhancing Conversational Capabilities of AI-assistants
Authors:
- Bhavya ChopraBCBhavya Chopra
- Yasharth BajpaiYBYasharth Bajpai
- Param BiyaniPBParam Biyani
- Gustavo SoaresGSGustavo Soares
- Arjun RadhakrishnaARArjun Radhakrishna
- Chris ParninCPChris Parnin
- Sumit GulwaniSGSumit Gulwani
Preprint
Abstract
The widespread availability of Large Language Models (LLMs) within Integrated Development Environments (IDEs) has led to their speedy adoption. Conversational interactions with LLMs enable programmers to obtain natural language explanations for various software development tasks. However, LLMs often leap to action without sufficient context, giving rise to implicit assumptions and inaccurate responses. Conversations between developers and LLMs are primarily structured as question-answer pairs, where the developer is responsible for asking the the right questions and sustaining conversations across multiple turns. In this paper, we draw inspiration from interaction patterns and conversation analysis -- to design Robin, an enhanced conversational AI-assistant for debugging. Through a within-subjects user study with 12 industry professionals, we find that equipping the LLM to -- (1) leverage the insert expansion interaction pattern, (2) facilitate turn-taking, and (3) utilize debugging workflows -- leads to lowered conversation barriers, effective fault localization, and 5x improvement in bug resolution rates.Keywords
All Related Versions
This publication has 7 references indexed in Scilit:
- The Programmer’s Assistant: Conversational Interaction with a Large Language Model for Software Development2023
- Expectation vs. Experience: Evaluating the Usability of Code Generation Tools Powered by Large Language Models2022
- An Exploratory Study of Sharing Strategic Programming Knowledge2022
- Towards Designing Conversational Agents for Pair Programming: Accounting for Creativity Strategies and Conversational Styles2020
- Conversational UX Design: A Practitioner's Guide to the Natural Conversation Framework2019
- Conversation Analysis2016
- The Self-Organization of Human Interaction2013