Representation Norm Amplification for Out-of-Distribution Detection in Long-Tail Learning
Dong Geun Shin, Hye Won Chung
TL;DR
The paper tackles the challenge of detecting out-of-distribution (OOD) samples when training on long-tailed datasets. It introduces Representation Norm Amplification (RNA), which decouples embedding-based OOD detection from logit-based in-distribution (ID) classification by using the representation norm as an OOD cue and enlarging ID norms via an RNA loss, while updating BN statistics with auxiliary OOD data. RNA achieves improved OOD detection (e.g., lower FPR95) and higher classification accuracy on CIFAR10-LT and ImageNet-LT compared to state-of-the-art LT-OOD methods, with clear evidence of enhanced separation between ID and OOD representations. The method shows strong scalability to large datasets and robustness across imbalance ratios, though near-OOD detection remains challenging in some LT cases. Overall, RNA provides a practical, single-model solution that mitigates the trade-offs between OOD detection and LT classification and advances reliable deployment of models under imbalanced conditions.
Abstract
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.
