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.
VariBAD: A Very Good Method for Bayes-Adaptive Deep RL via Meta-Learning
University of Oxford(牛津大学);Latent Logic(潜在逻辑公司);Microsoft Research(微软研究院)
在未知环境中权衡探索和利用是在学习过程中最大化预期回报的关键。一个贝叶斯最优的政策,这样做最优,其行动的条件不仅对环境的状态,但代理的不确定性的环境。然而,除了最小的任务之外,计算贝叶斯最优策略对于所有任务都是棘手的。在本文中,我们介绍了变分贝叶斯-自适应深度RL(variable Bayes-Adaptive Deep RL,variBAD),这是一种在未知环境中进行近似推理的元学习方法,并在动作选择过程中直接引入任务不确定性。在网格世界域中,我们说明了variBAD如何执行结构化的在线探索任务的不确定性的函数。我们进一步评估了广泛用于元RL的MuJoCo域上的variBAD,并表明它比现有方法实现了更高的在线回报。