Where Quality Breaks in Compressed Short-Text Generation: Staged Bottleneck Localization
SourceFull paper
Article overview
Verdict
The main bottleneck is codec reconstruction under 64-to-16 compression, not latent-space generation. Code-space MDLM outperforms token-space MDLM in the tested configuration but remains below the autoregressive reference; improving latent geometry does not establish better decoded text.
Main idea
The paper introduces a staged validation protocol that separately evaluates codec reconstruction loss, latent-generation quality, and auxiliary diagnostics using a shared external scorer.
Mechanism
Representation: a 64-token text sequence is encoded into 16 discrete latents and decoded back to 64 tokens. Architecture and order: VQ-VAE-2 performs encoding and decoding, MDLM models the 16 codes in code space, and the decoded output is evaluated by an external GPT-2 scorer. The training objective, conditioning, masking, data construction, sampling details, and compute optimizations are not specified in the records. Diagnostics include codebook usage, semantic error distance, and geohit@5; geometry regularization improves the latter proxies but worsens text metrics. Reproduction: (1) train or apply VQ-VAE-2 at 64→16; (2) score originals and reconstructions; (3) train MDLM in code space; (4) sample 16 codes, decode to 64 tokens, and compare with token-space MDLM and the autoregressive reference; (5) evaluate codebook and latent proxies separately; (6) continue using regularization only if decoded text improves.
What this is useful for
The protocol is useful for diagnosing discrete-latent generators by separating representation loss from generator loss and prioritizing codec-first optimization. Code-space diffusion is promising for shorter sequences and non-autoregressive generation under comparable evaluation conditions.
Risks / not proven
The findings are descriptive and limited to one TinyStories task, codec, compression regime, generator type, and single runs. External perplexity and latent proxies do not guarantee semantic fidelity or text quality. The cause of degradation from geometry regularization and the training and sampling details are not provided.
Full abstract
Compressed short-text generators can fail in two different places: the codec may discard information before generation starts, or the latent generator may produce weak codes. Without separating these failure modes, researchers can spend compute improving the wrong component. We study this problem in a controlled 64-to-16 TinyStories case study built from a hierarchical VQ-VAE-2 codec and a masked discrete diffusion generator (MDLM). We use a staged validation protocol that separates codec reconstruction fidelity, latent generation quality, and auxiliary latent diagnostics under one shared external GPT-2 scorer, while reporting complementary semantic metrics for the geometry study. In the tested configuration, codec reconstruction alone raises median external perplexity from 15.17 to 27.36 (+80.4%) and p95 from 25.10 to 98.91 (+294.1%), showing that the dominant quality loss appears before latent generation begins. Under the same scorer, code-space MDLM remains materially stronger than token-space diffusion, reducing mean, median, and p95 by 32.9%, 30.9%, and 36.6%, respectively. Geometry-aware regularization improves local latent proxies but does not improve decoded-text metrics in the available runs. The contribution is methodological rather than algorithmic: the paper presents a reusable staged diagnosis for one concrete pipeline and shows that, in this setting, codec fidelity rather than latent denoising sets the practical quality ceiling.