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

用于OOD泛化与检测的可扩展集成多样化

Scalable Ensemble Diversification for OOD Generalization and Detection

Tübingen AI Center, University of Tübingen(蒂宾根大学蒂宾根人工智能中心);Mila – Quebec AI Institute(米拉-魁北克人工智能研究所);Idiap Research Institute(伊迪亚普研究所)

Alexander Rubinstein, Luca Scimeca, Damien Teney, Seong Joon Oh

AI总结:

本研究提出可扩展集成多样化(SED)方法,通过动态识别困难样本并避免穷举成对分歧计算,在大规模设置下无需OOD样本即可提升OOD泛化与检测性能。

摘要:

训练多样化的模型集成具有诸多实际应用,例如为模型选择提供具有更好分布外(OOD)泛化能力的候选模型,以及通过贝叶斯原理实现OOD样本的检测。现有的多样化集成训练方法鼓励模型在给定的OOD样本上产生分歧。然而,该方法计算成本高昂,且需要分离良好的ID和OOD样本,因此仅在小规模设置中得到过验证。方法。本研究提出了一种适用于大规模设置(如ImageNet)且无需OOD样本的可扩展集成多样化(SED)方法。相反,SED在训练过程中动态识别困难训练样本,并鼓励集成成员在这些样本上产生分歧。为了提升可扩展性,我们展示了如何避免现有方法中跨模型穷举成对分歧的昂贵计算。结果。我们在ImageNet上通过实验评估了多样化的益处。首先,在OOD泛化方面,我们观察到多样化在多种设置中带来了巨大收益,包括输出空间(经典)集成和权重空间集成(model soups)。其次,在OOD检测方面,我们将集成假设的多样性转化为一种新颖的不确定性分数估计器,其超越了大量的OOD检测基线。代码在此处提供:https://github.com/AlexanderRubinstein/diverse-universe-public。

英文摘要:

Training a diverse ensemble of models has several practical applications such as providing candidates for model selection with better out-of-distribution (OOD) generalization, and enabling the detection of OOD samples via Bayesian principles. An existing approach to diverse ensemble training encourages the models to disagree on provided OOD samples. However, the approach is computationally expensive and it requires well-separated ID and OOD examples, such that it has only been demonstrated in small-scale settings. $\textbf{Method.}$ This work presents a method for Scalable Ensemble Diversification (SED) applicable to large-scale settings (e.g. ImageNet) that does not require OOD samples. Instead, SED identifies hard training samples on the fly and encourages the ensemble members to disagree on these. To improve scaling, we show how to avoid the expensive computations in existing methods of exhaustive pairwise disagreements across models. $\textbf{Results.}$ We evaluate the benefits of diversification with experiments on ImageNet. First, for OOD generalization, we observe large benefits from the diversification in multiple settings including output-space (classical) ensembles and weight-space ensembles (model soups). Second, for OOD detection, we turn the diversity of ensemble hypotheses into a novel uncertainty score estimator that surpasses a large number of OOD detection baselines. Code is available here: https://github.com/AlexanderRubinstein/diverse-universe-public.

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

↑