[Paper Review] Target-Quality Image Compression with Recurrent, Convolutional Neural Networks
This paper proposes a stop-code tolerant (SCT) training method for recurrent, convolutional neural networks in image compression, enabling adaptive symbol allocation across image regions based on content complexity. By using a two-pass training process that enforces robustness to code trimming and improves entropy coding efficiency, the method achieves lower bitrates with higher and more uniform image quality than JPEG and non-SCT RNN autoencoders across the Kodak dataset.
We introduce a stop-code tolerant (SCT) approach to training recurrent convolutional neural networks for lossy image compression. Our methods introduce a multi-pass training method to combine the training goals of high-quality reconstructions in areas around stop-code masking as well as in highly-detailed areas. These methods lead to lower true bitrates for a given recursion count, both pre- and post-entropy coding, even using unstructured LZ77 code compression. The pre-LZ77 gains are achieved by trimming stop codes. The post-LZ77 gains are due to the highly unequal distributions of 0/1 codes from the SCT architectures. With these code compressions, the SCT architecture maintains or exceeds the image quality at all compression rates compared to JPEG and to RNN auto-encoders across the Kodak dataset. In addition, the SCT coding results in lower variance in image quality across the extent of the image, a characteristic that has been shown to be important in human ratings of image quality
Motivation & Objective
- To address the limitation of fixed-symbol allocation in prior neural network-based image compression methods, which treat all image regions equally regardless of complexity.
- To reduce bitrate and improve reconstruction quality by enabling adaptive symbol transmission—fewer symbols in simple regions, more in complex ones—without introducing blocking artifacts.
- To develop a training method that makes recurrent, convolutional autoencoders robust to stop-code masking and code trimming, avoiding artifacts and blurriness.
- To improve the efficiency of entropy coding (e.g., LZ77) by creating highly unequal 0/1 code distributions through SCT architecture design.
- To achieve more uniform image quality across the entire reconstruction, a factor shown to correlate with human perception of quality.
Proposed method
- A two-pass training procedure is introduced: the first pass trains the decoder with artificially masked stop codes to simulate code trimming, ensuring robustness.
- The second pass performs standard reconstruction using naturally generated masks from the prior iteration’s binary codes, forming the main loss for training.
- Stop-code behavior is enforced via a masking logic that propagates stop codes forward once emitted, preventing reliance on missing symbols.
- The architecture uses a fully convolutional, recurrent autoencoder with LSTM units and spatial downsampling to produce a $\frac{H}{16} \times \frac{W}{16}$ code representation.
- The decoder uses 'depth-to-space' shuffling to upsample the code representation back to full $H \times W$ resolution.
- The method preserves full convolutional structure, avoiding block-based artifacts common in JPEG or WebP.
Experimental results
Research questions
- RQ1Can a recurrent, convolutional neural network be trained to maintain high reconstruction quality despite stop-code masking and code trimming?
- RQ2Does adaptive symbol allocation—reducing symbols in simple image regions—lead to lower overall bitrates without sacrificing quality?
- RQ3Can the proposed two-pass training method reduce variance in image quality across the reconstruction, improving perceptual consistency?
- RQ4To what extent does the SCT architecture improve entropy coding efficiency (e.g., LZ77) compared to non-SCT networks?
- RQ5Can the method achieve better rate-distortion performance than JPEG and prior RNN-based autoencoders across multiple compression rates?
Key findings
- The SCT method achieves a 35% bitrate reduction over nominal bitrates in the best case, with 30% due to stop-code trimming and 5% due to improved LZ77 compression.
- At 0.125 bpp nominal rate, the SCT reconstruction achieves 0.115 bpp after LZ77 and stop-code trimming, outperforming non-SCT at 0.121 bpp.
- The SCT reconstruction shows 11% lower mean and 11% lower standard deviation in $L_1$ tile error compared to non-SCT at approximately 0.75 bpp, indicating more uniform quality.
- The SCT architecture maintains or exceeds image quality at all compression rates compared to JPEG and non-SCT RNN autoencoders on the Kodak dataset.
- The method reduces blocking artifacts and blurriness by training the network to be robust to code trimming from the outset, rather than compensating for it during inference.
- The two-pass training process enables convergence to symbol assignments that balance stop-code tolerance and representational power, improving both robustness and compression efficiency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.