Guiding a Harsh-Environments Robust Detector via RAW Data Characteristic Mining

Hongyang Chen, Hung-Shuo Tai, Kaisheng Ma

Introduction

Computer vision systems in autonomous vehicles and surveillance often struggle in "harsh environments" such as heavy snow, fog, or low-light conditions. Traditionally, these systems operate on RGB images processed by an Image Signal Processor (ISP). While ISPs make images visually appealing for humans, they introduce non-linearities and discard high-bit-depth information crucial for machine perception. This paper proposes a paradigm shift: training object detectors directly on RAW sensor data to leverage its linear physical properties and superior information density.

The Semantic Information Advantage

The core motivation for using RAW data lies in the "information gap" created by standard image processing. ISPs are designed for human aesthetics, often crushing details in shadows or amplifying noise during tone mapping. In contrast, RAW data maintains a linear relationship with the photons hitting the sensor, preserving a richer semantic and structural representation of the scene.

Comparison of semantic information richness between RAW and RGB data across various object categories.

As shown in the analysis above, RAW data consistently provides higher mean values for semantic information across various object classes compared to processed RGB data. This "buffer" of information allows detectors to remain robust even when environmental conditions degrade the visual quality of the scene.

Proposed Methodology: Mining RAW Characteristics

To effectively utilize RAW data, the authors introduce three key technical innovations:

  1. Pipeline for RAW Detection (PRD): Instead of standard demosaicing, which interpolates missing color values, the authors use a "packing" strategy. A $2 \times 2$ Bayer block (R, G, G, B) is reorganized into four separate input channels. This preserves the original signal integrity and effectively doubles the receptive field of the initial network layers.
  2. Normalization Range Tuning: Unlike 8-bit RGB images, RAW data features 10–16 bits of depth. The authors implement a dynamic normalization strategy that respects this higher bit depth, preventing the loss of semantic richness that occurs with standard $[0, 1]$ scaling.
  3. Functional Regularization (FR): A specialized activation function is designed to handle the unique noise profiles of RAW data. By combining the benefits of Swish and ReLU6 with a specific upper bound, the model can better manage high dynamic range outliers without destabilizing training.
Visual comparison of different data formats: RAW-Bayer, RAW-RGB, RAW-Packed, and standard RGB.

Experimental Evaluation

The proposed approach was tested against several benchmarks, including a new RAW Corruption Benchmark (RCB) designed to simulate realistic environmental stressors like snow, frost, and fog directly on RAW data.

The results demonstrate a significant performance leap:

  • Extreme Weather Robustness: In snowy conditions (LOD-Snow), the RAW-based detector achieved a 13.9 mAP improvement over its RGB counterpart.
  • Low-Light Performance: On nighttime datasets, accuracy improved by up to 4.6 mAP.
  • Inference Efficiency: By bypassing the computationally expensive ISP and restoration steps, the detection pipeline achieved a 3.02x speedup using CenterNet.

Conclusion

Bypassing the traditional ISP in favor of RAW data characteristic mining offers a robust solution for computer vision in challenging environments. While hardware specificity and data collection remain hurdles, the significant gains in both accuracy and inference speed suggest that RAW-based detection is a vital direction for safety-critical autonomous systems. Future work may explore cross-sensor generalization to make these models more versatile across different camera hardwares.

Summary updated

BibTeX
@inproceedings{chen2024guiding,
  author = {Hongyang Chen and Hung-Shuo Tai and Kaisheng Ma},
  title = {{Guiding a Harsh-Environments Robust Detector via RAW Data Characteristic Mining}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i2.27867},
}
Figure