TL;DR
Researchers from ETH Zurich and DisneyResearch|Studios have developed a "microdosing" technique that uses knowledge distillation to shrink massive GAN-based image and video decoders by a factor of 20. By overfitting tiny student networks to specific content sequences, they achieve a 50% reduction in decoding time while maintaining the high-quality, hallucinated detail characteristic of state-of-the-art generative compression.
What Problem Does This Paper Address?
In the world of neural image compression, Generative Adversarial Networks (GANs) are the current kings of the "low bitrate" regime. Models like HiFiC (High-Fidelity Compression) can produce visually stunning results at very low data rates because they don't just reconstruct pixels—they "hallucinate" realistic textures (like grass or skin pores) based on learned priors.
However, there is a major catch: these models are massive. The HiFiC decoder, for instance, has roughly 156 million parameters. This makes them slow and memory-intensive, rendering them impractical for mobile devices or real-time video streaming where the decoder needs to be extremely lightweight. Furthermore, these models are often trained on massive private datasets, making them difficult for others to retrain or optimize.
Methods
The authors propose a strategy called Microdosing, which leverages Knowledge Distillation (KD). In KD, a large "teacher" model trains a smaller "student" model to mimic its behavior.
The core innovations include:
- Architecture Splitting: The authors observed that in models like HiFiC, the "coarse" information is stored in the latent space, while the heavy lifting of texture generation happens in the middle residual blocks. They kept the teacher's lightweight "head" and "tail" layers but replaced the massive middle section (~149M parameters) with a tiny Micro-Residual-Network (Micro-RN).
- Sequence Specialization: Instead of trying to make one small model that can decompress every possible image, they "overfit" the student model to a specific image or video sequence.
- Weight Transmission: Because the student model is so small (only about 600k parameters for the Micro-RN itself), the weights can be sent as "side information" along with the compressed data. For video, these weights are sent once per sequence, and the overhead is amortized over thousands of frames.
- Latent Space Residuals: For video, they integrated this distilled decoder into a framework that predicts frames and then compresses the "residual" (the difference) in the latent space rather than the pixel space.
Datasets
The researchers evaluated their approach using:
- UVG (Ultra Video Group) Dataset: A standard benchmark for video compression containing high-resolution sequences.
- "Slucid": An in-house movie used for qualitative comparisons.
- Private Training Data: While the teacher (HiFiC) was trained on a large private dataset, the distillation process allows the student to benefit from that knowledge without needing access to the original training images.
Key Insights and Ideas
- Texture is Localized: The "aha moment" is the realization that a decoder doesn't need to know how to draw every texture in the world to decompress one specific video. If a video is about a forest, the decoder only needs to know how to draw leaves and bark. By specializing the model, you can strip away 95% of its "brain" without losing quality.
- Amortization is Key: Sending model weights alongside data sounds expensive, but at ~600k parameters, the bit-cost becomes negligible when spread across a long video sequence.
- Distillation as a Bridge: This method provides a way to use powerful, "closed" models (like those trained on proprietary data) and distill their performance into open, efficient architectures.
Key Results
- Massive Compression of the Model: The decoder size was reduced from 156M parameters to approximately 8M parameters (a 20x reduction).
- Speedup: Decoding time was reduced by 50%, making it much more viable for real-time applications.
- Quality Maintenance: Despite the size reduction, the distilled models achieved PSNR and LPIPS (perceptual quality) scores comparable to the original HiFiC teacher.
- Video Efficiency: In video settings, the approach decreased the bitrate by almost 50% compared to standard HiFiC-Lo while maintaining similar reconstruction quality.
Limitations and Future Work
The authors acknowledge a few areas for improvement:
- Weight Encoding: Currently, the specialized weights are sent uncompressed. Future work could involve more sophisticated encoding or quantization of the Micro-RN weights to further reduce overhead.
- Temporal Consistency: While the frames look good individually, ensuring perfect "flicker-free" consistency across video frames remains a challenge for GAN-based methods.
- Training Time: Overfitting a model to every new sequence adds a computational burden to the encoder side, though the authors argue this is a worthy trade-off for a faster decoder.
Summary updated