[Paper Review] EVC: Towards Real-Time Neural Image Compression with Mask Decay
EVC presents a single, scalable neural image compression model that runs in real time (up to 30 FPS) across resolutions, with mask-decay training to convert a large teacher model into smaller, efficient student models and a scalable encoder for variable RD trade-offs.
Neural image compression has surpassed state-of-the-art traditional codecs (H.266/VVC) for rate-distortion (RD) performance, but suffers from large complexity and separate models for different rate-distortion trade-offs. In this paper, we propose an Efficient single-model Variable-bit-rate Codec (EVC), which is able to run at 30 FPS with 768x512 input images and still outperforms VVC for the RD performance. By further reducing both encoder and decoder complexities, our small model even achieves 30 FPS with 1920x1080 input images. To bridge the performance gap between our different capacities models, we meticulously design the mask decay, which transforms the large model's parameters into the small model automatically. And a novel sparsity regularization loss is proposed to mitigate shortcomings of $L_p$ regularization. Our algorithm significantly narrows the performance gap by 50% and 30% for our medium and small models, respectively. At last, we advocate the scalable encoder for neural image compression. The encoding complexity is dynamic to meet different latency requirements. We propose decaying the large encoder multiple times to reduce the residual representation progressively. Both mask decay and residual representation learning greatly improve the RD performance of our scalable encoder. Our code is at https://github.com/microsoft/DCVC.
Motivation & Objective
- Motivate real-time neural image compression with low latency and single-model rate-control across RD trade-offs.
- Develop an efficient encoder/decoder framework with GPU-friendly blocks for fast inference.
- Enable variable bit-rate handling within one model via adjustable quantization steps.
- Introduce mask decay to transfer knowledge from a large teacher to smaller student models.
Proposed method
- Propose an Efficient Variable-bit-rate Codec (EVC) using Depth-Conv blocks and spatial priors for GPU efficiency.
- Incorporate adjustable quantization steps (global and channel-wise) to achieve multiple RD trade-offs within a single model.
- Insert mask layers to transform a pretrained teacher into a smaller student and optimize a novel sparsity loss to drive mask decay.
- Introduce a sparsity regularization loss with a gradient design to overcome limitations of L1/L2 in pruning for neural image compression.
- Present a scalable encoder approach with residual representation learning (RRL) to progressively bridge the gap from a large encoder to smaller ones.
- Train with a two-stage process: first convert the teacher to the student via mask decay, then finetune the student.
Experimental results
Research questions
- RQ1Can a single neural image compression model achieve real-time RD performance across multiple rate-distortion trade-offs?
- RQ2Does mask decay enable effective transfer from a large teacher model to smaller, faster student models in neural image compression?
- RQ3Can a scalable encoder with residual representations close the performance gap between large and small encoders while maintaining a single decoder?
- RQ4What sparsity regularization improves pruning during training for neural image compression compared to standard L1/L2 losses?
Key findings
- The Large model outperforms VTM and matches SOTA neural codecs; the approach enables one model for different RD trade-offs.
- The Large model runs at 30 FPS for 768×512 inputs; the Small model achieves 30 FPS for 1920×1080 inputs.
- Mask decay with a novel sparsity loss significantly improves Medium and Small models by about 50% and 30%, respectively, relative to baselines.
- The Scalable-EVC with residual representation learning outperforms SlimCAE and is on par with other SOTA models, while offering encoder scalability.
- Encoder is more redundant than the decoder; removing/compressing the encoder incurs less RD performance loss than removing the decoder.
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.