Can reinforcement learning in real Excel beat general-purpose LLMs?
Does training agents directly inside a real spreadsheet application with outcome-based rewards outperform prompting general language models for complex, multi-step spreadsheet tasks?
Spreadsheet-RL is described as "the first end-to-end RL post-training method for the spreadsheet domain," training agents with on-policy RL (GRPO) inside a real Microsoft Excel environment rather than relying on prompting over general-purpose LLMs, which the authors say "struggles to manage the complex, multi-step workflows typical of real-world applications." The reward is outcome-based and rule-verifiable: an agent's final spreadsheet DA is checked against an oracle final spreadsheet DO within designated manipulation regions M, not judged by a person or a learned preference model. Applied to Qwen3-4B-Thinking-2507, the authors report it raises Pass@1 on SpreadsheetBench from 12.0% to 23.4%, and on their new Domain-Spreadsheet benchmark (finance, HR, supply chain tasks) from 8.4% to 17.2%.
The mechanism combines three pieces named in the excerpt: a Spreadsheet Data Agent that collects paired start-goal spreadsheets from ExcelForum; a Spreadsheet Gym that exposes Excel functionality — including dynamic array formulas such as FILTER, UNIQUE, SORT, TAKE, and MAP — through a Python sandbox with "carefully designed tool-routing rules"; and "an asynchronous RL training framework that interfaces seamlessly with long-horizon, multi-turn spreadsheet interactions." The authors frame the harness itself as necessary, not incidental: without it, "the agent must begin RL from a weak interaction policy," so the structured action space is what makes outcome-matching rewards informative enough to train on.
This is a professional-software case of the sparse-outcome-reward problem that Can simulated APIs and token-level credit assignment train better tool-using agents? addresses differently — ToolPO substitutes LLM-simulated APIs and token-level credit assignment, while Spreadsheet-RL instead trains directly against a real application (real Excel, not a simulated API) and assigns credit only at the level of final-state matching. It also sits against Why do AI agents fail at workplace social interaction?: TheAgentCompany found professional UI navigation among the hardest failure modes for general-purpose agents, and Spreadsheet-RL's gains suggest that training inside the real application, rather than prompting a general model, is one way to narrow that specific gap — though only for spreadsheets, and only up to 23.4%.
The excerpt does not report training cost, GRPO hyperparameters, or how the outcome-match reward handles partial credit for formatting-only or near-miss differences; it also does not compare the RL-trained 4B model against the proprietary agents it cites (ChatGPT Agent at 45.5%, Copilot at 20.0% on SpreadsheetBench) after training, so whether Spreadsheet-RL closes that gap is left open. The evidence supports that environment-grounded, outcome-verified RL meaningfully improves one narrow professional software skill for one open model family — not that the approach generalizes across office software or across judge-free, rule-based rewards more broadly.
Inquiring lines that read this note 14
This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.
What makes AI failures visible and contestable to users?- What specific scaffold design features reduce per-step error rates in spreadsheet workflows?
- Why do AI agents fail at locating errors in spreadsheets?
- Which error types in spreadsheets are easiest versus hardest to debug?
- Does cell-level transparency measurably reduce spreadsheet review time or error detection rates?
Related concepts in this collection 4
This note in its neighbourhood — explore the map, then jump to a related concept in the list below.
Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph
-
Can simulated APIs and token-level credit assignment train better tool-using agents?
Training agents to use real APIs is expensive and unstable, and sparse rewards make it hard to credit the right tool calls. Can combining LLM simulators with fine-grained advantage attribution solve both problems?
both tackle sparse outcome rewards in agentic RL, but Spreadsheet-RL trains against a real app rather than a simulated API
-
Why do AI agents fail at workplace social interaction?
Explores why current AI agents struggle most with communicating and coordinating with colleagues in realistic workplace settings, despite strong reasoning capabilities in other domains.
Spreadsheet-RL targets exactly the professional-UI workflows TheAgentCompany found hardest for general agents
-
Can coding agents replace human experts in building training data?
Spreadsheet-RL uses Claude Code and Codex to automatically generate verified training pairs from forum threads, bypassing human annotation. The question is whether rule-based filtering alone can produce reliable reward signals at scale.
sibling note on how this paper's RL training data is produced
-
How well can AI handle real spreadsheet workflows?
SpreadsheetBench 2 tested frontier LLMs on 321 expert-annotated multi-sheet spreadsheet tasks from real business data. The question is whether current models can complete authentic workflow stages like financial modeling, error correction, and visualization.
Qualifies: on the harder successor benchmark SpreadsheetBench 2, even top models reach only 34.89%, showing spreadsheet tasks remain largely unsolved
Related papers in this collection 8
Papers most semantically related to this note, ranked by cosine similarity in the embedding space.
- Spreadsheet-RL: Advancing Large Language Model Agents on Realistic Spreadsheet Tasks via Reinforcement Learning
- SpreadsheetBench 2: Evaluating Agents on End-to-End Business Spreadsheet Workflows
- Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?
- Sharpening Tax in Post-Training
- Training Language Models to Self-Correct via Reinforcement Learning
- Scaling Automatic Research Agents via World Models
- Teaching Large Language Models to Reason with Reinforcement Learning
- ToolRL: Reward is All Tool Learning Needs
Original note title
Spreadsheet-RL's outcome-based RL in a real Excel environment raises SpreadsheetBench Pass@1 from 12.0 to 23.4 percent