English

Codebook Capacity Governs Perceptual Quality Across Resolutions in Hierarchical Discrete Video Compression

Image and Video Processing 2026-07-25 v1 Computer Vision and Pattern Recognition Multimedia

Abstract

Learned video codecs based on continuous latent representations typically require resolution-specific retraining or rate-distortion (RD) recalibration when scaling to new spatial resolutions, because entropy models and Lagrangian weights are tightly coupled to the operating point. We investigate whether hierarchical discrete latent codecs exhibit the same sensitivity. Using a controlled empirical study of MS-VQ-VAE video compression across codebook sizes K{128,256,512,1024}K \in \{128,256,512,1024\} and resolutions 64×6464\times64, 128×128128\times128, and 256×256256\times256 on UCF101, we show that perceptual quality (LPIPS) depends strongly on codebook capacity but only negligibly on spatial resolution. Fitting a log-linear model Q(K,r)=αlog2K+βlog2r+γQ(K,r) = \alpha\log_2 K + \beta\log_2 r + \gamma to all 12 operating points yields α=0.0094\alpha=-0.0094 (t=6.6t=-6.6, p<0.001p<0.001) and β=0.0009\beta=-0.0009 (t=0.43t=-0.43, p=0.68p=0.68, not significant), with R2=0.82R^2=0.82. Codebook capacity is therefore roughly 10×10\times more influential than spatial resolution per log-unit increase. In parallel, bottom-level entropy efficiency η=H(z)/log2K\eta=H(z)/\log_2 K remains stable or improves with resolution (84-87% at 64×6464\times64; 92-94% at 256×256256\times256), confirming that larger spatial grids are utilized more efficiently rather than less. Across all resolutions and codebook sizes, our models outperform H.264 on LPIPS at matched or lower bitrate, with gains of 25-52% at 128×128128\times128 and 21-37% over H.265 at 256×256256\times256. These findings suggest that codebook size KK, not spatial resolution, is the dominant design variable governing perceptual compression quality in hierarchical discrete video codecs -- a property that may simplify multi-resolution deployment and inform the design of scalable discrete tokenizers for generative video models.

Keywords

Cite

@article{arxiv.2607.23366,
  title  = {Codebook Capacity Governs Perceptual Quality Across Resolutions in Hierarchical Discrete Video Compression},
  author = {Manikanta Kotthapalli and Banafsheh Rekabdar},
  journal= {arXiv preprint arXiv:2607.23366},
  year   = {2026}
}