Agentic image restoration composes operations to handle mixed degradations, yet its toolbox often requires storing multiple restoration networks. We propose PrismRestore, which constructs a compact bank of callable restoration actions from a single frozen all-in-one model. Our approach builds on task-dependent yet overlapping channel responses in the shared model. An offline task-prior search uses activation and gradient statistics to group channels with similar response profiles, then searches task-specific modulation coefficients over non-representative channels while leaving representative channels unmodulated. The resulting prior bank enables explicit action selection and composition without additional restoration backbones or task-specific adapter modules. A state-conditioned policy learns to compose these actions using Group Relative Policy Optimization. Its objective separately normalizes fidelity and perceptual feedback within groups of trajectories sampled for the same input, and combines terminal evaluation with return-to-go derived from stepwise quality changes. Experiments on synthetic composite-degradation and real-world multi-task benchmarks show improvements over the evaluated all-in-one baselines and restoration quality competitive with multi-model agents. PrismRestore achieves these results with a single restoration backbone and faster inference than the evaluated agentic baselines.
Figures & tables
Figure 1: Parameterization of restoration toolboxes. (a) Independent tools store separate restoration networks. (b) Adapter-based tools share a backbone with task-specific parameters. (c) PrismRestore constructs restoration actions using compact modulation priors on a frozen all-in-one backbone. The two parameter counts indicate toolbox and planner parameters, respectively.
Figure 2: Overview of PrismRestore. (a) Overall restoration pipeline with state-conditioned action selection and quality-guided stopping. (b) Shared-backbone toolbox construction through channel response characterization, representative partitioning, and offline modulation search. (c) Sequential policy learning with SFT initialization and quality-grouped process-aware rewards.
Figure 3: Qualitative comparison on synthetic composite degradations. Top: low light and rain. Bottom: blur and noise.
Method
PSNR ↑
SSIM ↑
LPIPS ↓
MANIQA ↑
CLIP-IQA ↑
MUSIQ ↑
Group A
AirNet [ 18 ]
19.13
0.6019
0.4283
0.2581
0.3930
42.46
PromptIR [ 28 ]
20.06
0.6088
0.4127
0.2633
0.4013
42.62
MiOIR [ 16 ]
20.84
0.6558
0.3715
0.2451
0.3933
47.82
DA-CLIP [ 25 ]
19.58
0.6032
0.4266
0.2418
0.4139
42.51
InstructIR [ 6 ]
18.03
0.5751
0.4429
0.2660
0.3528
45.77
Table 1: Quantitative comparison on three multiple-degradation subsets of MiO100. The best, second-best, and third-best results are marked in bold , underline , and italic , respectively.
Method
NIQE ↓
MANIQA ↑
CLIP-IQA ↑
MUSIQ ↑
AirNet
5.20
0.3484
0.3479
58.64
PromptIR
5.50
0.3501
0.3566
58.89
AdaIR
5.42
0.3643
0.3808
59.52
MoCE-IR
6.64
0.3348
0.3353
51.02
AutoDIR
5.52
0.3590
0.3671
59.43
InstructIR
5.40
0.3600
0.3695
59.01
Table 2: Quantitative comparison on the real-world multi-task benchmark.
Method
Tools
Params.T
Planner
Params.P
Calls
AgenticIR
33
3579.67M
GPT-4
> 175B (GPT-3)
8.31
4KAgent
64
6205.92M
GPT-4
> 175B (GPT-3)
13.23
HybridAgent
11(1)
400.28M
Llama3.2
1.23B
–
PrismRestore (Ours)
8(1)
28.78M
ResNet34
0.02B
4.65
Table 3: Toolbox complexity and inference overhead. Tools denotes actions (distinct backbones); Params.T/P denote toolbox/planner parameters. Calls are averaged over three groups of MiO100. HybridAgent reports FastAgent parameters only.
All-in-one
Method
AirNet
PromptIR
MiOIR
AutoDIR
AdaIR
PSNR
18.80
19.68
19.01
19.38
18.77
Time(s)
1.88
1.31
1.28
181.15
1.35
Agent
Method
AgenticIR
4KAgent
TIR-Agent
RAR
PrismRestore (Ours)
PSNR
20.14
20.73
21.47
20.28
21.14
Table 4: Average restoration quality and inference time. The best, second-best, and third-best results are marked in bold, underline, and italic, respectively.
Figure 4: Qualitative comparison on a real-world hazy scene. Our method effectively removes haze while preserving fine details with fewer visible artifacts. Please zoom in for a better view.
Setting
Act.
Grad.
Part.
Gain(dB)
Match(%)
Random Part.
✓
1.17
38.1
w/o Grad.
✓
✓
2.16
58.3
w/o Act.
✓
✓
2.23
59.1
w/o Part.
✓
✓
2.57
64.6
Rep. Search
✓
✓
✓
2.01
52.7
PrismRestore (Ours)
✓
✓
✓
2.69
71.6
Table 5: Ablation of shared-backbone toolbox construction. Act., Grad., and Part. denote activation, gradient, and channel partitioning, respectively. Rep. Search uses representative channels. Gain and Match denote PSNR improvement and Top-1 task–action matching accuracy.
Figure 5: Task-specific modulation patterns of the searched priors in the latent stage. Bar heights indicate the proportion of modulated channels across five selected intervals, while colors represent modulation coefficients stacked by frequency.
Figure 6: Task discriminability of the shared-backbone restoration actions. Each cell reports the average PSNR (dB), with highlighted diagonal entries indicating task-matched actions.
Method
Base(dB)
Base+P(dB)
Gain(dB)
Match(%)
AdaIR
23.19
25.88
2.69
71.6
MoCE-IR
23.38
26.21
2.83
69.4
MiOIR
22.76
25.23
2.47
63.6
Table 6: Cross-backbone evaluation of the proposed task priors in terms of restoration gains and action consistency.
Setting
PSNR ↑
SSIM ↑
LPIPS ↓
MANIQA ↑
CLIP-IQA ↑
MUSIQ ↑
w/o SFT
19.83
0.6476
0.3562
0.3068
0.4308
52.61
w/o RL
20.28
0.6496
0.3943
0.2511
0.3907
48.71
w/o QGR
21.27
0.6997
0.3685
0.2761
0.4113
49.36
w/o RTG
20.81
0.6654
0.3609
0.3016
0.4313
52.42
w/o Refine
21.03
0.6794
0.3572
0.3052
0.4341
52.97
PrismRestore (Ours)
21.19
0.6826
0.3221
0.3104
0.4445
54.24
Table 7: Ablation of policy learning and reward design on MiO100 Group A. The variants remove SFT initialization, GRPO optimization, quality-grouped normalization (QGR), process return-to-go (RTG), or final modulation refinement (Refine.), respectively.
Figure 7: Training dynamics of quality feedback during GRPO optimization. (a) Reference-based quality score (F) and (b) no-reference quality score (Q) over 50 training epochs.
Figure 8: Sequential restoration with quality-guided stopping. The third update is rejected, while later steps show continued restoration without early stopping.
Strategy
PSNR ↑
SSIM ↑
LPIPS ↓
Calls
Time(s)
AdaIR
19.07
0.6063
0.4162
–
1.36
Repeat.A
17.03
0.6198
0.4159
6.00
5.84
Random
18.61
0.6287
0.4060
3.46
3.05
Greedy
20.82
0.6602
0.3635
29.65
38.96
PrismRestore (Ours)
21.19
0.6826
0.3221
3.26
4.67
Table 8: Ablation of execution strategies on MiO100 Group A. Repeat.A applies the original AdaIR six times. Calls denotes the average number of tool invocations during inference.
Tsinghua University, Beijing, China · Data Science & Artificial Intelligence Research Institute, China Unicom, Beijing, China · Hunan University, Changsha, China +2