English

Degradation-Aware Adaptive Context Gating for Unified Image Restoration

Computer Vision and Pattern Recognition 2026-05-05 v1

Abstract

Unified image restoration using a single model often faces task interference due to diverse degradations. To address this, we propose DACG-IR (Degradation-Aware Adaptive Context Gating), which enables explicit perception of degradation characteristics to dynamically modulate feature representations. Our method constructs degradation-aware contextual representations from the input to modulate attention distribution, frequency-domain features, and feature aggregation. Specifically, a lightweight multi-scale degradation-aware module extracts coarse degradation information and generates layer-wise prompts. These prompts guide attention temperature and output gating in encoder and decoder blocks for adaptive feature extraction. Additionally, a spatial-channel dual-gated adaptive fusion mechanism refines encoder features, suppressing noise propagation from shallow to deep layers. This design effectively suppresses degradation-induced noise while preserving informative structures. Experiments show DACG-IR outperforms state-of-the-art methods in single-task, all-in-one, adverse weather removal, and composite degradation settings. Code: https://github.com/HlHomes/DACG-IR-code

Keywords

Cite

@article{arxiv.2605.01236,
  title  = {Degradation-Aware Adaptive Context Gating for Unified Image Restoration},
  author = {Lei He and Jielei Chu and Fengmao Lv and Weide Liu and Tianrui Li and Jun Cheng and Yuming Fang},
  journal= {arXiv preprint arXiv:2605.01236},
  year   = {2026}
}
R2 v1 2026-07-01T12:46:17.678Z