arXiv:2609.02434cs.CVSep 2026

Manuscript Offprint

arXiv:2609.02434

Uncertainty-Guided Adverse Weather Restoration via Gated Transformer Network

Zheke Jin, Yuning Cui, Tianle Jin, Alois Knoll, Hu Cao

Zheke Jin 2^{2}, Yuning Cui 2^{2}, Tianle Jin 2^{2}, Alois Knoll 2^{2}, Fellow, IEEE, Hu Cao 1∗^{1*}, Member, IEEE

Abstract—Restoring images degraded by adverse weather remains challenging due to spatially heterogeneous degradations. Many existing weather-specific restoration models rely on weather-agnostic global aggregation, naive cross-scale fusion, and deterministic objectives, which struggle to handle heterogeneous degradations in all-in-one adverse-weather settings. To address these limitations, we propose an Uncertainty-guided Adverse-weather Restoration Network (UAR-Net), a weather-specific AiO framework that integrates a gated transformer with balanced multi-scale skip connections. Specifically, we employ Gated Dual-scale Transformer Blocks (GDTB) to jointly model selective global interactions and multi-scale local structures, a progressive Balanced Multi-scale Skip Connection (BMSC) for balanced multi-scale feature integration, and an Uncertainty-Aware Refinement Head (URH) that performs artifact removal, detail enhancement, and predictive uncertainty estimation. The model is supervised by a Brightness-Aware Energy Loss (BAE-Loss) to encourage accurate reconstruction with well-calibrated uncertainty. Extensive experiments demonstrate that our method achieves state-of-the-art performance across multiple adverse-weather benchmarks. The codes will open source upon acceptance.

Index Terms—Image Restoration, Gated Transformer, Balanced Multi-scale Skip Connection, Uncertainty-Aware Refinement Head.

I. INTRODUCTION

IMAGE restoration aims to reconstruct high-quality images from degraded observations and is fundamental to modern computer vision. This is especially critical in safety-related applications such as autonomous driving [1]–[3] and intelligent surveillance [4], where rain, snow, and haze can obscure critical scene content, blur structural boundaries, and reduce visibility, thereby degrading the performance of downstream tasks like object detection, tracking [5]–[7] and semantic segmentation [8]. Consequently, robust adverse-weather restoration has become a prerequisite for reliable perception in real-world systems rather than a purely aesthetic enhancement.

Early adverse-weather restoration methods typically target a single degradation and rely on physical models or hand-crafted priors [9]–[11], which often struggle in complex or real-world scenarios. With deep learning, data-driven models have significantly improved performance for specific tasks such as deraining [12], [13], dehazing [14], [15], and desnowing [16]. However, these methods are designed for individual weather conditions, requiring separate models for different degradations, which limits scalability and robustness.

Figure

Fig. 1: Quantitative comparison on four adverse-weather benchmarks, including Snow100K-S/L, Outdoor-Rain, and Raindrop. UAR-Net (Ours) achieves consistently strong PSNR and SSIM performance across all datasets, ranking favorably against recent SOTA methods and showing stable improvements under different adverse weather conditions.

in unconstrained environments. Recent advances in adverse-weather image restoration have shifted from task-specific models to unified All-in-One (AiO) frameworks tailored for multiple weather degradations within a single network [17], [18]. Early AiO methods rely on shared representations but have limited capacity for global context modeling. More recent transformer-based AiO approaches leverage hierarchical architectures to capture multi-scale features and long-range dependencies, achieving improved restoration performance across diverse weather conditions [19]–[21]. However, most existing approaches aggregate global context in a uniform and weather-agnostic manner, even though different degradations rely on global information differently. This often leads to suboptimal context representations and weak emphasis on severely degraded regions. Meanwhile, skip connections are often implemented as simple concatenation or addition, which may directly propagate heavily corrupted and variable shallow features across weather conditions. This can amplify degradation-specific noise and weaken effective cross-scale

∗^{*}Hu Cao is the corresponding author of this work (hu.cao@seu.edu.cn).

Authors Affiliation: 1^{1}School of Automation, Southeast University, Nanjing, China, 2^{2}Chair of Robotics, Artificial Intelligence and Real-time Systems, Technical University of Munich, Munich, Germany.

feature interaction, hindering robust restoration. Finally, most AiO models adopt deterministic objectives with point-wise predictions. In a unified setting with diverse weather conditions and degradation levels, ignoring predictive uncertainty often leads to over-confident and unstable restorations in ambiguous or severely degraded regions.

To address these issues, we propose UAR-Net, a unified adverse-weather restoration network that integrates GDTB with BMSC and URH. Each GDTB combines Selective Gated Attention (SGA) and a Dual-Scale Gated Feed-Forward (DGFF) [19], where SGA applies sinusoidal reweighting to queries and keys together with data-dependent gating to selectively emphasize degradation-related long-range interactions, while DGFF provides complementary local enhancement. Beyond the backbone, we introduce BMSC, which progressively integrates multi-level encoder features instead of performing one-shot concatenation or addition. This design jointly considers multi-scale information [22], [23]. By controlling cross-scale information, BMSC reduces the impact of corrupted shallow features and provides more balanced guidance for stable decoding. Building upon the coarse prediction, we introduce URH, which performs fine-grained correction while explicitly estimating pixel-wise uncertainty. The refinement is supervised by the proposed BAE-Loss, leading to robust restoration in severely degraded regions. As shown in Fig. 1, extensive experiments demonstrate that our proposed method achieves SOTA performance across multiple benchmarks, consistently outperforming recent unified models [19], [21], [24]. The main contributions of this work are summarized below:

  • We propose UAR-Net, which adopts GDTB with query-conditioned gating to selectively regulate global context aggregation, enabling weather-aware and adaptive feature modeling under diverse adverse conditions.
  • We introduce BMSC that replaces direct skip concatenation with progressive cross-scale integration, producing cleaner and better-balanced skip representations and enabling more stable and effective cross-scale information transfer for decoding.
  • We propose URH together with BAE-Loss to refine visual details and explicitly model pixel-wise uncertainty, resulting in sharper reconstructions and more reliable uncertainty estimates under severe degradations.
  • Extensive experiments on multiple adverse-weather benchmarks demonstrate that our method achieves SOTA performance compared with recent unified restoration models.

References (64)