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

使用多个预训练模型增强分布外检测

Boosting Out-of-Distribution Detection with Multiple Pre-trained Models

Hunan University(湖南大学);Beijing Normal University(北京师范大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室)

Feng Xue, Zi He, Chuanlong Xie, Falong Tan, Zhenguo Li

摘要:

分发外(OOD)检测,即,识别输入是否是从不同于训练分布的新分布中采样的是在开放世界中安全地部署机器学习系统的关键任务。最近,利用预训练模型的事后检测已经显示出有前途的性能,并且可以扩展到大规模的问题。这一进展提出了一个自然的问题:我们能否利用多个预训练模型的多样性来提高事后检测方法的性能?在这项工作中,我们提出了一种检测增强方法,通过集成来自动物园的预训练模型的多个检测决策。我们的方法使用p值而不是常用的硬阈值,并利用多个假设检验的基本框架来控制分销(ID)数据的真阳性率。我们专注于模型动物园的使用,并提供系统的经验比较与当前国家的最先进的方法对各种OOD检测基准。与单模型检测器相比,所提出的集成方案显示出一致的改进,并且显著优于当前的竞争方法。在CIFAR10和ImageNet基准测试中,我们的方法将相对性能大幅提高了65.40%和26.96%。

英文摘要:

Out-of-Distribution (OOD) detection, i.e., identifying whether an input is sampled from a novel distribution other than the training distribution, is a critical task for safely deploying machine learning systems in the open world. Recently, post hoc detection utilizing pre-trained models has shown promising performance and can be scaled to large-scale problems. This advance raises a natural question: Can we leverage the diversity of multiple pre-trained models to improve the performance of post hoc detection methods? In this work, we propose a detection enhancement method by ensembling multiple detection decisions derived from a zoo of pre-trained models. Our approach uses the p-value instead of the commonly used hard threshold and leverages a fundamental framework of multiple hypothesis testing to control the true positive rate of In-Distribution (ID) data. We focus on the usage of model zoos and provide systematic empirical comparisons with current state-of-the-art methods on various OOD detection benchmarks. The proposed ensemble scheme shows consistent improvement compared to single-model detectors and significantly outperforms the current competitive methods. Our method substantially improves the relative performance by 65.40% and 26.96% on the CIFAR10 and ImageNet benchmarks.

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

↑