[Paper Review] Crafting a Toolchain for Image Restoration by Deep Reinforcement Learning
This paper proposes RL-Restore, a reinforcement learning framework that dynamically selects from a toolbox of lightweight, task-specific convolutional networks to restore images with complex, mixed distortions. By formulating restoration as a sequential decision-making process with stepwise PSNR-based rewards and joint training of agent and tools, it achieves performance comparable to large CNNs with 82.2% fewer computations and improved robustness to unseen artifacts.
We investigate a novel approach for image restoration by reinforcement learning. Unlike existing studies that mostly train a single large network for a specialized task, we prepare a toolbox consisting of small-scale convolutional networks of different complexities and specialized in different tasks. Our method, RL-Restore, then learns a policy to select appropriate tools from the toolbox to progressively restore the quality of a corrupted image. We formulate a step-wise reward function proportional to how well the image is restored at each step to learn the action policy. We also devise a joint learning scheme to train the agent and tools for better performance in handling uncertainty. In comparison to conventional human-designed networks, RL-Restore is capable of restoring images corrupted with complex and unknown distortions in a more parameter-efficient manner using the dynamically formed toolchain.
Motivation & Objective
- To address the limitations of single, large CNNs in handling complex, mixed image distortions with high parameter and computational costs.
- To enable adaptive, parameter-efficient restoration by dynamically composing a sequence of lightweight, task-specific networks.
- To improve robustness to unknown or unseen distortions during restoration through joint training of agent and tools.
- To provide interpretability by revealing the step-by-step restoration process via visible toolchain selection.
Proposed method
- The framework uses a toolbox of small, specialized CNNs trained for specific tasks: deblurring, denoising, and JPEG artifact reduction.
- An agent learns a policy to select tools sequentially based on the current image state and prior actions, using a stepwise reward function proportional to PSNR improvement.
- A joint learning scheme trains the agent and tools simultaneously to better handle uncertainty and artifacts in intermediate restoration states.
- The agent can autonomously stop the process when image quality is deemed satisfactory, preventing overfitting and saving computation.
- Reward functions are evaluated using PSNR, SSIM, final PSNR, and final MSE; stepwise PSNR yields the best performance.
- Training data for tools includes synthetic noise and compression to enhance robustness to intermediate artifacts.
Experimental results
Research questions
- RQ1Can a reinforcement learning agent effectively compose a dynamic toolchain of lightweight networks to restore images with complex, mixed distortions?
- RQ2How does joint training of the agent and tools improve robustness to unknown or intermediate artifacts?
- RQ3What is the impact of different reward functions on restoration performance and convergence?
- RQ4How does the automatic stopping mechanism affect restoration quality and computational efficiency?
- RQ5Can the framework generalize to unseen distortions better than single large CNNs?
Key findings
- RL-Restore achieves PSNR performance comparable to a single large CNN with 82.2% fewer FLOPs, demonstrating significant computational efficiency.
- The joint training strategy improves PSNR by 0.2 dB over baseline tools and an additional 0.2 dB when combined with noise augmentation in training data.
- The stepwise PSNR reward function outperforms stepwise SSIM, final PSNR, and final MSE in both PSNR and SSIM metrics.
- Removing the automatic stopping action reduces PSNR by 0.15 dB on average, with a larger drop on mild distortions, indicating over-restoration risk.
- A toolchain of length 12 and 3 tools achieves optimal performance, with longer chains not significantly improving results due to training complexity.
- The framework reveals interpretable, step-by-step restoration processes, offering transparency over black-box CNNs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.