通过不确定性分解实现灵活路由
Flexible Routing via Uncertainty Decomposition
AI总结:
本文提出一种不确定性感知的路由方法,通过分解总不确定性为不可约和可约成分,实现灵活的模型路由和退避策略,理论上有强保障,并在合成和现实数据集上验证了其有效性。
摘要:
在现代机器学习系统中,平衡性能和成本的关键策略是动态地将查询路由到低成本模型或更昂贵的Oracle(如大规模预训练模型或人类专家)。本文提出了一种新的不确定性感知路由器,能够避免在本质上模糊的查询上不必要的Oracle调用,并通过简单的超参数调整动态适应不同的损失函数和成本参数,而无需重新训练。该方法适用于任何具有多个独立标注的分类设置,基于使用更高阶预测器[ Ahdritz et al., 2025]将总不确定性分解为不可约和可约成分。这使得能够统一处理路由和退避:当不确定性低时使用弱模型进行预测,当可约不确定性高时路由到Oracle,当不可约不确定性高时退避。我们的路由器具有强理论保证,其遗憾相对于最优任务特定路由器被界定了。我们在合成和现实数据集上进行了实验,证明了在合适的情况下,我们的方法具有优势——特别是在可约和不可约不确定性不相关的场合。
英文摘要:
A key strategy for balancing performance and cost in modern machine learning systems is to dynamically route queries to either a low-cost model or a more expensive oracle (such as a large pretrained model or human expert), an approach known as model routing. In this work we present a new uncertainty-aware router that (1) avoids unnecessary oracle calls on inherently ambiguous queries, and (2) adapts dynamically to different loss functions and cost parameters through simple hyperparameter changes, without retraining. Our method, applicable to any classification setting where multiple independent annotations per input are available, is based on decomposing total uncertainty into irreducible and reducible components using higher-order predictors [Ahdritz et al., 2025]. This enables a unified approach to both routing and abstention: predict with the weak model when uncertainty is low, route to the oracle when reducible uncertainty is high, and abstain when irreducible uncertainty is high. Our router comes with strong theoretical guarantees bounding regret relative to optimal task-specific routers. We conduct experiments on both synthetic and real-world datasets that demonstrate the benefits of our approach in suitable regimes -- in particular, whenever reducible and irreducible uncertainty are not too correlated.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。