arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.15948cs.SEcs.AIcs.HC
收藏

IDE中的信任校准:为AI重构的广泛采用铺平道路

Trust Calibration in IDEs: Paving the Way for Widespread Adoption of AI Refactoring

CodeScene;Lund University(隆德大学)

Markus Borg

AI总结:

本文指出LLM在AI重构中存在破坏性变更等风险,主张在IDE中封装模型交互并验证重构,基于自动化人因模型在CodeScene中开展行动研究,开发LLM保障措施与传达适当信任的用户交互,以推动AI重构的广泛采用。

摘要:

在软件行业中,添加新功能的驱动力往往掩盖了改进现有代码的需求。大型语言模型(LLMs)通过AI辅助的重构,提供了一种以前所未有的规模改进代码库的新方法。然而,LLMs带有固有的风险,例如破坏性变更和引入安全漏洞。我们主张在IDEs中封装与模型的交互,并使用可信的保障措施来验证重构尝试。然而,对于AI重构的采用,关于信任发展的研究同样重要。在这篇立场论文中,我们基于自动化人因研究中既定的模型来定位我们的未来工作。我们概述了在CodeScene内的行动研究,涉及开发1)新颖的LLM保障措施和2)传达适当信任水平的用户交互。这种工业合作使得大规模代码库分析和A/B测试成为可能,从而持续指导我们研究干预措施的设计。

英文摘要:

In the software industry, the drive to add new features often overshadows the need to improve existing code. Large Language Models (LLMs) offer a new approach to improving codebases at an unprecedented scale through AI-assisted refactoring. However, LLMs come with inherent risks such as braking changes and the introduction of security vulnerabilities. We advocate for encapsulating the interaction with the models in IDEs and validating refactoring attempts using trustworthy safeguards. However, equally important for the uptake of AI refactoring is research on trust development. In this position paper, we position our future work based on established models from research on human factors in automation. We outline action research within CodeScene on development of 1) novel LLM safeguards and 2) user interaction that conveys an appropriate level of trust. The industry collaboration enables large-scale repository analysis and A/B testing to continuously guide the design of our research interventions.

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

↑