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

CopRoute:面向语言模型的依赖感知共形路由

CopRoute: Dependence-Aware Conformal Routing for Language Models

Amazon(亚马逊)

Siva Rajesh Kasa, Santhosh Kumar Kasa, Karan Gupta

AI总结:

CopRoute是一种依赖感知的语言模型共形路由方法,通过考虑模型失败的依赖结构优化模型排序,在RouterBench等基准上以相同全漏风险减少了大量推理调用次数。

摘要:

基于集合的语言模型路由旨在提升“至少有一个模型能正确回答查询”这一事件的覆盖范围,同时控制推理调用的数量。现有的风险控制路由策略通过校准单个共形阈值并将其应用于模型集合的嵌套族,来约束全漏风险(即所选集合中所有模型均失败的概率)。由于每个模型是单独评分的,这些策略忽略了模型失败的依赖结构:共享训练数据或架构的模型往往会在相同的查询上失败,因此两个单独表现强劲的模型可能是联合冗余的,而一个较弱但互补的模型则能覆盖其他模型遗漏的查询。为解决现有风险控制策略忽略的这种依赖问题,我们提出了CopRoute,该方法按每个模型在已选模型之外正确回答的新查询数量对模型进行排序,针对每个查询决定在该排序中向下延伸的程度,然后选择仍满足目标风险的最小截断值。我们表明,CopRoute的排序在设计数据上,能为任何高效固定排序算法提供关于首次正确模型平均调用次数的最佳保证,且单独的校准步骤可验证部署集合的全漏风险。在RouterBench和RouterEval上,当目标风险为0.05时,CopRoute在10个数据集中的9个上实现了最少的已验证调用;当目标风险为0.10时,在10个数据集中的8个上实现了最少的已验证调用,在相同的已验证全漏风险下,与最先进的风险控制策略相比,CopRoute的调用次数最多减少了79%(中位数减少24%)。

英文摘要:

Set-based language model routing aims to increase the coverage of the event where at least one model answers a query correctly while controlling the number of inference calls made. Existing risk-controlled routing policies bound the all-miss risk (the probability that every model in the selected set fails) by calibrating a single conformal threshold and applying it to a nested family of model sets. Because each model is scored in isolation, these policies ignore the dependence structure of model failures. Models that share training data or architecture tend to fail on the same queries, so two individually strong models can be jointly redundant while a weaker but complementary model covers the queries that the others miss. To account for this dependence, which existing risk-controlled policies ignore, we propose CopRoute, which orders models by how many new queries each one answers correctly beyond those already selected, decides per query how far down that order to go, and then picks the smallest cutoff that still meets the target risk. We show that CopRoute's ordering attains, on the design data, the best guarantee any efficient fixed-ordering algorithm can give for the average number of calls to the first correct model, and that a separate calibration step certifies the all-miss risk of the deployed sets. On RouterBench and RouterEval, CopRoute attains the fewest certified calls on nine of ten datasets at a target risk of 0.05 and on eight of ten at 0.10, making up to 79 percent fewer calls (median 24 percent) than the state-of-the-art risk-controlled policy at the same certified all-miss risk.

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

↑