ExplicitIR: Explicit Spatial Policy Fields for All-in-One Image Restoration

Dezhi Zhang, Shangrong Yang, Yudong Liang, Wenjian WangarXiv 2026

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:

  1. Where and how strongly to update each pixel.
  2. Which context window (local vs. global) is appropriate for that specific location.
Figure 1. Motivation. (a) A hazy street scene. Several regions are highlighted with bounding boxes: the red box marks a heavily degraded region, while the blue box marks a mildly degraded region. (b) The absolute residual map against the clean reference, where brighter areas indicate more severe degradation. (c, d) Magnified views of the boxed regions. (e) One strong uniform correction applied everywhere: the tower is recovered, but the pavement is over-corrected. (f) One weak uniform correction: the pavement is preserved, but haze remains over the tower. This demonstrates that a single uniform strength cannot serve both regions, and the correction must vary with location.

Methods

ExplicitIR builds upon the popular Restormer backbone but adds two key components that externalize the restoration policy:

  1. Spatial Policy Estimator (SPE): This module extracts features from the encoder and predicts two explicit per-pixel fields:
  2. Budget ($d$): A scalar field (0 to 1) that determines the magnitude of the update at each location.
  3. Style ($\lambda$): A scalar field that selects between narrow (local) and wide (global) context windows.
  4. 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.

Figure 2. Overview of ExplicitIR. (a) Overall architecture. A Restormer backbone equipped with a Spatial Policy Estimator (SPE) and Policy-Adaptive Decoder Blocks (PADBs). (b) SPE module. Multi-scale dilated convolutions (D1, D2, D4) and dual independent heads predict explicit per-pixel Budget and Style fields. (c) PADB module. Narrow- and wide-window features are mixed via the Style field, and the result is scaled by the Budget field before injection.

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.
Figure 3. Mechanism visualization of the Spatial Policy Estima- tor (SPE). Given the encoder features F0, F2 and F3, the Budget field d controls the update strength, and the Style field λ determines the window size. (a) Deraining: d concentrates on localized rain streaks. (b) Dehazing: d distributes broadly over the homogeneous haze.

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.
Figure 4. Verification showing that the measured update magnitude aligns perfectly with the predicted Budget.

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

Abstract

All-in-one image restoration aims to recover clean images blindly from inputs with various degradation types and levels using a single model. However, the adaptation policy in most existing methods remains implicitly encoded in feature representations, leaving the restoration decision neither explicitly represented nor independently controllable. Since real-world degradations vary spatially, applying uniform updates across the entire image leads to over-smoothing of clean areas and under-correction of localized degradations. To address these limitations, we present ExplicitIR, which represents the restoration policy as two explicit per-pixel fields: Budget, which determines where and how strongly to update, and Style, which selects between narrow and wide context windows. Specifically, ExplicitIR incorporates a Spatial Policy Estimator (SPE) to predict these fields, explicitly representing the restoration policy and capturing spatially-varying degradations, which are then applied by Policy-Adaptive Decoder Blocks (PADB) through adaptive fusion of narrow- and wide-window responses, enabling independent control and precise local modulation. This design enables spatially-adaptive restoration in a single forward pass, without requiring task labels, prompts, or test-time degradation estimators. Extensive experiments on three-task and five-task benchmarks demonstrate that ExplicitIR achieves performance competitive with the strongest all-in-one baselines.
BibTeX
@misc{zhang2026explicitir,
  author = {Dezhi Zhang and Shangrong Yang and Yudong Liang and Wenjian Wang},
  title = {{ExplicitIR: Explicit Spatial Policy Fields for All-in-One Image Restoration}},
  year = {2026},
  eprint = {2611.22222},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.22222},
}
Figure