Manuscript Offprint
arXiv:2611.00523SASFormer: Stage-Aware Selective Attention Transformer for All-in-One Blind Image Restoration
Xiangpeng Tian, Mingyang Li, Fajing Liu, Xiaofeng Wang, Xiaohai He, Chao Ren, Member, IEEE
Abstract—All-in-one image restoration aims to recover high-quality images from multiple degradation types using a single unified model. Recent methods improve unified restoration with hybrid attention, prompt learning, or routing mechanisms, but generally focus on enhancing degradation adaptivity while employing similar feature modeling strategies across network stages. Consequently, the distinct representation requirements of encoding and decoding under diverse degradations remain insufficiently explored. In this paper, we propose SASFormer, a Stage-Aware Selective Attention Transformer for all-in-one blind image restoration. SASFormer follows a stage-aware design principle: the encoder uses established hybrid channel-spatial attention to build robust content-preserving and degradation-aware representations, while the decoder employs adaptive selective attention for restoration-oriented reconstruction. To address the stage-specific requirements of decoder reconstruction, we develop Adaptive Selective Channel Self-Attention (ASCSA) and Adaptive Selective Spatial Self-Attention (ASSSA), enabling the decoder to dynamically identify restoration-relevant channel responses and spatial contexts. Specifically, ASCSA performs adaptive query-channel selection and attention masking, while ASSSA adaptively integrates spatial attention across multiple window sizes. Compact implicit prompts further modulate the selection process without requiring explicit degradation labels. Extensive experiments on 3-, 5-, and 11-degradation settings demonstrate that SASFormer achieves strong restoration performance with favorable parameter efficiency. Moreover, stage-wise representation analysis and ablation studies provide empirical support for the proposed stage-aware design and the effectiveness of decoder-side adaptive selection.
Index Terms—All-in-one blind image restoration, stage-aware representation, adaptive selection, channel-spatial attention, image restoration transformer.
I. INTRODUCTION
I MAGE restoration aims to reconstruct high-quality images from their degraded counterparts. In recent years, deep learning-based image restoration methods have achieved remarkable progress in handling single-degradation types, such
as denoising [1]–[3], deraining [4], [5], dehazing [6]–[8], and deblurring [9], [10], significantly improving restoration quality and model performance. These methods mainly explore specific image restoration tasks through various network architectures, including convolutional networks [1], [10]–[12], window-based self-attention [13], [14], channel self-attention [15], and hybrid attention mechanisms [16], achieving remarkable performance. Although these methods have achieved impressive results on specific restoration tasks, their generalization ability remains constrained by the adaptability of the network architecture. Different restoration tasks often require separately trained models, making it challenging to achieve unified multi-task processing without compromising single-task performance, thereby motivating the development of all-in-one restoration frameworks.
To address this limitation, recent studies have explored all-in-one frameworks that aim to handle diverse image degradations within a unified model [17]–[20]. Unlike task-specific models tailored to a single degradation, the key challenge of all-in-one restoration lies in effectively modeling degradation diversity within a shared architecture while maintaining high-quality reconstruction performance. As illustrated in Fig. 1 (a)–(c), existing approaches can be broadly categorized into three groups: (1) Prompt-based or adaptive degradation recognition methods [18], [19], [21], which guide the model to identify degradation types through explicit or implicit prompts, or by leveraging frequency-domain differences; (2) Auxiliary network or training strategy methods [17], [20], [22]–[24], which introduce additional degradation classification networks or training mechanisms to provide degradation cues; and (3) Multi-expert or routing-based strategies [25]–[27], which employ sub-networks or routing mechanisms to optimize performance for different degradations. From AirNet [17] to PromptIR [18], and further to Perceive-IR [23], VLU-Net [24], and DA-RCOT [20], research has gradually progressed from simple blind frameworks to more sophisticated degradation modeling approaches.
Recent all-in-one image restoration methods have achieved remarkable progress by enhancing degradation awareness. However, existing approaches primarily focus on adapting to diverse degradations, while the distinct representation requirements across different restoration stages remain insufficiently explored. This limitation is particularly relevant because different degradations impose distinct representation demands, while representation learning itself is inherently stage-dependent. Consequently, applying a uniform feature modeling
This work was supported by the National Natural Science Foundation of China under Grant 62171304, the Science and Technology Project of Xizang Autonomous Region under Grant XZ202601ZY0092, the Young Faculty Technology Innovation Capacity Enhancement Program of Sichuan University under Grant 2024SCUQJTX025, the TCL Science and Technology Innovation Fund under Grant 25JZH008, and the Sichuan Science and Technology Program under Grant 2025JDRC0011. (Corresponding author: Chao Ren.)
Xiangpeng Tian, Chao Ren, Mingyang Li, Fajing Liu, Xiaofeng Wang, and Xiaohai He are with the College of Electronics and Information Engineering, Sichuan University, Chengdu, 610065, China (e-mail: {tianxp, limingyang, liufajing, xfwang}@stu.scu.edu.cn, {hexiaohai, chaoren}@scu.edu.cn).
Xiangpeng Tian is also with the College of Intelligent Systems Science and Engineering, Hubei Minzu University, Enshi 445000, China.
The source code will be publicly available upon acceptance at https://github.com/TxpHome/SASFormer
Copyright © 2026 IEEE. Personal use of this material is permitted. However,
permission to use this material for any other purposes must be obtained from the IEEE by sending an email to pubs-permissions@ieee.org. Published in IEEE Transactions on Circuits and Systems for Video Technology. DOI: 10.1109/TCSVT.2026.3745786

Fig. 1: Existing all-in-one image restoration methods. (a) Adaptive degradation identification methods [18], [19], [21]: Utilize degradation priors to guide the restoration process. (b) Auxiliary network or training strategy-based methods [17], [20], [22]–[24]: Employ additional networks to identify degradations and guide restoration. (c) Routing or multi-expert methods [25]–[27]: Leverage routing strategies or multiple experts for multi-task restoration. (d) Ours: Introduces stage-aware selective attention in the encoder–decoder architecture. The encoder learns robust representations with implicit degradation awareness, while the decoder adaptively selects informative features to suppress degradation interference and improve restoration quality.
strategy across the entire network may lead to suboptimal representation learning and restoration performance.
To better understand this issue, we revisit the representation requirements of hybrid attention across encoder–decoder architectures and analyze feature behavior across different network stages. We observe that increasing the modeling capacity of hybrid attention does not consistently improve restoration performance. In particular, excessive feature selection in early encoder stages may weaken the preservation of intrinsic image representations, while decoder-stage feature refinement plays a more critical role in reconstructing high-quality image details. Moreover, feature analysis reveals a clear stage-dependent representation behavior across the network, where encoder representations become progressively more discriminative under different degradations, while decoder representations tend to move toward a more unified representation for clean image reconstruction.
Motivated by this observation, we propose SASFormer, a Stage-Aware Selective Attention Transformer for all-in-one blind image restoration, as shown in Fig.1 (d). The key idea is to decouple representation preservation from restoration-oriented feature selection. Rather than applying a uniform attention formulation throughout the network, SASFormer introduces a stage-aware architecture that differentiates feature modeling according to the distinct roles of encoding and decoding. In the encoder, SASFormer adopts established hybrid channel-spatial attention to preserve complementary local and global representations under diverse degradations. In contrast, conventional fixed attention is less suited to decoder reconstruction, where restoration-relevant channel responses and spatial contexts vary across degradations. To address this limitation, the decoder introduces adaptive selective channel and spatial attention to dynamically select informative features, suppress degradation-specific disturbances, and re-
construct intrinsic structures. Specifically, Adaptive Selective Channel Self-Attention (ASCSA) dynamically selects informative channel subsets and avoids fixed channel partitioning under different degradations. Adaptive Selective Spatial Self-Attention (ASSSA) adaptively combines multiple spatial receptive fields to match degradation-dependent spatial requirements. In addition, implicit prompts are used as compact channel-wise modulation bases for adaptive selection, rather than as spatial feature generators. This design provides lightweight degradation awareness without introducing an auxiliary degradation classifier.
Extensive experiments on 3-, 5-, and 11-degradation settings demonstrate the effectiveness and efficiency of SASFormer, as shown in Fig. 2. Stage-wise representation analysis further shows that applying adaptive selection to decoding better supports convergence toward a unified representation for clean image reconstruction. The main contributions of this work are summarized as follows:
- We reveal distinct representation requirements across encoding and decoding stages in all-in-one image restoration, and accordingly propose a Stage-Aware Selective Attention Framework. It differentiates feature modeling according to stage-specific roles, emphasizing robust representation preservation during encoding and restoration-oriented selective reconstruction during decoding.
- To enable adaptive selective reconstruction in the decoder, we develop Adaptive Selective Channel Self-Attention (ASCSA) and Adaptive Selective Spatial Self-Attention (ASSSA). ASCSA dynamically identifies informative channel responses through query-channel selection and attention masking, while ASSSA adaptively integrates multi-window spatial attention to capture degradation-dependent spatial contexts.
- Extensive experiments on 3-, 5-, and 11-degradation

