Cascading Convolutional Color Constancy

Huanglin Yu, Ke Chen, Kaiqi Wang, Yanlin Qian, Zhaoxiang Zhang, Kui Jia

Introduction

Computational color constancy is the essential task of removing color casts caused by scene illumination to recover the "canonical" colors of objects, effectively mimicking the human visual system's ability to maintain color constancy under varying light sources. This task is fundamentally ill-posed due to the inherent ambiguity between surface reflectance and illuminant color—a white surface under red light is indistinguishable from a red surface under white light without contextual cues.

Furthermore, the problem is exacerbated by sensor variation. Different camera sensors possess unique spectral sensitivities; a model optimized for one camera often fails to generalize to another. The $C^4$ algorithm addresses these challenges through a cascaded deep learning architecture designed to be camera-agnostic, providing robust illumination estimation across diverse hardware and complex scenes.

The $C^4$ Framework

The core innovation of this research is the Cascading Convolutional Color Constancy ($C^4$) framework. Rather than attempting to predict illumination in a single pass, the network employs a multi-stage refinement process.

Detailed architecture of the C4 framework showing the cascaded stages and the SqueezeNet backbone.

Cascaded Structure and Refinement

The architecture consists of $L$ stages (typically 3 or 4). Each stage generates an illumination hypothesis. The input image is then "corrected" using this intermediate prediction before being passed to the subsequent stage. This serial refinement allows the model to learn specific correction patterns, suppressing errors introduced in earlier, coarser stages.

Multiply-Accumulate Loss

To supervise this progressive learning, the authors introduced a novel multiply-accumulate loss function. Unlike standard models that penalize only the final output, $C^4$ applies a weighted loss across every stage of the cascade. This forces the initial stages to handle coarse estimation while subsequent stages focus on fine-tuning the results. The framework is flexible regarding its backbone; the authors demonstrate state-of-the-art results using both AlexNet-FC4 and the more computationally efficient SqueezeNet-FC4.

Experimental Evaluation

The model was evaluated on two primary benchmarks:

  1. Color Checker (Shi 2000): A dataset of 568 indoor and outdoor images.
  2. NUS 8-Camera Dataset: A large-scale collection of 1,736 images from eight different commercial cameras, used specifically to test the model's camera-agnostic generalization capabilities.

Results and Discussion

$C^4$ achieved significant performance gains over previous methods. On the Color Checker dataset, the SqueezeNet-backed $C^4$ reached a Mean angular error of 1.35°, outperforming previous leaders like FFCC (1.78°) and the single-stage FC4 (1.65°).

Visual refinement of illumination estimates across three stages compared to ground truth.

Robustness and Generalization

A key finding was the model's performance in the "Worst 25%" metric. In color constancy, handling difficult, monochromatic, or oddly lit scenes is the true test of a model's utility. $C^4$ showed substantial improvements in these edge cases. Additionally, in cross-dataset tests (training on one sensor and testing on another), $C^4$ consistently outperformed both statistical and other learning-based methods, proving its robustness to varying sensor sensitivities.

Qualitative analysis using chromaticity diagrams confirms that as an image progresses through the stages, the illumination hypotheses converge toward the ground truth. Interestingly, the authors found that the performance boost stems from the cascaded architecture itself rather than a mere increase in parameters; even when compressed to match the parameter count of a single-stage model, the cascaded version remained superior.

Conclusion and Future Work

While $C^4$ sets a new standard for global illumination estimation, it faces limitations such as diminishing returns after four stages and a reliance on the global illuminant assumption. It does not yet account for multi-illuminant scenes, such as those with mixed indoor and outdoor lighting. Future research may explore extending this cascaded refinement to local patches to handle spatially varying illumination, further bridging the gap toward perfect computational color constancy.

Summary updated

BibTeX
@inproceedings{yu2020cascading,
  author = {Huanglin Yu and Ke Chen and Kaiqi Wang and Yanlin Qian and Zhaoxiang Zhang and Kui Jia},
  title = {{Cascading Convolutional Color Constancy}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i07.6966},
}
Figure