vix.ing · top · new · best · stats · spec

Improved Variational Inference in Discrete VAEs using Error Correcting Codes

2024/10/10 by María Martínez-García, Martínez-García, María, Grace Villacrés +6 · 1 voice
Computer Science · #FOS: Computer and information sciences #Machine Learning (cs.LG) #Machine Learning and Algorithms #Machine Learning and Data Classification #Software Engineering Research #cs.LG

paper · pdf · doi:10.48550/arxiv.2410.07840

openalex publication_date 2024/10/10 · arxiv published 2024/10/10 · openalex created_date 2024/10/13 · arxiv updated 2025/06/10 · openalex updated_date 2026/07/28

Abstract

Despite advances in deep probabilistic models, learning discrete latent representations remains challenging. This work introduces a novel method to improve inference in discrete Variational Autoencoders by reframing the inference problem through a generative perspective. We conceptualize the model as a communication system, and propose to leverage Error-Correcting Codes (ECCs) to introduce redundancy in latent representations, allowing the variational posterior to produce more accurate estimates and reduce the variational gap. We present a proof-of-concept using a Discrete Variational Autoencoder with binary latent variables and low-complexity repetition codes, extending it to a hierarchical structure for disentangling global and local data features. Our approach significantly improves generation quality, data reconstruction, and uncertainty calibration, outperforming the uncoded models even when trained with tighter bounds such as the Importance Weighted Autoencoder objective. We also outline the properties that ECCs should possess to be effectively utilized for improved discrete variational inference.

Discussions

Related