Fig. 2: PSNR comparison with representative methods in the three-degradation and five-degradation settings and on composited degradations.
settings demonstrate competitive restoration performance and favorable parameter efficiency. Stage-wise representation analysis and ablation studies further support the proposed stage-aware design, while cross-degradation evaluations demonstrate its generalization across diverse degradation scenarios.
b) All-in-One Image Restoration.: All-in-one methods aim to handle multiple types of image degradation within a unified architecture. Early approaches typically relied on multiple encoders or decoders to distinguish different degradations [35], [36], whereas AirNet [17] was the first to employ a single encoder-decoder framework, achieving unified image restoration through contrastive learning without requiring degradation priors. PromptIR [18] employs implicit prompts,
highlighting the crucial role of prompting mechanisms in all-in-one frameworks. IDR [37] employs a meta-learning-based two-stage approach to model degradation through underlying physical principles. Since then, all-in-one methods have attracted increasing attention, and numerous related approaches [20], [22]–[27], [38], [39] have been proposed in recent years. Among them, auxiliary network or training strategy-based methods [17], [20], [22]–[24], [40], [41] have attracted increasing attention and research interest due to their remarkable performance. The core idea of these methods is to employ auxiliary networks or additional training strategies to identify degradation types, and then leverage the obtained degradation priors to guide the restoration of multi-degraded images. For example, DFPIR [41] introduces text prompts to provide degradation guidance and incorporates channel perturbation to enhance the fusion of degradation information into feature representations. ClearAIR [42] further introduces a segmentation-guided mechanism to explicitly decouple structural regions and degradation components, enhancing restoration consistency and visual quality. AllRestorer [43] addresses adverse weather degradations using an all-in-one Transformer block with image-text scene embeddings and adaptive degradation weights.
Among recent all-in-one image restoration studies published in the IEEE Transactions on Circuits and Systems for Video Technology (TCSVT), the works most closely related to ours are AIRFormer [44], CAPTNet [45], MEASNet [26], PalRestorer [46], and IPT-ILR [47]. AIRFormer exploits frequency-guided Transformer representations, while CAPTNet employs degradation-specific prompts for decoder guidance. MEASNet performs adaptive expert selection, PalRestorer models degradation-aware task affinities, and IPT-ILR exploits an image-pyramid Transformer with information-loss regularization. These methods introduce adaptivity through frequency representations, prompts, experts, task relationships, or multi-scale architectures. In contrast, SASFormer addresses the distinct representation requirements of encoding and decoding through a stage-aware architecture. The encoder employs established hybrid attention for robust representation learning, whereas adaptive channel and spatial selection are specifically developed to meet the restoration-oriented requirements of decoder reconstruction. This distinction separates SASFormer from the above approaches, which primarily improve degradation or task adaptivity without explicitly modeling the different functional requirements of encoding and decoding stages.
Our study focuses on the distinct representation requirements of encoding and decoding under diverse degradations. Accordingly, we propose a stage-aware architecture that differentiates feature modeling across restoration stages, and further develop adaptive channel and spatial selection tailored to decoder reconstruction. This design improves the performance–efficiency trade-off of unified restoration.
III. PROPOSED METHOD
The goal of all-in-one blind image restoration is to learn a unified model M that restores a clean image from a degraded input affected by an unknown degradation D. To

Fig. 3: Overview of the proposed SASFormer architecture. (a) The model adopts a U-shaped backbone with different Transformer blocks in the encoding and decoding stages. (b) The encoder integrates transposed channel self-attention (CSA) [15] and spatial self-attention (SSA) [32], while the decoder incorporates adaptive selective channel self-attention (ASCSA) and adaptive selective spatial self-attention (ASSSA). ASCSA comprises ACSM and AASM, with ACSM responsible for query-channel selection and AASM performing attention selection using ASVM. ASSSA employs another independent ASVM instance to predict fusion weights for spatial attention outputs at different window sizes.
coordinate representation learning and selective reconstruction, SASFormer is built upon a stage-aware design principle, which assigns different feature modeling objectives to different network stages. Specifically, the encoder is responsible for learning robust image representations while progressively enhancing degradation-aware feature encoding, whereas the decoder focuses on restoration-oriented feature selection to suppress degradation interference and reconstruct intrinsic image structures. The overall architecture of SASFormer is illustrated in Fig. 3. The proposed stage-aware design and its key components are detailed in the following subsections.
A. Motivation and Overview Pipeline
Motivation. Existing all-in-one image restoration methods widely adopt channel, spatial, or hybrid attention mechanisms. As shown in Fig. 4, hybrid attention consistently improves performance over single-type attention across multiple degradations, indicating its effectiveness in capturing complementary representations. However, as illustrated in Fig. 5, we observe that such improvements are still limited under a static design paradigm. Specifically, fixed feature partitioning and non-adaptive attention allocation lead to inconsistent restoration behavior across different degradations (e.g., denoising vs. deraining), where a single model cannot simultaneously satisfy diverse representation requirements.
These observations suggest that fixed hybrid attention alone may be insufficient to accommodate degradation-dependent
reconstruction requirements, motivating a stage-aware allocation in which established hybrid attention preserves encoder representations and adaptive selective attention is reserved for decoder reconstruction.
Overview Pipeline. Our SASFormer adopts a U-shaped architecture [15], as shown in Fig. 3. Given a degraded input , a convolution first extracts shallow features . These are fed into a four-level encoder-decoder network to produce deep features . Each encoder and decoder level contains multiple Transformer blocks [16], with the number of blocks increasing from top to bottom. The encoder gradually reduces spatial resolution and expands channel capacity, yielding a compact latent representation . The decoder reconstructs the high-resolution image with skip connections [48] fusing encoder and decoder features. Specifically, the encoder integrates hybrid channel and spatial self-attention blocks [15], [32] to enhance feature representation, while the decoder employs adaptive selective channel and spatial self-attention to mitigate multi-degradation interference and strengthen intrinsic feature extraction.
B. Encoder: Representation Preservation with Hybrid Attention
To address the limited global receptive field of CNNs and the quadratic complexity of standard visual Transformers, Restormer [15] introduces Channel Self-Attention (CSA),

Fig. 4: Performance metrics of different self-attention backbones under the all-in-one setting (three degradations) show that hybrid attention achieves the strongest feature extraction and representation capabilities, making it particularly well-suited for all-in-one restoration scenarios.
which unfolds features along the channel dimension to compute attention among channels, providing strong global semantic modeling capability. Spatial self-attention [14], on the other hand, partitions the image into fixed-size spatial windows and computes attention across these windows to capture spatial dependencies, with varying window sizes accommodating the diverse spatial refinement requirements of different degradations. Combining channel and spatial self-attention is particularly suitable for all-in-one scenarios, where different degradations demand varied feature representation capabilities. In this work, we adopt CSA and SSA as fundamental building blocks to jointly model complementary global and local representations. These standard attention mechanisms are adopted with minor modifications to their hyperparameter settings for improved parameter efficiency, while preserving their original attention formulations. Within the proposed stage-aware architecture, CSA and SSA are used for robust content-preserving and degradation-aware representation learning in the encoder, while adaptive selective attention is specifically developed to meet the restoration-oriented requirements of decoder reconstruction.
C. Decoder: Restoration-Oriented Selective Attention
In all-in-one image restoration, the decoder reconstructs high-quality images from encoded features containing both structural information and implicit degradation cues. Since different degradations demand different reconstruction behaviors, uniform feature propagation may be insufficient for restoration-oriented decoding. To address this limitation, we develop Adaptive Selective Channel Self-Attention (ASCSA) and Adaptive Selective Spatial Self-Attention (ASSSA), which dynamically select restoration-relevant information from the channel and spatial dimensions, respectively. This enables degradation-adaptive reconstruction under diverse degradation conditions.
- Adaptive Selective Channel Self-Attention (ASCSA): Our proposed ASCSA mechanism incorporates two levels of adaptive selection modules: the Adaptive Channel Selection Module (ACSM) and the Adaptive Attention Selection Module (AASM). Specifically, ACSM adaptively determines whether each channel should participate in subsequent attention computation, enabling the model to emphasize intrinsic image rep-

Fig. 5: Feature visualization of the hybrid self-attention method [16]. Under fixed channel grouping, attention responses vary across degradations: haze-related channels are partially suppressed, while rain-related features remain insufficiently attenuated, indicating the limitation of static splitting in all-in-one restoration.
resentations while suppressing degradation-related responses. Subsequently, AASM further refines the attention responses by adaptively selecting informative attention components, thereby reducing degradation interference. Given the input feature , ACSM first aggregates global contextual information through global average pooling (GAP) and global max pooling (GMP). The aggregated features are then fused and projected by a lightweight network to generate channel-wise selection logits , where the two logits correspond to the “select” and “discard” states for each channel, respectively. Unlike hard Top-K-based channel selection strategies that require a manually predefined selection ratio, ACSM performs adaptive binary channel selection based on the learned channel-wise logits. Specifically, the Straight-Through Gumbel-Softmax estimator is employed to generate channel selection decisions:
where denotes the temperature parameter controlling the discreteness of the selection process, and indicates that the Gumbel-Softmax operation is performed over the two selection states for each channel. The resulting selection tensor represents the binary channel-selection decisions in the forward pass, while its underlying continuous Gumbel-Softmax relaxation provides differentiable gradients in the backward pass.
The Straight-Through estimator adopts hard one-hot channel decisions during the forward propagation while maintaining differentiable gradients through the continuous Gumbel-Softmax relaxation during the backward propagation. In this way, the channel-selection logits can be jointly optimized with the restoration network without explicitly differentiating through the discrete channel selection operation. To progressively sharpen the channel-selection behavior, the temperature is annealed during training as
where t denotes the current training epoch and T represents the total number of training epochs. The decreasing temperature

