NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Unexplored Faces of Robustness and Out-of-Distribution: Covariate Shifts in Environment and Sensor Domains

Eunsu Baek, Keondo Park, Ji-yoon Kim, Hyung-Sin Kim

TL;DR

This paper introduces ImageNet-ES, a new dataset capturing real-world covariate shifts from environmental and camera sensor variations, to address the limitations of existing robustness benchmarks that rely on digital perturbations. They demonstrate that current Out-of-Distribution (OOD) detection methods struggle with these real-world shifts and propose that sensor control, rather than just model architecture, is a powerful, efficient way to improve robustness.

What Problem Does This Paper Address?

Computer vision models are trained on data that often differs from the real-world scenarios they encounter during deployment. This discrepancy, known as distribution shift, can significantly degrade model performance. While many research efforts focus on making models robust to digital perturbations (like adding noise or blurring to images), these often don't reflect the actual challenges faced during image acquisition. For instance, changes in lighting conditions or camera settings (like ISO, aperture, shutter speed) introduce covariate shifts that are not well-captured by current benchmarks. This gap means that models deemed robust on synthetic benchmarks might fail in real-world applications. The paper argues that we need to better understand and address these "unexplored faces" of robustness, specifically those arising from the physical process of capturing an image.

Methods

The core contribution is the creation of the ImageNet-ES dataset. This dataset was built using a custom-built testbed called ES-Studio, which allows for precise control over environmental factors (like lighting) and camera sensor parameters (ISO, shutter speed, aperture). Unlike existing methods that simulate shifts digitally, ImageNet-ES captures these variations directly from a real camera.

The paper then uses this dataset to:

  1. Evaluate OOD Detection: They test state-of-the-art OOD detection methods on ImageNet-ES to see how well they can distinguish between in-distribution and out-of-distribution data when the shifts are due to real-world environmental and sensor changes.
  2. Investigate Domain Generalization: They explore how existing digital augmentation techniques and new environment/sensor-specific augmentations impact model robustness on ImageNet-ES.
  3. Analyze Camera Sensor Control: They study the effect of optimizing camera sensor parameters (beyond default auto-exposure) on model prediction accuracy, comparing it to model size and domain generalization techniques.

Datasets

  • ImageNet-ES (New Benchmark): A dataset of 202,000 images captured with a real camera, featuring covariate shifts from variations in environmental (light) and camera sensor (ISO, aperture, shutter speed) factors. It's derived from 2,000 samples of Tiny-ImageNet.
  • Tiny-ImageNet: Used as the base dataset for generating ImageNet-ES.
  • ImageNet-C: A standard benchmark for robustness against common corruptions, used for comparison.
  • S-OOD Datasets (for OOD evaluation): Texture-O, SSB-hard, NINCO, iNaturalist, Openimage-O.

Key Insights and Ideas

  • Real-world shifts are different: Existing OOD detection methods, primarily designed for semantic shifts (S-OOD), perform poorly on covariate shifts (C-OOD) introduced by real-world environmental and sensor variations. This suggests a need to redefine and broaden the scope of OOD detection.
  • Sensor control is a powerful tool: Optimizing camera sensor parameters can significantly improve model accuracy, sometimes even outperforming larger models or those trained with advanced domain generalization techniques. This highlights that the input quality and characteristics are as crucial as the model architecture.
  • Human aesthetics vs. model preference: Images that are visually appealing to humans don't necessarily lead to the best model predictions. Sensor control should be guided by what features the model prefers, not just human intuition.
  • Environment/sensor augmentations help: Learning from variations in light and camera sensor parameters, in addition to digital augmentations, provides valuable information that improves robustness on both new (ImageNet-ES) and existing (ImageNet-C) benchmarks.

Key Results

  • OOD Detection Failure: State-of-the-art OOD methods showed widely spread OOD scores on ImageNet-ES, indicating they struggle to reliably distinguish ID from C-OOD data.
  • Sensor Control Gains: In the "Best params" scenario (optimal sensor settings), prediction accuracy improved by 9.9-47.9% over auto-exposure and 14.6-29.9% over "All params" (all manual settings). EfficientNet-B0 with "Best params" even outperformed a much larger OpenCLIP-h model in auto-exposure/all-params settings.
  • Environmental Factor Impact: Lighting conditions (on vs. off) caused accuracy differences of 2.4-4.4% for auto-exposure and up to 18.2% for manual settings, demonstrating the significant impact of environmental factors.
  • Domain Generalization: Learning environment/sensor-domain perturbations improved robustness on ImageNet-ES and also enhanced performance on the conventional ImageNet-C benchmark.

Limitations and Future Work

  • ES-Studio Limitations: The current ES-Studio setup uses displays to present images, which might not fully capture interactions with real 3D objects and their non-luminous properties. Future work could replace displays with actual objects or printed photos.
  • Digital Post-processing: While sensor control handles physical light, it needs to be combined with digital post-processing for applications like autonomous driving.
  • Gradient Computation: Computing gradients for sensor control training might require additional data or specific techniques.
  • Broader OOD Scope: The paper advocates for extending OOD detection to better handle both semantic (S-OOD) and covariate (C-OOD) shifts, suggesting that current methods are biased towards S-OOD.
  • Model-Centric Sensor Design: Future research should focus on designing sensor control strategies that cater to model preferences rather than solely human aesthetics.

Summary updated

BibTeX
@inproceedings{baek2024unexplored,
  author = {Eunsu Baek and Keondo Park and Ji-yoon Kim and Hyung-Sin Kim},
  title = {{Unexplored Faces of Robustness and Out-of-Distribution: Covariate Shifts in Environment and Sensor Domains}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
}
Figure