Illumination Normalization by Partially Impossible Encoder-Decoder Cost Function

Steve Dias Da Cruz, Bertram Taetz, Thomas Stifter, Didier StrickerWACV 2020

Abstract

Computer vision systems often struggle with reliability when deployed in real-world environments due to varying illumination and environmental conditions. To address this, we propose a novel image normalization strategy using encoder-decoder networks trained with a "partially impossible" reconstruction target. By forcing the network to reconstruct a scene under a different lighting condition than the input, the model learns to discard transient environmental features and focus on salient class instances. We further enhance generalization through triplet loss regularization in the latent space and a nearest-neighbor search for inference. Our approach is validated on three datasets, including a newly released synthetic automotive interior dataset, SVIRO-Illumination.

Introduction

The performance of machine learning models in computer vision is frequently degraded by domain shifts caused by lighting changes, shadows, and weather conditions. In safety-critical applications, such as automotive interior monitoring, these variations can lead to catastrophic failures. Traditional solutions involve exhaustive data collection or complex augmentation, which are often impractical. This paper introduces a preprocessing component designed to normalize images by stripping away unimportant environmental information, thereby enhancing the robustness of downstream classification tasks.

Methodology: The Partially Impossible Reconstruction Target

The core of our method is a strategic reformulation of the autoencoder cost function. Instead of the standard task of reconstructing the input image $x_k^a$, we provide the network with a target image $x_k^b$ representing the same scene under a different illumination or environmental state.

An example of a challenging input image featuring harsh shadows that the model must learn to normalize.

This task is "partially impossible" because the input image does not contain the specific information (e.g., the exact shadow patterns or highlight locations) required to perfectly reconstruct the target. Consequently, the network is forced to ignore these transient features and instead learn the underlying, constant structure of the scene—the "salient features" like human occupants or seat configurations.

Latent Space Regularization and Inference

To ensure the latent space is organized by class identity rather than environmental noise, we incorporate a Triplet Loss regularizer. This ensures that different views of the same scene are clustered together while distinct scenes are pushed apart.

During inference, we found that the decoder's raw output for unseen illuminations can sometimes be blurry. To mitigate this, we employ a Nearest Neighbor (NN) search. For a given test image, the model identifies the closest training sample in the latent space and uses the decoder to reconstruct that known "clean" representative. This ensures the output is both sharp and class-preserving.

Experimental Results

We evaluated the Triplet Autoencoder (TAE) against standard baselines on three datasets: the Extended Yale Face Database B, a Webcam Clip Art dataset, and our new SVIRO-Illumination dataset. SVIRO-Illumination consists of synthetic renders of three vehicle interiors (Cayenne, Kodiaq, and Kona) under ten distinct environmental conditions.

Qualitative comparison showing input images (top) and the corresponding "cleaned" normalized outputs (bottom) across automotive, facial, and landscape datasets.

In automotive occupant classification, the TAE significantly outperformed traditional models. For instance, on the Cayenne vehicle interior, the TAE achieved an accuracy of 92.4%, compared to just 76.2% for a standard ResNet-50 baseline. Qualitatively, the model successfully removes harsh shadows and background clutter, providing a clean, normalized image for downstream processing.

Conclusion

By framing illumination normalization as a partially impossible reconstruction task, we enable encoder-decoder networks to inherently learn environmental invariance. The combination of triplet loss and nearest-neighbor retrieval further stabilizes the latent space and improves the quality of the normalized output. While challenges remain in generalizing to entirely unknown outdoor scenes or highly variable human poses, this method provides a robust foundation for preprocessing in constrained environments like automotive interiors.

Summary updated

BibTeX
@inproceedings{cruz2020illumination,
  author = {Steve Dias Da Cruz and Bertram Taetz and Thomas Stifter and Didier Stricker},
  title = {{Illumination Normalization by Partially Impossible Encoder-Decoder Cost Function}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2020},
  url = {https://openreview.net/forum?id=YJfgloeUeSiX},
}
Figure