INQUIRING LINE

If an AI's spreadsheet answer is almost right, does its training reward it at all, or only perfect answers count?

How does outcome-based reward matching handle partial credit or near-miss spreadsheet solutions?

This explores what happens when an AI model being trained to do spreadsheet tasks gets an answer almost right: does a reward that only checks the final result give it any credit for a near miss, and what else could?


This explores how outcome-based rewards treat spreadsheet answers that are close but not exactly right. The plain answer is that the corpus doesn't describe a partial-credit scheme for spreadsheets. The main spreadsheet example, Can reinforcement learning in real Excel beat general-purpose LLMs?, trains a small 4B model inside real Microsoft Excel. Each attempt is rewarded by checking it against a correct 'oracle' spreadsheet. As the note describes it, the check is about whether the outcome is correct. It doesn't measure how close a wrong answer came. Even with that coarse signal, accuracy nearly doubled, from 12.0% to 23.4%. So a strict pass/fail reward can carry a lot of learning on its own. The more interesting question is what that strictness costs, and the rest of the corpus has a good deal to say about that.

The first cost is less obvious than lost credit. Does binary reward training hurt model calibration? shows that pass/fail rewards push models toward confident guessing, because a confident wrong answer costs no more than a hesitant one. A model trained only on 'matches the oracle or not' may become overconfident about spreadsheets it got slightly wrong. The fix proposed there is to add a second reward term, the Brier score, which rewards the model for being accurate about how sure it is. That is one form of partial credit: the reward isn't for being nearly right, it's for knowing you might be wrong.

The obvious next step is to score near misses directly with a rubric. The corpus warns about this. Does reward hacking always stem from the same failure? argues that reward hacking always comes from the same place: optimizing against a score that only partly captures the real task. A 'how close was it' score is exactly that kind of score. A model could learn to fill in the right cells with the wrong formulas. Can rubrics and dense rewards work together without hacking? offers a cleaner design. The rubric acts as a gate that accepts or rejects whole batches of attempts, and finer-grained rewards then do the optimizing inside the accepted ones. Translated to spreadsheets, 'is this valid at all?' and 'how good is it?' become separate signals instead of one blended number.

A third approach skips partial credit entirely and gets the useful signal by comparing attempts. In Can full episode rewards per step enable better credit assignment?, each step of a multi-step task receives the whole episode's reward. Scoring attempts relative to their group then shows which sequences of actions tend to succeed. That is how a 3B model beat 72B baselines. A spreadsheet task is a chain of steps, so this suggests that near misses can teach through contrast with successful attempts even when the near miss itself scores zero. Should successful and failed episodes be processed differently? goes further: it keeps successful attempts as concrete examples and turns failed ones into short abstract lessons.

The deeper idea is that a single number can't say how to fix a near miss. Can scalar rewards capture all the information in agent feedback? separates feedback that says how well something went from feedback that says what to change. A pass/fail score against an oracle only gives the first kind. Yet a near-miss spreadsheet holds a lot of the second kind: which cell is off, and which formula broke. Can reward models benefit from reasoning before scoring? points to one way to recover it: reward models that reason through an answer before scoring it can judge more than a simple outcome check can. The takeaway is that near-miss spreadsheets currently earn nothing in outcome-only training. The real design choice isn't whether to give partial credit. It's whether to learn from the gap through calibration, gating, or comparison between attempts.


Sources 8 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.

Does binary reward training hurt model calibration?

Binary correctness rewards incentivize high-confidence guessing because they don't penalize confident wrong answers. Adding the Brier score as a second reward term mathematically guarantees joint optimization of accuracy and calibration without trade-off.

Does reward hacking always stem from the same failure?

Reward hacking arises during weight training, output selection, and prompt revision through a shared failure: optimization against signals that incompletely represent the actual task. The substrate matters less than the misalignment between the scoring function and ground truth.

Can rubrics and dense rewards work together without hacking?

DRO shows that using rubrics to accept or reject rollout groups—rather than converting rubric scores into dense rewards—prevents reward hacking. This separation preserves the categorical strength of rubrics while letting token-level rewards optimize within valid answers.

Can full episode rewards per step enable better credit assignment?

MS-GRPO assigns cumulative episode reward to each step, and group-relative normalization across rollouts surfaces which action sequences succeed. A 3B model post-trained this way outperforms 72B baselines by 50%, showing the training method matters more than scale for multi-step tasks.

Show all 8 sources
Should successful and failed episodes be processed differently?

SkillRL demonstrates that treating successful episodes as concrete demonstrations and failures as abstracted lessons achieves state-of-the-art performance on complex tasks while using substantially less context than uniform approaches. The asymmetry mirrors human expert reasoning and avoids the degradation seen in uniform consolidation methods.

Can scalar rewards capture all the information in agent feedback?

Natural feedback carries two orthogonal types of information: evaluative (how well an action performed) and directive (how it should change). Scalar rewards capture evaluation but discard directional specifics that token-level distillation can recover, making the two complementary rather than redundant.

Can reward models benefit from reasoning before scoring?

Three independent teams (RRM, RM-R1, DeepSeek-GRM) discovered that adding chain-of-thought reasoning before reward scoring enables adaptive test-time compute scaling for evaluation. Reasoning-based approaches raise the capability ceiling of reward models beyond what outcome-based evaluation achieves.

Papers this line draws on 8

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