1. Introduction
Image denoising is a core problem in low-level vision, aiming to reconstruct a clean image from its noisy counterpart. The presence of noise often damages important visual structures, including edges and fine textures, which may further impair the reliability and precision of subsequent vision tasks such as image segmentation [
1] and object detection [
2]. Beyond image-level degradation, recent studies on adversarial noise and visual model robustness have also shown that carefully designed perturbations can significantly affect the reliability of visual recognition models in different data modalities, such as 3D point cloud classification and video recognition [
3,
4,
5]. These studies indicate that noise and perturbations are not only pixel-level degradation factors but also important robustness-related challenges in visual data processing. Therefore, improving the ability of denoising models to preserve structural cues and recover reliable visual details is important for both low-level restoration quality and downstream visual reliability.
Owing to its practical importance, image denoising has been extensively studied in diverse application scenarios, including remote sensing imagery [
6], industrial inspection [
7], and medical imaging [
8]. For the commonly used synthetic additive white Gaussian noise (AWGN) model, the degradation process can be expressed as
, where
y,
x, and
n represent the noisy observation, the underlying clean image, and the additive white Gaussian noise, respectively. In contrast to synthetic noise, real imaging noise is typically characterized by signal dependency and spatial heterogeneity, resulting in more complex noise statistics and making real-world image denoising substantially more challenging [
9].
Traditional denoising methods mainly rely on explicit priors for similar-patch matching and weighted aggregation. Aharon et al. [
10] proposed K-Singular Value Decomposition (K-SVD), which performs denoising by learning an overcomplete dictionary for sparse representation. Buades et al. [
11] introduced Non-Local Means (NLM), which suppresses noise through weighted averaging based on non-local patch similarity. Dabov et al. [
12] further developed Block-Matching and 3D Filtering (BM3D), which achieves effective denoising by combining block matching with collaborative filtering in the transform domain. Although these methods perform well under specific noise assumptions, they depend heavily on handcrafted priors. When applied to real-world noise and complex textures, they often require careful parameter tuning and involve considerable computational cost, making it difficult to achieve a good balance between robustness and efficiency [
13].
With the rapid progress of deep learning, data-driven end-to-end frameworks have significantly promoted the development of image denoising. Zhang et al. [
14] introduced the Denoising Convolutional Neural Network (DnCNN), which employs residual learning to predict noise residuals explicitly, thereby improving both training stability and denoising capability. Later, Zhang et al. [
15] proposed the Fast and Flexible Denoising Convolutional Neural Network (FFDNet), which incorporates a noise level map to support conditional denoising under different noise intensities. Guo et al. [
16] further developed the Convolutional Blind Denoising Network (CBDNet), which enhances robustness for real-world image denoising through a two-stage design that combines noise estimation with conditional denoising. Meanwhile, U-shaped encoder-decoder architectures have become a common design paradigm in convolutional neural network (CNN)-based image restoration and denoising [
17,
18], as they progressively extract contextual information through downsampling, recover fine details through upsampling, and facilitate feature propagation through skip connections [
19].
In recent years, to overcome the limited ability of CNNs to model long-range dependencies, Transformers have been increasingly introduced into image restoration to enhance global interactions [
20]. For example, Chen et al. [
21] proposed the Image Processing Transformer (IPT), which systematically introduced pre-trained Transformers into image restoration and improved both overall performance and cross-task generalization through multi-task training. Liang et al. [
22] subsequently presented the Swin Transformer for Image Restoration (SwinIR), which adopts shifted window-based self-attention to enable cross-window interactions with manageable computational cost. Building on this line of research, Transformers were further incorporated into U-shaped encoder-decoder backbones as core modeling units, giving rise to U-shaped Transformer denoising models that achieve strong denoising performance by combining hierarchical architectures with attention mechanisms [
23,
24,
25]. However, some studies have indicated that encoder features may still contain degradation-related interference, so their simple direct fusion with decoder features may introduce implicit noise, motivating the selective modulation of encoder representations using decoder-side or contextual information to facilitate more effective detail compensation [
26,
27]. Nevertheless, most existing methods primarily focus on enhancing the modeling capability of encoder-decoder blocks while paying limited attention to pre-fusion feature calibration, leaving the subsequent restoration process still vulnerable to interference.
Compared with existing Transformer and attention-based denoising methods, the innovation of the proposed UT-DPFC does not lie in introducing another generic self-attention module, nor in simply enhancing skip feature modulation. Instead, we shift the focus to decoder-side pre-fusion calibration, that is, to enhance and calibrate the current decoder representations before encoder-decoder fusion. To this end, we further design a structure-detail complementary candidate pool, in which Multi-Scale Region Candidates (MSRC) provide more stable region-level structural cues and Multi-Receptive-Field Pixel Candidates (MRPC) supply richer pixel-level detail responses. Based on this candidate space, the proposed Structure-Detail Candidate Attention (SDCA) performs content-adaptive retrieval and aggregation to calibrate decoder features, enabling them to serve as a more reliable basis for the subsequent fusion and restoration process. In this work, we develop a U-shaped Transformer Image Denoising Network with Decoder-Side Pre-Fusion Calibration (UT-DPFC), where SDCA is integrated at three decoding levels to strengthen the reliability of decoder features and further improve the stability of detail reconstruction in heavy-noise and complex-texture regions.
The contributions of this paper are summarized as follows:
- 1.
Different from existing U-shaped Transformer denoising methods that only optimize encoder/decoder blocks or regulate encoder feature injection, we propose a decoder-side pre-fusion calibration strategy. We calibrate decoder features before fusion to enhance stability in heavy noise and complex textures, which is a distinct innovation over prior U-shaped Transformer paradigms.
- 2.
Different from conventional attention-based denoising designs that directly perform self-attention or cross-feature interaction on existing representations, we construct a structure-detail complementary K/V candidate pool, in which Multi-Scale Region Candidates (MSRC) provide robust region-level structural cues and Multi-Receptive-Field Pixel Candidates (MRPC) supply fine-grained detail responses, thereby supporting more stable content-adaptive retrieval.
- 3.
We propose the Structure-Detail Candidate Attention (SDCA) module, in which pixel-wise queries generated from the current decoder features retrieve and aggregate information from the candidate pool to calibrate decoder representations before skip fusion. This design further shifts the role of attention from generic feature interaction toward decoder-oriented pre-fusion calibration.
4. Experimental Results and Analysis
4.1. Implementation Details
The proposed network was implemented in PyTorch 2.0.0 and trained on an NVIDIA GeForce RTX 4090 GPU. Unless otherwise specified, the proposed model was trained under the following settings. During training, paired noisy-clean patches of size were randomly cropped from the corresponding image pairs, where the same cropping position was used for the noisy input and clean reference to maintain pixel-level alignment. Random geometric augmentation was adopted, including rotations, flipping operations, and their combinations. In addition, MixUp augmentation was applied after the first five epochs, with the mixing coefficient sampled from a Beta distribution with . The batch size was set to 16, and the model was trained for 105 epochs. The AdamW optimizer was employed with an initial learning rate of , , , , and a weight decay of 0.02. A StepLR scheduler was adopted to reduce the learning rate by a factor of 0.5 every 50 epochs. The Charbonnier loss was used as the optimization objective, and mixed-precision training was enabled using automatic mixed precision and gradient scaling. The random seed was set to 1234 in the training script to improve reproducibility.
Two standard full-reference metrics are adopted to quantitatively evaluate image denoising performance.
Peak Signal-to-Noise Ratio (PSNR): A fidelity metric based on Mean Squared Error (MSE), where a higher value denotes better noise suppression and higher consistency with the ground-truth. The formula is
where
H,
W,
C are the height, width, and channel number of the image;
I and
denote the ground-truth and denoised image;
for normalized images.
Structural Similarity Index Measure (SSIM): Evaluates structural preservation from luminance, contrast, and structure. Its value ranges from 0 to 1, and a value closer to 1 indicates better detail recovery. The standard formula is
where
are local means,
are local variances,
is the local covariance, and
are stability constants.
For color and real-world denoising experiments, PSNR was computed on normalized RGB images with the maximum pixel value set to 1, and SSIM was calculated using the pytorch-msssim implementation with
data_range = 1.0. For grayscale denoising, the metrics were computed on the corresponding grayscale images. For benchmarks without publicly available ground-truth images, the official evaluation protocol was followed. Validation was performed after each training epoch, and the average metrics over the validation set were reported. The numbers of Transformer blocks from
to
were 1, 2, 8, 8, and 2, respectively, as detailed in
Table 1.
4.2. Datasets
Synthetic Gaussian denoising: In the synthetic Gaussian denoising experiments, the proposed network was trained on the DIV2K-Flickr2K-WED-BSD400 (DFWB) synthetic training set, which consists of the DIVerse 2K resolution image dataset (DIV2K) [
42], Flickr 2K dataset (Flickr2K) [
43], Waterloo Exploration Database (WED) [
44], and Berkeley Segmentation Dataset (BSD400) [
45]. During training,
patches were randomly cropped from clean images in DFWB, and additive white Gaussian noise (AWGN) was injected according to the specified noise levels. During the testing phase, the proposed method was evaluated on several widely adopted benchmark datasets. Specifically, the grayscale benchmarks include Set12 [
14], BSD68 [
45], and Urban100 [
46], while the color benchmarks include CBSD68 [
45], Kodak24 [
47], McMaster [
48], and Urban100 [
46]. These datasets contain a wide variety of image content, including natural scenes, rich texture patterns, and complicated urban structures, which makes them suitable for comprehensively assessing the generalization capability of the proposed model across different image structures and texture characteristics.
Real-world denoising: For real-world image denoising, the Smartphone Image Denoising Dataset (SIDD) [
49] was used for training. This dataset contains 320 pairs of real noisy images and their corresponding clean reference images captured by real imaging devices. During training,
patches were randomly cropped from the paired images. For performance evaluation, the proposed method was tested on the SIDD validation set and the Darmstadt Noise Dataset (DND) [
50]. The SIDD validation set includes 40 images, and its official evaluation protocol is commonly conducted on 1280 patches extracted from these images. The DND dataset contains 50 image pairs, while the corresponding clean reference images are not publicly released. Therefore, the denoised outputs were uploaded to the official DND evaluation server, from which the Peak Signal-to-Noise Ratio (PSNR) [
51] and Structural Similarity Index Measure (SSIM) [
52] were obtained.
4.3. Comparative Experiments
We systematically evaluated the proposed UT-DPFC under both synthetic Gaussian and real-world noise settings. For synthetic Gaussian denoising, to cover representative methods ranging from traditional prior-based approaches to deep learning models, the classical prior-based method BM3D [
12] was included for comparison. Typical CNN-based methods, including DnCNN [
14], FFDNet [
15], NLRN [
34], MWCNN [
53], RNAN [
35], and DRUNet [
18], were selected as baseline models. In addition, Transformer-based restoration models, such as SwinIR [
22], SCUNet [
54], and Restormer [
25], were included, together with recent advanced networks, including KBNet [
55], CGNet [
56], EAMamba [
29], and DSCA-former [
36]. To further strengthen the comparison with recent U-shaped Transformer-based restoration networks, FUT [
30] and RUST [
31] were also incorporated into the quantitative evaluation.
For real-world denoising, in addition to DnCNN [
14], representative real-noise modeling methods, including CBDNet [
16], RIDNet [
57], and AINDNet [
58], were also included for comparison, together with multi-stage image restoration methods such as CycleISP [
59], MIRNet [
60], and MPRNet [
61]. The proposed method was further compared with Transformer-based models, including Uformer [
23], Restormer [
25], and Xformer [
62], as well as recent methods such as MambaIR [
63], DRANet [
64], and AKDT [
65]. These comparisons provided a more comprehensive validation of the effectiveness and generalization ability of the proposed method under both synthetic and real-world noise settings.
4.3.1. Synthetic Gaussian Denoising (Grayscale)
Under the synthetic additive white Gaussian noise (AWGN) grayscale denoising setting, UT-DPFC was evaluated on Set12, BSD68, and Urban100 at noise levels of
, 25, and 50. As shown in
Table 2, the proposed method achieves competitive and consistent PSNR/SSIM performance across different datasets and noise levels. In terms of PSNR, UT-DPFC obtains the best results in 6 out of 9 settings, including Set12 at
and
, BSD68 at
and
, and Urban100 at
and
. In particular, under the high-noise setting of
, UT-DPFC achieves the best PSNR on all three datasets, reaching 28.05 dB on Set12, 26.69 dB on BSD68, and 28.36 dB on Urban100. This indicates that the proposed method has strong robustness under severe Gaussian noise degradation. The performance gain under heavy noise mainly comes from the SDCA calibration, which cleans decoder features before fusion and reduces noise contamination during encoder-decoder fusion.
In terms of SSIM, UT-DPFC also shows stable structural restoration capability. It achieves the best or tied-best SSIM in most settings, especially on Urban100, where it obtains the best SSIM values of 0.940, 0.912, and 0.858 at , 25, and 50, respectively. Since Urban100 contains abundant repetitive structures and complex textures, the consistent advantage of this dataset suggests that the proposed decoder-side pre-fusion calibration is beneficial for preserving structural information and texture details. Overall, the grayscale denoising results demonstrate that UT-DPFC provides stable restoration quality across different noise levels, with more evident advantages under high-noise and complex-texture conditions.
The qualitative comparisons in
Figure 4 and
Figure 5 further support the quantitative results. As shown in
Figure 4, for the Urban100 image with dense repetitive stripe structures under the high-noise setting of
, BM3D and DnCNN tend to over-smooth the restored image, resulting in weakened fine textures and blurred structural details. Although SwinIR, Restormer, and KBNet suppress noise more effectively, they still show limited recovery of dense high-frequency stripe patterns. In contrast, UT-DPFC better preserves the continuity and clarity of the repetitive structures while maintaining effective noise suppression.
Figure 5 further presents a visual comparison on the Set12 dataset with
. In the butterfly wing region, BM3D and DnCNN introduce noticeable texture distortion and edge blurring after denoising. SwinIR, Restormer, and KBNet recover smoother results, but some fine boundaries and local structural transitions are still weakened. By comparison, UT-DPFC produces sharper wing boundaries and more stable local texture restoration, showing better consistency with the reference image. These visual results indicate that the proposed decoder-side pre-fusion calibration is beneficial for preserving structural details and fine textures under both moderate and high Gaussian noise levels.
4.3.2. Synthetic Gaussian Denoising (Color)
Under the synthetic additive white Gaussian noise (AWGN) image denoising setting, UT-DPFC is evaluated on four benchmark datasets: CBSD68, Kodak24, McMaster, and Urban100, across three noise levels of
, 25, and 50, resulting in a total of 12 test settings. As shown in
Table 3, the proposed method achieves stable PSNR/SSIM performance across all datasets and noise levels. In terms of PSNR, UT-DPFC achieves the optimal results in 8 out of 12 settings. Notably, under the high-noise setting of
, UT-DPFC obtains the best PSNR results on all four datasets: 28.63 dB on CBSD68, 30.08 dB on Kodak24, 30.33 dB on McMaster, and 30.10 dB on Urban100. The consistent performance improvement under heavy color noise is also attributed to the SDCA module, which calibrates decoder features to suppress noise interference and stabilize cross-scale feature fusion. This reflects the robustness of the method under severe Gaussian noise degradation scenarios. In terms of SSIM, UT-DPFC demonstrates stable structural restoration capability and achieves the optimal results in most settings. Especially on the texture-rich Urban100 dataset, the method achieves leading SSIM values of 0.953, 0.933, and 0.893 at
, 25, and 50, respectively. Since Urban100 contains abundant repetitive structures and complex textures, this consistent advantage indicates that the proposed decoder-side pre-fusion calibration strategy is beneficial for preserving structural information and fine-grained texture details.
The qualitative comparisons in
Figure 6 and
Figure 7 further support the quantitative results. As shown in
Figure 6, for the Urban100 image under the high-noise setting of
, BM3D and DnCNN remove part of the noise but tend to over-smooth the restored image, leading to blurred curved edges and weakened thin door-frame structures. SwinIR, Restormer, and KBNet achieve stronger noise suppression, but some fine structures and local boundary transitions are still not fully recovered. In contrast, UT-DPFC more clearly restores the thin door-frame lines and adjacent edge contours while maintaining effective noise suppression, resulting in sharper structural boundaries and more natural visual transitions.
Figure 7 further presents a visual comparison on the McMaster dataset with
. In the enlarged character region, BM3D and DnCNN produce over-smoothed results, where the character boundaries become blurred and local details are weakened. Although SwinIR, Restormer, and KBNet recover more visually pleasing results, slight boundary softness and detail loss can still be observed around the character strokes. By comparison, UT-DPFC preserves clearer character contours and more stable local contrast, showing better consistency with the reference image. These visual results demonstrate that the proposed decoder-side pre-fusion calibration helps preserve structural edges and fine color details under both moderate and high Gaussian noise levels.
Figure 8 presents PSNR-MACs scatter plots for grayscale and color image denoising on Urban100, where MACs were measured with an input size of
.
4.3.3. Real-World Image Denoising
To verify the effectiveness and generalization ability of the proposed method under real-world noise, we report the average PSNR and SSIM results on the SIDD and DND benchmarks. As shown in
Table 4, UT-DPFC performs well compared with existing representative methods. Specifically, the method achieves a performance level comparable to that of mainstream existing approaches on the SIDD dataset, while also obtaining reasonably satisfactory results on the DND benchmark. To further illustrate the performance-complexity trade-off under real-world noise,
The qualitative comparisons shown in
Figure 9 further supported the above observations. In texture-rich regions and around weak edges, RIDNet, MIRNet, MPRNet, and Uformer tended to exhibit texture discontinuities or slight over-smoothing. In contrast, UT-DPFC and Restormer were generally able to suppress noise while preserving more coherent texture structures and more stable edge contours.
Figure 10 presents a PSNR-MACs scatter plot on SIDD, where MACs were measured with an input size of
.
To further validate the real-world denoising capability of the proposed method, several denoised examples from the DND dataset were presented in
Figure 11, showing that the proposed method could effectively remove real-world noise.
4.4. Region-Wise Error Analysis
To further analyze the restoration behavior of different methods in high-noise and complex-texture scenarios beyond the overall PSNR/SSIM comparison, we conducted region-wise Root Mean Square Error(RMSE) statistics on Urban100 with
. Specifically, the images were divided into flat regions, edge regions, and texture-rich regions. Urban100 is one of the important benchmarks for synthetic Gaussian denoising, and
corresponds to a high-noise setting, which is more suitable for observing the restoration differences of different methods in complex texture and structural regions. As shown in
Table 5, UT-DPFC achieves the lowest RMSE in all three types of regions, with RMSE values of 0.0402, 0.1179, and 0.0972 in flat, edge, and texture-rich regions, respectively. Compared with SwinIR, UT-DPFC reduces the RMSE by 0.0066, 0.0213, and 0.0132 in the three regions, respectively. Compared with Restormer, the corresponding reductions are 0.0023, 0.0104, and 0.0043, while compared with KBNet, the RMSE is further reduced by 0.0016, 0.0048, and 0.0017, respectively. The lower RMSE under heavy noise indicates that the pre-fusion calibration effectively suppresses noise disturbance in edge and texture regions, leading to more robust restoration. These results indicate that the proposed decoder-side pre-fusion calibration not only benefits detail restoration in texture-rich regions, but also improves structural reconstruction in edge regions, while maintaining stable denoising capability in flat regions. The representative examples in
Figure 12 further show that UT-DPFC produces weaker error responses around dense facade textures and structural boundaries, with more concentrated error distributions, especially in texture-rich and edge regions. This observation is consistent with the above analysis of the restoration advantages of the proposed method under high-noise and complex-texture conditions.
4.5. Model Runtime Analysis
In this subsection, model complexity was further evaluated by comparing the runtime of different methods. The compared models included BM3D [
12], MCWNNM [
66], IRCNN [
67], DnCNN-B [
14], FFDNet [
15], ADNet [
68], SADNet [
69], CycleISP [
59], AINDNet [
58], AirNet [
70], and DRANet [
64]. Among them, BM3D and MCWNNM were implemented in MATLAB (R2020a), while the remaining denoising models were implemented in the PyTorch environment. The runtime results were reported in
Table 6. Specifically, two synthetic noisy images with different channel numbers and spatial resolutions of
and
, respectively, were randomly selected at a noise level of
to evaluate inference speed. The runtime values in
Table 6 were obtained by averaging 20 repeated runs for each denoising model. It should be noted that the memory transfer time between the CPU and GPU was not included in the measurement. As shown in
Table 6, the proposed method (Ours) exhibited clear efficiency advantages in GPU inference at both input resolutions. For
inputs, it ran faster than DRANet, AINDNet and AirNet. For
inputs, its runtime remained significantly lower than that of DRANet, AINDNet, and AirNet. Meanwhile, although the proposed method was slightly slower than some lightweight CNN-based denoising networks, such as IRCNN, DnCNN-B, FFDNet, ADNet, and SADNet, it provided a better overall performance-efficiency trade-off when its gains in PSNR and SSIM were taken into account.
4.6. Efficiency Analysis
The efficiency comparison results in
Table 7 quantitatively validate the outstanding computational efficiency and superior performance-computation trade-off of the proposed UT-DPFC framework. For
input images, UT-DPFC only has 50.7 M parameters and 92.3 G MACs, which verifies that the designed SDCA calibration mechanism introduces negligible extra computational overhead and does not incur excessive computational complexity. Compared with Uformer, UT-DPFC achieves a comparable parameter scale while reducing the inference time from 0.059 s to 0.048 s. Furthermore, in contrast to SwinIR and Restormer, UT-DPFC obtains a drastically lower computational cost and faster inference speed: it reduces the MACs from 759 G (SwinIR) and 141 G (Restormer) to 92.3 G, and shortens the inference time from 0.233 s and 0.087 s to 0.048 s, respectively.
Table 6.
Runtime comparison results for two synthetic noisy image sizes (in seconds).
Table 6.
Runtime comparison results for two synthetic noisy image sizes (in seconds).
| Device | Methods | | |
|---|
| Gray | Color | Gray | Color |
|---|
| CPU | BM3D [12] | 0.448 | 0.591 | 2.291 | 3.683 |
| MCWNNM [66] | - | 62.745 | - | 277.832 |
| GPU | IRCNN [67] | 0.030 | 0.030 | 0.030 | 0.030 |
| DNCNN-B [14] | 0.032 | 0.032 | 0.037 | 0.037 |
| FFDNet [15] | 0.031 | 0.030 | 0.031 | 0.030 |
| ADNet [68] | 0.031 | 0.033 | 0.035 | 0.045 |
| SADNet [69] | 0.030 | 0.030 | 0.043 | 0.044 |
| CycleISP [59] | - | 0.055 | - | 0.156 |
| AINDNet [58] | - | 0.531 | - | 2.329 |
| AirNet [70] | - | 0.143 | - | 0.498 |
| DRANet [64] | 0.149 | 0.150 | 0.347 | 0.356 |
| Ours | 0.047 | 0.048 | 0.236 | 0.236 |
Table 7.
Efficiency comparison of representative denoising methods in terms of parameter count, computational cost, and per-image inference time for inputs.
Table 7.
Efficiency comparison of representative denoising methods in terms of parameter count, computational cost, and per-image inference time for inputs.
| Method | Params | MACs | Time |
|---|
| DRUNet [18] | 32.64 M | 144 G | 0.020 s |
| SwinIR [22] | 11.6 M | 759 G | 0.233 s |
| SCUNet [54] | 17.94 M | 67.1 G | 0.072 s |
| Uformer [23] | 50.9 M | 89.5 G | 0.059 s |
| Restormer [25] | 26 M | 141 G | 0.087 s |
| Ours | 50.7 M | 92.3 G | 0.048 s |
Notably, despite the significantly reduced computational overhead, UT-DPFC still delivers superior or comparable PSNR/SSIM performance to these state-of-the-art models, particularly under heavy noise degradation, which clearly manifests the favorable trade-off between restoration performance and computational cost. Although DRUNet achieves the fastest inference speed owing to its pure convolutional architecture, UT-DPFC strikes the best balance among parameter count, MACs, inference speed, and denoising performance among mainstream Transformer-based image restoration models.
These results fully demonstrate that the proposed method achieves remarkable performance improvement with controllable time and space complexity, thereby realizing an excellent and practical trade-off between restoration quality and computational efficiency.
4.7. Ablation Experiment
4.7.1. Ablation on the Effectiveness of the SDCA Module
To provide an intuitive validation of the effectiveness of SDCA, we conducted a controlled ablation study under identical training and testing settings by comparing the backbone network without SDCA with the complete UT-DPFC model, together with their visual results. As shown in
Figure 13, three representative local regions with heavy-noise and complex textures were presented. From left to right, the images correspond to the noisy input, the output of the backbone network without SDCA, the output of UT-DPFC, and the corresponding clean reference image. It could be observed that, although the backbone without SDCA suppressed noise effectively, fine details were more prone to over-smoothing and structural degradation. For example, in the first group, the fine textures around the digit “56” were smoothed out; in the second group, the thin-line structures became discontinuous; and in the third group, some railing details were lost. Removing SDCA loses the pre-fusion calibration ability, making the model vulnerable to noise interference and causing performance degradation especially under heavy noise. In contrast, after introducing SDCA, the restored details and structures were closer to those in the reference image while maintaining comparable noise suppression.
4.7.2. Ablation Study on the Insertion Position of the SDCA Module
To further investigate the effect of SDCA at different resolution levels, we conducted an ablation study on its insertion positions on the SIDD dataset. Specifically, while keeping the backbone architecture and training configuration unchanged, we compared the following settings: without SDCA, with SDCA inserted at a single-scale, at two scale combinations, at three scales, and at all four scales.
Table 8 reported the PSNR/SSIM results for each setting, together with the corresponding MACs and parameter counts, where the complexity statistics were measured with an input size of
.
The results indicated that the performance gains brought by single-scale insertion differed markedly across resolution levels. Compared with the baseline without SDCA, inserting SDCA only at the level yielded the most pronounced improvement, with PSNR increasing by 0.18 dB and SSIM by 0.001. When SDCA was inserted only at the and levels, the PSNR gains were 0.11 dB and 0.06 dB, respectively. Furthermore, dual scale insertion led to further overall improvement. Among the dual scale settings, the combination of and outperformed the combinations of and . When SDCA was inserted at three scales, the model achieved a further PSNR gain of 0.09 dB over the best dual scale setting, namely . We further examined whether it was necessary to extend SDCA to the highest-resolution level. The results showed that, based on the original UT-DPFC, additionally inserting SDCA at brought only a marginal PSNR gain of 0.02 dB and no improvement in SSIM, while substantially increasing both computational cost and parameter count. Specifically, MACs increased by 19.881 G over 92.308 G, and the number of parameters increased by 1.150 M. Considering the above performance-efficiency trade-off, we finally adopted progressive decoder-side pre-fusion calibration at the three scales of , , and , so as to achieve better overall performance while keeping the computational overhead controllable.
4.7.3. Ablation on the Main Components of UT-DPFC
To systematically verify the effectiveness of the main components in UT-DPFC, we conducted a component-wise ablation study under the same training and testing settings. The evaluated variants include removing SDCA, removing MSRC, removing MRPC, replacing MRPC with a plain convolutional structure, and replacing LeFF with a standard FFN. The corresponding PSNR, SSIM, MACs, and parameter counts are reported in
Table 9.
For the variant without SDCA (), the decoder-side pre-fusion calibration module was removed, and the decoder features were directly used for subsequent encoder-decoder fusion. For the variant without MSRC (), the multi-scale region candidates were removed, while the remaining candidate construction was kept consistent as much as possible to evaluate the contribution of region-level structural cues. For the variant without MRPC (), the multi-receptive-field pixel candidates were removed and replaced with directly flattened projected features. Since directly removing MRPC also reduces the convolutional computation, we further constructed a computation-aligned variant (), where the multi-receptive-field design was replaced with a plain convolutional structure while keeping the MACs and parameter count consistent with the full model. In addition, to evaluate the contribution of local enhancement in the Transformer block, we replaced LeFF with a standard feed-forward network ().
As shown in
Table 9, the full UT-DPFC achieved the best performance, with a PSNR of
dB and an SSIM of
. Removing SDCA caused the most obvious degradation, reducing the PSNR from
dB to
dB. This result indicates that decoder-side pre-fusion calibration plays a critical role in improving the reliability of decoder representations before encoder-decoder fusion. When MSRC was removed, the PSNR decreased to
dB, suggesting that multi-scale region candidates provide useful structural references for stable feature retrieval and aggregation. Removing MRPC led to a larger drop, with the PSNR decreasing to
dB, which demonstrates the importance of multi-receptive-field pixel candidates for recovering fine-grained details such as edges and textures.
Furthermore, the variant achieved a PSNR of dB under the same MACs and parameter count as the full model, which rules out the possibility that the improvement comes merely from increased computation. This comparison further verifies that the multi-receptive-field design in MRPC is more effective than a plain convolutional alternative for constructing detail-sensitive pixel candidates. Replacing LeFF with a standard FFN also reduced the PSNR from dB to dB, indicating that the locally enhanced feed-forward design contributes to local detail modeling. Overall, these ablation results demonstrate that SDCA is the primary contributor to the performance improvement, while MSRC, MRPC, and LeFF further enhance structural robustness, fine-detail restoration, and local feature representation, respectively.
4.7.4. Hyperparameter Analysis
To further examine the influence of key hyperparameter settings, we conducted a series of controlled experiments, as reported in
Table 10,
Table 11,
Table 12 and
Table 13. First,
Table 10 shows the effect of different Transformer block configurations. When the block configuration is increased from
to
, the PSNR improves from 39.86 dB to 40.03 dB, indicating that a moderate increase in model depth can enhance the representation capability of the network. However, further increasing the configuration to
raises the parameter count and MACs to 60.74 M and 109.198 G, respectively, while the PSNR slightly decreases to 39.98 dB. This suggests that excessive depth may introduce redundant computation and does not necessarily lead to better denoising performance. Therefore,
is adopted as the final Transformer block configuration.
Table 11 analyzes the influence of the channel reduction ratio
. Compared with
, setting
reduces the computational cost from 123.208 G to 92.308 G while improving the PSNR from 39.92 dB to 40.03 dB. When
is further increased to 4, the MACs are reduced to 79.168 G, but the PSNR drops to 39.87 dB, indicating that overly aggressive channel reduction weakens feature representation. Thus,
provides a better balance between computational efficiency and restoration accuracy.
Table 12 further compares different MSRC scale combinations. The setting
achieves the best PSNR of 40.03 dB, outperforming
and
. This result suggests that combining adjacent and moderately enlarged pooling scales provides more effective multi-scale regional context for denoising.
Finally,
Table 13 evaluates different MRPC multi-receptive-field branch designs. The results show that cascaded branch designs perform better than simple parallel designs. In particular, the cascaded configuration
achieves the highest PSNR of 40.03 dB, while maintaining a moderate computational cost of 92.308 G MACs. This indicates that progressively expanding the receptive field can provide more complementary pixel-level detail responses than directly parallel convolutional branches. Overall, these hyperparameter studies verify the rationality of the adopted settings and demonstrate that the final configuration achieves a favorable trade-off among parameter count, computational cost, and denoising performance.
5. Conclusions and Future Work
To address the limitation of lacking pre-fusion calibration in existing U-shaped Transformer denoising models, we propose UT-DPFC with decoder-side pre-fusion calibration, which is a novel design for U-shaped Transformer-based image restoration. Built on a U-shaped Transformer backbone, the proposed network introduces SDCA before encoder-decoder fusion at three decoding levels to calibrate decoder features prior to fusion. Specifically, SDCA generates queries from decoder features and performs content-adaptive retrieval and aggregation over two complementary candidate pools, namely MSRC for structural cues and MRPC for detail cues, thereby improving the reliability of the fusion basis and supporting more stable detail reconstruction. Extensive experiments verify the effectiveness of UT-DPFC from multiple dimensions. Firstly, on real-world denoising benchmarks (SIDD, DND) and synthetic AWGN denoising tasks, quantitative results demonstrate that our method achieves consistent performance improvements in PSNR and SSIM compared with mainstream existing approaches. Secondly, fine-grained regional error analysis confirms that our method exhibits superior detail restoration ability in challenging regions with heavy noise and rich textures, which accounts for the overall performance gains. Thirdly, efficiency analysis reveals that the performance improvement is achieved without excessive computational cost, maintaining a moderate and affordable computational burden. Finally, comprehensive ablation studies, including the ablation of core components of UT-DPFC and the SDCA module as well as hyperparameter analysis, validate the necessity of each design and prove the robustness of the proposed framework to key hyperparameters. In summary, UT-DPFC serves as a reliable, efficient and stable solution for image denoising.
In future work, we will explore extending the proposed decoder-side pre-fusion calibration strategy to other image restoration tasks, such as deraining, dehazing, and deblurring, to further validate its generality and transferability.