Abstract
Learned image compression has achieved great success due to its excellent modeling capacity, but seldom further considers the Rate-Distortion Optimization (RDO) of each input image. To explore this potential in the learned codec, we make the first attempt to build a neural data-dependent transform and introduce a continuous online mode decision mechanism to jointly optimize the coding efficiency for each individual image. Specifically, apart from the image content stream, we employ an additional model stream to generate the transform parameters at the decoder side. The presence of a model stream enables our model to learn more abstract neural-syntax, which helps cluster the latent representations of images more compactly. Beyond the transform stage, we also adopt neural-syntax based post-processing for the scenarios that require higher quality reconstructions regardless of extra decoding overhead. Moreover, the involvement of the model stream further makes it possible to optimize both the representation and the decoder in an online way, i.e. RDO at the testing time. It is equivalent to a continuous online mode decision, like coding modes in the traditional codecs, to improve the coding efficiency based on the individual input image. The experimental results show the effectiveness of the proposed neural-syntax design and the continuous online mode decision mechanism, demonstrating the superiority of our method in coding efficiency.
Introduction
In image compression, the fundamental challenge is balancing Rate (file size) against Distortion (visual quality). Traditional codecs like JPEG or HEVC utilize Rate-Distortion Optimization (RDO) to select the best "mode" for every block in an image. While modern "learned" image compression models have achieved impressive results, they are typically static: once trained, the encoder and decoder use fixed weights for every image, regardless of content. This lack of adaptivity misses the per-image optimization that makes traditional codecs robust.
The Shift to Data-Dependent Transforms
This paper introduces a neural data-dependent transform that moves away from "one-size-fits-all" compression. As illustrated in Figure 1, traditional learned models (a) use a single global transform for all data, while hybrid methods (b) might use discrete clusters. The proposed approach (c) learns a continuous transform tailored to each specific input, allowing the model to project representations into a local manifold that is significantly more compact than a global one.
Methodology: Dual-Stream Framework
The researchers propose a Dual-Stream Learned Compression Framework that splits the latent representation into two parts:
- Content Stream: The actual compressed features of the image.
- Model Stream (Neural-Syntax): A compact set of parameters describing the image's "context."
At the decoder side, this "Neural-Syntax" is fed into a Weight Generator network. This generator predicts the kernel weights for the final layer of the decoder, essentially allowing the decoder to "reconfigure" itself for every image it receives.
Continuous Online Mode Decision
Traditional codecs choose from a discrete set of modes. This framework introduces a continuous version: during inference, the encoder can be fine-tuned for a specific image for a few iterations to find the absolute best neural-syntax and content representation. Because the latent space is continuous, the model can explore an infinite variety of "modes" to find the most efficient R-D tradeoff.
Experimental Results
The model was trained on the DIV2K dataset and evaluated on industry-standard benchmarks, including the Kodak and CLIC Professional Validation sets.
Quantitative Performance
The proposed method, Ours+, shows significant gains over both traditional and learned baselines. As shown in Figure 5, the R-D curves demonstrate that the model achieves higher PSNR at lower bit-rates compared to previous state-of-the-art methods.
- Vs. BPG (HEVC): Achieves a 20.1% BD-rate reduction on Kodak and a 29.7% reduction on CLIC.
- Vs. VVC (VTM 4:4:4): It slightly outperforms the latest international standard (VVC), representing a major milestone for learned compression.
Qualitative Analysis
Visually, the model preserves sharp edges and fine textures much better than BPG or previous learned models, which often suffer from blurring or blocking artifacts at low bitrates. The neural-syntax is surprisingly lightweight, adding only about 1% to the total parameter count while yielding a massive ~9% improvement in coding efficiency.
Limitations and Future Work
While the results are impressive, real-world deployment faces hurdles. The "Continuous Online Mode Decision" requires fine-tuning the encoder at the time of encoding, making the process slower than standard methods. Additionally, generating weights on-the-fly increases the computational burden on the decoder. Future research will explore extending this data-dependent transform to video compression, where temporal adaptivity could offer even larger gains.
Project Page: https://dezhao-wang.github.io/Neural-Syntax-Website/
Summary updated