FlowCodec: One-Step Flow Prior for Generative Image Compression

Yinhuan Huang, Hao Cao, Pu Chen, Wenqi Guo, Zhijin QinarXiv 2026 · OpenReview

TL;DR

This paper introduces FlowCodec, a novel framework for ultra-low-bitrate image compression that leverages powerful, pre-trained generative models in a simpler, more efficient way. By decoupling latent compression and a single-step "latent transport" refinement, FlowCodec achieves state-of-the-art perceptual quality while significantly reducing complexity and retraining needs compared to previous diffusion-based methods.

What Problem Does This Paper Address?

Modern image compression methods are increasingly using powerful generative models (like diffusion models) to achieve remarkable perceptual quality, especially at very low bitrates. However, integrating these large models often requires complex, task-specific adaptations, such as custom conditioning signals or auxiliary network branches, which demand substantial retraining and increase computational costs. This raises a key question: can we harness the power of these strong generative priors more simply and efficiently for image compression? The authors aim to bridge this gap by proposing a more streamlined and extensible design.

Methods

FlowCodec is built around two core stages:

  1. Latent Compression: This stage takes an input image, encodes it into a "clean" latent representation using a frozen Variational Autoencoder (VAE), and then compresses this latent into a "noisy" latent at ultra-low bitrates. This is achieved using a learned latent codec with a novel per-channel scaling mechanism to support multiple bitrates without retraining.
  2. Latent Transport: This is the key innovation. Instead of complex conditioning, FlowCodec leverages a pre-trained generative model (specifically, a flow-matching model like MMDiT) to "transport" the noisy latent towards a clean latent. This is done in a single step by injecting the noisy latent near the terminal stage of the generative process. The generative backbone is adapted using lightweight LoRA (Low-Rank Adaptation), and a single parameter controls the refinement strength for multi-bitrate support. This approach avoids the need for additional conditioning signals or auxiliary networks.

Datasets

The authors trained and evaluated their models on several standard image datasets:

  • Training: A subset of images from ImageNet and OpenImages.
  • Evaluation: Kodak, Tecnick, DIV2K, and CLIC 2020 datasets.

Key Insights and Ideas

  • Simplicity is Key: The core idea is that stronger generative priors, when applied correctly, can simplify the compression pipeline rather than complicate it. By avoiding auxiliary branches and complex conditioning, FlowCodec achieves efficiency.
  • Latent Transport as a Refinement: Viewing latent transport as a way to steer a noisy latent distribution towards a clean one, rather than a full generative process, is crucial. Applying this near the end of the generative trajectory is more effective.
  • LoRA for Lightweight Adaptation: Using LoRA for adapting large pre-trained models is highly effective and efficient, requiring minimal trainable parameters.
  • Multi-Bitrate with a Single Adapter: The ability to control refinement strength with a single parameter (Brate) allows for flexible multi-bitrate support without needing separate models or extensive retraining.
  • Generative Priors Reduce Semantic Drift: Beyond just improving perceptual quality, the strong generative priors help to preserve fine-grained semantic details and reduce structural inconsistencies, especially in challenging areas like faces and text.

Key Results

  • State-of-the-Art Perceptual Quality: FlowCodec-Qwen significantly outperforms existing methods in terms of LPIPS and DISTS at ultra-low bitrates (below 0.05 bpp).
  • Competitive PSNR: Both FlowCodec variants deliver higher PSNR than existing one-step diffusion-based codecs.
  • Faster Encoding: FlowCodec offers significantly faster encoding speeds compared to other diffusion-based methods (e.g., 4.4x and 4.8x speedups for Qwen and FLUX variants, respectively, compared to StableCodec).
  • Competitive Decoding Speed: The FLUX variant maintains competitive decoding speed, while the Qwen variant is slightly slower but offers higher quality.
  • Minimal Trainable Parameters: The adaptation cost is very low, with trainable parameters being less than 0.54% of the generative backbone.
  • Qualitative Improvements: Visual comparisons show FlowCodec preserving more realistic and coherent details, especially for portraits, text, and architectural structures, with fewer artifacts than competing methods.
  • User Preference: A user study showed FlowCodec-Qwen received the highest top-1 preference rate, confirming its superior perceptual quality.

Limitations and Future Work

  • Decoding Speed for Larger Models: While encoding is fast, the decoding speed of larger generative models like Qwen-image can be a bottleneck. Future work could explore further optimizations for decoding.
  • Generative Model Dependence: The performance is inherently tied to the quality of the pre-trained generative prior. The authors suggest that stronger priors will lead to even better compression.
  • Prompt Conditioning: The paper found that using prompts did not improve performance and even added overhead. Future work could explore more sophisticated ways to leverage text or other conditioning information if needed, or focus on optimizing the latent transport mechanism itself.
  • Further Optimization: The authors mention that deployment optimizations for the MMDiT and VAE modules could further reduce latency.

Summary updated

BibTeX
@misc{huang2026flowcodec,
  author = {Yinhuan Huang and Hao Cao and Pu Chen and Wenqi Guo and Zhijin Qin},
  title = {{FlowCodec: One-Step Flow Prior for Generative Image Compression}},
  year = {2026},
  eprint = {2606.21030},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.21030},
}
Figure