Multi-scale architectures are widely adopted in all-in-one image restoration (AIO-IR) to capture larger-scale context at low-resolution stages and refine details at high-resolution (HR) stages. However, processing spatially large feature maps at HR stages incurs substantial computational costs and memory traffic, making efficient HR processing challenging. To address this challenge, we propose High-resolution Global-Local Restoration (HiGLR), an efficient multi-scale AIO-IR network grounded in an analysis of spatial redundancy in self-attention and convolutional feed-forward networks (ConvFFNs). Specifically, this analysis identifies three key redundancies: per-query readout at the finest-scale stage, key routing across neighboring queries at intermediate stages, and spatial mixing in the expanded feature spaces of ConvFFNs. Accordingly, HiGLR replaces costly self-attention at the finest-scale stage with a learned input-independent kernel. At intermediate stages, we propose a Block-Routed Hybrid Attention, which combines coarse-scale dense attention with fine-scale block-sparse attention over value residuals relative to coarse summaries, and shares routing indices across neighboring queries. We further introduce a Dual-Space FFN that performs spatial mixing in a compact space and pointwise nonlinear transformation in an expanded space, enabling efficient kernel fusion. Combining these designs, HiGLR achieves state-of-the-art performance while delivering up to a 4.24× inference speedup over existing methods.
Figures & tables
Figure 1: Comparisons of performance and inference latency on CDD-11. HiGLR achieves higher PSNR across all 11 degradation types with substantially lower latency.
Figure 2: Overview of HiGLR. (a) The multi-scale architecture and (b) its main block use DSFFN at all scales, BRHA at intermediate resolutions, and dense self-attention at the coarsest scale. (c) DSFFN decouples compact spatial mixing from expanded pointwise transformations. (d) BRHA combines coarse global attention with block-sparse residual attention.
Table 1: Stage-wise attention statistics and design choices. Attention statistics are measured on a NAFNet variant with two SA and two FFN sublayers per encoder stage and one NAFBlock per decoder stage. Retained mass uses a 25% key budget; block-wise routing shares keys within 8×8 query blocks. Readout redundancy is computed by equally averaging the two SA layer-wise energy ratios per stage. Tints indicate relative assessments within each row. See Sec. 7 for definitions and implementation details.
Method
Params.
CDD11-Single
CDD11-Double
CDD11-Triple
Avg.
Low (L)
Haze (H)
Rain (R)
Snow (S)
L+H
L+R
L+S
H+R
H+S
L+H+R
L+H+S
AirNet [ 18 ]
9M
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
WGWSNet [ 47 ]
26M
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
WeatherDiff [ 24 ]
83M
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
PromptIR [ 25 ]
36M
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
OneRestore [ 12 ]
6M
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
Table 2: Comparison on CDD-11 in PSNR (dB, ↑ ) and SSIM ( ↑ ) . Bold marks the best results.
Figure 3: Sensitivity to output-rank reduction of spatial-interaction and intra-pixel contributions in pretrained BioIR-B and MoCE-IR-S [ 7 , 38 ] , evaluated on CDD-11. Each contribution is independently compressed using PCA [ 43 ] . Curves show PSNR changes relative to the uncompressed models. Please refer to Sec. 9 for experimental details.
Method
Params.
AIO-3
AIO-5
PSNR
SSIM
PSNR
SSIM
AirNet [ 18 ]
9M
31.20
.910
25.49
.847
PromptIR [ 25 ]
36M
32.06
.913
29.15
.904
VLU-Net [ 41 ]
35M †
32.70
.919
30.11
.905
MoCE-IR-S [ 38 ]
11M
32.57
.916
30.08
.913
MoCE-IR [ 38 ]
25M
32.73
.917
30.58
.919
Table 3: Average PSNR (dB, ↑ ) / SSIM ( ↑ ) on AIO-3 and AIO-5. Full per-task results are in Tables 15 and 16 in the supplementary material. Bold marks the best results (ties included). † Additional frozen CLIP encoder: 88M parameters.
Method
Params
Latency
Peak
Traffic
PSNR
(M) ↓
(ms) ↓
(MiB) ↓
(GB) ↓
(dB) ↑
MoCE-IR-S [ 38 ]
11.48
76.44
661.1
39.98
29.05
BioIR-B [ 7 ]
7.28
89.01
1401.9
68.96
30.54
MIRAGE-S [ 27 ]
9.68
83.48
1254.6
48.62
29.33
R2R [ 33 ]
19.77
31.76
422.0
4.92
29.32
CEA-IR-S [ 13 ]
9.62
96.07
861.9
51.28
29.79
Table 4: CDD-11 average PSNR and inference costs ( 512×512 , batch 1, RTX 4090). Peak: allocated GPU memory; traffic: DRAM reads plus writes measured with NCU.
Latency (ms) ↓
PSNR ↑
Method
Stage 1
Stage 2
Stage 3
Stage 4
CDD-11
Resolution
H×W
2H×2W
4H×4W
8H×8W
C/h/d
32/1/32
64/1/64
128/2/64
256/4/64
Dense SA [ 32 ]
59.859
7.080
1.481
0.464
30.20
MDTA [ 40 ]
0.893
0.495
0.483
0.476
29.04
RELA [ 1 ]
0.930
0.525
0.496
0.458
30.12
Table 5: Global modeling operators: CDD-11 PSNR with each operator in Stages 2 and 3, and per-stage single attention module latency ( 512×512 , batch 1, RTX 4090, FP32 projection and BF16 for attention core). Ind.: query-wise routing.
Coarse
Sparse
Separate K / V
Vr
log gate
PSNR ↑
–
✓
–
–
✓
29.98
✓
✓
–
–
✓
29.95
✓
–
–
–
–
30.02
✓
✓
–
✓
–
30.18
✓
✓
✓
–
✓
30.25
✓
✓
–
✓
✓
30.37
Table 6: Attention component ablation on CDD-11. Vr and l denote value residualization and block-level log gates, respectively.
Figure 4: FFN ablation studies on CDD-11 ( 512×512 , batch 1, RTX 4090). Numbers denote per-branch expansion γ . The full comparison is in supplementary Table 14 .
Figure 5: Visual comparison on CDD-11 under compound degradations. Red boxes indicate the enlarged regions. Please refer to Section 17 for more visual results.
Rank R
Params
Latency
Peak
Traffic
PSNR
(M)
(ms)
(MiB)
(GB)
(dB)
8
7.17
22.69
294.9
4.76
29.95
16
7.19
22.64
294.9
4.82
30.37
32
7.24
23.72
295.1
4.73
30.29
48
7.28
25.96
295.3
4.77
30.33
64
7.33
25.55
295.4
4.73
30.39
Table 7: DSFFN spatial-rank ablation on CDD-11 with γ=3 .
Test kr
Train kr
8
16
32
48
8
30.18
30.19
30.19
30.18
16
30.12
30.24
30.25
30.25
32
30.34
30.37
30.37
30.40
48
30.21
30.29
30.34
30.34
Latency (ms)
10.11
11.01
12.35
15.32
Table 8: Effect of training and test budgets kr on CDD-11. Latency denotes total attention-module latency.
Table 10: Stage-wise attention statistics across encoder depths, measured on the same 75 crops as Table 1 . All values are percentages. Retained mass uses a 25% key budget; block-wise routing shares keys within 8×8 query blocks. Readout redundancy uses the equal-layer aggregation defined in Sec. 7 . A dash denotes a stage absent from the encoder.
SA baseline
MDTA [ 20 ]
DSFFN
Task / dataset
PSNR
SSIM
PSNR
SSIM
PSNR
SSIM
Haze / SOTS
28.06
0.9669
29.46
0.9733
29.68
0.9706
Rain / Rain100L
36.26
0.9731
36.27
0.9724
36.37
0.9729
Noise / CBSD68
31.29
0.8901
31.28
0.8897
31.26
0.8890
Blur / GoPro
29.49
0.8864
29.54
0.8865
29.47
0.8850
Low-light / LOL
22.59
0.8493
22.67
0.8514
22.86
0.8547
Table 11: Full-resolution SA, MDTA, and DSFFN ( γ=3 , 3×3 ) on AIO-5 in PSNR (dB) and SSIM. Denoising: CBSD68, σ=25 . Bold marks unique best results.
Model
Rank
Spatial
Intra-pixel
BioIR-B
100%
30.0905
75%
29.3985
27.6374
50%
28.2045
25.6020
25%
27.2583
21.7189
MoCE-IR-S
100%
29.3077
75%
29.2484
29.1606
Table 12: Contribution-wise PCA compression on CDD-11 crops: mean RGB PSNR (dB) over three calibration seeds. Rank: retained output-width fraction; 100%: uncompressed baseline.
Stage
Encoder
Decoder
1
H×W×32
H×W×32
DSFFN ×4
DSFFN ×16 +DenseConnection [ 25 , 1 ]
2
2H×2W×64
2H×2W×64
[BRHA, DSFFN] ×4
[BRHA, DSFFN] ×1
3
4H×4W×128
4H×4W×128
[BRHA, DSFFN] ×4
[BRHA, DSFFN] ×1
Table 13: Stage-wise architecture of HiGLR. Feature dimensions are Hs×Ws×Cs . SA denotes dense self-attention; brackets indicate sequential modules, and ×n denotes repetition. Stages are numbered from finest to coarsest resolution.
Figure 6: Auxiliary degradation classifier.
Figure 7: Spatial-frequency distributions of coarse values U(V_{{\color[rgb]{0.2773,0.4688,0.6211}c}}) and fine residuals V-U(V_{{\color[rgb]{0.2773,0.4688,0.6211}c}}) at stages 2 and 3. Curves show radially binned power normalized by non-DC energy, averaged over 220 256×256 CDD-11 crops and heads within each layer. E1–E4 and D1 denote encoder and decoder blocks, respectively. Fine residuals exhibit broader spectra than coarse values, whose blockwise representation favors low frequencies.
Figure 8: Full-resolution refinement in decoder stage 1.
Method
γ
Params
Latency
Peak
Traffic (GB)
PSNR
(M)
(ms)
(MiB)
R
W
T
(dB)
ConvFFN §
1
4.03
33.65
371.1
4.63
10.14
14.78
29.36
ConvFFN M
24.40
307.1
3.36
5.36
8.71
ConvFFN R
20.63
283.7
0.85
3.67
4.51
ConvFFN §
2
5.43
43.02
503.5
10.43
15.80
26.23
29.92
ConvFFN M
29.28
375.5
5.89
7.14
13.02
Table 14: Effect of FFN expansion on CDD-11 restoration quality and full-model inference cost at 512×512 (batch 1, RTX 4090). Superscripts denote PyTorch ( \lx@sectionsign ) and the materialized ( M ) and recompute ( R ) Triton [ 16 ] implementations. ConvFFN recomputes the branch projections at spatial tile boundaries. ConvNeXt recomputes the normalized depthwise output for each output-channel tile. R, W, and T denote DRAM reads, writes, and their sum per forward pass.
Method
Params.
Dehazing
Deraining
Denoising (CBSD68)
Avg.
SOTS
Rain100L
σ=15
σ=25
σ=50
MPRNet [ 19 ]
16M
25.28
.955
33.57
.954
33.54
.927
30.89
.880
27.56
.779
30.17
.899
AirNet [ 8 ]
9M
27.94
.962
34.90
.967
33.92
.933
31.26
.888
28.00
.797
31.20
.910
PromptIR [ 13 ]
36M
30.58
.974
36.37
.972
33.98
.933
31.31
.888
28.06
.799
32.06
.913
VLU-Net [ 21 ]
35M †
30.71
.980
38.93
.984
34.13
.935
31.48
.892
28.23
.804
32.70
.919
MoCE-IR-S [ 18 ]
11M
30.94
.979
38.22
.983
34.08
.933
31.42
.888
28.16
.798
32.57
.916
Table 15: Comparison on AIO-3 in PSNR (dB, ↑ ) and SSIM ( ↑ ) . Bold marks the best results (ties included). † Additional frozen CLIP encoder: 88M parameters.
Method
Params.
Dehazing
Deraining
Denoising
Deblurring
Low-light
Avg.
SOTS
Rain100L
σ=25
GoPro
LOLv1
AirNet [ 8 ]
9M
21.04
.884
32.98
.951
30.91
.882
24.35
.781
18.18
.735
25.49
.847
Restormer [ 20 ]
26M
24.09
.927
34.81
.962
31.49
.884
27.22
.829
20.41
.806
27.60
.881
PromptIR [ 13 ]
36M
26.54
.949
36.37
.970
31.47
.886
28.71
.881
22.68
.832
29.15
.904
VLU-Net [ 21 ]
35M †
30.84
.980
38.54
.982
31.43
.891
27.46
.840
22.29
.833
30.11
.905
MoCE-IR-S [ 18 ]
11M
31.33
.978
37.21
.978
31.25
.884
28.90
.877
21.68
.851
30.08
.913
Table 16: Comparison on AIO-5 in PSNR (dB, ↑ ) and SSIM ( ↑ ) . Bold marks the best results (ties included). † Additional frozen CLIP encoder: 88M parameters.
Stages
Global operator at each scale
Params
Latency
PSNR
H/2
H/4
H/8
H/16
(M)
(ms) ↓
(dB) ↑
3
B ×8
D ×7
–
–
2.83
25.91
29.89
3
B ×8
B ×7
–
–
3.07
25.32
30.20
4 (HiGLR)
B ×5
B ×5
D ×5
–
7.19
22.64
30.37
5
B ×4
B ×4
D ×4
D ×3
18.02
23.07
27.18
5
B ×4
B ×4
B ×4
D ×3
18.57
25.62
28.97
Table 17: Stage-count ablation on CDD-11. All variants use 35 DSFFN blocks. B and D denote BRHA and dense self-attention, respectively; ×N denotes the total number of encoder and decoder blocks at each scale, and – denotes an absent stage. Latency is measured on an RTX 4090 at 512×512 with batch size 1.
Stage
Stage 1 MDTA
Stage 4 BRHA
HiGLR (Ours)
1
MDTA
–
–
2
BRHA
BRHA
BRHA
3
BRHA
BRHA
BRHA
4
Dense SA
BRHA
Dense SA
PSNR (dB) ↑
30.26
29.92
30.37
Table 18: Stage-wise global operator ablation on CDD-11. All settings use DSFFN for local mixing. – denotes no global operator.
Figure 9: Sensitivity to inference budget kr on CDD-11 with fixed model weights. (a) PSNR change relative to each model’s kr=16 result; shaded regions show 95% scene-bootstrap confidence intervals. (b) Absolute PSNR. kr counts remote blocks. In (b), beyond the axis break, the orange point shows Sparse-only using approximately 25% of KV blocks.
Figure 12: Visual comparisons for deraining, deblurring, low-light enhancement, dehazing, and denoising. Red boxes mark the regions shown in the enlarged crops. Numbers denote PSNR in dB.
Method
Patch
Latency (ms)
Memory (GB)
R2R
2242
116.54
3.33
HiGLR (Ours)
2562
234.24
4.37
BioIR-L
1282
250.65
15.35
MIRAGE-S
1282
277.24
7.11
MoCE-IR
1282
344.16
9.39
Table 20: Training cost comparisons (RTX 4090, batch 4): time per step and peak allocated GPU memory.
RTX 4090
H200
RTX PRO 6000
Method
5122
10242
5122
10242
5122
10242
MoCE-IR-S [ 18 ]
76.44
342.34
45.41
150.64
49.78
221.39
BioIR-B [ 5 ]
89.01
412.69
50.88
185.73
62.26
294.67
MIRAGE-S [ 14 ]
83.48
327.05
45.68
163.75
50.65
226.13
R2R [ 17 ]
31.76
58.14
13.40
31.78
18.50
37.66
CEA-IR-S [ 7 ]
96.07
445.19
62.88
250.28
61.46
288.14
Table 21: Inference latency (ms) ↓ across GPUs and input resolutions at batch size 1.
Department of Computer Science Shanghai Jiao Tong University Shanghai, China · Department of Architecture and Design Harbin Institute of Technology Heilongjiang, China