Fig. 6: Top: Comparison of cosine similarity of features extracted from the same clean image under rain and noise degradations on the Rain100L dataset, highlighting representation discrepancies induced by different self-attention mechanisms across stages. Bottom: Improvement in cosine similarity after introducing the ASCSA/ASSSA modules, further demonstrating the effectiveness of the proposed selective self-attention in enhancing degraded feature representation in deep layers and strengthening intrinsic structure modeling in shallow layers.
gradually reduces the uncertainty of channel selection while retaining hard decisions in the forward pass. The final binary channel mask is obtained by extracting the “select” state:
where the index 0 denotes the “select” state and the index 1 denotes the “discard” state. The selected query features are then calculated as
where denotes element-wise multiplication. The selected features are subsequently projected through a lightweight convolutional layer to match the required feature dimension for the following attention computation.
Importantly, the same Gumbel-Softmax-based channel selection mechanism is employed during both training and inference, ensuring consistent channel selection throughout the entire restoration process. The channel selection is determined by the learned channel-wise selection logits, allowing ACSM to dynamically identify informative channels according to the degradation-aware representations without requiring a manually predefined channel selection ratio.
To further mitigate the impact of multiple degradations, motivated by PIP [49], we propose an AASM. Unlike PIP, which manually sets fixed mask thresholds for all degradation types and levels, we design an Adaptive Selection Vector Module (ASVM) that integrates feature information and implicit prompts to automatically determine the mask threshold. Specifically, the learnable implicit prompts (where , the number of prompts, is set to 3) are first

Fig. 7: Visualization of features from the adaptive selective channel attention. The selected channels mainly focus on the intrinsic image content, effectively suppressing various degradation features and thereby demonstrating strong robustness across different degradations.
multiplied by the weights , which are independently learnable parameters shared across all images rather than predicted from the input, and then summed to obtain a weighted prompt vector . Finally, this vector is further modulated by the channel features of obtained via GAP to produce . The implicit prompts are internally defined learnable tensors shared across all images. They are initialized with ones and optimized jointly with the network parameters without additional supervision. The entire ASVM process can be described as follows:
In AASM, the feature map and the pre-softmax attention logits are used to construct a degradation-adaptive attention mask. Specifically, is first processed by ASVM and then fed into a learnable projection network to produce a scalar adaptive selection factor:
where denotes the two-layer projection network. Rather than directly thresholding the attention values, controls the number of retained entries in each attention row. We first map it to a continuous selection budget:
where denotes the floor operation. Thus, is a continuous target number of retained entries, whereas is the integer number used by the hard Top-K operation. This formulation guarantees that at least one entry is retained in every attention row. Let denote the descending rank of within the -th row of , where corresponds to the largest attention logit. The hard row-wise Top-K mask used in the forward pass is defined as
where denotes the indicator function, which equals 1 when its condition is satisfied and 0 otherwise. Accordingly, if belongs to the Top- entries of the -th row, and otherwise. Because the ranking and

Fig. 8: Attention feature maps under different window sizes. Smaller windows primarily capture fine-grained feature details, providing limited suppression of degradation-related features, whereas larger windows focus on broader structural information, yielding stronger suppression of degradation features.
integer Top-K operations are non-differentiable, we use a rank-based continuous relaxation during back-propagation:
where is the temperature of the attention-selection surrogate. The hard and soft masks are coupled through a straight-through estimator (STE):
where denotes the stop-gradient operator. Therefore, equals the exact hard Top-K mask in the forward pass, while its gradient in the backward pass is given by the continuous surrogate . The attention-selection temperature is annealed independently from the channel-selection temperature according to
where t and T denote the current and total training epochs, respectively. The decreasing temperature progressively sharpens the relaxed mask around the Top-K boundary, whereas the forward pass always uses the hard mask.
Let denote the unmasked attention weights. We obtain the selected attention weights through differentiable multiplication and row-wise renormalization:
where is a small constant for numerical stability and denotes the row-wise normalized attention weights after adaptive Top-K selection. For the forward hard mask, Eq. (12) is algebraically equivalent to applying Softmax only to the retained Top-K entries. During back-propagation, the reconstruction loss reaches through the continuous surrogate . With the ranks treated as fixed in the local STE approximation, the corresponding derivative is

