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

Nicolas Atienza, Christophe Labreuche, Johanne Cohen, Michele Sebag
1/17/2025
stat.MLcs.LG

No official code found. Best implementation: natixx14/SPADE (1 star, last commit 2025-02-18).

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.

View on arXivView PDF

Code Implementations(1)

natixx14/SPADECommunity63%

Official implementation of SPADE paper ("Provably Safeguarding a Classifier from OOD and Adversarial Samples: an Extreme Value Theory Approach") to appear in ICLR'25.

10Feb 18, 20251 years ago

Similar Papers

Cite this paper

@article{atienza2025provably,
  title  = {Provably Safeguarding a Classifier from OOD and Adversarial Samples: an Extreme Value Theory Approach},
  author = {Nicolas Atienza and Christophe Labreuche and Johanne Cohen and Michele Sebag},
  year   = {2025},
  eprint = {2501.10202},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.10202v1},
  journal = {ICLR 2025 2025}
}

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/2501.10202.svg)](https://codeofpaper.com/paper/2501.10202)

Discussion