arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.39709stat.MLcs.LG
收藏

用于分类自适应推理的贝叶斯一致损失函数

Bayes-Consistent Losses for Adaptive Inference in Classification

University of Oxford(牛津大学);McGill University(麦吉尔大学)

Shirley Xiaoqi Liu, Florence Regol, Antonios Valkanas, Patrick Rebeschini, Mark Coates

AI总结:

该研究针对分类自适应推理提出贝叶斯一致的成本敏感合页损失,联合训练分类器与单/级联路由,还提出预测驱动推理流程修正路由错误,实验验证了方法有效性。

摘要:

自适应推理系统通过将输入路由到具有不同能力的模型来平衡准确率和推理成本。尽管联合训练模型与路由的样本效率在经验上优于单独训练,但联合训练的原则性损失函数仍未得到充分探索。我们在分类场景中解决这一问题,提出成本敏感的合页损失,用于联合训练分类器与单阶段或级联路由。单阶段路由直接为每个输入选择一个模型,而级联路由在每个阶段依次决定是使用当前模型预测还是交由下一阶段(使用更准确但成本更高的模型)。针对两种场景,我们证明了线性校准界,确立了贝叶斯一致性:最小化合页风险可恢复目标成本敏感零一损失下的贝叶斯最优风险。此外,由于路由训练可能比分类器需要更多标注数据,我们提出一种新颖的训练后预测驱动推理(PPI)流程,利用未标注数据优化训练后的单阶段路由。在合成与真实数据集上的实验表明,所提出的合页损失对联合训练有效,且在标注数据稀缺时,PPI可修正路由错误。

英文摘要:

Adaptive inference systems balance accuracy and inference cost by routing inputs to models with varying capabilities. Although jointly training models and routers is empirically more sample-efficient than training them separately, principled losses for joint training remain underexplored. We address this gap in a classification setting by proposing cost-sensitive hinge losses for jointly training classifiers with single-stage or cascade routers. Single-stage routers directly select a model per input, whereas cascade routers sequentially decide at each stage whether to predict with the current model or defer to the next stage, which uses a more accurate but more costly model. For both settings, we prove linear calibration bounds establishing Bayes consistency: minimizing the hinge risk recovers the Bayes-optimal risk under the target cost-sensitive zero-one loss. Moreover, since routers can require more labeled data to train than classifiers, we propose a novel post-training prediction-powered inference (PPI) procedure that uses unlabeled data to refine a trained single-stage router. Experiments on synthetic and real datasets demonstrate that the proposed hinge losses are effective for joint training and that PPI can correct routing errors when labeled data is scarce.

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

↑