MARGIN: Runtime Confidence Calibration for Multi-Agent Foundation Model Coordination
MARGIN is an online method that recalibrates agent confidence during multi-agent tasks, aiming to pick the right model under distribution shift.
Intelligence analysis by GPT-5.4 Mini

The paper argues that foundation model self-confidence is often unreliable, especially on hard tasks, so a coordinator should not trust raw scores. MARGIN learns live, per-agent calibration from the task stream and reports much better selection and calibration results across many models and benchmarks.
Imagine a class where several kids answer the same question, and a teacher has to choose which answer to trust. If one kid says “I’m 99% sure” but is often wrong, that number is not very useful.
This paper makes a helper that watches how each kid does over time and quietly adjusts the trust score as new answers come in. It does not need a big training session first.
That matters because AI helpers can change over time, and a fixed trust rule can get confused. MARGIN is like a scorekeeper that keeps updating the scoreboard instead of using an old one forever.
Analysis
What the paper claims
The paper focuses on a coordination problem in multi-agent foundation model systems: a central controller must decide which agent response to trust. It says raw self-reported confidence is often mis-calibrated, and on harder tasks it can even move opposite to accuracy. That creates a failure mode where the most confident agent is not the best one.
Why static calibration is not enough
The paper contrasts MARGIN with design-time methods such as temperature scaling, Platt scaling, and histogram binning. Those techniques fit a fixed correction on held-out data, so they can break when the task mix changes. The paper’s position is that this is a distribution-shift problem, which makes a fixed calibration layer too brittle for live multi-agent systems.
What MARGIN does
MARGIN, short for Multi Agent Runtime Grading via Incremental Normalization, learns calibration factors online from the stream of tasks itself. The abstract says it needs no model access, no held-out set, and no retraining. It uses symmetric exponentially weighted moving averages together with Bayesian shrinkage blending, and the paper says it has three hyperparameters with robust defaults.
Reported results
According to the abstract, the method was evaluated across 19 foundation models, 8 benchmarks, and more than 50,000 observations. It claims 3-6x lower calibration error than the strongest design-time baseline under distribution shift. For selection, the paper says raw verbal confidence performs worse than random on hard benchmarks, while MARGIN lifts pairwise resolution to the 70-89% range and beats the always-best-model oracle on three of four benchmarks.
The theoretical angle
The abstract also says the paper includes six formal propositions about convergence, tracking speed, and why symmetric updates are optimal for non-strategic agents. That suggests the work is not only empirical but also tries to explain why the update rule should behave well over time.
Key points
- The paper says raw confidence from foundation models can be badly mis-calibrated, especially on hard tasks.
- MARGIN updates calibration online from the task stream instead of relying on held-out data or retraining.
- The method is designed to handle distribution shift better than fixed design-time calibration methods.
- The abstract reports large gains in calibration error and multi-agent selection quality across many models and benchmarks.
- The paper includes formal propositions about convergence, tracking speed, and update optimality.



