Skip to main content
QUICK REVIEW

[Paper Review] Hierarchical Quantized Autoencoders

Will Williams, Sam Ringer|arXiv (Cornell University)|Feb 19, 2020
Advanced Data Compression TechniquesComputer Science50 references25 citations
TL;DR

This paper introduces Hierarchical Quantized Autoencoders (HQA), a novel architecture that uses a hierarchy of Vector Quantized Variational Autoencoders (VQ-VAEs) with a new training objective to enable high-quality, perceptually realistic image reconstruction at extremely low bitrates. By modeling probabilistic distributions over hierarchical discrete latents and implicitly learning perceptual priors, HQA achieves state-of-the-art performance on CelebA and MNIST with simple feedforward decoders, outperforming methods requiring autoregressive decoders.

ABSTRACT

Despite progress in training neural networks for lossy image compression, current approaches fail to maintain both perceptual quality and abstract features at very low bitrates. Encouraged by recent success in learning discrete representations with Vector Quantized Variational Autoencoders (VQ-VAEs), we motivate the use of a hierarchy of VQ-VAEs to attain high factors of compression. We show that the combination of stochastic quantization and hierarchical latent structure aids likelihood-based image compression. This leads us to introduce a novel objective for training hierarchical VQ-VAEs. Our resulting scheme produces a Markovian series of latent variables that reconstruct images of high-perceptual quality which retain semantically meaningful features. We provide qualitative and quantitative evaluations on the CelebA and MNIST datasets.

Motivation & Objective

  • To address the limitations of existing neural image compression methods in maintaining perceptual quality at extremely low bitrates.
  • To develop a hierarchical VQ-VAE architecture that preserves semantically meaningful features while enabling extreme compression.
  • To introduce a new training objective that enables higher layers to implicitly reconstruct the full posterior of lower layers, improving perceptual fidelity.
  • To achieve high-quality reconstructions using only feedforward decoders, avoiding the need for expensive autoregressive decoders.
  • To provide a stable, scalable, and repeatable method for learned compression that supports greedy training and independent transmission of latent codes.

Proposed method

  • The model uses a hierarchical stack of VQ-VAEs, where each layer learns discrete latent codes from the output of the previous layer.
  • A novel training objective is proposed that combines commitment and codebook losses with a probabilistic reconstruction objective, encouraging higher layers to reconstruct the full posterior of lower layers.
  • Stochasticity is introduced naturally through parameterized distributions over discrete codes at each level, avoiding ad-hoc noise injection.
  • The encoder produces a quantized latent code at each level, and the decoder reconstructs the image from the top-level latent code using a single feedforward pass.
  • The system supports independent transmission of any layer as a lossy code, enabling fixed-rate compression at different abstraction levels.
  • The method incorporates Gumbel-Softmax and MSE losses to improve training stability and reconstruction quality.

Experimental results

Research questions

  • RQ1Can a hierarchical VQ-VAE with a novel training objective achieve superior perceptual quality at ultra-low bitrates compared to existing methods?
  • RQ2Does modeling probabilistic distributions over hierarchical discrete latents lead to better generalization and perceptual fidelity than deterministic or autoregressive alternatives?
  • RQ3Can high-quality reconstructions be achieved with simple feedforward decoders instead of complex autoregressive decoders?
  • RQ4How does the hierarchical structure preserve semantic content and support coherent interpolation across latent representations?
  • RQ5To what extent does the proposed objective improve stability and performance on complex datasets like CelebA compared to standard VQ-VAE training?

Key findings

  • HQA achieves the best Fréchet Inception Distance (rFID) scores across all bitrates on the CelebA dataset, with the largest improvement at extreme compression rates.
  • On MNIST, HQA maintains the highest classification accuracy at extreme bitrates, indicating better preservation of semantic content compared to baselines.
  • Linear interpolations in the latent space show that HQA produces sharp, coherent, and realistic intermediate images, unlike VQ-VAE and HAMs, which produce deformed or blurry outputs.
  • The ablation study confirms that combining Gumbel-Softmax and MSE losses yields the largest performance gain, indicating orthogonal benefits.
  • HQA outperforms VQ-VAE, HAMs, and VQ-VAE-2 in perceptual quality and semantic consistency, particularly at bitrates below 100 bits per image.
  • The probabilistic loss is essential for training stability on complex datasets like CelebA, despite slightly reducing performance on simpler tasks like MNIST.

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.