Deep Hybrid Real and Synthetic Training for Intrinsic Decomposition

Sai Bi, Nima Khademi Kalantari, Ravi Ramamoorthi

Abstract

Intrinsic image decomposition aims to separate a single image into its constituent reflectance and shading layers. This problem is inherently ill-posed and suffers from a lack of high-quality real-world ground truth data. We propose a hybrid training framework that leverages both synthetic data with full supervision and real-world image pairs under varying illumination. By enforcing reflectance consistency across lighting changes, our model learns to generalize to real-world complexities. Our approach, augmented by a differentiable bilateral solver, achieves state-of-the-art results on the Intrinsic Images in the Wild (IIW) benchmark.

Introduction

Intrinsic image decomposition is often considered the "holy grail" of computer vision preprocessing. The goal is to decompose an input image $I$ into a reflectance map $R$ (the albedo or true color of surfaces) and a shading map $S$ (the effects of illumination and geometry), such that $I = R \cdot S$. This decomposition is crucial for tasks like image editing, augmented reality, and scene understanding.

However, the problem is highly underdetermined, as infinite combinations of $R$ and $S$ can produce the same $I$. Deep learning models have attempted to solve this using synthetic datasets where ground truth is available. Unfortunately, models trained solely on synthetic data often fail to capture the nuances of real-world photography, such as sensor noise and complex material properties.

Methodology

Hybrid Training Loss

To bridge the gap between synthetic and real data, we introduce a hybrid loss function that combines direct synthetic supervision with a clever physical constraint for real-world images.

For synthetic data (e.g., MPI Sintel), the network is supervised using scale-invariant Mean Squared Error (MSE) against known ground truth. For real-world data, we utilize a "weak" supervision strategy. We captured a dataset of static scenes under multiple lighting conditions. Since the scene geometry and materials remain constant, the reflectance $R$ must be invariant to lighting changes. Our loss function penalizes discrepancies in predicted reflectance between pairs of images from the same scene, while ensuring the product $R \cdot S$ reconstructs the original input.

Intrinsic decomposition separates surface color from lighting effects in real-world scenes.

Differentiable Bilateral Solver

A common artifact in CNN-based decomposition is the "leaking" of shading information into the reflectance map, such as soft shadows appearing as surface stains. To mitigate this, we integrate a differentiable bilateral solver layer directly into our network architecture. Unlike traditional post-processing filters, this layer allows the network to learn features that are optimized for edge-aware smoothing during the training process, resulting in cleaner and more physically plausible outputs.

Experimental Results

We evaluated our model on the Intrinsic Images in the Wild (IIW) dataset, the standard benchmark for real-world intrinsic decomposition. Our method achieves a Weighted Human Disagreement Rate (WHDR) of 17.18%, outperforming previous state-of-the-art models like Nestmeyer et al. (17.69%) and Zhou et al. (19.95%).

Comparison of our method against previous state-of-the-art approaches. Our model produces significantly fewer artifacts and achieves the lowest WHDR score on this kitchen scene.

Qualitative analysis shows that our model excels in complex regions, such as kitchen cupboards or furniture folds, where previous methods often misinterpret shading as reflectance changes. The system is also efficient, processing 720p images in approximately 1.4 seconds on a standard GPU.

Conclusion

By combining synthetic "anchors" with real-world physical constraints, we have developed a robust framework for intrinsic image decomposition. Our use of a differentiable bilateral solver further enhances visual quality by enforcing edge-aware consistency. Future work will explore handling colored illumination and extending the framework to dynamic scenes and specular reflections.

Summary updated

BibTeX
@inproceedings{bi2018deep,
  author = {Sai Bi and Nima Khademi Kalantari and Ravi Ramamoorthi},
  title = {{Deep Hybrid Real and Synthetic Training for Intrinsic Decomposition}},
  booktitle = {EGSR (EI\&I)},
  year = {2018},
  doi = {10.2312/sre.20181172},
}
Figure