arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.22642cs.AI
收藏

Spreadsheet-RL: 通过强化学习推进大型语言模型代理在现实中的电子表格任务中的进步

Spreadsheet-RL: Advancing Large Language Model Agents on Realistic Spreadsheet Tasks via Reinforcement Learning

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Meta

Banghao Chi, Yining Xie, Mingyuan Wu, Jingcheng Yang, Jize Jiang, Zhaoheng Li, Shengyi Qian, Minjia Zhang, Klara Nahrstedt, Rui Hou, Xiangjun Fan, Hanchao Yu

AI总结:

本文提出Spreadsheet-RL,一种通过强化学习微调框架,旨在在现实Microsoft Excel环境中训练专门的电子表格代理。该方法通过自动化管道收集在线论坛中的配对起始-目标电子表格,以及金融和供应链管理等领域的领域特定评估任务,构建了新的Domain-Spreadsheet基准数据集,并展示了在通用和领域特定电子表格任务上的显著性能提升。

摘要:

电子表格系统(例如Microsoft Excel,Google Sheets)在现代数据导向的工作流程中起着核心作用。随着AI代理越来越能够自动化复杂任务,如控制计算机和生成演示文稿,构建一个AI驱动的电子表格代理已成为一个有前途的研究方向。大多数现有的电子表格代理依赖于在通用目的LLM上进行专门的提示;虽然这种设计在简单的电子表格操作上有潜力,但难以管理现实世界中典型的复杂、多步骤的工作流程。我们介绍了Spreadsheet-RL,一种强化学习(RL)微调框架,旨在在现实Microsoft Excel环境中训练专门的电子表格代理。Spreadsheet-RL具有自动化管道,用于可扩展地收集配对的起始-目标电子表格,以及在金融和供应链管理等领域的领域特定评估任务,这些任务被编译成新的Domain-Spreadsheet基准数据集。它还包括一个Spreadsheet Gym环境,用于多轮RL:Spreadsheet Gym通过Python沙箱暴露广泛的Excel功能,并附带一个经过改进的Harness,其中包含全面的工具集和精心设计的工具路由规则用于电子表格任务。通过全面的实验,我们展示了Spreadsheet-RL在通用和领域特定的电子表格任务上显著提高了AI代理的性能:它将Qwen3-4B-Thinking-2507在SpreadsheetBench上的Pass@1从12.0%提高到23.4%,并在我们精心编写的Domain-Spreadsheet数据集上将Pass@1从8.4%提高到17.2%。这些结果突显了Spreadsheet-RL在电子表格自动化中的强大泛化能力和实际应用潜力,以及更广泛地,其在日常工作中LLM与数据接口交互方面的前景。

英文摘要:

Spreadsheet systems (e.g., Microsoft Excel, Google Sheets) play a central role in modern data-centric workflows. As AI agents grow increasingly capable of automating complex tasks, such as controlling computers and generating presentations, building an AI-driven spreadsheet agent has emerged as a promising research direction. Most existing spreadsheet agents rely on specialized prompting over general-purpose LLMs; while this design has potentials on simple spreadsheet operations, it struggles to manage the complex, multi-step workflows typical of real-world applications. We introduce Spreadsheet-RL, a reinforcement learning (RL) fine-tuning framework designed to train specialized spreadsheet agents within a realistic Microsoft Excel environment. Spreadsheet-RL features an automated pipeline for scalable collection of paired start-goal spreadsheets from online forums, as well as domain-specific evaluation tasks in areas such as finance and supply chain management, which we compile into the new Domain-Spreadsheet benchmark dataset. It also includes a Spreadsheet Gym environment designed for multi-turn RL: Spreadsheet Gym exposes extensive Excel functionality through a Python sandbox, along with a refined harness that incorporates a comprehensive tool set and carefully designed tool-routing rules for spreadsheet tasks. Through comprehensive experiments, we show that Spreadsheet-RL substantially enhances AI agent's performance on both general and domain-specific spreadsheet tasks: it improves Qwen3-4B-Thinking-2507's Pass@1 on SpreadsheetBench from 12.0% to 23.4%, and raises Pass@1 from 8.4% to 17.2% on our curated Domain-Spreadsheet dataset. These results highlight Spreadsheet-RL's strong potential for generalization and real-world adoption in spreadsheet automation, and broadly, its promise for advancing LLM-based interactions with data interfaces in everyday work.

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

↑