cs.LGFeb 21, 2026

PCA-VAE: Differentiable Subspace Quantization without Codebook Collapse

Authors: Hao Lu, Onur C. Koyun, Yongxin Guo, Zhengjie Zhu, Abbas Alili, Metin Nafi Gurcan

Organizations: Wake Forest University School of Medicine, Winston-Salem, NC, USA

Abstract

Vector-quantized autoencoders deliver high-fidelity latents but suffer inherent flaws: the quantizer is non-differentiable, requires straight-through hacks, and is prone to collapse. We address these issues at the root by replacing VQ with a simple, principled, and fully differentiable alternative: an online PCA bottleneck trained via Oja's rule. The resulting model, PCA-VAE, learns an orthogonal, variance-ordered latent basis without codebooks, commitment losses, or lookup noise. Despite its simplicity, PCA-VAE exceeds VQ-GAN and SimVQ in reconstruction quality on CelebAHQ while using 10-100x fewer latent bits. It also produces naturally interpretable dimensions (e.g., pose, lighting, gender cues) without adversarial regularization or disentanglement objectives. These results suggest that PCA is a viable replacement for VQ: mathematically grounded, stable, bit-efficient, and semantically structured, offering a new direction for generative models beyond vector quantization.

Figures & tables

Explore similar work

CardsList
  1. Beyond Stationarity: Rethinking Codebook Collapse in Vector Quantization

    Feb 21, 2026Hao Lu, Onur C. Koyun, Yongxin Guo +3Vector Quantization

  2. NSVQ: Mitigating Codebook Collapse by Stabilizing Encoder Drift in Vector Quantization

    Jun 9, 2026Hao Lu, Yongxin Guo, Onur Koyun +3Vector Quantization