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

探索调试中的交互模式:增强AI助手的对话能力

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

Microsoft(微软公司)

Bhavya Chopra, Yasharth Bajpai, Param Biyani, Gustavo Soares, Arjun Radhakrishna, Chris Parnin, Sumit Gulwani

AI总结:

本文借鉴交互模式与对话分析,设计增强调试AI助手Robin,通过插入扩展、轮流发言及调试工作流,降低对话障碍,提升故障定位,使错误解决率提高5倍。

摘要:

大型语言模型(LLMs)在集成开发环境(IDEs)中的广泛可用性导致了其迅速被采用。与LLMs的对话交互使程序员能够获得针对各种软件开发任务的自然语言解释。然而,LLMs常常在没有足够上下文的情况下贸然行动,从而产生隐含假设和不准确的响应。开发者与LLMs之间的对话主要被构建为问答对,其中开发者负责提出正确的问题并在多轮对话中维持对话。在本文中,我们从交互模式和对话分析中汲取灵感,设计了Robin,一个增强的用于调试的对话式AI助手。通过一项涉及12名行业专业人员的受试者内用户研究,我们发现,使LLM具备以下能力——(1)利用插入扩展交互模式,(2)促进轮流发言,以及(3)利用调试工作流——能够降低对话障碍,实现有效的故障定位,并将错误解决率提高5倍。

英文摘要:

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.

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

↑