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

C3PO:面向推理任务且具有概率成本约束的优化大型语言模型级联

C3PO: Optimized Large Language Model Cascades with Probabilistic Cost Constraints for Reasoning

McGill University(麦吉尔大学);Mila - Quebec AI Institute(魁北克AI研究所);Int. Lab. Learning Systems(国际学习系统实验室);Huawei Montréal, Canada(华为蒙特利尔加拿大分公司)

Antonios Valkanas, Soumyasundar Pal, Pavel Rumiantsev, Yingxue Zhang, Mark Coates

AI总结:

针对LLM推理成本高的问题,提出自监督框架C3PO,通过概率成本约束优化级联推理,无需标签数据,提供理论保证,在多推理基准上实现准确性与成本效率的最优性能。

摘要:

大型语言模型(LLMs)在复杂推理任务上取得了令人瞩目的成果,但其高昂的推理成本仍是实际部署的主要障碍。一种有前景的解决方案是使用级联推理:由小型、低成本模型处理简单查询,仅将最困难的样本升级到更强大的模型。然而,现有级联方法通常依赖带标签数据的监督训练,缺乏理论泛化保证,且对测试时计算成本的控制有限。我们引入C3PO(成本控制级联预测优化),这是一个在概率成本约束下优化LLM级联的自监督框架。通过专注于最小化相对于最强大模型(MPM)的遗憾值,C3PO仅使用无标签模型输出来构建级联,无需标签数据。它利用保形预测来约束推理成本超过用户指定预算的概率。我们提供了成本控制和泛化误差的理论保证,并表明即使使用小型校准集,我们的优化过程也有效。在GSM8K、MATH-500、BigBench-Hard和AIME等多种推理基准上,C3PO实现了最先进的性能,在准确性和成本效率上均优于强大的LLM级联基线。我们的结果表明,有原则的无标签级联优化可实现LLM的可扩展部署。

英文摘要:

Large language models (LLMs) have achieved impressive results on complex reasoning tasks, but their high inference cost remains a major barrier to real-world deployment. A promising solution is to use cascaded inference, where small, cheap models handle easy queries, and only the hardest examples are escalated to more powerful models. However, existing cascade methods typically rely on supervised training with labeled data, offer no theoretical generalization guarantees, and provide limited control over test-time computational cost. We introduce C3PO (Cost Controlled Cascaded Prediction Optimization), a self-supervised framework for optimizing LLM cascades under probabilistic cost constraints. By focusing on minimizing regret with respect to the most powerful model (MPM), C3PO avoids the need for labeled data by constructing a cascade using only unlabeled model outputs. It leverages conformal prediction to bound the probability that inference cost exceeds a user-specified budget. We provide theoretical guarantees on both cost control and generalization error, and show that our optimization procedure is effective even with small calibration sets. Empirically, C3PO achieves state-of-the-art performance across a diverse set of reasoning benchmarks including GSM8K, MATH-500, BigBench-Hard and AIME, outperforming strong LLM cascading baselines in both accuracy and cost-efficiency. Our results demonstrate that principled, label-free cascade optimization can enable scalable LLM deployment.

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

↑