MARGIN: Runtime Confidence Calibration for Multi-Agent Foundation Model Coordination
Joss Armstrong
Ericsson
Published October 8, 2026 · on the feed October 9, 2026 · ▲ 5 · arXiv 2605.22949
The abstract
When a coordinator compares answers from heterogeneous foundation models, self-reported confidence may have different meanings across responders and changing workloads. This paper presents MARGIN (Multi-Agent Runtime Grading via Incremental Normalisation), a runtime calibration method that learns model-specific confidence corrections from observed answer outcomes without retraining the models or requiring a held-out calibration set. MARGIN tracks recent accuracy and stated confidence within confidence bands, uses their ratio to correct reported confidence, and blends sparse-band corrections toward a model-level estimate. The corrected scores weight candidate answers in a collective decision. Evaluation covers code generation, question answering, and mathematics, using an 18-model pool and a nine-model subset for distribution-shift experiments. On BigCodeBench, model-mean confidence is negatively related to accuracy; among correct/incorrect response pairs, choosing the more confident responder performs below chance. Against five online calibration baselines receiving identical feedback and retaining their learned state across each transition, MARGIN achieves lower post-shift expected calibration error than all five in two code-generation transitions and than four in a question-answering transition; the remaining question-answering comparison is inconclusive. In separate code-generation coordination experiments, calibration improves the ranking of correct responses and increases answer-selection accuracy by 4.3 and 14.0 percentage points on two of three benchmarks relative to uncalibrated confidence weighting. These results support model-specific runtime calibration for coordination under changing workloads when correctness feedback is available for the participating responders.
The Brief
2:41A short podcast summary of the paper. Written and voiced by AI.
Transcript
MARGIN. Runtime Confidence Calibration for Multi-Agent Foundation Model Coordination. By Joss Armstrong, from Ericsson. Published on the eighth of October. No code repository is linked to it.
Picture a coordinator that sends one question to several different foundation models and then has to decide whose answer to trust. Each model reports a confidence, and the obvious move is to lean on the most confident one. The trouble is that a stated confidence need not mean the same thing from one responder to the next, and its meaning can drift as the workload changes. A high score from one model may be worth far less than the same score from another, and may be worth less again once the kind of task shifts.
MARGIN, short for Multi-Agent Runtime Grading via Incremental Normalisation, calibrates those confidences while the system is running. It learns a correction specific to each model from the outcomes it actually observes, as answers turn out right or wrong. Two things it avoids: it does not retrain any of the models, and it does not need a held-out calibration set prepared in advance.
The correction works through confidence bands. Within each band, MARGIN keeps track of a model's recent accuracy alongside its stated confidence, and uses the ratio between the two to adjust what the model reports. Some bands will see few answers, so their corrections are blended toward an estimate made at the level of the whole model. The corrected scores then weight the candidate answers when the group reaches a collective decision.
Evaluation spans code generation, question answering and mathematics, with a pool of eighteen models and a nine-model subset for distribution-shift tests. One finding sets the scene. On BigCodeBench, a model's mean confidence is negatively related to its accuracy, and among pairs where one response is correct and the other is not, picking the more confident responder does worse than chance.
Against five online calibration baselines, each given identical feedback and keeping its learned state across every transition, MARGIN reaches lower expected calibration error after the shift than all five in two code-generation transitions. In a question-answering transition it beats four of them, and the remaining comparison is inconclusive. In separate coordination experiments on code generation, calibration improves how correct responses are ranked, and raises answer-selection accuracy by four point three percentage points on one benchmark and by fourteen points on another, relative to weighting by uncalibrated confidence. That gain appears on two of the three benchmarks.
The author frames the scope carefully. The results support model-specific calibration at runtime for coordination when workloads change, provided that feedback on correctness is available for the models taking part. Under that condition, a raw confidence score stops being taken at its word and starts being read against each model's own track record.
More with an account
Listen to every day’s papers
Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.
Join free