TL;DR
CURL (Neural CURve Layers) is a novel deep learning architecture that brings the power and interpretability of professional photo editing "curves" to automated image enhancement. By combining a multi-scale local feature extractor with global curve adjustments across three different color spaces (Lab, RGB, and HSV), CURL achieves state-of-the-art performance in both photo retouching and RAW-to-RGB image formation while remaining highly parameter-efficient.
What Problem Does This Paper Address?
Modern image enhancement involves two distinct challenges: local pixel-level corrections (like denoising and demosaicing) and global aesthetic adjustments (like contrast, saturation, and color balance).
Traditional Image Signal Processors (ISPs) handle this through a complex, hand-tuned sequence of modules that are difficult to optimize. Recent deep learning approaches have tried to replace these pipelines, but they often struggle to balance local and global needs. Some models are "black boxes" that lack interpretability, while others use global adjustment methods that aren't expressive enough to capture the nuanced touch of a professional photographer. CURL aims to bridge this gap by mimicking the human-interpretable "curves" tool found in software like Photoshop, making the network's global adjustments both powerful and transparent.
Methods
The authors introduce a two-part architecture designed to handle both local and global image processing tasks efficiently.
- TED (Transformed Encoder-Decoder): This is the "backbone" responsible for local image processing. Unlike a standard U-Net with many skip connections, TED uses a single, sophisticated Multi-Scale Contextual Awareness (MSCA) skip connection. This block fuses local features, mid-level features (via dilated convolutions), and global context to provide the decoder with a rich understanding of the image at multiple scales.
- CURL Block: This is the core innovation. It applies a sequence of differentiable, piecewise linear scaling curves across three color spaces: CIELab (luminance and chrominance), RGB (individual color channels), and HSV (saturation and hue).
To train this effectively, the authors developed a multi-color space loss function. This includes a novel conical HSV loss that accounts for the cylindrical nature of the HSV color space, an $L_1$ Lab loss combined with MS-SSIM for structural integrity, and a regularization term to ensure the predicted curves remain smooth and realistic.
Datasets
The model was evaluated on three major benchmarks:
- Samsung S7 Dataset: Used for RAW-to-RGB mapping (modeling the ISP), consisting of 110 pairs of RAW and processed images.
- MIT-Adobe5K-DPE: A dataset of 5,000 DSLR images retouched by a professional artist ("Artist C"), used for RGB-to-RGB photo enhancement.
- MIT-Adobe5K-UPE: A high-resolution version of the Adobe5K dataset pre-processed for the DeepUPE benchmark.
Key Insights and Ideas
- Interpretability is Key: By using curves, the model’s global adjustments are visual functions that a human can inspect, mimicking the workflow of professional editors.
- Color Space Synergy: Adjusting images sequentially across Lab, RGB, and then HSV yields the best results. Each space excels at different tasks—for example, HSV is far better for targeted saturation adjustments than RGB.
- Scaling vs. Remapping: Unlike previous methods that simply remap colors, CURL predicts scaling factors. This allows for "cross-talk" between channels, such as adjusting saturation based on the specific hue of a pixel.
- Efficiency through Architecture: The MSCA skip connection allows the TED backbone to outperform much larger U-Net architectures while using significantly fewer parameters.
Key Results
CURL set new benchmarks on the Samsung S7 and MIT-Adobe5K datasets. On the Adobe5K (DPE) task, it achieved a PSNR of 24.04 dB, outperforming previous leaders while being significantly more efficient.
CURL is remarkably lean, using only 1.4 million parameters, compared to the 3.3 million used by DPE and 5.1 million for a large U-Net, making it highly suitable for mobile deployment. Ablation studies confirmed that the multi-color space approach is essential; removing any one of the color spaces (Lab, RGB, or HSV) resulted in a measurable drop in image quality.
Limitations and Future Work
While CURL produces impressive results, the authors noted a few areas for growth. Currently, the sequence of color space adjustments is fixed; per-image adaptive ordering could further improve performance. Additionally, while the TED backbone handles local features, the primary CURL innovation is global. Future iterations might explore making these "neural curves" spatially varying to handle complex, non-uniform lighting conditions more effectively.
Summary updated