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

NVTC: Nonlinear Vector Transform Coding

Runsen Feng, Zongyu Guo, Weiping Li, Zhibo Chen

Abstract

Nonlinear Vector Transform Coding (NVTC) addresses the long-standing gap between the theoretical advantages of vector quantization (VQ) and its practical implementation in neural image compression. By integrating a multi-stage product VQ strategy with novel nonlinear vector transforms, NVTC achieves state-of-the-art rate-distortion performance, faster decoding, and significantly reduced model sizes compared to traditional scalar-based codecs.

Introduction

In data compression theory, Vector Quantization (VQ) is fundamentally superior to Scalar Quantization (SQ). While SQ processes data points individually, VQ groups them into vectors, enabling more efficient "space-filling" and better exploitation of inter-element correlations. However, VQ has historically been hindered by the "curse of dimensionality," where computational complexity grows exponentially with vector size. Consequently, modern neural image compression has largely relied on Nonlinear Transform Coding (NTC) paired with simple Scalar Quantization. NVTC overcomes these barriers to make high-performance VQ practical for neural codecs.

Methodology

NVTC introduces three primary innovations to enable efficient VQ:

  1. Multi-stage Product VQ: To manage complexity, NVTC decomposes the quantization process into multiple stages and sub-vectors. This "divide and conquer" strategy reduces computational requirements from exponential to manageable levels.
  2. Nonlinear Vector Transform (VT): Unlike traditional transforms designed for scalars, the proposed Vector Transform decouples into an intra-transform (learning representations within a channel) and an inter-transform (removing redundancy between sub-vectors), enhancing parameter efficiency.
  3. Latent-Space Entropy-Constrained VQ (ECVQ): Moving beyond simple nearest-neighbor searches, NVTC employs ECVQ. This approach incorporates a "rate bias," allowing the encoder to optimize for the best balance between distortion and bit-rate.

To ensure stable training and avoid "dead codewords," the authors utilize a Progressive Initialization strategy for the VQ codebooks.

Theoretical Motivation: The Hexagon Advantage

A core insight of NVTC is the geometric efficiency of VQ. While scalar quantization partitions data space into rectangular cells, VQ creates hexagonal cells. Hexagons are more "spherical" and pack space more efficiently, offering a theoretical gain of up to 1.53 dB in rate-distortion performance.

Comparison of quantization cells: NTC (top) vs. ECVQ (bottom) on synthetic 2D distributions. ECVQ demonstrates more efficient hexagonal-like packing compared to the rectangular grid of NTC.

Experimental Results

The model was trained on the COCO train2017 dataset and evaluated on the Kodak and CLIC2021 validation sets.

Performance and Efficiency

NVTC demonstrates significant improvements over existing methods:

  • Rate-Distortion: Achieved a -10.9% BD-rate improvement over the previous state-of-the-art VQ method (Zhu-CVPR2022) on CLIC2021.
  • Model Size: The architecture is highly efficient, utilizing only 12.8M parameters—roughly 5x smaller than competing high-performance VQ-based codecs.
  • Decoding Speed: By utilizing VQ in the Conditional Entropy Model (CEM), the decoder can use lookup tables for probabilities, resulting in decoding speeds approximately 6x faster than dynamic calculation methods.
BD-rate vs. decoding time on CLIC2021. NVTC (Ours) occupies the top-left quadrant, indicating superior rate-distortion performance and faster decoding with a smaller parameter footprint (bubble size).

Discussion and Future Work

While NVTC offers substantial gains in decoding speed and RD performance, encoding remains approximately twice as slow due to the complexity of the ECVQ search. Additionally, the current integration of VQ within the entropy model introduces a minor performance trade-off (~0.15 dB). Future research will focus on optimizing the "VQ-in-CEM" approach and improving the robustness of the training process beyond the current progressive initialization requirements.

Summary updated

BibTeX
@inproceedings{feng2023nvtc,
  author = {Runsen Feng and Zongyu Guo and Weiping Li and Zhibo Chen},
  title = {{NVTC: Nonlinear Vector Transform Coding}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure