Conditional Sequential Modulation for Efficient Global Image Retouching

Jingwen He, Yihao Liu, Yu Qiao, Chao Dong

Introduction

Professional photo retouching is a sophisticated process of adjusting an image's global properties—such as exposure, contrast, and color balance—to achieve a desired aesthetic. While deep learning has made significant strides in automating this task, existing solutions often rely on heavy, spatially-aware Convolutional Neural Networks (CNNs). These models, designed for image-to-image translation tasks like segmentation or super-resolution, are often inefficient for global retouching, which is inherently location-independent. This paper introduces CSRNet (Conditional Sequential Retouching Network), an ultra-lightweight framework that achieves state-of-the-art performance with a fraction of the computational cost.

The Problem with Spatial Awareness in Global Retouching

Standard CNNs utilize $3 \times 3$ or larger convolutional filters to capture local spatial patterns like edges and textures. However, global retouching tasks—such as changing the "vibe" or lighting of a whole photograph—do not require this spatial context. Applying heavy, spatially-aware networks to global tasks is computationally expensive and can introduce unwanted local artifacts, such as checkerboard patterns. The core challenge is to develop a model that can perform complex global adjustments while remaining extremely lightweight and preserving the image's structural integrity.

Proposed Method: CSRNet

The authors propose CSRNet, which treats global retouching as a sequence of pixel-independent operations. The architecture is divided into two specialized components:

  1. Base Network: Functioning as the "editor," this network consists entirely of $1 \times 1$ convolutions. This design ensures that each pixel is processed independently, effectively acting as a Multi-Layer Perceptron (MLP). This approach guarantees that the image's edges and textures remain untouched while only the colors and tones are modified.
  2. Condition Network: Serving as the "director," this network extracts global features from the input image through downsampling and global average pooling to generate a condition vector.
  3. Global Feature Modulation (GFM): This mechanism bridges the two networks. The condition vector is used to scale and shift the intermediate features of the base network, allowing the model to adapt its retouching strategy based on the specific characteristics of the input image.
The CSRNet architecture combines a pixel-independent base network with a condition network that modulates features based on global image context.

By modeling retouching as a sequence of modulated $1 \times 1$ convolutions, CSRNet mimics the step-by-step nature of manual editing (e.g., adjusting exposure then saturation) without requiring explicit supervision for each intermediate step.

Experimental Results

CSRNet was evaluated on the MIT-Adobe FiveK dataset, using retouches from "Expert C" as the ground truth. The results demonstrate a remarkable balance between efficiency and accuracy.

Efficiency and Accuracy

CSRNet contains only 36,489 parameters, making it orders of magnitude smaller than competing models like HDRNet (~482k parameters) or Pix2Pix (millions of parameters). Despite this minimal footprint, it achieved a PSNR of 24.23 dB on the FiveK dataset, outperforming significantly larger models.

Comparison of PSNR vs. number of parameters. CSRNet (Ours) occupies the top-left corner, indicating superior performance with minimal parameters.

Qualitative Performance

In user studies, CSRNet's outputs were consistently preferred for their natural and vivid appearance. Unlike heavier models that occasionally produce over-exposed or unnaturally colored results, CSRNet's pixel-independent nature avoids spatial artifacts and maintains high visual fidelity. Furthermore, the use of a condition vector allows for "style interpolation," enabling users to smoothly transition between different aesthetic looks by blending vectors.

Conclusion

CSRNet represents a paradigm shift in automated photo retouching by demonstrating that "less is more." By focusing on global feature modulation and pixel-independent operations, the model achieves superior results with a tiny parameter count. While limited to global adjustments, its efficiency makes it an ideal candidate for integration into mobile devices and real-time editing applications. Future work may explore adapting this lightweight framework for tasks that require a blend of global and local awareness.

Summary updated

BibTeX
@inproceedings{he2020conditional,
  author = {Jingwen He and Yihao Liu and Yu Qiao and Chao Dong},
  title = {{Conditional Sequential Modulation for Efficient Global Image Retouching}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58601-0\_40},
}
Figure