Class Anchor Clustering: a Loss for Distance-based Open Set Recognition

Dimity Miller, Niko Sünderhauf, Michael Milford, Feras Dayoub
4/6/2020
cs.CV

Official code: dimitymiller/cac-openset (77 stars, Python, BSD-3-Clause, last commit 2022-11-03).

Abstract

In open set recognition, deep neural networks encounter object classes that were unknown during training. Existing open set classifiers distinguish between known and unknown classes by measuring distance in a network's logit space, assuming that known classes cluster closer to the training data than unknown classes.

Show full abstract

However, this approach is applied post-hoc to networks trained with cross-entropy loss, which does not guarantee this clustering behaviour. To overcome this limitation, we introduce the Class Anchor Clustering (CAC) loss. CAC is a distance-based loss that explicitly trains known classes to form tight clusters around anchored class-dependent centres in the logit space. We show that training with CAC achieves state-of-the-art performance for distance-based open set classifiers on all six standard benchmark datasets, with a 15.2% AUROC increase on the challenging TinyImageNet, without sacrificing classification accuracy. We also show that our anchored class centres achieve higher open set performance than learnt class centres, particularly on object-based datasets and large numbers of training classes.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Code for Class Anchor Clustering loss for training a distance-based open set classifier

7718Python, ShellApr 7, 20204 years agoBSD-3-Clause
deep-learningopensetopenset-classification

Similar Papers

Cite this paper

@article{miller2020class,
  title  = {Class Anchor Clustering: a Loss for Distance-based Open Set Recognition},
  author = {Dimity Miller and Niko Sünderhauf and Michael Milford and Feras Dayoub},
  year   = {2020},
  eprint = {2004.02434},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.02434}
}

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

Discussion