arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.19193cs.LG
收藏

多智能体大语言模型辩论中的顺序共识:一种基于Wald-SPRT的计算控制器与基于校准的故障检测

Sequential Consensus for Multi-Agent LLM Debates: A Wald-SPRT compute governor with calibration-based failure detection

Cisco(思科)

Andrea Morandi

AI总结:

本文提出了一种基于Wald-SPRT的计算控制器,用于多智能体大语言模型辩论,通过校准来检测故障,从而在保证准确性的同时减少计算资源的使用。

摘要:

多智能体大语言模型辩论能够提高事实性和推理能力,但大多数方法固定回合数,导致在简单任务上过度消耗计算资源而在困难任务上不足。本文将Wald的顺序概率比率检验(SPRT)作为插件计算控制器应用于大语言模型辩论。每轮结束后,一个LLM法官会发出一个[0,1]的共识分数来评估最新智能体的位置;Wald监控器在Beta似然族下累积“有用收敛”与“尚未有用”的对数似然比,并在跨越任一边界或返回 capped 最佳努力结果时停止。在独立同分布假设下,该规则继承了SPRT类型I/类型II误差保证;在部署中,校准本身更为重要,因为它估计法官评分是否在特定领域中区分有用和无用的收敛。我们评估了两个轨道:(i) 在校准Beta模型下的蒙特卡洛研究,研究工作曲线、误差率、上限行为和敏感性;以及(ii) 在200个尝试的MMLU和200个尝试的GSM8K项目上的真实LLM评估,使用三个异质智能体(gpt-5, claude-opus-4-6, gemini-2.5-pro)和一个claude-opus-4-6法官,使用不相交的40项校准子集。在GSM8K上,该规则在1.01平均回合(4.06个LLM调用)达到97.0%的准确率,比固定5轮辩论在15次调用中达到的99.0%准确率减少了3.7倍的调用次数,但准确性降低了2个百分点。在MMLU上,校准的KL值坍缩到约0,规则在2.1倍成本下对99.5%的项目进行上限。结论是,SPRT并未使辩论更准确,而是经典的顺序检验为多智能体LLM系统提供了一种廉价的计算控制和故障检测层。

英文摘要:

Multi-agent LLM debate improves factuality and reasoning, but most recipes pick a fixed round count, over-spending on easy items and under-spending on hard ones. We adapt Wald's Sequential Probability Ratio Test (SPRT) as a plug-in compute governor for LLM debates. After each round, an LLM judge emits a [0,1] consensus score on the latest agent positions; a Wald monitor accumulates the log-likelihood ratio of "useful convergence" vs "not yet useful" under a Beta likelihood family, and stops when either boundary is crossed or returns a capped best-effort outcome at R_max. Under i.i.d. assumptions the rule inherits SPRT type-I/type-II error guarantees; in deployment the calibration itself is the more important object, since it estimates whether the judge score actually separates useful from unhelpful convergence in a given domain. We evaluate two tracks: (i) a Monte-Carlo study under calibrated Beta models characterising working curves, error rates, capping behaviour, and sensitivity; and (ii) a real-LLM evaluation on 200 attempted MMLU and 200 attempted GSM8K items with three heterogeneous agents (gpt-5, claude-opus-4-6, gemini-2.5-pro) and a claude-opus-4-6 judge, using disjoint 40-item calibration subsets. On GSM8K the rule stops in 1.01 average rounds (4.06 LLM calls) at 97.0% accuracy vs 99.0% for fixed-5 debate at 15 calls: a 3.7x call reduction at -2pp accuracy. On MMLU the calibrated KL collapses to about 0 and the rule caps on 99.5% of items at 2.1x cost. The takeaway is not that SPRT makes debate more accurate, but that a classical sequential test serves as a cheap compute-control and failure-detection layer for multi-agent LLM systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