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

Synatra:将间接知识大规模转化为数字智能体的直接演示

Synatra: Turning Indirect Knowledge into Direct Demonstrations for Digital Agents at Scale

Carnegie Mellon University(卡内基梅隆大学);xAI(xAI公司);Amazon AWS AI(亚马逊AWS人工智能部门)

Tianyue Ou, Frank F. Xu, Aman Madaan, Jiarui Liu, Robert Lo, Abishek Sridhar, Sudipta Sengupta, Dan Roth, Graham Neubig, Shuyan Zhou

AI总结:

针对数字智能体缺乏大规模直接演示的问题,提出Synatra方法将在线教程等间接知识转化为直接演示,用10万合成演示微调7B CodeLlama,在三个基准上超越同等规模模型及GPT-3.5,成本仅为人类演示的3%且更有效。

摘要:

大语言模型(LLMs)目前可作为自主智能体与数字环境交互并完成特定目标(例如安排在线会议)。然而其准确性仍远不能令人满意,部分原因是缺乏针对数字任务的大规模直接演示。从人类获取监督数据成本高昂,而通过探索或强化学习自动收集数据依赖复杂的环境和内容设置,导致数据集缺乏对各种场景的全面覆盖。另一方面,存在大量可能间接辅助任务完成的知识,例如为人类创建的在线教程。在本工作中,我们提出Synatra方法,可有效将这类间接知识大规模转化为直接监督。我们定义了不同类型的间接知识,仔细研究了获取间接知识的可用来源、编码直接演示结构的方法,以及最终将间接知识转化为直接演示的方法。我们使用10万个此类合成生成的演示来微调7B规模的CodeLlama模型,并证明所得智能体在三个基于网络的任务基准Mind2Web、MiniWoB++和WebArena上超过了所有同等规模的模型,同时在WebArena和Mind2Web上超过了GPT-3.5。此外,虽然合成演示的成本仅为人类演示的3%(每个0.031美元),但我们表明,合成演示比从有限领域收集的相同数量的人类演示更有效。

英文摘要:

LLMs can now act as autonomous agents that interact with digital environments and complete specific objectives (e.g., arranging an online meeting). However, accuracy is still far from satisfactory, partly due to a lack of large-scale, direct demonstrations for digital tasks. Obtaining supervised data from humans is costly, and automatic data collection through exploration or reinforcement learning relies on complex environmental and content setup, resulting in datasets that lack comprehensive coverage of various scenarios. On the other hand, there is abundant knowledge that may indirectly assist task completion, such as online tutorials that were created for human consumption. In this work, we present Synatra, an approach that effectively transforms this indirect knowledge into direct supervision at scale. We define different types of indirect knowledge, and carefully study the available sources to obtain it, methods to encode the structure of direct demonstrations, and finally methods to transform indirect knowledge into direct demonstrations. We use 100k such synthetically-created demonstrations to finetune a 7B CodeLlama, and demonstrate that the resulting agent surpasses all comparably sized models on three web-based task benchmarks Mind2Web, MiniWoB++ and WebArena, as well as surpassing GPT-3.5 on WebArena and Mind2Web. In addition, while synthetic demonstrations prove to be only 3% the cost of human demonstrations (at $0.031 each), we show that the synthetic demonstrations can be more effective than an identical number of human demonstrations collected from limited domains.

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

↑