Prompt-Guided Alignment with Information Bottleneck Makes Image Compression Also a Restorer

Xuelin Shen, Quan Liu, Jiayin Xu, Wenhan YangNeurIPS 2025

Overview

Standard image compression models often fail when faced with "messy" real-world images containing rain, fog, or noise, leading to bloated file sizes and poor visual quality. To address this, researchers introduce IB-LRU (Information Bottleneck-constrained Latent Representation Unifying), a lightweight plug-in that transforms a standard compressor into a restorer. By using "probabilistic prompts" constrained by the Information Bottleneck principle, IB-LRU aligns degraded image data with the clean distributions the compressor expects.

The Challenge of Distribution Mismatch

Learned Image Compression (LIC) models are typically trained on pristine, high-quality datasets. They rely on "priors"—mathematical assumptions about what a natural image looks like—to compress data efficiently. When fed a degraded image, such as one taken in a rainstorm, the statistical distribution of the image features shifts drastically.

This "distribution mismatch" causes two major issues:

  1. Efficiency Collapse: The entropy model, which decides how many bits to use, gets confused and assigns far more bits than necessary, resulting in massive file sizes for low-quality images.
  2. Poor Reconstruction: The decoder struggles to reconstruct the image because the latent representations are "polluted" by degradation artifacts.

The common fix is a "restoration-then-compression" pipeline. However, this is computationally expensive and often fails because the restored images still do not perfectly match the "clean" statistics the compressor was trained on.

The IB-LRU Solution

The authors propose the IB-LRU scheme as a "plug-and-play" module for existing LIC backbones (like TIC or MLIC++). It consists of three main components:

  • Probabilistic Prompt Generator (PPG): Instead of using fixed "prompt vectors" common in NLP, the PPG uses a VAE-style encoder to model degradation as a distribution (mean and variance). This allows the model to capture the "essence" of different degradations, such as rain versus noise, more flexibly.
  • Degradation-Adaptive Gating Modulation (DAGM): This module takes the prompt and applies an affine transformation (scaling and shifting) to the intermediate features of the compression encoder. This effectively "nudges" the degraded features to align with the distribution of clean features.
  • Information Bottleneck (IB) Constraint: The theoretical core of the method. The IB principle forces the prompt to be a "minimal sufficient statistic." In plain English, it forces the prompt to contain only information about the degradation and none of the actual image content. This prevents the prompt from "cheating" and ensures it generalizes well to different images.

Key Insights and Ideas

Visual comparison of compression performance and t-SNE latent clustering for different degradations.
  • Alignment over Restoration: The core insight is that we don't necessarily need to "fix" the pixels before compressing. We just need to align the latent representations so the compressor’s internal logic works as intended.
  • The Power of Probability: Moving from factorized prompt vectors to a probabilistic distribution (PPG) results in more discriminative representations. As shown in the t-SNE plots, probabilistic prompts cluster degradation types (like haze, rain, and noise) much more cleanly than previous methods.
  • Less is More (The IB Principle): By penalizing the mutual information between the prompt and the original image, the model learns to ignore the "context" of the photo and focus strictly on the "signature" of the rain or noise. This makes the module significantly more robust.

Datasets and Key Results

The researchers evaluated their method across several standard benchmarks, including Rain100, BSD400/WED for noise, and SOTS for haze, testing the plug-in on major LIC architectures like Bmshj2018, TIC, and MLIC++.

The IB-LRU scheme outperformed the traditional "restoration-then-compression" paradigm across almost all metrics:

  • Bitrate Savings: The method achieved average bitrate (bpp) reductions of 27.1% for light rain and a staggering 64.9% for heavy noise compared to standard LIC models.
  • Efficiency: Because it’s a lightweight plug-in, it is significantly faster. For example, it reached an inference speed of 109.5ms, compared to 416.5ms for a cascaded PromptIR+TIC pipeline.
  • Parameter Count: The module adds only about 4.6M parameters, whereas competing restoration-first models add between 8.9M and 35M parameters.

Limitations and Future Work

While the paper demonstrates impressive results, there are a few areas for further exploration:

  • The "Haze" Exception: Interestingly, in hazy scenarios, the bitrate actually increased slightly. The authors attribute this to haze acting as a "smoothing" filter, making the image content too simple, which the model's prior wasn't optimized for.
  • Unseen Degradations: While the model generalizes well to mixed degradations (rain + haze), testing on entirely "out-of-distribution" real-world artifacts (like lens flares or motion blur) remains a future challenge.
  • Complexity: Although lighter than cascaded models, adding any module to the encoding side increases the computational burden on edge devices (like smartphones) during the capture process.

Summary updated

BibTeX
@inproceedings{shen2025prompt,
  author = {Xuelin Shen and Quan Liu and Jiayin Xu and Wenhan Yang},
  title = {{Prompt-Guided Alignment with Information Bottleneck Makes Image Compression Also a Restorer}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=gggvYyiYam},
}
Figure