Goal Conditioned Reinforcement Learning for Photo Finishing Tuning
Jiarui Wu, Yujin Wang, Lingen Li, Zhang Fan, Tianfan Xue
TL;DR
The paper tackles automatic tuning of non-differentiable image processing pipelines to achieve target appearances or styles. It introduces a goal-conditioned reinforcement learning framework that treats the pipeline as a black box and employs a novel state representation (dual-path CNN features, photo statistics, and historical actions) along with two reward formulations (PSNR-based finishing and perceptual style-based stylization) trained via TD3. Results show the method reaches target outcomes with as few as 10 pipeline queries, outperforming zeroth- and first-order baselines, and generalizes to unseen datasets such as HDR+ and new style targets. This approach offers a practical, efficient alternative for photorealistic image tuning with flexible goal conditioning and broad applicability to various visual editing tasks.
Abstract
Photo finishing tuning aims to automate the manual tuning process of the photo finishing pipeline, like Adobe Lightroom or Darktable. Previous works either use zeroth-order optimization, which is slow when the set of parameters increases, or rely on a differentiable proxy of the target finishing pipeline, which is hard to train. To overcome these challenges, we propose a novel goal-conditioned reinforcement learning framework for efficiently tuning parameters using a goal image as a condition. Unlike previous approaches, our tuning framework does not rely on any proxy and treats the photo finishing pipeline as a black box. Utilizing a trained reinforcement learning policy, it can efficiently find the desired set of parameters within just 10 queries, while optimization based approaches normally take 200 queries. Furthermore, our architecture utilizes a goal image to guide the iterative tuning of pipeline parameters, allowing for flexible conditioning on pixel-aligned target images, style images, or any other visually representable goals. We conduct detailed experiments on photo finishing tuning and photo stylization tuning tasks, demonstrating the advantages of our method. Project website: https://openimaginglab.github.io/RLPixTuner/.
