Skip to main content
QUICK REVIEW

[Paper Review] A Classification Supervised Auto-Encoder Based on Predefined Evenly-Distributed Class Centroids

Qiuyu Zhu, Ruixin Zhang|arXiv (Cornell University)|Feb 1, 2019
Generative Adversarial Networks and Image SynthesisComputer Science25 references23 citations
TL;DR

This paper proposes a classification-supervised autoencoder (CSAE) that uses predefined evenly-distributed class centroids (PEDCC) to enhance feature compactness and inter-class separation. By directly using latent codes for classification and reconstruction, and incorporating wavelet-based loss and noise injection, CSAE achieves superior image quality and classification accuracy on MNIST, Fashion-MNIST, and EMNIST datasets.

ABSTRACT

Classic variational autoencoders are used to learn complex data distributions, that are built on standard function approximators. Especially, VAE has shown promise on a lot of complex task. In this paper, a new autoencoder model - classification supervised autoencoder (CSAE) based on predefined evenly-distributed class centroids (PEDCC) is proposed. Our method uses PEDCC of latent variables to train the network to ensure the maximization of inter-class distance and the minimization of inner-class distance. Instead of learning mean/variance of latent variables distribution and taking reparameterization of VAE, latent variables of CSAE are directly used to classify and as input of decoder. In addition, a new loss function is proposed to combine the loss function of classification. Based on the basic structure of the universal autoencoder, we realized the comprehensive optimal results of encoding, decoding, classification, and good model generalization performance at the same time. Theoretical advantages are reflected in experimental results.

Motivation & Objective

  • To improve feature compactness and inter-class separation in autoencoder-based representation learning.
  • To integrate classification and reconstruction into a unified autoencoder framework without relying on variational inference.
  • To enhance image quality by minimizing edge blur through a wavelet-based loss function.
  • To boost generalization and robustness by injecting Gaussian noise into latent features during training.
  • To demonstrate the effectiveness of predefined, evenly-distributed class centroids in guiding end-to-end training.

Proposed method

  • Proposes predefined evenly-distributed class centroids (PEDCC) to maximize inter-class distance and minimize intra-class distance in the latent space.
  • Uses the encoder output directly as latent representation for both classification and decoding, bypassing reparameterization and variational inference.
  • Introduces a joint loss function combining cross-entropy for classification and mean squared error (MSE) for reconstruction.
  • Applies wavelet transform to both input and reconstructed images, and minimizes the L2 difference in wavelet coefficients to preserve high-frequency edge details.
  • Injects Gaussian noise into latent features during training to improve robustness and generalization.
  • Trains the model end-to-end using Adam optimizer with batch normalization and learning rate scheduling.

Experimental results

Research questions

  • RQ1Can predefined, evenly-distributed class centroids improve inter-class separation and intra-class compactness in autoencoder-based representation learning?
  • RQ2Does direct use of latent codes for classification and reconstruction outperform variational autoencoders in accuracy and image quality?
  • RQ3Can wavelet-based loss improve edge fidelity and subjective image quality in autoencoder-generated samples?
  • RQ4To what extent does noise injection in the latent space enhance model generalization and robustness?
  • RQ5How does the proposed CSAE perform across diverse benchmark datasets including MNIST, Fashion-MNIST, and EMNIST?

Key findings

  • CSAE achieves state-of-the-art classification accuracy on MNIST, Fashion-MNIST, and EMNIST by leveraging PEDCC for structured feature learning.
  • The wavelet-based loss significantly improves edge sharpness and subjective image quality compared to standard MSE loss.
  • Noise injection in the latent space enhances model robustness, leading to improved classification accuracy and generalization.
  • The model demonstrates strong reconstruction performance with reduced blurring, especially in high-frequency regions.
  • Joint optimization of classification and reconstruction via PEDCC leads to more discriminative and compact feature representations.
  • The method outperforms standard VAE and CVAE baselines in both quantitative metrics and qualitative image quality.

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.