Beta-Sigma VAE: Separating beta and decoder variance in Gaussian variational autoencoder
Seunghwan Kim, Seungkyu Lee
TL;DR
The paper tackles the blurry output problem in variational autoencoders by disentangling the decoder variance $σ^2_x$ from the beta parameter $β$ of beta-VAE, showing that treating them as a single integrated parameter leads to indeterminate likelihood and suboptimal optimization. It introduces Beta-Sigma VAE (BS-VAE), which uses a per-sample optimal decoder variance $σ^{2^*}_x(z_i) = (x_i - μ_x(z_i))^2$ and reintroduces $β$ to separately control reconstruction noise and latent regularization, yielding a controllable rate-distortion curve and improved proxy metrics. Experimental results on CelebA and MNIST demonstrate that optimal $σ^2_x$ and optimal $β$ are distinct and that BS-VAE consistently outperforms constant-variance β-VAEs across the $β$ spectrum, including better log-likelihood at $β=1$ and best FID at $β=10$. The approach is architecture-agnostic and provides a framework for predictable analysis of VAE performance, suggesting a path toward sharper generative outputs without sacrificing interpretability.
Abstract
Variational autoencoder (VAE) is an established generative model but is notorious for its blurriness. In this work, we investigate the blurry output problem of VAE and resolve it, exploiting the variance of Gaussian decoder and $β$ of beta-VAE. Specifically, we reveal that the indistinguishability of decoder variance and $β$ hinders appropriate analysis of the model by random likelihood value, and limits performance improvement by omitting the gain from $β$. To address the problem, we propose Beta-Sigma VAE (BS-VAE) that explicitly separates $β$ and decoder variance $σ^2_x$ in the model. Our method demonstrates not only superior performance in natural image synthesis but also controllable parameters and predictable analysis compared to conventional VAE. In our experimental evaluation, we employ the analysis of rate-distortion curve and proxy metrics on computer vision datasets. The code is available on https://github.com/overnap/BS-VAE
