Checks outside the model: executed math traces and questions that pin down a program
Two papers posted on 2026-11-13 move the evidence for a model's work out of the model's own text. One trains small models to emit reasoning steps whose arithmetic a deterministic calculator performs, and one lets a learner ask the user for the examples that best separate competing programs, with a bound on how many questions it needs.
Arithmetic the model does not get to narrate
Small language models are attractive for local and privacy-sensitive deployment but unreliable at multi-step mathematics, where a fluent rationale can hide a wrong intermediate number. ARCHER changes the supervision target. Its first stage compiles existing chain-of-thought rationales into typed action traces made of reading, planning, calculator calls, observations, verification and a final answer; arithmetic spans become calculator expressions, and the observations come from a deterministic runtime, not from the model. Its second stage refines that policy with group-relative reinforcement learning over executed trajectories, using reward families in a fixed priority: answer correctness first, then tool grounding, which rewards a calculator call only where the reference trace needs one and discourages unnecessary calls, then process discipline, then a weak alignment to the compiled trace that applies only when a trajectory is already correct or grounded.
Across five sub-10-billion-parameter models and eight benchmarks, ARCHER was best or tied for best in all 40 comparisons and averaged 5.51 points above the strongest tool-augmented baseline, with larger gains on longer derivations: 8.95 points on MATH-500 and about 5.3 points on each of two years of competition problems, reported as single runs on small test sets. It also improved two 7-billion-parameter models already specialized for reasoning on every benchmark. A stage-wise breakdown on one model shows where the gains come from: supervised trace training lifted grade-school math accuracy only from 77.40% to 79.06% but raised the share of valid traces from 41.2% to 68.7%, and the full method reached 85.96%. Removing the tool-grounding reward cost the most accuracy of any single component, and removing the gating also hurt. The authors caution that a well-formed trace is not a guarantee of correctness, since a decomposition or a calculator input can still be wrong.
Asking for the example that settles the question
The second paper addresses programming by example, where a finite set of input and output pairs is consistent with infinitely many programs that disagree on unseen inputs. It treats the target program as the unknown in a Bayesian problem: a language model supplies the prior over programs and the proposals, importance sampling estimates the posterior, and at each round the learner picks the input with the highest expected information gain and asks an oracle, such as the user, for its output. Because exact program equivalence is undecidable, programs are grouped by agreement on a fixed random sample of inputs, which gives a PAC-style bound on error for the returned program.
The analysis shows the greedy rule terminates after a number of queries proportional to the log of one over the target's prior probability, divided by the minimum information each answer carries, independent of the target error; a learner that labels random inputs instead needs a number that grows with one over that error. On a benchmark of 1,114 Python functions with anonymized names and a budget of 30 examples, the method improved accuracy over the benchmark's language-model agent in most settings, by up to 22 percentage points while observing up to 10.5 fewer examples, across six open models from 3 to 32 billion parameters, even though the baseline could also ask two whole-program equivalence checks and the new method asked none. Its chosen queries carried 0.70 to 0.99 guaranteed bits each, against 0.31 to 0.52 for diverse or random choices. The main limit is the prior: the models' most probable class was the target's class far less often than its probability suggested, so the posterior sometimes concentrated early on a wrong program.
Where to put the trust
Each paper relocates trust from model output to an external mechanism: a calculator that does the arithmetic and a user whose answers eliminate candidates. Each also shows the mechanism's limit, whether a well-formed but wrong trace or a prior that is confidently mistaken.
- Execute what can be executed: Route exact computation through deterministic tools and score whether the model called them correctly, not only whether the final answer matched.
- Spend user effort on informative questions: When a user must disambiguate intent, choose the examples that split the remaining candidates, and check the model's prior for overconfidence.
Sources
- ARCHER: From Rationale Imitation to Executable Reasoning in Small Language Models · arXiv · 2026-11-13
- Interactive Program Induction with Language Model Priors · arXiv · 2026-11-13