arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.01691cs.HCcs.CL
收藏

AI链:通过链接大语言模型语句实现透明可控的人机交互

AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Prompts

University of Washington(华盛顿大学);Google Research(谷歌研究院)

Tongshuang Wu, Michael Terry, Carrie J. Cai

摘要:

尽管大语言模型(LLM)在简单任务上表现出了令人印象深刻的潜力,但它们的范围广泛,缺乏透明度和可控性不足,使得它们在协助人类完成更复杂的任务时效率较低。作为回应,我们引入了将LLM步骤链接在一起的概念,其中一个步骤的输出成为下一个步骤的输入,从而聚合每个步骤的增益。我们首先定义了一组LLM原始操作有用的链建设,然后提出了一个交互式系统,用户可以修改这些链,以及他们的中间结果,在一个模块化的方式。在一项20人的用户研究中,我们发现Chaining不仅提高了任务结果的质量,还显著增强了系统的透明度、可控性和协作感。此外,我们看到用户开发了通过链与LLM交互的新方法:他们利用子任务来校准模型预期,通过观察并行下游效应来比较和对比替代策略,并通过“单元测试”链的子组件来调试意外的模型输出。在两个案例研究中,我们进一步探讨了如何在未来的应用中使用LLM链

英文摘要:

Although large language models (LLMs) have demonstrated impressive potential on simple tasks, their breadth of scope, lack of transparency, and insufficient controllability can make them less effective when assisting humans on more complex tasks. In response, we introduce the concept of Chaining LLM steps together, where the output of one step becomes the input for the next, thus aggregating the gains per step. We first define a set of LLM primitive operations useful for Chain construction, then present an interactive system where users can modify these Chains, along with their intermediate results, in a modular way. In a 20-person user study, we found that Chaining not only improved the quality of task outcomes, but also significantly enhanced system transparency, controllability, and sense of collaboration. Additionally, we saw that users developed new ways of interacting with LLMs through Chains: they leveraged sub-tasks to calibrate model expectations, compared and contrasted alternative strategies by observing parallel downstream effects, and debugged unexpected model outputs by "unit-testing" sub-components of a Chain. In two case studies, we further explore how LLM Chains may be used in future applications

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

↑