English

HQ-VAE: Hierarchical Discrete Representation Learning with Variational Bayes

Machine Learning 2024-03-29 v2 Artificial Intelligence Computer Vision and Pattern Recognition

Abstract

Vector quantization (VQ) is a technique to deterministically learn features with discrete codebook representations. It is commonly performed with a variational autoencoding model, VQ-VAE, which can be further extended to hierarchical structures for making high-fidelity reconstructions. However, such hierarchical extensions of VQ-VAE often suffer from the codebook/layer collapse issue, where the codebook is not efficiently used to express the data, and hence degrades reconstruction accuracy. To mitigate this problem, we propose a novel unified framework to stochastically learn hierarchical discrete representation on the basis of the variational Bayes framework, called hierarchically quantized variational autoencoder (HQ-VAE). HQ-VAE naturally generalizes the hierarchical variants of VQ-VAE, such as VQ-VAE-2 and residual-quantized VAE (RQ-VAE), and provides them with a Bayesian training scheme. Our comprehensive experiments on image datasets show that HQ-VAE enhances codebook usage and improves reconstruction performance. We also validated HQ-VAE in terms of its applicability to a different modality with an audio dataset.

Keywords

Cite

@article{arxiv.2401.00365,
  title  = {HQ-VAE: Hierarchical Discrete Representation Learning with Variational Bayes},
  author = {Yuhta Takida and Yukara Ikemiya and Takashi Shibuya and Kazuki Shimada and Woosung Choi and Chieh-Hsin Lai and Naoki Murata and Toshimitsu Uesaka and Kengo Uchida and Wei-Hsiang Liao and Yuki Mitsufuji},
  journal= {arXiv preprint arXiv:2401.00365},
  year   = {2024}
}

Comments

34 pages with 17 figures, accepted for TMLR

R2 v1 2026-06-28T14:05:22.831Z