Abstract
Robustness in computer vision is frequently evaluated using synthetic benchmarks like ImageNet-C, which rely on simplistic blur models such as Gaussian or disk filters. However, real-world optical systems exhibit complex aberrations—including coma, astigmatism, and trefoil—that are not captured by these proxies. This paper introduces OpticsBench and LensCorruptions, two novel benchmarks designed to bridge the gap between idealized synthetic blur and realistic optical engineering. By leveraging Zernike polynomials and ray-tracing through physical lens prescriptions, the authors demonstrate that current state-of-the-art models are significantly more fragile than previously understood. To address this, the paper proposes OpticsAugment, a training-time data augmentation tool that substantially improves model resilience to both lens imperfections and general image corruptions.
Introduction
In the development of safety-critical systems, such as autonomous vehicles or medical imaging diagnostics, the reliability of computer vision models under varying environmental conditions is paramount. While existing robustness benchmarks simulate "blur," they often do so using uniform, isotropic kernels. In reality, camera lenses are subject to manufacturing tolerances, thermal expansion, and aging, all of which introduce optical aberrations. These imperfections cause light to spread in non-uniform, directional, and color-distorted ways.
This research argues that standard "defocus" is a poor proxy for the messy reality of optical systems. By introducing more physically grounded benchmarks, the authors reveal that models which appear robust to Gaussian blur may still fail catastrophically when faced with realistic lens distortions like coma or astigmatism.
Methodology
The study employs two primary methods to simulate realistic optical corruptions:
- Zernike Polynomials: The authors utilize these mathematical functions to describe complex wavefront deformations. This approach allows for the isolation of specific "primary aberrations"—such as coma, trefoil, and spherical aberration—enabling controlled testing of how specific lens defects impact model performance.
- Ray Tracing: To create the more advanced LensCorruptions dataset, the researchers performed ray-tracing through 100 real-world lens prescriptions sourced from patent literature. This process generates authentic Point Spread Functions (PSFs) that account for how blur changes dynamically from the center of the lens to the edges (field height).
To mitigate the observed performance drops, the authors developed OpticsAugment. This is an efficient training-time augmentation strategy that convolves images on-the-fly with a variety of realistic optical kernels, forcing models to learn features that are invariant to lens-specific distortions.
Benchmarking Optical Robustness
The paper introduces two major datasets for evaluating computer vision tasks:
- OpticsBench: Focuses on primary aberrations (defocus, astigmatism, coma, trefoil, and spherical) across five levels of severity.
- LensCorruptions: A massive collection of 500 corrupted datasets based on 100 real lens designs, specifically modeling the spatial variance of blur across the image frame.
These benchmarks were used to evaluate standard models on ImageNet-1k/100 for classification and MSCOCO/NuImages for object detection.
Key Insights and Results
The Fragility of Current Models
The experimental results reveal a significant "performance collapse." On average, the accuracy of pre-trained ImageNet models plummeted from 76.6% to 42.7% when tested on OpticsBench. Object detection models showed similar fragility; on the MSCOCO dataset, the mean Average Precision (mAP) dropped from 46.8 to 25.7. Interestingly, while classification errors (misidentifying objects) doubled, localization errors (bounding box accuracy) occasionally decreased, likely because the blur smoothed out high-frequency background noise.
Spatial and Directional Sensitivity
The research highlights that optical quality is rarely uniform across a frame. Model performance drops most sharply as objects move toward the edges of the image, where lens aberrations are typically most severe. Furthermore, aberrations like astigmatism introduce directional blur. While Vision Transformers (ViTs) showed slightly more resilience to these directional distortions than traditional Convolutional Neural Networks (CNNs), no architecture remained immune to the effects.
The Efficacy of OpticsAugment
Models trained using OpticsAugment achieved an average 18% performance gain on OpticsBench compared to conventionally trained models. Perhaps more importantly, this training also improved performance on standard 2D corruptions (such as noise and weather) by over 5%. This suggests that learning to handle complex optical blur encourages the model to develop more generalizable and robust features.
Discussion and Future Work
While this paper provides a critical reality check for the computer vision community, the authors note several areas for future expansion. The current study focuses primarily on the lens and does not yet account for sensor-level noise, the Image Signal Processor (ISP) pipeline, or phenomena like lens flare and scattering. Additionally, the mapping of web-crawled images to physical lens models required the approximation of a "virtual pixel size."
Future research directions include integrating these optical models with full sensor simulations to create a "digital twin" of the entire imaging pipeline. Such a system would allow for even more rigorous safety testing and the development of models that are truly ready for the complexities of the physical world.
Summary updated