3D Common Corruptions and Data Augmentation

Oguzhan Fatih Kar, Teresa Yeo, Andrei Atanov, Amir ZamirCVPR 2022

Abstract

We introduce a set of image transformations that can be used as corruptions to evaluate the robustness of models as well as data augmentation mechanisms for training neural networks. The primary distinction of the proposed transformations is that, unlike existing approaches such as Common Corruptions, the geometry of the scene is incorporated in the transformations -- thus leading to corruptions that are more likely to occur in the real world. We also introduce a set of semantic corruptions (e.g. natural object occlusions). We show these transformations are 'efficient' (can be computed on-the-fly), 'extendable' (can be applied on most image datasets), expose vulnerability of existing models, and can effectively make models more robust when employed as '3D data augmentation' mechanisms. The evaluations on several tasks and datasets suggest incorporating 3D information into benchmarking and training opens up a promising direction for robustness research.

Introduction

Computer vision models frequently encounter performance degradation when faced with data that deviates from their training distribution, a challenge known as distribution shift. Current robustness benchmarks, such as 2D Common Corruptions (2DCC), typically rely on uniform image filters like Gaussian noise or basic motion blur. However, these 2D filters fail to account for the geometric complexity of the physical world. In reality, motion blur exhibits parallax, fog density correlates with depth, and lighting interacts with 3D surfaces. This paper introduces 3D Common Corruptions (3DCC), a suite of transformations designed to bridge this gap by incorporating scene geometry into the corruption process.

Methodology

The core of 3DCC is the integration of 3D scene information, such as depth maps and meshes, to generate physically plausible distortions. The authors developed 20 distinct corruptions across several categories:

  • Depth of Field: Simulates focus effects by blurring image layers based on their distance from the camera.
  • Camera Motion: Generates realistic motion blur by projecting images into 3D point clouds and simulating virtual camera movement.
  • Lighting: Utilizes 3D meshes to cast realistic shadows or simulate camera flashes.
  • Weather & Physics: Implements 3D fog with depth-dependent density and semantic occlusions where objects naturally hide one another.
  • Video & Noise: Addresses temporal artifacts and sensor-specific noise.
Comparison of 2D corruptions, 3D corruptions, and clean images across various categories, highlighting how 3D information creates more physically plausible distortions.

For datasets lacking ground-truth 3D data, the framework employs pre-trained depth estimation models (e.g., MiDaS) to infer geometry, making 3DCC applicable to standard 2D datasets like ImageNet.

Experimental Setup

The effectiveness of 3DCC was evaluated using a diverse set of datasets:

  • Taskonomy: Primary dataset for training and benchmarking, featuring indoor scenes with full 3D labels.
  • Replica: Used to validate the accuracy of predicted depth maps.
  • ImageNet & COCO: Standard benchmarks to test generalization to "in-the-wild" scenarios.
  • Hypersim: Used for comparison against high-fidelity, expensive renders.
  • OASIS: Real-world images used to evaluate performance on un-corrupted natural scenes.

Results and Discussion

The study yielded several key insights:

  • Vulnerability Exposure: Models optimized for 2D robustness showed significant performance drops when tested against 3D-aware corruptions, indicating that 2D benchmarks provide an incomplete picture of model resilience.
  • Efficiency as a Proxy: 3DCC error rates correlate highly (0.80) with those from professional-grade renders, establishing it as a computationally efficient proxy for complex simulations.
  • Augmentation Benefits: Using 3DCC as a data augmentation strategy improved model accuracy not only on synthetic noise but also on clean, real-world images from the OASIS dataset.
  • Robustness Gains: Models trained with 3D augmentation achieved superior performance. On the 2DCC benchmark, the error rate of the baseline model dropped from 8.15 to 5.32 when 3D augmentation was applied.

Conclusion

3D Common Corruptions provide a more realistic and challenging benchmark for evaluating AI robustness. By incorporating geometric information, researchers can identify vulnerabilities that 2D filters miss and train models that are better prepared for real-world deployment. Future work includes expanding the set of corruptions and exploring their utility in tasks like object detection and self-supervised learning.

Summary updated

BibTeX
@inproceedings{kar2022d,
  author = {Oguzhan Fatih Kar and Teresa Yeo and Andrei Atanov and Amir Zamir},
  title = {{3D Common Corruptions and Data Augmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
  url = {https://openreview.net/forum?id=9M-ejAHvYB},
}
Figure