Degradation-Aware Adaptive Context Gating for Unified Image Restoration

Lei He, Jielei Chu, Fengmao Lv, Weide Liu, Tianrui Li +2 more
5/2/2026
2 citations
cs.CV

Official code: HlHomes/DACG-IR-code (10 stars, Python, MIT, last commit 2026-05-05).

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.

Show full abstract

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

View on arXivView PDF

Code Implementations(1)

MIT

DACG-IR

101Python, ShellMar 9, 20267 months agoMIT

Similar Papers

Cite this paper

@article{he2026degradationaware,
  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},
  year   = {2026},
  eprint = {2605.01236},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.01236v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.01236.svg)](https://codeofpaper.com/paper/2605.01236)

Discussion