INQUIRING LINE

Could the trick that teaches AI to build spreadsheets correctly also teach it to write documents or build slide decks well?

Can real-application RL training generalize beyond spreadsheets to other office software?

This explores whether the approach behind Spreadsheet-RL, which trains a model with reinforcement learning inside real Excel and rewards it only when the finished spreadsheet is correct, could carry over to other office tools such as word processors, slide decks or email clients, and what the corpus says would decide that.


This explores whether training an AI inside real Excel, and rewarding it only for correct finished spreadsheets, is a method that could work for other office software or a trick that only works for spreadsheets. The short answer: the corpus has no paper that runs this experiment outside Excel. It does have enough nearby evidence to show what transfer would depend on. The strongest result is the starting point. A small 4B model trained with RL inside Microsoft Excel almost doubled its accuracy on SpreadsheetBench, from 12% to 23.4%, because each attempt could be checked against a known-correct 'oracle' spreadsheet Can reinforcement learning in real Excel beat general-purpose LLMs?. That last detail matters more than Excel itself. The method works because a spreadsheet's final state is easy to check automatically.

The part most likely to generalize is the data pipeline rather than the trained model. Spreadsheet-RL didn't rely on experts to write training tasks. Coding agents mined real user questions from ExcelForum and built verified answer files, with rule-based filters to catch mistakes Can coding agents replace human experts in building training data?. That recipe needs three things: a pool of real user problems, a way to produce a correct end state, and a program that can compare files. Any office app with those three could in principle be trained the same way. Code2Skill points the same way from a different angle: source code can be turned into large numbers of skills that are checked by running them, with no prior agent experience needed Can source code replace experience as skill raw material?. Office software that can be driven through code is the easiest place to build these checkable tasks.

There are also reasons to believe RL can handle the messier, longer workflows that documents and presentations involve. RL doubled a 72B model's score on multi-step software engineering tasks where the reward only arrives at the end Can reinforcement learning scale beyond single-turn language tasks?. Giving the model a code tool during training cut the number of RL steps needed by more than half Can tool use make reinforcement learning more sample efficient?. And when an outside service is too expensive to call during training, a simulated version can sometimes stand in for it, as LLM-simulated search engines have done Can LLMs replace search engines during agent training?.

The surprising part is that generalization might fail for reasons unrelated to the software. Spreadsheets give you a clean right-or-wrong answer. A well-written memo or a good-looking slide doesn't. Training on mixed tasks shows that structured, checkable domains make a model's outputs narrower and more predictable, while creative domains push them the other way. Training on the structured tasks first, then the open-ended ones, protected the open-ended skills Does training order reshape how models handle different task types?. RL also tends to lock onto one dominant output format and quietly drop the others Does RL training collapse format diversity in pretrained models?. For office work, that could look like a model that gets very good at one document template and worse at everything else. When answers can't be verified, a model's own variation across attempts can serve as a usable reward signal Can one statistical measure serve dual purposes in RL training?, which is one possible route for the less checkable apps.

A last warning concerns what RL actually adds. One body of work argues that RL mostly teaches a model when to use skills it already has, not how to do new things Does RL post-training create reasoning or just deploy it?. Other work finds that long RL runs on varied tasks can produce genuinely new strategies Can reinforcement learning discover reasoning strategies base models cannot?. If the first view holds, moving to a new office app works only when the base model already knows that app reasonably well. Spreadsheet-RL's low 12% starting score hints at a risk here: tasks that are nearly impossible for a model can teach it shortcuts that damage abilities it already had Do overly hard RLVR samples actually harm model capabilities?. In short, this kind of RL should transfer to any office tool whose output a program can grade. The real obstacle is building a reliable grader, not the software itself.


Sources 12 notes

Can reinforcement learning in real Excel beat general-purpose LLMs?

Spreadsheet-RL raised Pass@1 accuracy from 12.0% to 23.4% on SpreadsheetBench by fine-tuning a 4B model with on-policy RL inside Microsoft Excel, using outcome-verified rewards checked against oracle spreadsheets rather than general LLM prompting.

Can coding agents replace human experts in building training data?

Spreadsheet-RL's data agent mines ExcelForum posts and uses strong coding agents plus rule-based filtering to generate RL training pairs automatically. This approach scales dataset creation from 912 pairs to larger volumes without expert involvement.

Can source code replace experience as skill raw material?

Code2Skill extracts over 1 million auditable skills from GitHub repositories through source-blind reconstruction verification, improving performance from 42.90 to 47.90 macro-average across eight benchmarks, outperforming trajectory and document-derived alternatives.

Can reinforcement learning scale beyond single-turn language tasks?

Modified DAPO training doubled SWE-bench Verified performance from 20% to 39% on Qwen2.5-72B, matching larger models. This demonstrates RL works in stateful multi-step environments with delayed rewards and complex feedback, beyond theoretical single-turn MDPs.

Can tool use make reinforcement learning more sample efficient?

ReTool achieves 67% accuracy in 400 RL steps with code-interpreter access, while text-only RL needs 1080 steps for 40% on the same model. The gap arises because tools reduce ambiguity and enable programmable search, letting RL find correct solutions faster.

Show all 12 sources
Can LLMs replace search engines during agent training?

ZeroSearch and SSRL demonstrate that LLMs can generate relevant documents and search results from internal knowledge, with 14B simulators matching or exceeding real search engines. Curriculum degradation and test-time scaling optimize this approach for training without API costs.

Does training order reshape how models handle different task types?

Omni-Thinker shows structured domains decrease output entropy while creative domains increase it. BWT-guided scheduling—training structured tasks first—yields 6.2% gains over joint training by preventing entropy collapse from damaging open-ended capabilities.

Does RL training collapse format diversity in pretrained models?

Controlled experiments show RL consistently amplifies one format distribution from pretraining within the first epoch while collapsing alternatives. The winning format depends on model scale, not necessarily performance, and is largely hidden when starting from proprietary pretrained models.

Can one statistical measure serve dual purposes in RL training?

DRO reuses a single self-supervised statistic at two aggregation levels: token-level weighting in dense rewards and query-level filtering to discard degenerate comparisons. This dual use achieves 2–3× faster training with better stability on unverifiable tasks.

Does RL post-training create reasoning or just deploy it?

Evidence shows base models already contain reasoning capability in latent form; RL training optimizes deployment timing rather than capability creation. Hybrid models recover 91% of performance gains by routing tokens only, and activation vectors for reasoning strategies pre-exist before any RL.

Can reinforcement learning discover reasoning strategies base models cannot?

RL-trained models outperform base models across all pass@k levels when trained with KL control, policy resetting, and non-mathematical tasks. This shows RL can expand capability boundaries, not just optimize sampling efficiency, especially on domains where base models lack established patterns.

Do overly hard RLVR samples actually harm model capabilities?

Training on nearly-impossible problems causes models to learn degenerate shortcuts rather than genuine reasoning, and these shortcuts contaminate pre-existing capabilities. Group-relative normalization treats rare accidental successes as high-advantage trajectories, reinforcing answer repetition and computation-skipping instead of sound reasoning patterns.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.