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

Dong Geun Shin, Hye Won Chung
8/20/2024
cs.LG

Official code: dgshin21/RNA (0 stars, Apache-2.0, last commit 2025-02-17).

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.

View on arXivView PDF

Code Implementations(1)

dgshin21/RNAOfficial100%
Apache-2.0

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

00Shell, PythonAug 19, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{shin2024representation,
  title  = {Representation Norm Amplification for Out-of-Distribution Detection in Long-Tail Learning},
  author = {Dong Geun Shin and Hye Won Chung},
  year   = {2024},
  eprint = {2408.10676},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.10676v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.10676.svg)](https://codeofpaper.com/paper/2408.10676)

Discussion