English

Exploring Interaction Patterns for Debugging: Enhancing Conversational Capabilities of AI-assistants

Human-Computer Interaction 2024-02-12 v1 Artificial Intelligence Software Engineering

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

Cite

@article{arxiv.2402.06229,
  title  = {Exploring Interaction Patterns for Debugging: Enhancing Conversational Capabilities of AI-assistants},
  author = {Bhavya Chopra and Yasharth Bajpai and Param Biyani and Gustavo Soares and Arjun Radhakrishna and Chris Parnin and Sumit Gulwani},
  journal= {arXiv preprint arXiv:2402.06229},
  year   = {2024}
}

Comments

7 pages, 4 figures, 2 tables

R2 v1 2026-06-28T14:43:47.296Z