Deep Neural Network Compression for Aircraft Collision Avoidance Systems

Kyle D. Julian, Mykel J. Kochenderfer, Michael P. OwenarXiv 2018

Introduction

The Airborne Collision Avoidance System X (ACAS Xu) represents the state-of-the-art in safety logic for unmanned aircraft. By utilizing dynamic programming, the system generates optimal horizontal maneuvers to prevent mid-air collisions. However, the implementation of ACAS Xu faces a significant deployment hurdle: the resulting lookup table requires over 2GB of storage. This footprint exceeds the capacity of certified legacy avionics hardware, which often operates with extremely limited memory. Researchers from Stanford and MIT Lincoln Laboratory have addressed this by replacing the massive lookup tables with Deep Neural Networks (DNNs), achieving a 1000x reduction in storage while maintaining or even improving safety performance.

The Challenge of Legacy Avionics

Certified avionics hardware is subject to rigorous and expensive certification processes, leading to the continued use of older systems with restricted memory (often <120MB). The original ACAS Xu logic, stored as a numeric table of scores for millions of discrete states, is too large for these platforms. Previous attempts at compression, such as decision trees, either failed to reach the necessary size reduction or introduced unacceptable errors in the collision avoidance policy.

Neural Network Function Approximation

The researchers transitioned from traditional data compression to function approximation using an array of 45 small Deep Neural Networks. This approach leverages the ability of DNNs to represent complex, high-dimensional functions compactly.

The DNN architecture takes seven state inputs to predict Q-values for five possible horizontal advisories.

To ensure the networks met safety and performance requirements, three key strategies were employed:

  1. Asymmetric Loss Function: Rather than standard Mean Squared Error, a custom loss function was used to penalize misranking the optimal advisory more heavily than minor score discrepancies. This ensures the "policy" (the chosen action) remains correct even if exact scores vary.
  2. Multi-Network Array: To overcome latency issues where a single large network was too slow, the state space was partitioned into 45 sub-networks based on discrete variables like the previous advisory. This allowed for execution speeds slightly faster than the original table.
  3. Analytical Discontinuity Handling: Sharp jumps in the original data, which are difficult for continuous DNNs to learn, were removed during training and reapplied analytically at runtime.

Results and Compression Performance

The DNN-based approach successfully compressed the 2GB lookup table into a 2.4MB array of networks—a 1000x reduction. In simulations involving 10 million encounters, the neural network version demonstrated a lower probability of Near Mid-Air Collisions (P(NMAC)) than the original table (1.272 × 10⁻⁴ vs 1.546 × 10⁻⁴).

Comparison of compression performance: the Neural Network achieves significantly lower error at a fraction of the size of decision trees or the original table.

As shown in the figure above, the neural network (represented by the square) occupies a unique position in the design space, offering minimal policy error at a storage size orders of magnitude smaller than the original table (the star) or comparable decision tree models.

Conclusion and Future Work

This work demonstrates that Deep Neural Networks can effectively compress safety-critical lookup tables by three orders of magnitude without compromising safety. While the results are promising, future challenges include the formal verification of these models using tools like "Reluplex" and the establishment of regulatory frameworks for certifying neural networks in aviation. Extending this methodology to high-dimensional vertical maneuvers remains a key area for future research.

Summary updated

BibTeX
@misc{julian2018deep,
  author = {Kyle D. Julian and Mykel J. Kochenderfer and Michael P. Owen},
  title = {{Deep Neural Network Compression for Aircraft Collision Avoidance Systems}},
  year = {2018},
  eprint = {1810.04240},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1810.04240},
}
Figure