arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.17093cs.CVcs.LG
收藏

基于基础模型的高效分布外检测的范例混合方法

A Mixture of Exemplars Approach for Efficient Out-of-Distribution Detection with Foundation Models

School of Mathematics and Statistics(数学与统计学学院);University of Melbourne(墨尔本大学)

Evelyn Mannix, Howard Bondell

AI总结:

针对深度神经网络OOD检测存在训练时间长、推理开销大的问题,提出范例混合方法,利用冻结ViT基础模型骨干,通过比较OOD样本与范例相似度实现高效检测,性能优于可比方法。

摘要:

深度神经网络在图像分类任务中训练时的早期弱点之一是,它们无法对与训练所用的分布内(ID)数据显著不同的分布外(OOD)数据提供低置信度预测。表示学习通过特定方式训练神经网络以提高其检测OOD样本的能力,已成为一种有前景的解决方案。然而,这些方法需要较长的训练时间,并且在检测OOD样本时会增加额外的开销。视觉Transformer(ViT)基础模型的最新发展——通过自监督方法在大型多样数据集上训练的大型网络——也在OOD检测中表现出强大性能,并可能解决这些挑战。本文提出了范例混合(MoLAR)方法,这是一种高效应对OOD检测挑战的方法,旨在最大化使用高质量、冻结的预训练基础模型骨干训练分类器的收益。当仅比较OOD样本与范例(被选为数据集代表性的一小部分图像)的相似度时,MoLAR提供了强大的OOD检测性能,与使用完整ID数据集时表现最佳的其他方法相比,显著降低了OOD检测推理的开销。大量实验表明,在监督和半监督设置下,MoLAR的OOD检测性能均优于可比方法,代码可在github.com/emannix/molar-mixture-of-exemplars获取。

英文摘要:

One of the early weaknesses identified in deep neural networks trained for image classification tasks was their inability to provide low confidence predictions on out-of-distribution (OOD) data that was significantly different from the in-distribution (ID) data used to train them. Representation learning, where neural networks are trained in specific ways that improve their ability to detect OOD examples, has emerged as a promising solution. However, these approaches require long training times and can add additional overhead to detect OOD examples. Recent developments in Vision Transformer (ViT) foundation models$\unicode{x2013}$large networks trained on large and diverse datasets with self-supervised approaches$\unicode{x2013}$also show strong performance in OOD detection, and could address these challenges. This paper presents Mixture of Exemplars (MoLAR), an efficient approach to tackling OOD detection challenges that is designed to maximise the benefit of training a classifier with a high quality, frozen, pretrained foundation model backbone. MoLAR provides strong OOD detection performance when only comparing the similarity of OOD examples to the exemplars, a small set of images chosen to be representative of the dataset, leading to significantly reduced overhead for OOD detection inference over other methods that provide best performance when the full ID dataset is used. Extensive experiments demonstrate the improved OOD detection performance of MoLAR in comparison to comparable approaches in both supervised and semi-supervised settings, and code is available at github.com/emannix/molar-mixture-of-exemplars.

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

↑