NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Split Hierarchical Variational Compression

Tom Ryder, Chen Zhang, Ning Kang, Shifeng ZhangCVPR 2022

Abstract

Variational autoencoders (VAEs) have witnessed great success in performing the compression of image datasets. This success, made possible by the bits-back coding framework, has produced competitive compression performance across many benchmarks. However, despite this, VAE architectures are currently limited by a combination of coding practicalities and compression ratios. That is, not only do state-of the-art methods, such as normalizing flows, often demonstrate out-performance, but the initial bits required in coding makes single and parallel image compression challenging. To remedy this, we introduce Split Hierarchical Variational Compression (SHVC). SHVC introduces two novelties. Firstly, we propose an efficient autoregressive prior, the autoregressive sub-pixel convolution, that allows a generalisation between per-pixel autoregressions and fully factorised probability models. Secondly, we define our coding framework, the autoregressive initial bits, that flexibly supports parallel coding and avoids -for the first time - many of the practicalities commonly associated with bits-back coding. In our experiments, we demonstrate SHVC is able to achieve state-of the-art compression performance across full-resolution lossless image compression tasks, with up to 100x fewer model parameters than competing VAE approaches.

Introduction

Lossless image compression aims to represent images using the fewest possible bits without any information loss. While deep generative models like Variational Autoencoders (VAEs) have shown promise through bits-back coding, they face two significant hurdles. First, the "Initial Bits" problem: bits-back coding typically requires a prefix of bits from a previous bitstream to begin decoding, making single-image or parallel compression difficult. Second, there is a complexity trade-off: high-performance models often rely on slow, sequential autoregressive priors.

Split Hierarchical Variational Compression (SHVC) addresses these issues by introducing a novel "split" coding mechanism and an efficient sub-pixel autoregressive prior. This framework achieves state-of-the-art compression ratios while remaining significantly faster and up to 100x more parameter-efficient than previous VAE-based approaches.

Methodology

SHVC introduces two primary technical innovations to the VAE framework:

Autoregressive Sub-Pixel Convolutions

Standard autoregressive models like PixelCNN are slow due to sequential pixel processing. SHVC utilizes a modified "space-to-depth" transformation that losslessly downsamples images into sub-blocks. It then performs autoregression across the channels of these blocks. This approach captures local dependencies while enabling a high degree of parallelism, effectively bridging the gap between per-pixel autoregression and fully factorized models.

Autoregressive Initial Bits (ArIB)

To solve the initial bits problem, SHVC introduces the Autoregressive Initial Bits (ArIB) framework. Instead of relying on an external bitstream, ArIB splits the current image into two parts. The first part is coded independently of the latent variables to provide the initial bits necessary to decode the second part via the bits-back argument. This internal bootstrapping removes the need for external dependencies and drastically reduces per-image overhead.

The ArIB framework (right) splits the image to provide initial bits internally, unlike standard bits-back coding (left) which requires external bits.

Experimental Results

The researchers evaluated SHVC on low-resolution benchmarks (CIFAR10, ImageNet32/64) and full-resolution datasets (CLIC, DIV2K).

Compression Performance and Efficiency

SHVC achieved state-of-the-art Bits Per Dimension (BPD) across several benchmarks. On CIFAR10, it reached 3.16 BPD, significantly outperforming other VAE methods like HiLLoC (3.56) and Bit-Swap (3.82). Notably, SHVC achieved these results with 100x fewer parameters than Bit-Swap, suggesting a superior inductive bias for image data.

Impact of ArIB

The ArIB framework successfully mitigated the initial bits overhead. As shown in the comparative analysis, the additional bits per image for SHVC-ArIB are nearly negligible compared to standard SHVC implementations, facilitating efficient single-image compression.

Additional bits per image across datasets. SHVC-ArIB (orange) demonstrates a significant reduction in overhead compared to standard SHVC (blue).

Discussion and Conclusion

SHVC demonstrates that VAEs can be both fast and highly competitive in compression performance. By bootstrapping initial bits from within the data itself, the ArIB method resolves a long-standing practical limitation of bits-back coding.

While the model shows great promise, challenges remain, such as "posterior collapse" when scaling the autoregressive block size ($k$). Future work includes extending this framework to lossy compression, where bits-back schemes have historically been avoided due to their complexity. Overall, SHVC provides a new Pareto frontier for lossless image compression, balancing speed, parameter efficiency, and compression ratios.

Summary updated

BibTeX
@inproceedings{ryder2022split,
  author = {Tom Ryder and Chen Zhang and Ning Kang and Shifeng Zhang},
  title = {{Split Hierarchical Variational Compression}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
  url = {https://openreview.net/forum?id=DzoEJLFF0I},
}
Figure