NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Diff-ICMH: Harmonizing Machine and Human Vision in Image Compression with Generative Prior

Ruoyu Feng, Yunpeng Qi, Jinming Liu, Yixin Gao, Xin Li, Xin Jin, Zhibo Chen

Image compression has historically forced a difficult choice: optimize for human eyes (visual quality) or optimize for AI (machine task accuracy). Diff-ICMH bridges this gap. By utilizing a diffusion-based generative framework, it preserves core semantic meaning while generating realistic textures, achieving state-of-the-art performance on diverse AI tasks and excellent human visual quality from a single compressed bitstream.

The Problem: Divergent Goals in Compression

Historically, image compression standards like JPEG or VVC were designed strictly for human viewing, focusing on pixel-level signal fidelity. However, as AI consumes more visual data, a new field has emerged: Image Compression for Machines (ICM).

The problem is that these two goals are usually treated in isolation. Traditional codecs indiscriminately blur images at low bitrates to save space. This blurriness causes a "domain shift"—the textures no longer look like the natural images AI models were trained on, causing error accumulation and tanking task accuracy. Conversely, methods that compress images purely into abstract mathematical features for machines render the images unviewable by humans.

Comparison of image compression paradigms

The authors tackle the challenge of creating a single, versatile codec that produces images that are both visually pleasing to humans and highly accurate for diverse downstream machine vision tasks, without needing task-specific tweaks.

Methodology: Generative Compression with Diff-ICMH

The authors propose Diff-ICMH, a generative compression framework built on top of a pre-trained Stable Diffusion model. Instead of compressing raw pixels, the image is compressed into the diffusion model's compact VAE latent space.

To ensure the generative model reconstructs the correct image rather than just hallucinating a realistic-looking fake, the authors introduce two novel components:

  • Semantic Consistency (SC) Loss: During training, the original image and the decoded image are both passed through the diffusion model to extract deep semantic features. The SC loss forces these features to align. This ensures the "core meaning" of the image is preserved, even if exact pixel values change.
  • Tag Guidance Module (TGM): Before compression, a lightweight AI extracts word-level tags from the image (e.g., "cat, washbasin"). These tags are losslessly compressed into the bitstream at a tiny cost (~100 bits per image). During decoding, these tags act as text prompts to guide the diffusion model, heavily boosting semantic accuracy.

Key Insights

  • Realism Helps Machines: It is a common misconception that machine vision models only care about abstract shapes. The authors demonstrate that generating realistic, natural-looking textures actually helps machine vision models by preventing domain shift. Blurry images confuse feature extractors; realistic images don't.
  • Latent Space > Pixel Space: Calculating distortion in the VAE latent space is much more effective than doing it in pixel space. The latent space naturally filters out semantically irrelevant details, allowing the codec to spend its limited bit budget on the information that actually matters.
  • Tags are a Cheap "Cheat Code": Sending a few text tags costs a fraction of a kilobyte but provides a massive boost to the generative model's ability to reconstruct the correct objects, especially at ultra-low bitrates where the visual signal is heavily degraded.

Results and Performance

Diff-ICMH was trained on the LSDIR dataset and evaluated across a wide array of benchmarks.

  • Machine Vision: Diff-ICMH achieved state-of-the-art (SOTA) or highly competitive results across 10 different intelligent tasks—ranging from standard object detection (COCO 2017) to advanced Multimodal Large Language Model (MLLM) tasks (Flickr30K, RefGTA)—without any task-specific fine-tuning.
  • Human Vision: It significantly outperformed traditional codecs (like VVC/VTM-18.2) and other learned codecs on perceptual metrics (LPIPS, FID, DISTS) on datasets like Kodak, Tecnick, and CLIC2020, exhibiting particular strength at extremely low bitrates.
  • Qualitative Success: Visualizations show Diff-ICMH successfully reconstructing distinct objects at ~0.03 bits per pixel (bpp). At this same bitrate, traditional codecs produce a blurry, unrecognizable mess that causes object detectors to fail entirely.

Limitations and Future Work

The primary limitation of Diff-ICMH is computational complexity, specifically decoding time. Because it relies on the iterative denoising process of diffusion models, decoding takes significantly longer (e.g., 5 to 13 seconds per image depending on step count) compared to traditional codecs (fractions of a second).

Future work will focus on integrating efficient sampling strategies (solvers that require fewer steps) and knowledge distillation techniques to speed up the decoding process for practical, real-world applications.

Summary updated

BibTeX
@inproceedings{feng2025diff,
  author = {Ruoyu Feng and Yunpeng Qi and Jinming Liu and Yixin Gao and Xin Li and Xin Jin and Zhibo Chen},
  title = {{Diff-ICMH: Harmonizing Machine and Human Vision in Image Compression with Generative Prior}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=ne3nYEcGsf},
}
Figure