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

表示范数放大用于长尾学习中的分布外检测

Representation Norm Amplification for Out-of-Distribution Detection in Long-Tail Learning

School of Electrical Engineering(电气工程学院);Korea Advanced Institute of Science and Technology (KAIST)(韩国科学技术院)

Dong Geun Shin, Hye Won Chung

AI总结:

针对长尾学习中OOD检测与ID分类的权衡问题,提出表示范数放大(RNA)方法,通过解耦两任务,利用表示范数差异实现检测,在CIFAR10-LT和ImageNet-LT上显著提升性能。

摘要:

检测分布外(OOD)样本是可靠机器学习的关键任务。然而,当模型在长尾数据集上训练时,这一任务变得尤为具有挑战性,因为模型往往难以区分尾类分布内(ID)样本与OOD样本。我们通过识别现有方法在OOD检测与ID分类之间面临的权衡,审视了该问题的主要挑战。随后,我们提出了名为“表示范数放大”(RNA)的方法,通过解耦这两个问题来解决这一挑战。核心思想是利用表示范数作为OOD检测的新维度,并开发一种训练方法,在ID与OOD数据之间产生显著的表示范数差异,同时不干扰ID分类的特征学习。我们的实验表明,与最先进的方法相比,RNA在OOD检测和分类方面均取得了优越的性能,在CIFAR10-LT和ImageNet-LT上,FPR95分别提高了1.70%和9.46%,分类准确率分别提高了2.43%和6.87%。本工作的代码可在https://github.com/dgshin21/RNA获取。

英文摘要:

Detecting out-of-distribution (OOD) samples is a critical task for reliable machine learning. However, it becomes particularly challenging when the models are trained on long-tailed datasets, as the models often struggle to distinguish tail-class in-distribution samples from OOD samples. We examine the main challenges in this problem by identifying the trade-offs between OOD detection and in-distribution (ID) classification, faced by existing methods. We then introduce our method, called \textit{Representation Norm Amplification} (RNA), which solves this challenge by decoupling the two problems. The main idea is to use the norm of the representation as a new dimension for OOD detection, and to develop a training method that generates a noticeable discrepancy in the representation norm between ID and OOD data, while not perturbing the feature learning for ID classification. Our experiments show that RNA achieves superior performance in both OOD detection and classification compared to the state-of-the-art methods, by 1.70\% and 9.46\% in FPR95 and 2.43\% and 6.87\% in classification accuracy on CIFAR10-LT and ImageNet-LT, respectively. The code for this work is available at https://github.com/dgshin21/RNA.

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

↑