TL;DR
ExplicitIR introduces a novel "all-in-one" image restoration framework that uses explicit, per-pixel fields to govern its restoration policy. By decoupling the decision of how much to fix (Budget) from what context to use (Style), it achieves state-of-the-art performance across multiple degradation types (noise, rain, haze, blur) without requiring external task labels or prompts.
What Problem Does This Paper Address?
Image restoration models are increasingly moving toward "all-in-one" (AiOIR) solutions—single models capable of fixing various degradations like noise, rain, and haze. However, most existing AiOIR methods apply a relatively uniform restoration strategy across the entire image.
Real-world images are rarely uniformly degraded. A single photo might have a hazy background but a perfectly clear foreground. Applying a "strong" restoration everywhere leads to a classic trade-off: you either under-correct the heavily degraded areas or over-smooth the clean ones, destroying fine textures.
Current solutions often hide their adaptation logic deep within implicit feature representations, making it impossible to inspect or control. The authors of ExplicitIR argue that for effective restoration, a model must explicitly decide:
- Where and how strongly to update each pixel.
- Which context window (local vs. global) is appropriate for that specific location.
Methods
ExplicitIR builds upon the popular Restormer backbone but adds two key components that externalize the restoration policy:
- Spatial Policy Estimator (SPE): This module extracts features from the encoder and predicts two explicit per-pixel fields:
- Budget ($d$): A scalar field (0 to 1) that determines the magnitude of the update at each location.
- Style ($\lambda$): A scalar field that selects between narrow (local) and wide (global) context windows.
- Policy-Adaptive Decoder Blocks (PADB): These blocks act as the "executors." Each block runs two parallel attention branches—one with a narrow window (e.g., 8x8) and one with a wide window (e.g., 32x32). The Style field determines how these responses are fused, and the Budget field scales the final injected residual.
This design ensures that if the Budget is zero, the pixel passes through the decoder unchanged, effectively "protecting" clean regions from over-processing.
Datasets
The authors evaluated ExplicitIR on two main benchmarks:
- Three-Task Setting: Denoising (BSD400, WED, CBSD68), Deraining (RainTrainL, Rain100L), and Dehazing (RESIDE-OTS, SOTS-outdoor).
- Five-Task Setting: Adds Deblurring (GoPro) and Low-light enhancement (LOL-v1).
The model is trained "blindly," meaning it never receives explicit information about which degradation it is currently fixing; it must infer the policy fields directly from the input image.
Key Insights and Ideas
- Decoupling is Crucial: In many gated or attention-based models, the update strength and the context are tightly coupled. ExplicitIR shows that separating these two decisions allows for much finer control. For example, rain streaks are localized (requiring specific Budget) but might benefit from different context than global haze.
- Interpretability as a Feature: Because the Budget and Style fields are explicit, they can be visualized. Figure 3 shows how the Budget field "lights up" on rain streaks but remains broad for homogeneous haze.
- Inference-Time Intervention: A unique "aha" moment in the paper is the ability to manually edit these fields at test time. By forcing the Budget to zero in a specific region, a user can manually prevent the model from smoothing a certain texture, or by forcing a wide Style window, they can change how the model perceives global structures.
- Bounded Injection: The PADB uses a mathematical bound to ensure the update magnitude strictly respects the predicted Budget. This prevents the "Style" choice from accidentally leaking extra amplitude into the restoration.
Key Results
- Quantitative Performance: On the three-task benchmark, ExplicitIR achieved an average PSNR of 32.78 dB, outperforming the strongest blind baselines (like AdaIR at 32.69 dB) and nearly matching "externally-guided" models that are told the degradation type at test time.
- Efficiency: Despite adding the policy path, ExplicitIR remains computationally efficient. It achieves higher accuracy than PromptIR while using roughly the same GFLOPs (~43 GFLOPs for a 128x128 input).
- Qualitative Superiority: Visually, the model is significantly better at preserving edges in distant, hazy regions and avoiding the "plastic" look often caused by over-denoising clean areas.
Limitations and Future Work
The authors note that while ExplicitIR performs exceptionally well on standard synthetic benchmarks, real-world degradations are often more complex and non-linear. Future work involves:
- Extending the framework to handle real-world, non-synthetic degradations.
- Testing the "explicit policy" concept on diverse backbones beyond Restormer to see if the benefits are universal across different architectures.
- Exploring more complex "Style" definitions beyond just window size, perhaps incorporating frequency-domain policies.
Summary updated