← Latest papers
🤖 AI

On the Applicability of Safety Nets: A Safety-By-Design Solution for Certifying Neural Networks

This paper presents a systematic analysis and open-source implementation of Safety Nets, a Safety-by-Design solution that combines optimized neural networks with compact lookup tables to achieve 100% runtime correctness and drastically reduced memory footprints, thereby enabling the certification of AI-based systems for safety-critical aviation applications.

Original authors: Johann Maximilian Christensen, Thomas Stefani, Elena Hoemann, Frank Köster, Sven Hallerbach

Published 2026-08-21
📖 5 min read🧠 Deep dive

Original authors: Johann Maximilian Christensen, Thomas Stefani, Elena Hoemann, Frank Köster, Sven Hallerbach

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Aviation has long been the gold standard for safety, a realm where human error is minimized by rigorous engineering and strict rules. Yet, as the skies fill with more aircraft and the number of available pilots shrinks, the industry is turning to artificial intelligence to help manage the workload. The challenge is that these new computer systems must be as reliable as the mechanical ones they replace, a requirement that is difficult to meet when the software learns from data rather than following a fixed set of instructions. In the specific case of preventing mid-air collisions, the traditional method relies on massive lookup tables—essentially giant instruction manuals that tell the computer exactly what to do in every possible situation. These tables are so large that they would overwhelm the memory of current aircraft computers, making them impossible to install. To solve this, engineers have tried to compress these instructions into smaller, smarter programs using neural networks, which are computer systems designed to mimic the way the human brain recognizes patterns. However, because these neural networks can make mistakes, regulators require a way to guarantee they will never fail in a critical moment.

Researchers at the German Aerospace Center have developed a solution called a "safety net" to bridge this gap, and they have now systematically tested how to make these nets as small and efficient as possible. Their work focuses on two specific collision-avoidance systems: one that tells a pilot when to turn left or right, and another that advises when to climb or descend. The core idea is simple but powerful: use a neural network to handle the vast majority of situations, but keep a small, perfect backup list for the rare cases where the network might get confused. The researchers treated the size of the neural network and the size of this backup list as a balancing act. They wanted to find the exact shape and size of the neural network that would make the backup list as tiny as possible without making the network itself too big to fit on the plane.

To find this sweet spot, the team ran thousands of experiments, tweaking the internal structure of the neural networks like a mechanic adjusting an engine. They tested different types of mathematical functions that help the network learn, varying the number of layers within the network, and changing how many processing units were in each layer. They also experimented with different ways of teaching the network, such as asking it to predict a specific value versus simply asking it to choose the single best option from a list. The results were surprisingly specific. The team discovered that the most efficient designs were not the most complex ones. Instead, networks with three to five layers, each containing roughly fifty to one hundred processing units, struck the perfect balance. Furthermore, they found that a standard mathematical function known as ReLU worked better than more advanced alternatives, and that teaching the network to simply pick the best choice worked far better than asking it to calculate complex numbers.

When these optimal settings were applied, the results were dramatic. For the system that handles horizontal turns, the combined size of the neural network and the backup list shrank to just 4.76 megabytes. For the vertical system, which deals with climbing and descending, the total size was 222.83 megabytes. These numbers represent a massive reduction from the original instruction manuals, which would have required four gigabytes of memory—roughly a thousand times more space than the new system for the turning scenario. This reduction means the system can now fit comfortably on the computers currently used in aircraft, a feat that was previously impossible. The researchers also confirmed that the system is incredibly fast, making decisions in microseconds, which is far quicker than the one-second update cycle required for flight safety.

Perhaps most importantly, the study proved that this approach meets the strictest safety standards. Because the backup list contains the correct answer for every single situation the neural network might get wrong, the combined system is guaranteed to be 100 percent correct across the entire range of possible flight scenarios. This means the system does not rely on probability or hope; it is mathematically certain to provide the right advice. The researchers released all their code and data to the public, allowing other engineers to verify their findings and build upon them. By demonstrating that a neural network can be paired with a small, perfect backup to create a system that is both compact and infallible, this work provides a clear, practical path toward certifying artificial intelligence for use in the most safety-critical parts of aviation. The study shows that with the right design, we can have the adaptability of machine learning without sacrificing the absolute reliability that keeps passengers safe in the sky.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →