Dual-Constrained Diffusion Image Compression for Operational Rate-Distortion-Perception Optimization

Sanxin Jiang, Jiro Katto, Heming SunarXiv 2026

TL;DR

DCIC (Dual-Constrained Diffusion Image Compression) bridges the gap between pixel-perfect fidelity and perceptual realism by guiding a diffusion-based decoder with dual distortion and idempotence constraints. By adjusting two scalar attenuation factors at decode time, users can continuously navigate the entire Rate-Distortion-Perception (RDP) trade-off surface from a single compressed bitstream without retraining the model.

What Problem Does This Paper Address?

Traditional image compression focuses on the Rate-Distortion (RD) trade-off: minimizing file size (rate) while keeping the reconstructed pixels as close to the original as possible (low distortion, typically measured via MSE or PSNR). However, optimizing purely for distortion often leads to blurry images at low bitrates.

To fix this, modern neural codecs introduce a third axis: perception (realism). This creates the Rate-Distortion-Perception (RDP) trade-off. While recent methods achieve high perceptual realism, they suffer from two major flaws:

  1. Lack of Flexibility: Existing codecs target a single fixed point on the RDP surface. If you want a higher-fidelity image versus a more visually pleasing, realistic one, you typically have to train and deploy entirely separate models.
  2. The Common Randomness Problem: Generating realistic textures requires stochastic decoding (injecting noise). To prevent this noise from introducing massive distortion, the encoder and decoder need to share "common randomness." Doing this practically without transmitting extra bits has been an open challenge.

Methods

The authors introduce DCIC (Dual-Constrained Diffusion Image Compression), a framework that pairs any standard, differentiable learned image compression codec (the "base codec") with a diffusion-based decoder.

Instead of a standard unconstrained diffusion generation process, DCIC applies two mathematical constraints to guide each step of the reverse denoising process:

  • Distortion Constraint ($C_D$): Bounds the mean squared error (MSE) between the generated image and the base codec's output, keeping the reconstruction anchored to the true image structure.
  • Idempotence Constraint ($C_P$): Requires that if you take the newly generated, realistic image and re-encode it through the base codec, you should get the exact same compressed representation back. This acts as a clever mathematical surrogate for the distributional perception requirement.
Figure 1: Overview of the DCIC architecture. The reconstruction ˆx0 from a base codec, together with the distortion–perception constraints CDP, guides the optimization of each step in the diffusion model’s reverse denoising process. Subfigures (a) and (b) illustrate the iterative optimization procedure and the one-step optimization architecture of DCIC, respectively.

To solve the common randomness problem, the base codec's deterministic mapping acts as a shared anchor across encoding and decoding, ensuring consistent noise injection without any additional bitrate overhead.

Crucially, the strengths of these constraints are modulated at decode time by two attenuation factors, $K_D$ and $K_P \in [0, 1]$. By tweaking these sliders, a single bitstream can yield multiple reconstructions ranging from pure distortion-optimized (classic codec look) to pure perception-optimized (generative, highly detailed look).

Datasets

The framework was trained and evaluated on three widely recognized image benchmarks:

  • CelebA-HQ: A high-quality dataset of facial images, representing low semantic complexity.
  • CLIC2020: A dataset from the Challenge on Learned Image Compression, representing diverse, real-world scenes.
  • ImageNet-1K: A highly complex dataset spanning 1,000 distinct object categories.

Key Insights and Ideas

  • Idempotence as a Proxy for Realism: One of the paper's core insights is that enforcing idempotence (re-encoding yields the same result) forces the generated distribution to align with what the codec expects, effectively serving as a tractable proxy for complex perceptual loss functions.
  • Decode-Time Navigation: Instead of hardcoding a specific trade-off during training, the bi-objective optimization formulation allows the Pareto frontier of the distortion-perception plane to be traversed dynamically during inference.
  • Asymmetric Constraint Dominance: The authors observed that the distortion constraint exerts a much stronger influence on reconstruction quality than the perceptual constraint. Consequently, a finer discretization of the distortion factor ($K_D$) is required compared to the perceptual factor ($K_P$) to smoothly navigate the trade-off.

Key Results

DCIC was evaluated against both classical codecs (VTM, WebP) and state-of-the-art perceptual neural codecs (HiFiC, ILLM, IPIC, RDDM).

  • Fidelity Superiority: When both constraints are fully active ($\text{DCIC}_{\text{RDP}}$), the model achieves the highest BD-PSNR (Bjøntegaard Delta PSNR) among all evaluated perceptual codecs, outperforming both generative and classical learned methods.
  • Perceptual Parity: When optimizing purely for perception ($\text{DCIC}_{\text{RP}}$), the method matches or exceeds dedicated perception-oriented codecs in BD-FID (Fréchet Inception Distance), proving it can generate highly realistic textures when prompted.
  • Architectural Generalizability: Because the framework only requires the base codec to be continuously differentiable, the authors successfully integrated DCIC across CNN (Entroformer), Transformer (SwinT), and Hybrid (TCM) architectures with consistent performance gains.

Limitations and Future Work

  • Inference Latency: The primary bottleneck is computational speed. The 250-step reverse diffusion process takes roughly 63 seconds per $256 \times 256$ image on an NVIDIA A100 GPU, making it impractical for real-time applications. The authors point to accelerated samplers (like consistency models) as a crucial next step.
  • Low-Bitrate Degradation: The gradient approximation ($\partial g_c / \partial \tilde{x}_0 \approx 1$) used in the optimization breaks down at very low bitrates ($<0.15$ bpp) due to heavy quantization, leading to performance drops.
  • Semantic Complexity Gap: Performance is highest on semantically simple datasets (CelebA-HQ) and drops slightly on highly diverse datasets (ImageNet-1K). Incorporating semantic-aware weighting functions (e.g., via CLIP embeddings) is suggested to close this gap.

Summary updated

BibTeX
@misc{jiang2026dual,
  author = {Sanxin Jiang and Jiro Katto and Heming Sun},
  title = {{Dual-Constrained Diffusion Image Compression for Operational Rate-Distortion-Perception Optimization}},
  year = {2026},
  eprint = {2606.13366},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.13366},
}
Figure