When a language model computes a clinical score from a patient note, such as a kidney-function estimate or a risk score, the arithmetic is no longer the main problem. Having the model write a small Python program and run it removes most arithmetic mistakes. What remains is reading the note correctly: picking the right creatinine value among five, applying the sex adjustment, choosing the right formula variant. Multi-agent debate, where several model instances argue until they agree, is the natural tool for catching such misreadings. As usually run, though, it is expensive, it drifts toward agreement for its own sake, and it tends to "fix" things that were never broken.
We propose to let the program's executor decide what is worth arguing about. Each candidate solution is a formula plus a set of variable bindings, and each binding is tied to the span of the note it came from. Agents do not debate the whole solution. The system runs the program under each competing reading of each disputed variable. Only disagreements that change the executed answer enough to matter clinically are sent to a short debate, and in that debate every objection must quote the note. Debate stops when no answer-changing disagreement is left, not after a fixed number of rounds. We evaluate with step-wise clinical fidelity metrics rather than lenient final-answer tolerance, because only those metrics can show whether debate fixed the reasoning or just moved the number.
Core Claim
On clinical calculation benchmarks, most remaining errors of program-synthesis pipelines are value-extraction errors. These errors are correlated across samples of the same model, because the same confounding lab value fools every sample. Majority voting over executed answers therefore cannot fix them. A debate restricted to answer-changing binding disagreements, with objections that must cite the note, can overturn a wrong majority. It should do so at lower token cost and with less over-editing than whole-program debate.
The claim is falsifiable in two specific ways. The first test is the fraction of cases where a minority binding was correct and the protocol adopted it. The second is whether gains appear on the step-wise Value Extraction score and not only on final-answer accuracy.
Where This Sits
Three prior results motivate the gap. MedCalc-Bench collected 1,047 note-based calculation instances across 55 calculators and found GPT-4 at 50.9% with one-shot chain-of-thought under a ±5% tolerance. From Scores to Steps supplies both our evaluation and our strongest single-agent baseline. It rescored the benchmark stage by stage (formula selection, value extraction, calculation, final answer), and GPT-4o fell from 62.7% to 43.6% once each stage had to be right. The same paper built MedRaC, which retrieves a verified formula and runs synthesized Python. MedRaC cut arithmetic errors by 83% and lifted Phi-4-mini from 16.35% to 53.19%, but it is single-pass, and its residual failures are mostly extraction. MedCalc-Eval and MedCalc-Env trains a single model with verifiable rewards (reinforcement learning where the reward is whether the computed answer matches). It reports 40.8% on MedCalc-Eval for Qwen2.5-32B and notes that extraction from noisy notes remains unsolved.
Two debate papers supply the method, and each also constrains it. MAD-Logic is the closest existing work. It debates translations into three logic formalisms, dispatches them to solvers, and gates communication with a confidence-based score. However, it debates whole translations, it stops by round count, and it found quality degrading after two to three rounds. It also lets the model simulate the solver when execution fails, which brings back the hallucination the solver was meant to remove. Finally, it was tested only on logic puzzles with exact-match scoring. Adversarial Review gives us the evidence-typed objection format. A critic must label pushback as agreement, disagreement with a cited code line, or an unsupported concern. The same paper documents scope creep, where speculative objections cause harmful edits.
Our gating rule is aimed squarely at that scope creep. An objection that does not change the executed answer is never debated.
Two further papers set constraints on the design. Peacemaker or Troublemaker and Stop Overvaluing Multi-Agent Debate warn that homogeneous agents converge sycophantically and that debate gains are often overstated. We therefore use heterogeneous proposer models and compare against baselines with a matched token budget. A Diagnostic Study of Multi-Agent LLMs for Real-World Debates argues that outcome proxies hide breakdowns in the reasoning, which is why step-wise scoring is central here.
Research Program
Representation. A solution is a typed record: a calculator identifier (retrieved as in MedRaC), and for each input variable a value, a unit, and a character span in the note. A fixed executor runs the calculator. It also checks units and physiological ranges and rejects bindings whose span does not contain the value.
Proposal. Two or three heterogeneous models each produce such a record independently. The system then compares the records variable by variable.
Gating. For each variable where the proposals disagree, the executor recomputes the answer under each alternative, holding the other variables at their consensus values. Let $y(b)$ be the executed output under binding set $b$, and let $\tau$ be the clinical tolerance: the benchmark's relative margin for equation-based calculators, or any change of category for rule-based scores.
A disagreement on variable $v$ is material if
$$|y(b_{v\to a}) - y(b_{v\to a'})| > \tau \cdot |y(b_{v\to a})|,$$
where $a$ and $a'$ are the competing values for $v$.
Formula disagreements are always material.
Adjudication. Each material disagreement goes to a two-sided exchange in the Adversarial Review format. An advocate for each reading must quote the supporting span. A judge model returns one of three verdicts, and unsupported concerns cannot change a binding. The protocol re-executes after each resolution and halts when no material disagreement remains, with a hard cap of three passes, following MAD-Logic's finding that more rounds hurt. Immaterial disagreements are settled by the executor and are never debated.
Analysis. We will measure how often the executor flags a disagreement as material and how often the correct reading was the minority one. We will also record which of the benchmark's error categories the debate repairs and at what token cost, including when the debate chooses a wrong binding with a confident citation.
Baselines
The naive reference point is one-shot chain-of-thought prompting with the same backbone models. For context, MedCalc-Bench reports GPT-4 at 50.9% accuracy, and From Scores to Steps reports GPT-4o at 62.7% standard and 43.6% step-wise.
The strongest existing single-agent method is MedRaC from From Scores to Steps, with reported accuracy of 53.19% for Phi-4-mini on the restructured benchmark. We re-run it with the same formula library, sandbox and backbones. Beating it means higher step-wise final accuracy and higher Value Extraction accuracy, with the gap exceeding bootstrap confidence intervals.
The most dangerous baseline is self-consistency MedRaC. It samples many MedRaC programs from the same heterogeneous model pool, executes each, and majority-votes the answer. The number of samples is set so its total token use matches our protocol's mean.
Two ablations isolate our ingredients. The first, binding-level voting, keeps our representation and material-disagreement detection but resolves each disagreement by majority instead of debate. This tests whether adjudication adds anything beyond localization. The second, ungated whole-record debate, is a MAD-Logic-style debate over complete records for a fixed three rounds, with no execution gating. This tests whether gating reduces cost and over-editing.
We also port Adversarial Review directly, with a Main agent, Reviewer and Critic over the whole program. For the verifiable-reward alternative we use a MedCalc-Env-trained model, which reports 40.8% on MedCalc-Eval (MedCalc-Eval and MedCalc-Env), both as a standalone baseline and as a backbone inside our protocol.
All methods share data splits and retrieval, and all get an equal prompt-tuning budget on a held-out development split.
Why not just…?
Why not just sample many programs and vote? This is the real threat. If extraction errors were independent across samples, voting would recover the right answer, and debate would be wasted tokens. Our claim rests on those errors being correlated. The token-matched self-consistency baseline, together with the statistic of how often the correct reading was a minority, will settle the question directly. If voting matches us on Value Extraction at equal cost, we will report that debate is unnecessary. In that case the surviving contribution would be the span-grounded, execution-gated representation, tested through the binding-level voting ablation.
Why not just add a deterministic check that each extracted value appears in the note? We include that check in the executor. It catches fabricated values but not wrong-but-present values: an admission creatinine instead of the current one, or a weight in pounds recorded as kilograms. Those are exactly the confounders that MedCalc-Eval and MedCalc-Env reports persisting. The ablation of our protocol without adjudication, which is span checking plus voting, measures what the check alone buys.
Why not just train one model with verifiable rewards? MedCalc-Eval and MedCalc-Env shows that this mainly reduces formula-recall errors and leaves extraction weak, with 40.8% accuracy. It also works alongside our protocol rather than against it. Running the trained model as a proposer tests whether gated debate adds gains on top of training. If it adds nothing, the inference-time cost is not justified.
Proposed Experiments
We run all methods on the restructured MedCalc-Bench from From Scores to Steps and on MedCalc-Eval, which is larger and more varied. We report four things: stage-wise accuracy for formula selection, value extraction, calculation and final answer; final accuracy under both the benchmark's ±5% and a stricter 1% tolerance, as in MedCalc-Env; the "right for the wrong reasons" rate, meaning correct final answers with a wrong binding; and total tokens per instance.
The decisive checks are three.
- Our protocol must beat token-matched self-consistency on Value Extraction accuracy, not just on final answers.
- It must beat binding-level voting. Otherwise debate adds nothing beyond localization.
- It must match or beat ungated debate while using fewer tokens and producing fewer edits to bindings that were originally correct. That last count directly measures scope creep.
As a transfer check, we apply the same gating to Binder-style programs on WikiTableQuestions, where Binder reports 64.6% accuracy. This tests whether the mechanism is specific to clinical notes or general to extraction-bound program synthesis.
References
- MedCalc-Bench: Evaluating Large Language Models for Medical Calculations
- From Scores to Steps: Diagnosing and Improving LLM Performance in Evidence-Based Medical Calculations
- MedCalc-Eval and MedCalc-Env: Advancing Medical Calculation Capabilities of Large Language Models
- MAD-Logic: Multi-Agent Debate Enhances Symbolic Translation and Reasoning
- Adversarial Review: Structured Disagreement for Grounded Agentic Code Review
- Peacemaker or Troublemaker: How Sycophancy Shapes Multi-Agent Debate
- Stop Overvaluing Multi-Agent Debate -- We Must Rethink Evaluation and Embrace Model Heterogeneity
- A Diagnostic Study of Multi-Agent LLMs for Real-World Debates
- Binding Language Models in Symbolic Languages