MARGIN:面向多智能体基础模型协调的运行时置信度校准
研究论文 · 2026/10/09
当协调器比较异构基础模型的答案时,自报置信度在不同响应者和变化的工作负载下可能含义不同。本文提出MARGIN(通过增量归一化的多智能体运行时评分),一种运行时校准方法,从观察到的答案结果中学习模型特定的置信度修正,无需重新训练模型或需要留出的校准集。MARGIN在置信度带内跟踪近期准确率和声明的置信度,使用它们的比率来修正报告的置信度,并将稀疏带的修正向模型级估计混合。修正后的分数在集体决策中对候选答案加权。评估涵盖代码生成、问答和数学,使用18个模型池和9个模型子集进行分布偏移实验。在BigCodeBench上,模型平均置信度与准确率呈负相关;在正确/错误响应对中,选择更自信的响应者表现低于随机。针对五个在线校准基线,它们接收相同的反馈并在每次转换中保留其学习状态,MARGIN在两个代码生成转换中比所有五个获得更低的偏移后预期校准误差,在问答转换中比四个更低;剩余的问答比较尚无定论。在单独的代码生成协调实验中,校准改善了正确响应的排名,并在三个基准中的两个上相对于未校准的置信度加权,将答案选择准确率提高了4.3和14.0个百分点。这些结果支持在参与响应者可获得正确性反馈时,针对变化工作负载下的协调进行模型特定的运行时校准。
该研究解决了多智能体系统中异构模型置信度不可比的关键问题,提出了一种实用的运行时校准方法,无需额外训练或校准集,并在多个任务和分布偏移场景下验证了其有效性,对提升协作决策的可靠性具有重要意义。
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.