金字塔MoA:一种用于成本优化的任何时间推断概率框架
Pyramid MoA: A Probabilistic Framework for Cost-Optimized Anytime Inference
AI总结:
本文提出Pyramid MoA框架,通过概率方法优化任何时间推断,实现高效查询路由和计算节省。
摘要:
我们观察到大语言模型的级联和路由隐含地解决了任何时间计算问题——一类在经典AI中广泛研究的算法,其解决方案在分配更多计算时会得到改进。我们正式化这一联系,并提出Pyramid MoA,一种由决策理论路由器控制的分层混合代理架构,仅在必要时提升查询。我们建立了具有可证明单调性保证的概率任何时间属性,并从计算价值理论推导出通用提升规则,以处理不完美的预言机,将Hansen-Zilberstein监控框架扩展到随机LLM推断。在MBPP上,路由器拦截了81.6%的错误;在GSM8K/MMLU上,系统几乎达到68.1%的预言机基线,同时实现高达42.9%的计算节省。路由器将零样本能力转移到未见过的基准:在HumanEval上达到81.1%的预言机准确率,在MATH 500上达到58.0%的准确率,同时显著降低成本。我们进一步发现四个基准中的上下文条件锚定效应:正确SLM推理可使预言机准确率提高高达+19.2个百分点,而错误推理会使其降低高达-18.0个百分点,揭示了分层MoA架构中的基本张力。
英文摘要:
We observe that LLM cascading and routing implicitly solves an anytime computation problem -- a class of algorithms, well-studied in classical AI, that improve solutions as additional computation is allocated. We formalize this connection and propose Pyramid MoA, a hierarchical Mixture-of-Agents architecture governed by a decision-theoretic router that escalates queries only when necessary. We establish a Probabilistic Anytime Property with provable monotonicity guarantees and derive a generalized escalation rule from Value of Computation theory that accounts for imperfect oracles, extending the Hansen-Zilberstein monitoring framework to stochastic LLM inference. On MBPP, the router intercepts 81.6% of bugs; on GSM8K/MMLU, the system nearly matches the 68.1% Oracle baseline while achieving up to 42.9% compute savings. The router transfers zero-shot to unseen benchmarks: matching Oracle accuracy on HumanEval (81.1%) and MATH 500 (58.0%) with significant cost reductions. We further discover a context-conditioned anchoring effect across four benchmarks: passing correct SLM reasoning improves Oracle accuracy by up to +19.2pp, while incorrect reasoning degrades it by up to -18.0pp, revealing a fundamental tension in hierarchical MoA architectures.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。