Introduction
In safety-critical aviation applications, machine learning models must demonstrate robustness against distribution shifts—variations in weather, lighting, or geography that differ from training data. Traditional computer vision benchmarks often rely on static performance metrics like mean Average Precision (mAP). However, for autonomous systems, mAP is an incomplete metric; a high-scoring model might fail in rare environmental conditions, leading to catastrophic outcomes. AVOIDDS addresses this by providing an end-to-end benchmark for vision-based aircraft "detect-and-avoid" (DAA) systems, evaluating both detection performance and downstream safety in a closed-loop simulator.
Methodology
The AVOIDDS framework bridges the gap between isolated detection and system-level safety through four key components:
- Data Generation: Photorealistic images with automated bounding box labels were programmatically generated using the X-Plane 11 flight simulator.
- Baseline Modeling: A YOLOv8s model was trained on the full dataset, alongside an "alternative" model trained on a restricted "nominal" subset (clear skies, midday, single location) to evaluate generalization capabilities.
- Closed-Loop Simulation: A simulator integrates the trained detection model into a flight control loop. The perception system detects intruders and passes state estimates to a VerticalCAS controller, which issues avoidance maneuvers such as "Climb" or "Descend."
- Safety Metrics: Beyond precision and recall, the system measures the frequency of Near Mid-Air Collisions (NMAC), defined as aircraft coming within 500 ft horizontally and 100 ft vertically.
The AVOIDDS Dataset
The dataset comprises 72,000 photorealistic images (64,800 training and 7,200 validation). It is designed for high diversity across several axes:
- Environmental Diversity: Includes six weather types (ranging from Clear to Overcast), four geographic regions (Palo Alto, Reno, Boston, and Oshkosh), and various times of day.
- Intruder Variety: Features three aircraft types—Cessna Skyhawk, King Air C90, and Boeing 737-800—to account for varying visual profiles and sizes.
- Metadata: Each image includes precise annotations for relative geometry, lighting, and weather, enabling detailed failure analysis.
Experimental Analysis and Insights
- The "Camouflage" Effect: Counterintuitively, detection performance was often lower in clear weather than in certain cloudy conditions. Clouds can provide a high-contrast background, whereas clear skies may force models to distinguish aircraft against complex, cluttered ground terrain.
- mAP vs. Safety: Results confirmed that high mAP does not guarantee safety. While generally correlated, models with similar mAP scores exhibited different collision frequencies in the simulator, underscoring the necessity of closed-loop testing.
- Nominal Training Risks: Models trained only on "nominal" (clear-day) data performed significantly worse across most categories, highlighting the importance of intentional dataset curation for high-stakes AI.
- Temporal Weak Points: Performance dropped significantly during "Late Afternoon" (near dusk) due to lower light levels and longer shadows, suggesting a potential need for sensor fusion (e.g., infrared) in future systems.
Key Results
The baseline YOLOv8s model achieved an overall mAP of 0.866. In the closed-loop simulator, this model resulted in an NMAC frequency of 0.143. In contrast, the model trained on limited "nominal" data had a higher collision rate of 0.165. Interestingly, while the Boeing 737 was the easiest to detect (highest mAP), its NMAC frequency was not the lowest, suggesting its larger physical size makes it a more difficult target to clear safely once a conflict is detected.
Conclusion and Future Work
While AVOIDDS provides a robust benchmark, the sim-to-real gap remains a challenge; models trained in X-Plane 11 may require further validation for real-world hardware. Future work could incorporate state uncertainty into the control logic, as the current simulator assumes perfect state information post-detection. These models are intended as research benchmarks and are not yet ready for deployment in safety-critical aviation systems.
The AVOIDDS dataset and code are available on GitHub.
Summary updated