Skip to main content
QUICK REVIEW

[Paper Review] Classification-Reconstruction Learning for Open-Set Recognition

Ryota Yoshihashi, Wen Shao|arXiv (Cornell University)|Dec 11, 2018
Anomaly Detection Techniques and ApplicationsComputer Science51 references8 citations
TL;DR

This paper proposes CROSR, a deep learning framework for open-set recognition that jointly trains a network for classification and reconstruction of input data using hierarchical bottlenecked latent representations. By leveraging both predictive and reconstructive features, CROSR achieves state-of-the-art performance in detecting unknown classes across multiple datasets without sacrificing known-class classification accuracy.

ABSTRACT

Open-set classification is a problem of handling `unknown' classes that are not contained in the training dataset, whereas traditional classifiers assume that only known classes appear in the test environment. Existing open-set classifiers rely on deep networks trained in a supervised manner on known classes in the training set; this causes specialization of learned representations to known classes and makes it hard to distinguish unknowns from knowns. In contrast, we train networks for joint classification and reconstruction of input data. This enhances the learned representation so as to preserve information useful for separating unknowns from knowns, as well as to discriminate classes of knowns. Our novel Classification-Reconstruction learning for Open-Set Recognition (CROSR) utilizes latent representations for reconstruction and enables robust unknown detection without harming the known-class classification accuracy. Extensive experiments reveal that the proposed method outperforms existing deep open-set classifiers in multiple standard datasets and is robust to diverse outliers. The code is available in https://nae-lab.org/~rei/research/crosr/.

Motivation & Objective

  • Address the limitations of closed-world assumption in deep learning, where unseen classes are not anticipated during training.
  • Overcome the specialization of supervised representations that hinder detection of unknown classes.
  • Improve open-set recognition by integrating unsupervised reconstruction learning as a regularizer to preserve discriminative and generalizable features.
  • Develop a unified framework that maintains high accuracy for known-class classification while enabling robust detection of unknowns.
  • Design a novel architecture, DHRNet, to jointly learn hierarchical representations for classification and compact, informative latent codes for outlier detection.

Proposed method

  • Train a deep neural network end-to-end for both classification (via supervised loss on logits) and reconstruction (via autoencoder-style loss on latent codes).
  • Introduce Deep Hierarchical Reconstruction Networks (DHRNets) with bottlenecked lateral connections to learn multi-level, compact latent representations for reconstruction.
  • Use the concatenation of classification logits $\boldsymbol{y}$ and reconstruction latent codes $\boldsymbol{z}$ as the final representation for unknown detection.
  • Apply $\ell^2$ distance or one-class anomaly detectors (e.g., OCSVM, Isolation Forest) on $[\boldsymbol{y}, \boldsymbol{z}]$ to detect outliers.
  • Leverage the hierarchical structure of DHRNets to extract anomaly factors at multiple levels, improving robustness to diverse unknowns.
  • Optimize the network using a combined loss function balancing classification accuracy and reconstruction fidelity across intermediate layers.

Experimental results

Research questions

  • RQ1Can joint classification-reconstruction learning improve the generalization of deep features for open-set recognition?
  • RQ2Does incorporating unsupervised reconstruction learning enhance the ability to detect unknown classes without degrading known-class classification performance?
  • RQ3Can hierarchical bottlenecked representations in DHRNets better preserve information useful for distinguishing unknowns from knowns compared to standard autoencoders?
  • RQ4How does the use of multi-level latent representations $\boldsymbol{z}$ improve outlier detection compared to using only classification logits $\boldsymbol{y}$?
  • RQ5Can CROSR outperform GAN-based and other state-of-the-art open-set classifiers on standard benchmarks without using synthesized training data?

Key findings

  • CROSR achieves state-of-the-art performance on MNIST, SVHN, and TinyImageNet, with F1-scores of 0.991 ± 0.004, 0.899 ± 0.018, and 0.589 respectively, outperforming OpenMax and GAN-based baselines.
  • The method maintains high known-class classification accuracy while significantly improving unknown detection, especially on challenging, similar-looking outliers.
  • Replacing $\ell^2$ distance with OCSVM on $[\boldsymbol{y}, \boldsymbol{z}]$ yields a 15%+ F1-score gain on synthesized outliers, demonstrating the utility of the joint representation.
  • t-SNE visualization confirms that $[\boldsymbol{y}, \boldsymbol{z}]$ representations separate known and unknown classes more clearly than $\boldsymbol{y}$ alone.
  • The computational overhead of computing latent representations is minimal—only 3–5 ms per image—making CROSR efficient for real-world deployment.
  • CROSR performs on par or slightly better than GAN-based methods despite not using synthesized training data, indicating strong generalization capability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.