Organizations: Chongqing University of Technology, Chongqing, 400054, China · University of Salford, Manchester, M5 4WT, UK · United Arab Emirates University, Al Ain, Abu Dhabi, United Arab Emirates
All-weather image restoration aims to recover clean images from diverse weather degradations such as rain, haze, and snow. Most existing all-in-one methods handle different weather types with a unified network or rely on single-label weather modeling. However, real-world adverse weather is often compositional, where multiple known weather primitives may coexist in a single image. To this end, we propose Conflict-Free Adapter Network (CFANet) for open-compositional all-weather image restoration. CFANet first employs a Weather Mixture Router (WMR) to predict non-exclusive composition weights for rain, haze, and snow from shallow features. Guided by these weights, a Shared-Private Weather Adapter (SPWA) dynamically composes a common adapter with weather-private adapters inside each Conflict-Free Adapter Block, preserving shared restoration capability while providing weather-specific residual adaptation. Moreover, a lightweight Natural Color Adapter (NCA) performs constrained color calibration to improve color fidelity and visual naturalness. Extensive experiments demonstrate that the proposed method achieves competitive adverse weather image restoration performance and benefits downstream visual tasks. Our code is available at https://github.com/wenchao-tech/CFANet-main
Figures & tables
Figure 1: Motivation of CFANet. (a) Real-world adverse weather can be composed of multiple known weather primitives. (b) Existing paradigms either rely on task-specific experts, fully shared all-in-one models, or single-label routers, which are limited in flexibility, interference reduction, or compound-weather representation. (c) CFANet addresses this problem through non-exclusive weather routing and shared-private adapter composition.
Figure 2: Overview of the proposed CFANet framework. The Weather Mixture Router (WMR) predicts image-level, non-exclusive rain, haze, and snow weights from shallow features F0. These weights, together with a fixed common weight wc=1, condition the Shared-Private Weather Adapter (SPWA) in each Conflict-Free Adapter Block (CFABlock) of the encoder–decoder backbone. SPWA combines common and weather-private adapter outputs for residual adaptation. The Natural Color Adapter (NCA) then calibrates the reconstructed image Irec to obtain Iout.
Figure 3: Architecture of the Natural Color Adapter (NCA). Global average pooling and an MLP map shallow features F0 to channel-wise scale and bias parameters γ and β, bounded by tanh. NCA applies affine calibration to the reconstructed image as J=Irec⊙(1+sγ)+sβ, where s∈[0,0.2] controls the modulation magnitude and ⊙ denotes element-wise multiplication.
Table 1: Quantitative comparison on Rain100H and Rain100L~ [ 49 ] . Higher PSNR and SSIM and lower LPIPS and FID indicate better performance. Best and second-best results are shown in bold and underlined, respectively.
National Yang Ming Chiao Tung University, Hsinchu 300093, Taiwan · National Tsing Hua University, Hsinchu 300044, Taiwan · National Chengchi University, Taipei 116011, Taiwan +1