arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.08010cs.LGcs.AIcs.CV
收藏

用于不确定性估计的基于窗口的早退级联:深度集成何时比单模型更高效

Window-Based Early-Exit Cascades for Uncertainty Estimation: When Deep Ensembles are More Efficient than Single Models

Imperial College London(帝国理工学院)

Guoxuan Xia, Christos-Savvas Bouganis

AI总结:

针对深度集成计算成本高的问题,提出基于窗口的早退级联方法,仅将决策边界附近样本传至后续级联,在不确定性估计任务上实现了优于单模型缩放的不确定性-计算权衡。

摘要:

深度集成(Deep Ensembles)是一种提升深度学习方法预测性能与不确定性估计的简单、可靠且有效的方法。但由于需要部署多个独立模型,它因计算成本高昂而广受诟病。近期研究对这一观点提出了挑战,表明在预测准确率方面,在推理阶段,集成模型比同一架构族内的单模型缩放更具计算效率,这一效果通过早退方法级联集成成员实现。\n在本研究中,我们探究将这些效率增益拓展到与不确定性估计相关的任务中。由于许多此类任务(例如选择性分类)属于二分类任务,我们的核心创新思路是仅将处于二分类决策边界附近窗口内的样本传递到后续级联阶段。\n在ImageNet规模数据上,针对多种网络架构和不确定性任务的实验表明,所提出的基于窗口的早退方法相比单模型缩放,能实现更优的不确定性-计算权衡。例如,级联的EfficientNet-B2集成模型在5%风险下能达到与单个EfficientNet-B4相近的覆盖率,而乘加运算(MACs)量不到后者的30%。我们还发现,与模型放大相比,级联/集成在分布外(OOD)数据上能带来更可靠的性能提升。本研究的代码可在以下地址获取:https://github.com/Guoxoug/window-early-exit。

英文摘要:

Deep Ensembles are a simple, reliable, and effective method of improving both the predictive performance and uncertainty estimates of deep learning approaches. However, they are widely criticised as being computationally expensive, due to the need to deploy multiple independent models. Recent work has challenged this view, showing that for predictive accuracy, ensembles can be more computationally efficient (at inference) than scaling single models within an architecture family. This is achieved by cascading ensemble members via an early-exit approach. In this work, we investigate extending these efficiency gains to tasks related to uncertainty estimation. As many such tasks, e.g. selective classification, are binary classification, our key novel insight is to only pass samples within a window close to the binary decision boundary to later cascade stages. Experiments on ImageNet-scale data across a number of network architectures and uncertainty tasks show that the proposed window-based early-exit approach is able to achieve a superior uncertainty-computation trade-off compared to scaling single models. For example, a cascaded EfficientNet-B2 ensemble is able to achieve similar coverage at 5% risk as a single EfficientNet-B4 with <30% the number of MACs. We also find that cascades/ensembles give more reliable improvements on OOD data vs scaling models up. Code for this work is available at: https://github.com/Guoxoug/window-early-exit.

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

↑