Conditional Variational Capsule Network for Open Set Recognition

Yunrui Guo, Guglielmo Camporese, Wenjing Yang, Alessandro Sperduti, Lamberto Ballan
4/19/2021
cs.CVcs.AIcs.LG

Official code: guglielmocamporese/cvaecaposr (46 stars, Python, last commit 2023-05-01).

Abstract

In open set recognition, a classifier has to detect unknown classes that are not known at training time. In order to recognize new categories, the classifier has to project the input samples of known classes in very compact and separated regions of the features space for discriminating samples of unknown classes.

Show full abstract

Recently proposed Capsule Networks have shown to outperform alternatives in many fields, particularly in image recognition, however they have not been fully applied yet to open-set recognition. In capsule networks, scalar neurons are replaced by capsule vectors or matrices, whose entries represent different properties of objects. In our proposal, during training, capsules features of the same known class are encouraged to match a pre-defined gaussian, one for each class. To this end, we use the variational autoencoder framework, with a set of gaussian priors as the approximation for the posterior distribution. In this way, we are able to control the compactness of the features of the same class around the center of the gaussians, thus controlling the ability of the classifier in detecting samples from unknown classes. We conducted several experiments and ablation of our model, obtaining state of the art results on different datasets in the open set recognition and unknown detection tasks.

View on arXivView PDF

Code Implementations(1)

Code for the Paper: "Conditional Variational Capsule Network for Open Set Recognition", Y. Guo, G. Camporese, W. Yang, A. Sperduti, L. Ballan, ICCV, 2021.

466Python, ShellApr 9, 20213 years ago
capsule-networksincremental-learningopenset-recognitionvariational-autoencoders

Similar Papers

Cite this paper

@article{guo2021conditional,
  title  = {Conditional Variational Capsule Network for Open Set Recognition},
  author = {Yunrui Guo and Guglielmo Camporese and Wenjing Yang and Alessandro Sperduti and Lamberto Ballan},
  year   = {2021},
  eprint = {2104.09159},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.09159}
}

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

Discussion