CoD-Lite: Real-Time Diffusion-Based Generative Image Compression

arXiv cs.CV / 4/15/2026

📰 NewsSignals & Early TrendsIdeas & Deep AnalysisModels & Research

Key Points

  • The paper proposes CoD-Lite, a real-time, lightweight diffusion-based generative image compression codec designed for scenarios where diffusion transformers are too large to generalize.
  • Experiments show that compression-oriented pre-training works better than generation-oriented pre-training at small model scales, improving performance for lightweight codecs.
  • The authors find that while global attention helps standard diffusion generation, lightweight convolutional architectures can be sufficient for compression when combined with distillation.
  • The resulting one-step convolution diffusion codec reportedly achieves real-time performance (60 FPS encoding and 42 FPS decoding at 1080p) while reducing bitrate by 85% at comparable FID to MS-ILLM.
  • The implementation is released on GitHub (microsoft/GenCodec/CoD_Lite), enabling further evaluation and potential integration into practical pipelines.

Abstract

Recent advanced diffusion methods typically derive strong generative priors by scaling diffusion transformers. However, scaling fails to generalize when adapted for real-time compression scenarios that demand lightweight models. In this paper, we explore the design of real-time and lightweight diffusion codecs by addressing two pivotal questions. First, does diffusion pre-training benefit lightweight diffusion codecs? Through systematic analysis, we find that generation-oriented pre-training is less effective at small model scales whereas compression-oriented pre-training yields consistently better performance. Second, are transformers essential? We find that while global attention is crucial for standard generation, lightweight convolutions suffice for compression-oriented diffusion when paired with distillation. Guided by these findings, we establish a one-step lightweight convolution diffusion codec that achieves real-time 60~FPS encoding and 42~FPS decoding at 1080p. Further enhanced by distillation and adversarial learning, the proposed codec reduces bitrate by 85\% at a comparable FID to MS-ILLM, bridging the gap between generative compression and practical real-time deployment. Codes are released at https://github.com/microsoft/GenCodec/CoD_Lite