SheetAgent:基于大型语言模型迈向电子表格推理与操作的通用智能体
SheetAgent: Towards A Generalist Agent for Spreadsheet Reasoning and Manipulation via Large Language Models
AI总结:
本文提出 SheetRM 基准和 SheetAgent 智能体,通过 Planner、Informer 和 Retriever 三个协作模块实现无需人工交互的电子表格高级推理与精确操作,在多个基准上通过率提升 20-40%。
摘要:
电子表格在万维网上无处不在,在提高各领域工作效率方面发挥着关键作用。近期人们尝试利用大型语言模型(LLM)进行自动电子表格操作,但尚未在存在推理挑战的复杂且现实的任务中(例如,需要多步推理的长程操作和模糊需求)进行研究。为了弥合与现实世界需求之间的差距,我们引入了 SheetRM,这是一个具有长程和多类别任务的基准,这些任务包含由现实生活挑战引起的依赖推理的操作。为了缓解上述挑战,我们进一步提出了 SheetAgent,一种利用 LLM 能力的新型自主智能体。SheetAgent 由三个协作模块组成:Planner、Informer 和 Retriever,通过迭代的任务推理和反思,在无需人类交互的情况下,实现对电子表格的高级推理和准确操作。大量实验表明,SheetAgent 在多个基准上的通过率比基线提高了 20--40%,在电子表格操作中实现了更高的精度,并展现出卓越的表格推理能力。更多细节和可视化可在项目网站获取:https://sheetagent.github.io/。数据集和源代码可在 https://anonymous.4open.science/r/SheetAgent 获取。
英文摘要:
Spreadsheets are ubiquitous across the World Wide Web, playing a critical role in enhancing work efficiency across various domains. Large language model (LLM) has been recently attempted for automatic spreadsheet manipulation but has not yet been investigated in complicated and realistic tasks where reasoning challenges exist (e.g., long horizon manipulation with multi-step reasoning and ambiguous requirements). To bridge the gap with the real-world requirements, we introduce SheetRM, a benchmark featuring long-horizon and multi-category tasks with reasoning-dependent manipulation caused by real-life challenges. To mitigate the above challenges, we further propose SheetAgent, a novel autonomous agent that utilizes the power of LLMs. SheetAgent consists of three collaborative modules: Planner, Informer, and Retriever, achieving both advanced reasoning and accurate manipulation over spreadsheets without human interaction through iterative task reasoning and reflection. Extensive experiments demonstrate that SheetAgent delivers 20--40\% pass rate improvements on multiple benchmarks over baselines, achieving enhanced precision in spreadsheet manipulation and demonstrating superior table reasoning abilities. More details and visualizations are available at the project website: https://sheetagent.github.io/. The datasets and source code are available at https://anonymous.4open.science/r/SheetAgent.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。