[Paper Review] Systematic Testing of Convolutional Neural Networks for Autonomous Driving
This paper presents a systematic framework for testing convolutional neural networks (CNNs) in autonomous driving by generating realistic synthetic images through controlled parameterization of scene elements. By combining a customizable image generator, adaptive sampling strategies (including Bayesian optimization), and visualization tools, the method identifies detection blind spots and performance degradation patterns in CNNs like SqueezeDet and YOLO, revealing critical failure cases such as misclassification of cars in specific spatial regions or at long distances.
We present a framework to systematically analyze convolutional neural networks (CNNs) used in classification of cars in autonomous vehicles. Our analysis procedure comprises an image generator that produces synthetic pictures by sampling in a lower dimension image modification subspace and a suite of visualization tools. The image generator produces images which can be used to test the CNN and hence expose its vulnerabilities. The presented framework can be used to extract insights of the CNN classifier, compare across classification models, or generate training and validation datasets.
Motivation & Objective
- To address the challenge of verifying deep neural networks in safety-critical autonomous driving systems where formal verification is infeasible.
- To systematically identify failure cases and robustness vulnerabilities in CNN-based object detectors without relying on adversarial perturbations.
- To generate diverse, realistic training and validation datasets tailored to specific road scenarios for improved model development.
- To enable comparative analysis of different CNN architectures (e.g., SqueezeDet vs. YOLO) using visualized performance metrics across spatial configurations.
- To provide a scalable, user-configurable toolchain for probing CNN behavior under controlled environmental variations.
Proposed method
- The framework uses a parametric image generator that composes realistic road scenes by arranging objects (e.g., cars, backgrounds) and tuning image parameters (brightness, contrast, saturation) while preserving aspect ratios.
- A modification space is defined over these parameters, and sampling techniques—including Halton sequences for uniform coverage and Bayesian optimization (GP-LCB) for targeted failure discovery—are used to explore it.
- The Bayesian optimization component models the CNN’s prediction confidence and IOU as a Gaussian process, using the lower confidence bound to balance exploration and exploitation in finding misclassified images.
- The system collects and stores image configurations, generated images, and CNN outputs (labels, confidence, IOU) in a data structure for analysis.
- Visualization tools map car positions (x, y) to spatial coordinates, with color indicating prediction confidence and marker size indicating IOU, enabling spatial identification of detection failures.
- The framework supports integration with multiple CNNs (e.g., SqueezeDet, YOLO, KittiBox) and allows customization of backgrounds and vehicle models.
Experimental results
Research questions
- RQ1How can we systematically generate realistic, diverse training and test images to probe CNN behavior in autonomous driving scenarios?
- RQ2What are the spatial and environmental conditions under which CNN-based object detectors fail, such as blind spots or reduced accuracy at long distances?
- RQ3How can Bayesian optimization be used to efficiently discover adversarial-like failure cases without perturbing real images?
- RQ4To what extent can visualization of confidence and IOU across image configurations reveal architectural differences between CNN models?
- RQ5Can a synthetic dataset generation framework effectively support model benchmarking and robustness analysis in safety-critical applications?
Key findings
- SqueezeDet exhibited a distinct blind spot for cars positioned in the middle-right region of the road, indicated by a cluster of low-confidence (blue) predictions in the visualization.
- YOLO showed a significant drop in both confidence and IOU as the distance of the car from the camera increased, revealing a performance degradation trend with object distance.
- The framework successfully identified a failure region in YOLO for cars located on the far left of the scene, where detection confidence dropped sharply.
- The use of Halton sampling enabled even coverage of the modification space, while GP-LCB optimization efficiently located high-risk configurations with minimal sampling.
- Visual comparison of SqueezeDet and YOLO using the same synthetic dataset revealed clear differences in detection robustness and spatial sensitivity.
- The framework demonstrated practical utility in identifying model-specific vulnerabilities, supporting model selection and improvement in autonomous driving systems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.