Why do AI assistants struggle to spot the one broken formula hiding in a messy spreadsheet?
Why do AI agents fail at locating errors in spreadsheets?
This explores why AI agents struggle to find mistakes inside spreadsheets, such as a broken formula, a wrong cell reference or a bad value, and what the wider collection says about agents spotting errors in their own work or in other people's.
This explores why AI agents have trouble pinpointing where a spreadsheet goes wrong. First, a limit: the collection has no study that measures error-finding in spreadsheets directly. Its spreadsheet papers look at agents completing tasks, not auditing them. The adjacent material still explains a lot, because error-finding fails for the same reasons task-completion does.
The clearest spreadsheet result is that accuracy depends on getting each step right, not on how many steps an agent takes. On SpreadsheetBench 2, a model that took fewer actions beat one that took more, because more of its actions ran without errors. The surrounding software (the scaffold) changed accuracy as much as the choice of model did What drives accuracy in spreadsheet agent systems?. The implication for error-finding is that an agent working through a workbook is also adding its own small mistakes as it goes. A wrong lookup or a misread range can bury the original error under new ones.
A second reason: agents and their scorers usually judge the final answer, and errors often hide in the method. In one biology benchmark, an agent used a single fly's data in place of a whole group's and still landed on a number that passed the tolerance check. You could only see the mistake by reading the intermediate steps Can a numerically correct answer hide an invalid method?. Spreadsheets have the same shape: a total can look plausible while a formula three sheets back points at the wrong row. Work on long reasoning traces found that checking intermediate states raised task success from 32% to 87%, because most failures were steps done wrong, not wrong final answers Where do reasoning agents actually fail during long traces?. An agent that audits a spreadsheet by checking whether the bottom line 'looks right' is using the wrong strategy for the job.
Third, training rarely rewards finding errors. Spreadsheet-RL nearly doubled accuracy by training a small model inside real Excel, but the reward was whether the output matched a known-correct spreadsheet Can reinforcement learning in real Excel beat general-purpose LLMs?. Those correct spreadsheets were generated automatically by coding agents Can coding agents replace human experts in building training data?. That pipeline teaches agents to produce right answers. It doesn't teach them to explain where a wrong answer came from. Evaluation work offers a contrast: an 'agent-as-a-judge' that gathers evidence step by step was about 100 times more stable than a plain LLM judge. Even so, errors in its memory module spread through the whole system, which shows how easily one early slip contaminates everything after it Can agents evaluate AI outputs more reliably than language models?.
The surprising part is that the human side of error-finding fails in a similar way. When an AI explains its answer, people accept it more whether or not it's correct. Only explanations that argue both for and against an answer actually helped people spot mistakes Do explanations actually help users spot AI errors?. Separately, agents rarely ask clarifying questions unless prompted, even though asking recovers most of the performance lost to vague instructions Can asking for clarification recover lost software engineering performance?. Many 'errors' in a spreadsheet are really unstated assumptions about what a column means. Taken together, this suggests better spreadsheet auditing would come from agents that check each step, argue against their own conclusions, and ask what a cell was supposed to mean. A bigger model alone wouldn't fix it.
Sources 8 notes
Claude Opus 4.6 achieves higher accuracy than MiniMax M2.5 despite requiring fewer interaction steps, because it maintains a substantially higher effective-step ratio—executing each step without errors. Scaffold architecture similarly shapes accuracy independently of the underlying model.
A biology benchmark found an agent substituted one fly's trajectory for an entire group, producing a numerically correct result that passed tolerance checks. The error was only visible by inspecting intermediate steps, not the final output alone.
Reliability for long-trace reasoning comes from checking intermediate states and policy compliance during generation, not from scoring final outputs. Adding intermediate verification raised task success from 32% to 87% because most failures are process violations, not wrong answers.
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.
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.
Show all 8 sources
Eight-module agentic evaluation achieved 0.27% judge shift versus 31% for LLM-as-a-Judge on complex tasks. However, the memory module cascaded errors, revealing that agentic systems need error isolation mechanisms to maintain gains.
A user study found that reasoning traces and post-hoc explanations increase acceptance of AI answers regardless of correctness, engendering false trust. Only contrastive dual explanations—presenting arguments for and against the answer—genuinely improved users' ability to distinguish correct from incorrect outputs.
Testing AI agents on ambiguous software engineering tasks showed that live clarification exchanges recover 74–80% of the performance drop caused by incomplete instructions. However, models rarely initiate these queries without explicit prompting, suggesting a training rather than capability gap.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- 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
- Overseeing Agents Without Constant Oversight: Challenges and Opportunities
- Sharpening Tax in Post-Training
- Finance Agent Benchmark: Benchmarking LLMs on Real-world Financial Research Tasks
- Holistic Agent Leaderboard: The Missing Infrastructure for AI Agent Evaluation
- Stop Anthropomorphizing Intermediate Tokens as Reasoning/Thinking Traces!
- Beyond Semantics: The Unreasonable Effectiveness of Reasonless Intermediate Tokens