arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.20015cs.SEcs.AI
收藏

面向低代码的AI:LowCoder

AI for Low-Code for AI

Carnegie Mellon University(卡内基梅隆大学);IBM Research(IBM研究院)

Nikitha Rao, Jason Tsay, Kiran Kate, Vincent J. Hellendoorn, Martin Hirzel

AI总结:

本文提出首个同时支持可视化编程和AI自然语言界面的低代码AI流水线开发工具LowCoder,并通过20名开发者的用户研究证明其能显著提升算子可发现性与迭代组合效率。

摘要:

低代码编程允许公民开发者以最少的编码工作来创建程序,通常通过可视化(例如拖放)界面实现。与此同时,近期出现的AI驱动工具(如Copilot和ChatGPT)能够根据自然语言指令生成程序。我们认为这两种模态是互补的:像ChatGPT这样的工具极大地减少了对大型API的记忆需求,但仍然要求用户阅读(和修改)程序,而可视化工具抽象掉了大部分甚至全部编程工作,却难以提供对大型API的便捷访问。在二者的交汇点上,我们提出了LowCoder,这是首个用于开发AI流水线的低代码工具,同时支持可视化编程界面(LowCoder_VP)和AI驱动的自然语言界面(LowCoder_NL)。我们利用该工具开展了一项用户研究,首次就这两种模态是否以及如何帮助程序员提供了一些见解。我们让20名具有不同AI专业水平的开发人员使用LowCoder实现四个ML流水线,并在一半任务中将LowCoder_NL组件替换为简单的关键词搜索。总体而言,我们发现LowCoder在以下方面尤其有用:(i)可发现性:使用LowCoder_NL时,参与者在75%的任务中发现了新的算子,而在关键词搜索条件下,使用网络搜索或滚动浏览选项的比例分别仅为32.5%和27.5%;(ii)迭代组合:82.5%的任务被成功完成,并且许多初始流水线还得到了进一步的成功改进。定性分析表明,当用户知道要做什么时,AI能帮助他们发现如何实现相应构造,但当新手不清楚自己想要完成什么时,AI仍然无法为他们提供支持。总体而言,我们的工作凸显了将AI的能力与低代码编程相结合的优势。

英文摘要:

Low-code programming allows citizen developers to create programs with minimal coding effort, typically via visual (e.g. drag-and-drop) interfaces. In parallel, recent AI-powered tools such as Copilot and ChatGPT generate programs from natural language instructions. We argue that these modalities are complementary: tools like ChatGPT greatly reduce the need to memorize large APIs but still require their users to read (and modify) programs, whereas visual tools abstract away most or all programming but struggle to provide easy access to large APIs. At their intersection, we propose LowCoder, the first low-code tool for developing AI pipelines that supports both a visual programming interface (LowCoder_VP) and an AI-powered natural language interface (LowCoder_NL). We leverage this tool to provide some of the first insights into whether and how these two modalities help programmers by conducting a user study. We task 20 developers with varying levels of AI expertise with implementing four ML pipelines using LowCoder, replacing the LowCoder_NL component with a simple keyword search in half the tasks. Overall, we find that LowCoder is especially useful for (i) Discoverability: using LowCoder_NL, participants discovered new operators in 75% of the tasks, compared to just 32.5% and 27.5% using web search or scrolling through options respectively in the keyword-search condition, and (ii) Iterative Composition: 82.5% of tasks were successfully completed and many initial pipelines were further successfully improved. Qualitative analysis shows that AI helps users discover how to implement constructs when they know what to do, but still fails to support novices when they lack clarity on what they want to accomplish. Overall, our work highlights the benefits of combining the power of AI with low-code programming.

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

↑