# Provably Safeguarding a Classifier from OOD and Adversarial Samples: an Extreme Value Theory Approach

Source: [Provably Safeguarding a Classifier from OOD and Adversarial Samples: an Extreme Value Theory Approach](<https://www.sota2.com/research/paper/68fa76971e209131cea6df3b>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-26T03:57:26.101Z

Authors: Nicolas Atienza, Christophe Labreuche, Johanne Cohen, Michele Sebag

Published: 2025-01-17T13:51:14.000Z

## Abstract

This paper introduces a novel method, Sample-efficient Probabilistic Detection using Extreme Value Theory (SPADE), which transforms a classifier into an abstaining classifier, offering provable protection against out-of-distribution and adversarial samples. The approach is based on a Generalized Extreme Value (GEV) model of the training distribution in the classifier's latent space, enabling the formal characterization of OOD samples. Interestingly, under mild assumptions, the GEV model also allows for formally characterizing adversarial samples. The abstaining classifier, which rejects samples based on their assessment by the GEV model, provably avoids OOD and adversarial samples. The empirical validation of the approach, conducted on various neural architectures (ResNet, VGG, and Vision Transformer) and medium and large-sized datasets (CIFAR-10, CIFAR-100, and ImageNet), demonstrates its frugality, stability, and efficiency compared to the state of the art.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2501.10202>)

[PDF](<https://arxiv.org/pdf/2501.10202.pdf>)