Fig. 9: Stage-wise rain-noise feature similarity of PromptIR, AdaIR, MoCE-IR, and SASFormer. Each point is averaged over all 100 matched Rain100L test-image pairs. Higher similarity indicates greater feature consistency for the same image under rain and Gaussian-noise degradations.
Hard selection is consistently used in both training and inference. During training, has the same forward value as ; therefore, the exact row-wise Top-K mask is applied to the attention computation. The continuous surrogate is used only to provide the STE gradient during back-propagation. During inference, we use the same hard Top-K selection and masked renormalization, without replacing the hard mask by the continuous surrogate. Consequently, the forward attention-selection behavior is identical during training and inference. As shown in Fig. 7, the selected features mainly capture intrinsic image properties, and ASCSA effectively suppresses degradation-related components, demonstrating its ability to mitigate multi-degradation effects.
- Adaptive Selective Spatial Self-Attention (ASSSA): To address the varying spatial attention window size requirements across multiple degradations, we propose an ASSSA mechanism. For the input feature , we first feed it into another ASVM to obtain an adaptive selection vector that integrates both feature and prompt information. This vector is then passed through two Linear layers followed by a Softmax operation to produce the final adaptive selection vector . The process can be formulated as:
For SSA modules with different window sizes , their outputs are adaptively weighted and summed using , enabling dynamic feature extraction and representation for images with varying degradation types and levels. The overall process can be formulated as:
To balance model complexity and representational capacity, we set in this work, with window sizes of 4, 8, and 16, respectively. We analyze the adaptive selection vector in the layer across three degradation datasets, as shown in Tab. I. A consistent pattern emerges: weak or local degradations favor small windows (e.g., noise15 and rain), while strong or global degradations prefer large windows (e.g., noise50 and haze). As degradation severity increases (from noise15 to noise50), the weight shifts from small to large
TABLE I: Mean weights of the adaptive selection vector in the layer under three degradations. Weak or local degradations (e.g., light noise, local rain) prefer small windows, while strong or global degradations (e.g., heavy noise, haze) favor large windows.
| Degradation | |||
|---|---|---|---|
| Noise_15 | 0.349 | 0.314 | 0.337 |
| Noise_25 | 0.344↓ | 0.318↑ | 0.338↑ |
| Noise_50 | 0.337↓ | 0.325↑ | 0.339↑ |
| Rain | 0.377 | 0.277 | 0.346 |
| Haze | 0.338 | 0.317 | 0.345 |
windows. This confirms that the adaptive selection mechanism dynamically adjusts the receptive field based on degradation strength, underscoring the importance of multi-scale modeling for unified multi-degradation restoration.
D. Analysis of Stage-wise Representation Evolution
We analyze how representations of the same image evolve under different degradations. Using all 100 paired samples in the Rain100L test set, we use the paired rainy observation and generate a noisy observation from the same ground-truth image by adding Gaussian noise with . Thus, each test sample provides a matched rain-noise pair:
The ground-truth image is used only to construct the noisy observation; each restoration model receives only the corresponding degraded image.
For the -th stage, we compute the cosine similarity between feature maps extracted from the matched rain-noise pair:
where denotes the feature map at stage , and directly flattens the complete feature map without global average pooling. The stage-wise similarity is averaged over all test images:
Within this matched-content setting, a decrease in similarity is consistent with more degradation-dependent feature responses, whereas an increase in later decoder stages is consistent with the re-alignment of representations for restoration. We use this measure to characterize representation dynamics rather than as a direct restoration metric.
Fig. 6 compares the stage-wise trajectories of Restormer [15], X-Restormer [16], and SASFormer. Restormer and X-Restormer exhibit non-monotonic representation changes across the encoder–decoder pipeline. In contrast, SASFormer presents a clearer encoder–decoder transition: the similarity decreases overall in the encoder and increases again in the later decoder stages. This behavior is consistent with the proposed stage-aware design principle. Namely, the encoder retains degradation-dependent cues instead of prematurely aligning distinct degradations, whereas the later
decoder stages progressively form more consistent restoration-oriented representations. The bottom part of Fig. 6 further illustrates the effect of introducing ASCSA and ASSSA. The selective modules make the encoder–decoder transition more evident, suggesting that adaptive channel and spatial selection helps preserve complementary degradation and content cues before reconstruction. Rather than employing a uniform feature modeling strategy throughout the network, SASFormer adaptively exploits these cues during decoding to suppress degradation interference and recover intrinsic image structures. Figs. 7 and 8 provide qualitative insight into the two selective modules. ASCSA assigns higher responses to channels associated with intrinsic image structures while attenuating less relevant degradation-related responses. ASSSA combines local and broader contextual information through adaptive spatial-window selection. Smaller windows preserve local details, whereas larger windows capture broader structural context and suppress degradation artifacts.
The preceding comparison analyzes SASFormer against general restoration backbones. To directly compare representative all-in-one restoration methods under the same matched rain–noise inputs, we further evaluate PromptIR, AdaIR, MoCE-IR, and SASFormer. For each method, feature maps are extracted at semantically corresponding encoder, bottleneck, and decoder stages, matched by their relative encoder–decoder position and spatial resolution. All methods are evaluated on the same fixed 100 rain–noise pairs using the metric in Eq. (18). Fig. 9 presents the resulting stage-wise trajectories. SASFormer exhibits a coherent divergence-to-late-convergence pattern: its similarity decreases consistently throughout the encoder, indicating that degradation-dependent cues are retained rather than prematurely aligned. In contrast, PromptIR, AdaIR, and MoCE-IR all show a local re-increase in intermediate encoder stages, resulting in less regular encoder-stage representation evolution. After the bottleneck, SASFormer further differentiates the matched rain–noise features in the early decoder and progressively re-aligns them in the subsequent decoder stages. Although the competing methods also show an increase near the final decoder stage, SASFormer exhibits a more pronounced late-decoder re-alignment and reaches the highest final rain–noise feature similarity. This trajectory is consistent with the proposed stage-aware strategy: degradation-dependent information remains available in the encoder and early decoder, whereas later decoder stages transform these features toward a common restoration-oriented representation. This analysis characterizes representation dynamics; restoration quality is independently evaluated using the standard PSNR/SSIM results.
IV. EXPERIMENTS
Following the experimental setups in prior works [24], [25], we conduct two types of image restoration experiments: (i) All-in-One restoration and (ii) Composed degradation restoration. In the All-in-One setting, a single unified model is trained to handle multiple degradation types, specifically considering three and five distinct degradations. In the Composed degradation setting, the model is trained to handle both
TABLE II: Comparison to state-of-the-art on three degradations (3D). PSNR (dB, ↑) and SSIM (↑) metrics are reported on the full RGB images. Our method achieves competitive task-specific results, the best average PSNR, and a favorable performance-parameter trade-off. (*) denotes methods that leverage foundation models (e.g., CLIP, ResNet, or DINO) or custom-designed auxiliary networks. The best and second-best performances are highlighted.
| Types | Method | Dehazing on SOTS | Deraining on Rain100L | Denoising on CBSD68 dataset | Average | Params. (M) | ||
|---|---|---|---|---|---|---|---|---|
| σ = 15 | σ = 25 | σ = 50 | ||||||
| General | Restormer [15] (CVPR'22) | 30.43/0.975 | 36.55/0.975 | 33.84/0.931 | 31.18/0.885 | 27.90/0.790 | 31.98/0.911 | 26.13 |
| NAFNet [11] (ECCV'22) | 24.11/0.928 | 33.64/0.956 | 33.03/0.918 | 30.47/0.865 | 27.12/0.754 | 29.67/0.844 | 17.11 | |
| FSNet [50] (TPAMI'23) | 29.14/0.968 | 35.61/0.969 | 33.81/0.930 | 30.84/0.872 | 27.69/0.792 | 29.67/0.844 | 13.28 | |
| MambaIR [51] (ECCV'24) | 29.57/0.970 | 35.42/0.969 | 33.88/0.931 | 30.95/0.874 | 27.74/0.793 | 31.51/0.907 | 26.78 | |
| All-in-One | AirNet [17] (CVPR'22) | 27.94/0.962 | 34.90/0.967 | 33.92/0.933 | 31.26/0.888 | 28.00/0.797 | 31.20/0.910 | 8.93 |
| IDR [37] (CVPR'23) | 29.87/0.970 | 36.03/0.971 | 33.89/0.931 | 31.32/0.884 | 28.04/0.798 | 31.83/0.911 | 15.34 | |
| PromptIR [18] (NeurIPS'23) | 30.58/0.974 | 36.37/0.972 | 33.98/0.933 | 31.31/0.888 | 28.06/0.799 | 32.06/0.913 | 35.59 | |
| InstructIR* [22] (ECCV'24) | 30.22/0.959 | 37.98/0.978 | 34.15/0.933 | 31.52/0.890 | 28.30/0.804 | 32.43/0.913 | 15.80 | |
| DPPD (PromptIR) [21] (TIP'25) | 31.10/0.981 | 37.74/0.982 | 34.12/0.941 | 31.80/0.891 | 28.17/0.809 | 32.59/0.921 | 35.59 | |
| DA-RCOT* [20] (TPAMI'25) | 31.26/0.977 | 38.36/0.983 | 33.98/0.934 | 31.33/0.890 | 28.10/0.801 | 32.60/0.917 | 40.90 | |
| Perceive-IR* [23] (TIP'25) | 30.87/0.975 | 38.29/0.980 | 34.13/0.934 | 31.53/0.890 | 28.31/0.804 | 32.63/0.917 | 42.02 | |
| AdaIR [19] (ICLR'25) | 31.06/0.980 | 38.64/0.983 | 34.12/0.935 | 31.45/0.892 | 28.19/0.802 | 32.69/0.918 | 28.77 | |
| VLU-Net* [24] (CVPR'25) | 30.71/0.980 | 38.93/0.984 | 34.13/0.935 | 31.48/0.892 | 28.23/0.804 | 32.70/0.919 | 35.35 | |
| MEASNet* [26] (TCSVT'25) | 31.61/0.981 | 39.00/0.985 | 34.12/0.935 | 31.46/0.892 | 28.19/0.803 | 32.85/0.919 | 31.20 | |
| MoCE-IR [25] (CVPR'25) | 31.34/0.979 | 38.57/0.984 | 34.11/0.932 | 31.45/0.888 | 28.28/0.800 | 32.73/0.917 | 25.35 | |
| ClearAIR* [42] (AAAI'26) | 31.08/0.981 | 38.61/0.984 | 34.18/0.935 | 31.50/0.891 | 28.31/0.804 | 32.74/0.919 | 31 | |
| R2R [52] (CVPR'26) | 31.40/0.977 | 37.46/0.980 | 34.10/0.936 | 31.45/0.895 | 28.22/0.806 | 32.53/0.918 | 19.70 | |
| SASFormer (Ours) | 32.58/0.982 | 38.21/0.982 | 34.17/0.936 | 31.53/0.894 | 28.28/0.808 | 32.95/0.920 | 23.69 | |
TABLE III: Comparison to state-of-the-art on five degradations (5D). PSNR (dB, ↑) and SSIM (↑) metrics are reported on the full RGB images. (*) denotes methods that leverage foundation models (e.g., CLIP, ResNet, or DINO) or custom-designed auxiliary networks. The best and second-best performances are highlighted.
| Types | Method | Dehazing on SOTS | Deraining on Rain100L | Denoising on CBSD68 | Deblurring on GoPro | Low-light Enh. on LOL | Average | Params. (M) |
|---|---|---|---|---|---|---|---|---|
| General | MIRNetV2 [53] (TPAMI'22) | 24.03/0.927 | 33.89/0.954 | 30.97/0.881 | 26.30/0.799 | 21.52/0.815 | 27.34/0.875 | 5.86 |
| Restormer [15] (CVPR'22) | 24.09/0.927 | 34.81/0.962 | 31.49/0.884 | 27.22/0.829 | 20.41/0.806 | 27.60/0.881 | 26.13 | |
| NAFNet [11] (ECCV'22) | 25.23/0.939 | 35.56/0.967 | 31.02/0.883 | 26.53/0.808 | 20.49/0.809 | 27.76/0.881 | 17.11 | |
| FSNet [50] (TPAMI'23) | 25.53/0.943 | 36.07/0.968 | 31.33/0.883 | 28.32/0.869 | 22.29/0.829 | 28.71/0.898 | 13.28 | |
| MambaIR [51] (ECCV'24) | 25.81/0.944 | 36.55/0.971 | 31.41/0.884 | 28.61/0.875 | 22.49/0.832 | 28.97/0.901 | 26.78 | |
| All-in-One | Transweather [54] (CVPR'22) | 21.32/0.885 | 29.43/0.905 | 29.00/0.841 | 25.12/0.757 | 21.21/0.792 | 25.22/0.836 | 37.93 |
| AirNet [17] (CVPR'22) | 21.04/0.884 | 32.98/0.951 | 30.91/0.882 | 24.35/0.781 | 18.18/0.735 | 25.49/0.846 | 8.93 | |
| IDR [37] (CVPR'23) | 25.24/0.943 | 35.63/0.965 | 31.60/0.887 | 27.87/0.846 | 21.34/0.826 | 28.34/0.893 | 15.34 | |
| PromptIR [18] (NeurIPS'23) | 26.54/0.949 | 36.37/0.970 | 31.47/0.886 | 28.71/0.881 | 22.68/0.832 | 29.15/0.904 | 35.59 | |
| InstructIR* [22] (ECCV'24) | 27.10/0.956 | 36.84/0.973 | 31.40/0.887 | 29.40/0.886 | 23.00/0.836 | 29.55/0.907 | 15.80 | |
| Perceive-IR* [23] (TIP'25) | 28.19/0.964 | 37.25/0.977 | 31.44/0.887 | 29.46/0.886 | 22.88/0.833 | 29.84/0.909 | 42.02 | |
| DPPD (PromptIR) [21] (TIP'25) | 30.31/0.980 | 37.32/0.980 | 31.33/0.885 | 28.74/0.875 | 22.73/0.846 | 30.09/0.913 | 35.59 | |
| VLU-Net* [24] (CVPR'25) | 30.84/0.980 | 38.54/0.982 | 31.43/0.891 | 27.46/0.840 | 22.29/0.833 | 30.11/0.905 | 35.35 | |
| AdaIR [19] (ICLR'25) | 30.53/0.978 | 38.02/0.981 | 31.35/0.889 | 28.12/0.858 | 23.00/0.845 | 30.20/0.910 | 28.77 | |
| DA-RCOT [20] (TPAMI'25) | 30.96/0.975 | 37.87/0.980 | 31.23/0.888 | 28.68/0.872 | 23.25/0.836 | 30.40/0.911 | 40.90 | |
| MEASNet* [26] (TCSVT'25) | 31.05/0.980 | 38.32/0.982 | 31.40/0.888 | 29.41/0.890 | 23.00/0.845 | 30.64/0.917 | 31.20 | |
| MoCE-IR [25] (CVPR'25) | 30.48/0.974 | 38.04/0.982 | 31.34/0.887 | 30.05/0.899 | 23.00/0.852 | 30.58/0.919 | 25.35 | |
| ClearAIR* [42] (AAAI'26) | 30.12/0.978 | 38.20/0.982 | 31.53/0.888 | 29.67/0.887 | 22.83/0.846 | 30.45/0.916 | 31 | |
| R2R [52] (CVPR'26) | 30.64/0.974 | 36.61/0.975 | 31.35/0.891 | 30.93/0.911 | 22.88/0.856 | 30.48/0.921 | 19.70 | |
| SASFormer (Ours) | 32.42/0.981 | 37.80/0.980 | 31.37/0.890 | 29.98/0.895 | 23.12/0.851 | 30.94/0.919 | 23.69 |
individual degradations and combinations of up to three different degradation types. Extensive experiments are conducted to evaluate SASFormer through comparisons with state-of-the-art methods, representation analyses, ablation studies, generalization experiments, and efficiency evaluations.
A. Experimental Settings
Datasets. For the all-in-one setting, following prior work [18], [37], we use the following datasets: for image denoising, BSD400 [61] and WED [62] are combined, with Gaussian noise added at levels , and CBSD68 [63] is used for testing; for image deraining, Rain100L [64] is employed; for dehazing, the SOTS [65] dataset is used; and for deblurring and low-light enhancement, GoPro [59] and LOL-v1 [66] are adopted, respectively. These
datasets are combined under three- or five-degradation settings for training over 100 epochs, with direct evaluation conducted across the different tasks. In the composited degradation setting, the CDD11 [57] dataset is used, and the model is trained for 200 epochs.
Implementation Details. Our SASFormer provides an end-to-end trainable solution without the need for pretraining any individual modules. The network adopts a four-level encoder-decoder architecture, with each level containing a different number of Transformer blocks: [2, 3, 3, 4] from the first to the fourth level. Experiments are conducted using PyTorch on a single NVIDIA GeForce RTX4090 GPU. The initial learning rate is set to and is gradually reduced following a cosine annealing schedule. During training, input images are cropped into pixel patches with a
TABLE IV: Comparison with the latest all-in-one state-of-the-art under composited degradations. PSNR (dB, ↑) and SSIM (↑) metrics are reported on the full RGB images. MoCE-IR [25] provides training results only for the lightweight version (MoCE-IR-S).“—” indicates that the metric is not reported.
| Method | Low (L) | Haze (H) | Rain (R) | Snow (S) | L+H | L+R | L+S | H+R | H+S | L+H+R | L+H+S | Avg. |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| WeatherDiff [55] | 23.58/.763 | 21.99/.904 | 24.85/.885 | 24.80/.888 | 21.83/.756 | 22.69/.730 | 22.12/.707 | 21.25/.868 | 21.99/.868 | 21.23/.716 | 21.04/.698 | 22.49/.799 |
| AirNet [17] | 24.83/.778 | 24.21/.951 | 26.55/.891 | 26.79/.919 | 23.23/.779 | 22.82/.710 | 23.29/.723 | 22.21/.868 | 23.29/.901 | 21.80/.708 | 22.24/.725 | 23.75/.814 |
| PromptIR [18] | 26.32/.805 | 26.10/.969 | 31.56/.946 | 31.53/.960 | 24.49/.789 | 25.05/.771 | 24.51/.761 | 24.54/.924 | 23.70/.925 | 23.74/.752 | 23.33/.747 | 25.90/.850 |
| WGWSNet [56] | 24.39/.774 | 27.90/.982 | 33.15/.964 | 34.43/.973 | 24.27/.800 | 25.06/.772 | 24.60/.765 | 27.23/.955 | 27.65/.960 | 23.90/.772 | 23.97/.771 | 26.96/.863 |
| OneRestore [57] | 26.48/.826 | 32.52/.990 | 33.40/.964 | 34.31/.973 | 25.79/.822 | 25.58/.799 | 25.19/.789 | 29.99/.957 | 30.21/.964 | 24.78/.788 | 24.90/.791 | 28.47/.878 |
| DPPD [21] | 27.22/— | 31.08/— | 34.53/— | 35.48/— | 26.29/— | 26.36/— | 26.11/— | 29.87/— | 29.64/— | 25.30/— | 25.37/— | 28.84/— |
| MoCE-IR-S [25] | 27.26/.824 | 32.66/.990 | 34.31/.970 | 35.91/.980 | 26.24/.817 | 26.25/.800 | 26.04/.793 | 29.93/.964 | 30.19/.970 | 25.41/.789 | 25.39/.790 | 29.05/.881 |
| R2R [52] | 27.29/.836 | 32.88/.992 | 35.12/.971 | 36.54/.981 | 26.21/.833 | 26.70/.816 | 26.33/.809 | 30.41/.966 | 30.37/.971 | 25.47/.804 | 25.21/.803 | 29.32/.889 |
| SASFormer (Ours) | 27.50/.832 | 35.72/.992 | 34.94/.969 | 36.33/.978 | 26.85/.827 | 26.57/.808 | 26.46/.801 | 32.08/.966 | 32.29/.971 | 25.96/.799 | 25.96/.797 | 30.06/.885 |

Fig. 10: Visual comparison of SASFormer and state-of-the-art methods on challenging cases under the all-in-one image restoration setting involving three degradation types. SASFormer effectively removes globally distributed haze and spatially localized rain streaks, while preserving image sharpness and fine details in detail-sensitive denoising tasks, consistently achieving high-quality restoration results.
TABLE V: Cross-degradation generalization results on additional test datasets. PSNR (dB, ↑) and SSIM (↑) are reported on full RGB images. The model is trained under five degradation types and directly evaluated on degradation-specific datasets. Compared with MoCE-IR, our method improves the average PSNR by 1.60 dB, highlighting its superior cross-degradation generalization capability.
| Method | Deraining Rain100H | Deblurring HIDE | Low-light LOLv2-Real | Average |
|---|---|---|---|---|
| IDR [37] | 11.32/0.397 | 16.83/0.621 | 17.61/0.697 | 15.25/0.572 |
| Restormer [15] | 14.50/0.464 | 24.42/0.781 | 26.12/0.877 | 21.68/0.707 |
| PromptIR [18] | 14.28/0.444 | 24.49/0.762 | 26.70/0.870 | 21.82/0.692 |
| AdaIR [19] | 14.13/0.438 | 24.43/0.771 | 26.54/0.867 | 21.70/0.692 |
| MoCE-IR [25] | 14.97/0.472 | 28.51/0.879 | 27.27/0.907 | 23.58/0.753 |
| SASFormer | 15.74/0.499 | 28.06/0.871 | 31.74/0.915 | 25.18/0.762 |
TABLE VI: Zero-shot generalization evaluation. We evaluate the zero-shot generalization performance using model weights trained on three degradation types, and directly test them on the DPDD [58], GoPro [59], and HIDE [60] datasets. All results are reported on RGB images using PSNR (dB, ↑), SSIM (↑), and LPIPS (↓) as quantitative evaluation metrics.
| Method | DPDD | GoPro | HIDE |
|---|---|---|---|
| PSNR/SSIM/LPIPS | PSNR/SSIM/LPIPS | PSNR/SSIM/LPIPS | |
| AirNet [17] | 20.17/0.674/0.376 | 21.95/0.748/0.330 | 20.68/0.731/0.350 |
| PromptIR [18] | 21.76/0.673/0.386 | 22.15/0.749/0.332 | 22.78/0.740/0.333 |
| MoCE-IR [25] | 21.83/0.678/0.372 | 22.50/0.758/0.326 | 22.92/0.743/0.334 |
| SASFormer | 22.43/0.704/0.372 | 23.17/0.755/0.327 | 23.07/0.740/0.331 |
batch size of 12. The network is optimized using the L1 loss function and the Adam optimizer with parameters

Fig. 11: Visual comparison of SASFormer against state-of-the-art methods across three challenging mixed degradation scenarios.
and . Data augmentation is applied via random horizontal and vertical flips. For fair comparison, our training strategy—including batch composition, data augmentation, and dataset splits—follows standard practices established in prior works [18], [19], [25], [57] across the 3-, 5-, and 11-degradation settings.
Temperature annealing. The channel-selection temperature and the attention-selection temperature are maintained as separate variables for their respective continuous relaxations. Both temperatures are updated once at the beginning of each training epoch and remain fixed within that epoch. Given the current epoch index and the total number of training epochs , we use exponential annealing:
where is the epoch index used by the training schedule and is the total number of training epochs. This schedule yields at the beginning of training and at the end of training. We set and . Here, controls the Gumbel-Softmax relaxation for channel selection, whereas controls the rank-based Sigmoid surrogate for attention selection.
B. Comparison With State-of-the-Art Methods
Three-Degradation Setting. We compare the proposed SASFormer with both general image restoration methods and all-in-one image restoration methods. The general restoration methods include Restormer [15], NAFNet [11], FSNet [50], and MambaIR [51]. The all-in-one methods consist of blind restoration models, including AirNet [17], PromptIR [18], AdaIR [19], and MoCE-IR [25], as well as non-blind restoration models, including InstructIR [22], DA-RCOT [20], VLU-Net [24], Perceive-IR [23], ClearAIR* [42], and R2R [52]. All methods are jointly trained on three degradation types, namely haze, rain streaks, and Gaussian noise. As reported in Tab.II, SASFormer achieves competitive restoration performance, with an average PSNR 0.10 dB higher than that of
MEASNet [26]. Moreover, despite employing fewer parameters than other leading methods,
SASFormer achieves competitive restoration performance across different tasks while maintaining an excellent balance between effectiveness and efficiency. Qualitative comparisons are presented in Fig. 10, where our method produces visually favorable results with improved detail recovery, more effective rain streak removal, and clearer restoration under severe haze degradation compared with competing approaches.
Five-Degradation Setting. Building upon the experimental setup in [25], [37], we extend the three-degradation setting to include deblurring and low-light enhancement, providing a more comprehensive validation of our method's effectiveness. As shown in Tab. III, our approach demonstrates stronger representational capability for complex degradations and effectively mitigates interference among multiple degradation types. Compared with MEASNet [26], our model achieves an average PSNR improvement of 0.30 dB while reducing parameters by 24.1%, highlighting its superior efficiency and performance.
Composited Degradations. To further validate the robustness of our method in more complex and mixed degradation scenarios, and following standard practices in the field, we conduct experiments on the CDD-11 dataset [57]. This dataset includes various single degradations such as rain, haze, snow, and low-light conditions, as well as multiple composited degradations, resulting in a total of 11 distinct restoration settings. As shown in Tab. IV, our method achieves average PSNR gains of 0.74 dB and 1.01 dB over R2R [52] and MoCE-IR-S [25], respectively. Fig. 11 further presents visual comparisons on this dataset, where it can be observed that our method produces superior results in both fine-grained texture restoration and global structural consistency. These results further demonstrate the effectiveness and superiority of the proposed approach.
Generalization Performance Evaluation. To evaluate the generalization capability of our model, we tested it on three datasets not seen during training: Rain100H [64] for heavy deraining, HIDE [60] for human-centric deblurring, and LoLv2-

Fig. 12: Ablation study validating the contributions of key components. The results of average PSNR across composited degradation scenarios are presented to validate the contribution of each component to the overall performance.
Real [67] for low-light image enhancement. Tab. V reports the results of models trained under five degradation conditions directly applied to these test sets. While MoCE-IR [25] benefits from Sobel filtering, which provides an advantage in texture extraction and leads to slightly better deblurring performance, our method demonstrates clear improvements in heavy deraining, real low-light enhancement, and average PSNR. These results further validate the effectiveness of SAS-Former in feature representation and its strong generalization ability.
Zero-Shot Generalization Following the experimental settings of MoCE-IR [25], we evaluate representative blind all-in-one image restoration methods, including AirNet [17], PromptIR [18], and MoCE-IR [25], in terms of their zero-shot generalization ability. All methods are trained with three degradation types and directly evaluated on unseen degradations without any additional fine-tuning. For a fair comparison, we adopt the official pre-trained checkpoints of AirNet, PromptIR, and MoCE-IR, while our model also uses the corresponding checkpoint trained with the same three-degradation setting. Specifically, we consider several deblurring tasks, including defocus deblurring on DPDD [58], as well as motion deblurring on GoPro [59] and HIDE [60], where these degradation types are not included during training. PSNR, SSIM, and LPIPS are employed as evaluation metrics. As shown in Tab. VI, our method achieves the best PSNR performance on all three datasets while maintaining competitive SSIM and LPIPS results. These results demonstrate the strong zero-shot generalization capability of our approach to unseen degradation types.
C. Ablation Analysis
We perform a detailed analysis of each component in our method to validate its effectiveness. We primarily conduct ablation studies under the Three Degradations and Composed Degradations evaluation settings.
Key Components. As shown in Fig. 12, we present the ablation results of key components under the Composed Degradations setting to evaluate their contributions to SAS-Former's performance. Replacing the decoder's CSA+SSA with ASSSA and ASCSA yields PSNR gains of 0.51 dB and 1.17 dB, respectively, validating the effectiveness of the adaptive selection mechanism. Further incorporating implicit

Fig. 13: Layer-wise cross-degradation cosine similarity under different stage-wise configurations of ASCSA and ASSSA, supporting the proposed stage-aware design.

Fig. 14: Ablation results on spatial window size w under three degradation settings.
prompts and AASM enhances the model's degradation awareness and feature representation, providing additional PSNR improvements of 0.23 dB and 0.13 dB, and resulting in the best average performance.
TABLE VII: Ablation study for validating the stage-aware design with different configurations of ASCSA and ASSSA. All models are trained and evaluated under the three degradation setting.
| Configuration | Encoder | Encoder + Decoder | Decoder |
|---|---|---|---|
| Params. | 23.61M | 24.57M | 23.69M |
| PSNR/SSIM | 32.74/0.918 | 32.83/0.919 | 32.95/0.920 |
Validation of the Stage-Aware Design. To validate the proposed stage-aware design, we compare three configurations of ASCSA and ASSSA: encoder-only, encoder-decoder, and decoder-only. As reported in Tab. VII, they achieve average PSNR values of 32.74 dB, 32.83 dB, and 32.95 dB, respectively, on the three-degradation benchmark. The decoder-only configuration performs best, indicating that extending adaptive selection to more stages does not necessarily improve restoration quality. Fig. 13 further shows that applying adaptive selection throughout both encoding and decoding leads to stronger cross-degradation feature divergence at intermediate stages. Together with its lower PSNR, this suggests that excessive early-stage selection may interfere with the representation preservation required for subsequent reconstruction. In contrast, decoder-side selection enables adaptive feature refinement during reconstruction and achieves the best performance among the evaluated configurations. These results are consistent with our stage-wise analysis and provide empirical support for the proposed stage-aware design.

Fig. 15: Visualization of mask attention features. The masks vary across degradations and emphasize intrinsic image content.
Spatial Selectivity. Fig. 14 presents the ablation results for different spatial attention window sizes. Small windows overemphasize local regions and amplify degradation cues, reducing performance. Larger windows capture global structure and improve performance, but too large loses fine details. Multi-scale windows balance local details and global structure, achieving optimal performance.
AASM and Prompt. As shown in Fig. 15, the channel-wise mask attention highlights that different degradations produce distinct activation patterns, with features increasingly focusing on intrinsic image content while suppressing degradation cues. This demonstrates the effectiveness of our adaptive attention selection in enhancing feature robustness. As shown in Fig. 16, the t-SNE visualizations with and without prompt guidance reveal that incorporating prompts leads to clearer separation and more compact clustering of degradation features. This indicates that the model is capable of learning robust multi-degradation feature representations even without prompts, while the prompt mechanism further enhances feature discriminability and separability.
Effect of the number of prompts. We further study the effect of the number of prompts under the composited degradation setting, as reported in Tab. VIII. Introducing prompts consistently improves the restoration performance over the prompt-free baseline, indicating that prompt-based modulation is beneficial for degradation-adaptive restoration. The PSNR increases from 29.6924 dB without prompts to 30.0593 dB with three prompts, while further increasing the number of prompts brings only marginal gains. Therefore, we adopt three prompts as a trade-off between restoration accuracy and model complexity.
Analysis of adaptive channel selection. Fig. 17 visualizes the channel selection probabilities of ASCSA under three degradation types. Samples with the same degradation tend to activate similar channel groups, while some channels are selectively emphasized for specific degradations. This indicates that ASCSA learns degradation-adaptive channel allocation instead of using a fixed channel attention pattern, thereby improving its ability to model diverse degradation characteristics.
Complexity-Performance Trade-off. Our method achieves a

Fig. 16: t-SNE visualization with and without implicit prompts, showing improved multi-degradation feature discrimination with prompting.

Fig. 17: Channel selection probabilities of ASCSA under three degradation types. The horizontal axis denotes the channel index, and the vertical axis denotes the selection probability.
favorable trade-off between model complexity and restoration performance by introducing a stage-aware selective self-attention mechanism. As shown in Fig. 18, with an input size of , the model contains only 23.69M parameters with moderate FLOPs. Compared with previous state-of-the-art methods, it not only significantly improves restoration quality but also maintains a compact model size, demonstrating an excellent balance between performance and efficiency.
Parameter Efficiency, Computational Cost, Memory Usage, and Runtime. As shown in Tab. IX, SASFormer has the fewest parameters among the compared methods, demonstrating its parameter efficiency. Computational cost, however, follows a different pattern: SASFormer requires fewer GMACS than PromptIR [18] and AdaIR [19], but more than MoCE-IR [25] because of its multi-scale spatial attention. Memory usage and inference runtime are evaluated separately.

Fig. 18: Model parameter versus PSNR comparison under three- and five-degradation settings. Our SASFormer achieves a favorable performance-efficiency trade-off, delivering superior restoration performance with a compact parameter count among the compared methods.
TABLE VIII: Effect of the number of prompts on image restoration performance under the composited degradation setting.
| Number of Prompts | Params. | PSNR (dB) | SSIM |
|---|---|---|---|
| 0 | 23.67M | 29.6924 | 0.8832 |
| 1 | 23.68M | 29.7912 | 0.8842 |
| 2 | 23.68M | 29.9105 | 0.8853 |
| 3 | 23.69M | 30.0593 | 0.8853 |
| 4 | 23.69M | 30.0598 | 0.8854 |
| 5 | 23.69M | 30.0612 | 0.8854 |
TABLE IX: Model parameters and computational complexity are evaluated under the three degradations setting. GMACS are computed on an input image of size using an NVIDIA RTX4090 GPU.
| Method | Params. | GMACS | PSNR/SSIM |
|---|---|---|---|
| PromptIR | 35.59M | 158.40 | 32.06/0.913 |
| AdaIR | 28.77M | 147.45 | 32.69/0.918 |
| MoCE-IR | 25.35M | 87.31 | 32.73/0.917 |
| SASFormer (Ours) | 23.69M | 125.47 | 32.95/0.920 |
from parameter count and GMACS. SASFormer uses more memory than MoCE-IR and PromptIR but less than AdaIR under the evaluated settings. The inference-time comparisons in Tab. X similarly show that SASFormer is slower overall than MoCE-IR but faster overall than PromptIR and AdaIR. These results reflect the additional computational and memory costs of multi-scale spatial attention despite the compact parameter size. This trade-off is accompanied by average PSNR gains of 0.22, 0.36, and 1.01 dB over MoCE-IR on the 3-, 5-, and 11-degradation test sets, respectively. Thus, SASFormer offers improved average restoration accuracy with fewer parameters, at the expense of higher computational cost, memory usage, and inference time relative to MoCE-IR.
V. CONCLUSION
In this paper, we proposed SASFormer, a stage-aware selective attention transformer for all-in-one blind image restoration. We identify distinct representation requirements across encoding and decoding under diverse degradations, and accordingly introduce a stage-aware architecture that differentiates feature modeling between the two stages. SASFormer separates encoder-side representation preservation from decoder-side selective reconstruction. Specifically, the encoder uses established hybrid channel-spatial attention to build diverse degradation-aware and content-preserving representations, while the decoder employs adaptive selective channel and spatial attention with implicit prompt-guided modulation to suppress degradation-specific responses and recover intrinsic image structures. Extensive experiments on 3-, 5-, and 11-degradation settings demonstrate that SASFormer achieves strong restoration accuracy with favorable parameter efficiency. Stage-wise representation analysis and ablation studies provide empirical support for the proposed stage-aware design, with decoder-side selection achieving the best restoration performance among the evaluated configurations. Nevertheless, the use of spatial attention slightly increases memory consumption, particularly for high-resolution restoration. In future work, we will investigate more efficient and
TABLE X: Memory usage and inference time under the five degradations test sets. Peak GPU memory usage and inference time at a resolution of (NVIDIA RTX4090) are also reported.
| Method | Memory | Runtime | PSNR/SSIM |
|---|---|---|---|
| PromptIR | 1113.40M | 92.15 0.56ms | 29.15/0.904 |
| AdaIR | 1318.00M | 97.12 0.82ms | 30.20/0.910 |
| MoCE-IR | 336.79M | 80.84 0.94ms | 30.58/0.919 |
| SASFormer (Ours) | 1253.46M | 90.85 0.43ms | 30.94/0.918 |
lightweight selective attention mechanisms guided by stage-specific functions, and extend them to open-set real-world degradations and video restoration tasks.
REFERENCES
[1] C. Ren, X. He, C. Wang, and Z. Zhao, “Adaptive consistency prior based deep network for image denoising,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2021, pp. 8596–8606.
[2] Y. Pan, X. Liu, X. Liao, Y. Cao, and C. Ren, “Random sub-samples generation for self-supervised real image denoising,” in Proc. IEEE/CVF Int. Conf. Comput. Vis. (ICCV), 2023, pp. 12150–12159.
[3] X. Lin, C. Ren, X. Liu, J. Huang, and Y. Lei, “Unsupervised image denoising in real-world scenarios via self-collaboration parallel generative adversarial branches,” in Proc. IEEE/CVF Int. Conf. Comput. Vis. (ICCV), 2023, pp. 12642–12652.
[4] C. Chen and H. Li, “Robust representation learning with feedback for single image deraining,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2021, pp. 7742–7751.
[5] R. Li, L.-F. Cheong, and R. T. Tan, “Heavy rain image restoration: Integrating physics model and conditional adversarial learning,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2019, pp. 1633–1642.
[6] W.-T. Chen, H.-Y. Fang, J.-J. Ding, and S.-Y. Kuo, “Pmhld: Patch map-based hybrid learning dehazenet for single image haze removal,” IEEE Trans. Image Process., vol. 29, pp. 6773–6788, 2020.
[7] X. Qin, Z. Wang, Y. Bai, X. Xie, and H. Jia, “Ffa-net: Feature fusion attention network for single image dehazing,” in Proc. AAAI Conf. Artif. Intell., vol. 34, no. 07, 2020, pp. 11908–11915.
[8] Y. Shao, L. Li, W. Ren, C. Gao, and N. Sang, “Domain adaptation for image dehazing,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2020, pp. 2808–2817.
[9] O. Kupyn, T. Martyniuk, J. Wu, and Z. Wang, “Deblurgan-v2: Deblurring (orders-of-magnitude) faster and better,” in Proc. IEEE/CVF Int. Conf. Comput. Vis. (ICCV), 2019, pp. 8878–8887.
[10] L. Chen, X. Tian, S. Xiong, Y. Lei, and C. Ren, “Unsupervised blind image deblurring based on self-enhancement,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2024, pp. 25691–25700.
[11] L. Chen, X. Chu, X. Zhang, and J. Sun, “Simple baselines for image restoration,” in Proc. Eur. Conf. Comput. Vis. (ECCV). Springer, 2022, pp. 17–33.
[12] S. W. Zamir, A. Arora, S. Khan, M. Hayat, F. S. Khan, M.-H. Yang, and L. Shao, “Multi-stage progressive image restoration,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2021, pp. 14821–14831.
[13] Z. Wang, X. Cun, J. Bao, W. Zhou, J. Liu, and H. Li, “Uformer: A general u-shaped transformer for image restoration,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2022, pp. 17683–17693.
[14] J. Liang, J. Cao, G. Sun, K. Zhang, L. Van Gool, and R. Timofte, “Swinir: Image restoration using swin transformer,” in Proc. IEEE/CVF Int. Conf. Comput. Vis. (ICCV), 2021, pp. 1833–1844.
[15] S. W. Zamir, A. Arora, S. Khan, M. Hayat, F. S. Khan, and M.-H. Yang, “Restormer: Efficient transformer for high-resolution image restoration,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2022, pp. 5728–5739.
[16] X. Chen, Z. Li, Y. Pu, Y. Liu, J. Zhou, Y. Qiao, and C. Dong, “A comparative study of image restoration networks for general backbone network design,” in Proc. Eur. Conf. Comput. Vis. (ECCV). Springer, 2024, pp. 74–91.
[17] B. Li, X. Liu, P. Hu, Z. Wu, J. Lv, and X. Peng, “All-in-one image restoration for unknown corruption,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2022, pp. 17452–17462.
[18] V. Potlapalli, S. W. Zamir, S. Khan, and F. Khan, "Promptir: Prompting for all-in-one image restoration," in Proc. Adv. Neural Inf. Process. Syst., 2023.
[19] Y. Cui, S. W. Zamir, S. Khan, A. Knoll, M. Shah, and F. S. Khan, "Adair: Adaptive all-in-one image restoration via frequency mining and modulation," in Proc. Int. Conf. Learn. Represent., 2025, pp. 57335–57356.
[20] X. Tang, X. Gu, X. He, X. Hu, and J. Sun, “Degradation-aware residual-conditioned optimal transport for unified image restoration,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 47, no. 8, pp. 6764–6779, 2025.
[21] G. Wu, J. Jiang, K. Jiang, X. Liu, and L. Nie, “Learning dynamic prompts for all-in-one image restoration,” IEEE Trans. Image Process., pp. 3997–4010, 2025.
[22] M. V. Conde, G. Geigle, and R. Timofte, “Instructir: High-quality image restoration following human instructions,” in Proc. Eur. Conf. Comput. Vis. (ECCV). Springer, 2025, pp. 1–21.
[23] X. Zhang, J. Ma, G. Wang, Q. Zhang, H. Zhang, and L. Zhang, “Perceive-ir: Learning to perceive degradation better for all-in-one image restoration,” IEEE Trans. Image Process., pp. 1–1, 2025.
[24] H. Zeng, X. Wang, Y. Chen, J. Su, and J. Liu, “Vision-language gradient descent-driven all-in-one deep unfolding networks,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2025, pp. 7524–7533.
[25] E. Zamfir, Z. Wu, N. Mehta, Y. Tan, D. P. Paudel, Y. Zhang, and R. Timofte, “Complexity experts are task-discriminative learners for any image restoration,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2025, pp. 12753–12763.
[26] X. Yu, S. Zhou, H. Li, and L. Zhu, “Multi-expert adaptive selection: Task-balancing for all-in-one image restoration,” IEEE Trans. Circuits Syst. Video Technol., vol. 35, no. 5, pp. 4619–4634, 2025.
[27] Z. Yang, H. Chen, Z. Qian, Y. Yi, H. Zhang, D. Zhao, B. Wei, and Y. Xu, “All-in-one medical image restoration via task-adaptive routing,” in Proc. Int. Conf. Med. Image Comput. Comput.-Assist. Intervent. Springer, 2024, pp. 67–77.
[28] H. Li, X. He, D. Tao, Y. Tang, and R. Wang, “Joint medical image fusion, denoising and enhancement via discriminative low-rank sparse dictionaries learning,” Pattern Recognit., vol. 79, pp. 130–146, 2018.
[29] K. He, J. Sun, and X. Tang, “Single image haze removal using dark channel prior,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 33, no. 12, pp. 2341–2353, 2010.
[30] D. Berman, S. Avidan et al., “Non-local image dehazing,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2016, pp. 1674–1682.
[31] H. Gao, J. Yang, Y. Zhang, J. Yang, B. Ma, and D. Dang, “Learning optimal combination patterns for lightweight stereo image super-resolution,” in Proc. 32nd ACM Int. Conf. Multimedia, 2024, pp. 5566–5574.
[32] X. Chen, X. Wang, J. Zhou, Y. Qiao, and C. Dong, “Activating more pixels in image super-resolution transformer,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2023, pp. 22367–22377.
[33] H. Gao, B. Ma, Y. Zhang, J. Yang, J. Yang, X. Wang, and D. Dang, “Emphasizing crucial features for efficient image restoration,” Pattern Recognit., p. 113575, 2026.
[34] Y. Cui, S. W. Zamir, M.-H. Yang, A. Knoll, F. S. Khan, and S. Khan, “Starir: Convolutional image restoration with spatial-frequency fusion,” IEEE Trans. Pattern Anal. Mach. Intell., 2026.
[35] H. Chen, Y. Wang, T. Guo, C. Xu, Y. Deng, Z. Liu, S. Ma, C. Xu, C. Xu, and W. Gao, “Pre-trained image processing transformer,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2021, pp. 12299–12310.
[36] R. Li, R. T. Tan, and L.-F. Cheong, “All in one bad weather removal using architectural search,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2020, pp. 3175–3185.
[37] J. Zhang, J. Huang, M. Yao, Z. Yang, H. Yu, M. Zhou, and F. Zhao, “Iningredient-oriented multi-degradation learning for image restoration,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2023, pp. 5825–5835.
[38] L. He, J. Chu, F. Lv, W. Liu, T. Li, J. Cheng, and Y. Fang, “Degradation-aware adaptive context gating for unified image restoration,” 2026, arXiv:2605.01236. [Online]. Available: https://arxiv.org/abs/2605.01236
[39] X. Zhang, H. Zhang, G. Wang, Q. Zhang, L. Zhang, and B. Du, “Uniuir: Considering underwater image restoration as an all-in-one learner,” IEEE Trans. Image Process., 2025.
[40] G. Wu, J. Jiang, K. Jiang, and X. Liu, “Harmony in diversity: Improving all-in-one image restoration via multi-task collaboration,” in Proc. ACM Int. Conf. Multimedia, 2024, pp. 6015–6023.
[41] X. Tian, X. Liao, X. Liu, M. Li, and C. Ren, “Degradation-aware feature perturbation for all-in-one image restoration,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2025, pp. 28 165–28 175.
[42] X. Zhang, H. Zhang, G. Wang, Q. Zhang, and L. Zhang, “Clearair: A human-visual-perception-inspired all-in-one image restoration,” in Proc. AAAI Conf. Artif. Intell., vol. 40, no. 15, 2026, pp. 12861–12869.
[43] J. Mao, Y. Yang, X. Yin, L. Shao, and H. Tang, “All-in-one transformer for image restoration under adverse weather degradations,” IEEE Trans. Pattern Anal. Mach. Intell., 2026.
[44] T. Gao, Y. Wen, K. Zhang, J. Zhang, T. Chen, L. Liu, and W. Luo, “Frequency-oriented efficient transformer for all-in-one weather-degraded image restoration,” IEEE Trans. Circuits Syst. Video Technol., vol. 34, no. 3, pp. 1886–1899, 2024.
[45] H. Gao, J. Yang, Y. Zhang, N. Wang, J. Yang, and D. Dang, “Prompt-based ingredient-oriented all-in-one image restoration,” IEEE Trans. Circuits Syst. Video Technol., vol. 34, no. 10, pp. 9458–9471, 2024.
[46] Y. Zheng, M. Liu, F. Li, Y. Wei, R. Cong, Y. Zhao, and H. Bai, “Crafting degradation-aware task affinity graph for all-in-one image restoration,” IEEE Trans. Circuits Syst. Video Technol., 2026.
[47] S. Yang, B. Hu, F. Liu, X. Wu, W. Ding, and J. Zhou, “Ipt-ilr: Image pyramid transformer coupled with information loss regularization for all-in-one image restoration,” IEEE Trans. Circuits Syst. Video Technol., vol. 35, no. 5, pp. 4341–4356, 2025.
[48] O. Ronneberger, P. Fischer, and T. Brox, “U-net: Convolutional networks for biomedical image segmentation,” in Proc. Int. Conf. Med. Image Comput. Comput.-Assist. Intervent. Springer, 2015, pp. 234–241.
[49] Z. Li, Y. Lei, C. Ma, J. Zhang, and H. Shan, “Prompt-in-prompt learning for universal image restoration,” 2023, arXiv:2312.05038.
[50] Y. Cui, W. Ren, X. Cao, and A. Knoll, “Image restoration via frequency selection,” IEEE Trans. Pattern Anal. Mach. Intell., 2023.
[51] H. Guo, J. Li, T. Dai, Z. Ouyang, X. Ren, and S.-T. Xia, “Mambair: A simple baseline for image restoration with state-space model,” in Proc. Eur. Conf. Comput. Vis. (ECCV). Springer, 2025, pp. 222–241.
[52] C. Wang, K. Zhang, and J. Yang, “Retrieve-to-restore: Efficient all-in-one image restoration with a retrieval-based degradation bank,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2026, pp. 1277–1287.
[53] S. W. Zamir, A. Arora, S. Khan, M. Hayat, F. S. Khan, M.-H. Yang, and L. Shao, “Learning enriched features for fast image restoration and enhancement,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 45, no. 2, pp. 1934–1948, 2022.
[54] J. M. J. Valanarasu, R. Yasarla, and V. M. Patel, “Transweather: Transformer-based restoration of images degraded by adverse weather conditions,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2022, pp. 2353–2363.
[55] O. Özdenizci and R. Legenstein, “Restoring vision in adverse weather conditions with patch-based denoising diffusion models,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 45, no. 8, pp. 10346–10357, 2023.
[56] Y. Zhu, T. Wang, X. Fu, X. Yang, X. Guo, J. Dai, Y. Qiao, and X. Hu, “Learning weather-general and weather-specific features for image restoration under multiple adverse weather conditions,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2023, pp. 21747–21758.
[57] Y. Guo, Y. Gao, Y. Lu, H. Zhu, R. W. Liu, and S. He, “Onerestore: A universal restoration framework for composite degradation,” in Proc. Eur. Conf. Comput. Vis. (ECCV). Springer, 2024, pp. 255–272.
[58] Y. Ai, H. Huang, X. Zhou, J. Wang, and R. He, “Multimodal prompt perceiver: Empower adaptiveness generalizability and fidelity for all-in-one image restoration,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2024, pp. 25432–25444.
[59] S. Nah, T. Hyun Kim, and K. Mu Lee, “Deep multi-scale convolutional neural network for dynamic scene deblurring,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2017, pp. 3883–3891.
[60] Z. Shen, W. Wang, X. Lu, J. Shen, H. Ling, T. Xu, and L. Shao, “Human-aware motion deblurring,” in Proc. IEEE/CVF Int. Conf. Comput. Vis. (ICCV), 2019, pp. 5572–5581.
[61] P. Arbelaez, M. Maire, C. Fowlkes, and J. Malik, “Contour detection and hierarchical image segmentation,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 33, no. 5, pp. 898–916, 2010.
[62] K. Ma, Z. Duannmu, Q. Wu, Z. Wang, H. Yong, H. Li, and L. Zhang, “Waterloo exploration database: New challenges for image quality assessment models,” IEEE Trans. Image Process., vol. 26, no. 2, pp. 1004–1016, 2016.
[63] D. Martin, C. Fowlkes, D. Tal, and J. Malik, “A database of human segmented natural images and its application to evaluating segmentation algorithms and measuring ecological statistics,” in Proc. IEEE/CVF Int. Conf. Comput. Vis. (ICCV), vol. 2. IEEE, 2001, pp. 416–423.
[64] W. Yang, R. T. Tan, J. Feng, J. Liu, Z. Guo, and S. Yan, “Deep joint rain detection and removal from a single image,” in Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR), 2017, pp. 1357–1366.
[65] B. Li, W. Ren, D. Fu, D. Tao, D. Feng, W. Zeng, and Z. Wang, "Benchmarking single-image dehazing and beyond," IEEE Trans. Image Process., vol. 28, no. 1, pp. 492–505, 2018. [66] C. Wei, W. Wang, W. Yang, and J. Liu, "Deep retinex decomposition for low-light enhancement," 2018, arXiv:1808.04560. [67] W. Yang, W. Wang, H. Huang, S. Wang, and J. Liu, "Sparse gradient regularized deep retinex network for robust low-light image enhancement," IEEE Trans. Image Process., vol. 30, pp. 2072–2086, 2021.

Xiangpeng Tian received his B.S. degree in Electronic Information Science and Technology from Hubei Normal University, China, in 2010, and his M.S. degree in Signal and Information Processing from Zhejiang Sci-Tech University, China, in 2013. He is currently pursuing a Ph.D. degree in Electronic Information at Sichuan University, China. His research interests include image restoration, and high-level vision. He has published papers on image restoration in journals and conferences, including CVPR.

Mingyang Li received the B.S. degree from Sichuan University, Chengdu, China, in 2024. He is currently pursuing the M.S. degree at the College of Information and Communication Engineering, Sichuan University, Chengdu, China. His research interests include image super-resolution and image restoration.

Fajing Liu received her B.S. degree from Tiangong University, China, in 2024. She is currently pursuing her M.S. degree in the College of Electronics and Information Engineering at Sichuan University, China. Her research interests include computer vision, particularly image restoration, object detection, and related topics.

Xiaofeng Wang received the B.S. degree from Chongqing University of Technology, Chongqing, China, in 2021, and the M.S. degree in electronic science and technology from the College of Electronics and Information Engineering, Sichuan University, Chengdu, China, in 2024. He is currently pursuing the Ph.D. degree in electronic information with the College of Electronics and Information Engineering, Sichuan University. His research interests include image restoration, object detection, and their integration for robust visual perception.

Xiaohai He (Member, IEEE) received the B.S., M.S., and Ph.D. degrees from Sichuan University, Chengdu, China, in 1985, 1991, and 2002, respectively. He is currently a Professor with the College of Electronics and Information Engineering, Sichuan University. His current research interests include image processing, pattern recognition, computer vision, image compression, and software engineering. Prof. He is an Editor of the Journal of Information and Electronic Engineering and was an Editor of the Journal of Data Acquisition and Processing. He is
a Senior Member of the Chinese Institute of Electronics.

Chao Ren (Member, IEEE) received the B.S.degree in electronics and information engineering and Ph.D degree in communication and information system from Sichuan University, Chengdu, China, in 2012 and 2017, respectively. From 2015 to 2016, he was a Visiting Scholar with the Department of Electrical and Computer Engineering, University of California at San Diego, La Jolla, CA, USA. He is currently an Associate Research Professor at Sichuan University College of Electronics and Information Engineering. His research interests include inverse problems in image and video processing. He has authored more than 70 papers in journals/conferences such as TPAMI, TIP, CVPR, ICCV, ECCV, NeurIPS, etc. He has won the Huawei Spark Award and was selected for the National Post-Doctoral Program for Innovative Talents of China.