Exploring Simple, High Quality Out-of-Distribution Detection with L2 Normalization

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Haas, Jarrod, Yolland, William, Rabus, Bernhard
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929230478049280
author Haas, Jarrod
Yolland, William
Rabus, Bernhard
author_facet Haas, Jarrod
Yolland, William
Rabus, Bernhard
contents We demonstrate that L2 normalization over feature space can produce capable performance for Out-of-Distribution (OoD) detection for some models and datasets. Although it does not demonstrate outright state-of-the-art performance, this method is notable for its extreme simplicity: it requires only two addition lines of code, and does not need specialized loss functions, image augmentations, outlier exposure or extra parameter tuning. We also observe that training may be more efficient for some datasets and architectures. Notably, only 60 epochs with ResNet18 on CIFAR10 (or 100 epochs with ResNet50) can produce performance within two percentage points (AUROC) of several state-of-the-art methods for some near and far OoD datasets. We provide theoretical and empirical support for this method, and demonstrate viability across five architectures and three In-Distribution (ID) datasets.
format Preprint
id arxiv_https___arxiv_org_abs_2306_04072
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Exploring Simple, High Quality Out-of-Distribution Detection with L2 Normalization
Haas, Jarrod
Yolland, William
Rabus, Bernhard
Machine Learning
We demonstrate that L2 normalization over feature space can produce capable performance for Out-of-Distribution (OoD) detection for some models and datasets. Although it does not demonstrate outright state-of-the-art performance, this method is notable for its extreme simplicity: it requires only two addition lines of code, and does not need specialized loss functions, image augmentations, outlier exposure or extra parameter tuning. We also observe that training may be more efficient for some datasets and architectures. Notably, only 60 epochs with ResNet18 on CIFAR10 (or 100 epochs with ResNet50) can produce performance within two percentage points (AUROC) of several state-of-the-art methods for some near and far OoD datasets. We provide theoretical and empirical support for this method, and demonstrate viability across five architectures and three In-Distribution (ID) datasets.
title Exploring Simple, High Quality Out-of-Distribution Detection with L2 Normalization
topic Machine Learning
url https://arxiv.org/abs/2306.04072