Lost and Found in Translation: Variational Diagnostics for Neural Codebook Channels
Yusuke Hayashi

TL;DR
This paper introduces a diagnostic tool for VAEs called the neural codebook channel, which assesses whether the decoder correctly interprets the encoder's latent code, addressing a gap in existing VAE diagnostics.
Contribution
It develops a new coupled encoder-decoder diagnostic with an architecture-free Bernoulli-KL certificate to detect mismatched decoding in neural codebooks.
Findings
The certificate bounds the encoder-decoder disagreement with high accuracy on multiple datasets.
The framework detects mismatched decoding as a failure mode in deep generative models.
The package provides an audit-ready reporting unit for assessing codebook compatibility.
Abstract
Classical communication systems fail not only through random noise but also when transmitter and receiver use incompatible operational codebooks. Variational autoencoders (VAEs) train an encoder and decoder jointly, and practitioners treat the resulting latent space as a discrete code -- for clustering, conditional generation, and mechanistic interpretability. Yet standard VAE diagnostics -- ELBO, active units, mutual information, and code histograms -- certify only whether this code is used, never whether the decoder reads each latent under the encoder's code. We close this gap with the neural codebook channel , a coupled encoder-decoder diagnostic whose off-diagonal mass is bounded by an architecture-free Bernoulli-KL certificate controlled by the variational gap. The…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
