Flight Software

Certifying machine learning in flight software: what DO-178C does not answer yet

Every team that wants to put a learned model into an aircraft eventually runs into the same wall. The software that flies has to be approved under DO-178C, and DO-178C was written for code that does what its requirements say. Machine learning does not work that way, and the guidance is still catching up.

What DO-178C assumes

DO-178C is the framework the FAA, EASA, and most other civil authorities use to approve airborne software. It sorts every function by how bad a failure would be, and it assigns a Design Assurance Level accordingly. Level A covers software whose failure is catastrophic. Level B is hazardous, Level C is major, Level D is minor, and Level E covers software whose failure has no effect on safety. The higher the level, the more evidence you owe.

The objectives themselves are familiar to anyone who has been through a certification program. You plan the effort, write requirements, trace design and code back to those requirements, verify against them, manage configuration, and hold the whole chain together with traceability. Structural coverage analysis, up to modified condition and decision coverage, or MC/DC, at Level A, confirms that your tests actually exercised the code you wrote. The unstated assumption underneath all of it is that the software is deterministic and requirements driven. Someone decided what the code should do, wrote it down, implemented it, and then proved the implementation matches the intent.

Where machine learning breaks those assumptions

A learned model does not have that lineage. Its behavior comes from data, not from a requirement an engineer wrote. Nobody sat down and specified the weights in a neural network the way they would specify a control law. The model was trained until its output on a data set was good enough, which means the source of truth is the data and the training process, not a document.

That single fact pulls the rug out from under several DO-178C objectives at once. Requirements based test coverage assumes there are requirements to test against at the level of the code. Structural coverage such as MC/DC assumes the structure encodes decisions a human specified. Neither maps cleanly onto a matrix of learned parameters. You can measure whether your tests touched every neuron, and it tells you almost nothing about whether the model is safe. On top of that, the model is statistical rather than deterministic. It produces a most likely answer, and its confidence degrades gracefully or ungracefully as inputs drift away from what it saw in training. Traditional coverage metrics have no way to express that.

DO-178C Design Assurance Levels and where machine learning fits today A ladder of the five Design Assurance Levels from A, catastrophic, at the top down to E, no effect, at the bottom. A shaded band marks levels D and E as realistically certifiable for machine learning today, while levels A, B, and C are marked as an unsolved region for higher assurance. Design Assurance Levels and where ML fits Unsolved region Higher assurance ML needs new methods Certifiable today Low criticality first, advisory functions Level A Catastrophic failure Level B Hazardous failure Level C Major failure Level D Minor failure Level E No safety effect More assurance required going up
Machine learning is most defensible at the lower assurance levels today. The higher levels remain an open problem.

What is realistically certifiable today

The practical answer is to start low. Machine learning is most defensible at the lower Design Assurance Levels and in advisory roles, where a wrong output is a nuisance rather than a hazard. That is where the current guidance has the most to say.

EASA has published a concept paper on the use of artificial intelligence that sets out how learned functions can be brought toward approval, and it structures the problem by levels of machine learning application. Level 1 covers assistance to human oversight, and Level 2 covers human and machine teaming where the system has more autonomy but a person remains in the loop. The paper gives real structure to those cases, including expectations around data quality, learning assurance, and explainability. What it does not yet give is a complete, settled route for the highest criticality functions. Detailed guidance for higher assurance levels is still years out, and honest programs plan around that gap rather than assuming it will close on their schedule. This is an evolving state, not a finished rulebook, and it will keep moving.

The data set becomes part of the configuration

The most useful shift in thinking is to treat the data with the discipline you already apply to code. If behavior comes from data, then the data set is a configuration item. The training data, the validation data, and the process that manages them need the same rigor that source code gets: version control, change records, review, and the ability to say exactly which data produced which model.

It follows that you are validating more than an artifact. You are validating the learning process that produced the model and the operational domain it was trained for. A model is only trustworthy inside the conditions it saw, so the operational design domain, the bounded set of conditions the function is allowed to run in, becomes a requirement in its own right. Verifying a learned function means showing that the data represented that domain, that the training process was sound, and that the model behaves acceptably across the domain, not just that one delivered binary passes a test.

Deterministic code versus machine learning and the evidence each needs A two column contrast. Deterministic code is written to requirements, uses MC/DC structural coverage, and gives the same output for the same input, with evidence from requirements based tests and traceability. Machine learning is learned from data, behaves statistically, treats the data set as part of the configuration, and is bounded by an operational domain, with evidence from data provenance, model version, and a validated learning process. Two kinds of software, two kinds of evidence Deterministic code Written to requirements MC/DC structural coverage Same input, same output Evidence it needs Requirements based tests Traceability to code Structural coverage Machine learning Learned from data Statistical behavior Data set is configuration Operational domain bounded Evidence it needs Data provenance Model version and environment Validated learning process
The evidence for a learned function is different in kind, not just in degree.

What a program can do now

None of this means waiting. There is a workable path that lets a program use machine learning today while the guidance matures, and it comes down to a few decisions made early.

Keep the learned function at a low Design Assurance Level or in an advisory role wherever the concept of operations allows it. When you need the benefit of a model behind something more critical, wrap it in a deterministic monitor. The monitor is conventional, certifiable code that checks the model output against bounds, plausibility, or a simpler independent estimate, and it takes a safe action when the model strays. The assurance argument then rests on the monitor, which you can certify by established means, rather than on the model alone.

Treat the operational design domain as a bounded requirement and hold the system to it, including detecting when inputs fall outside it. Above all, build the evidence trail from the first day of the project. Record data provenance, freeze and version every model, capture the training and verification environment, and keep the link from data to model to test result intact. Retrofitting that history onto a model that is already trained is painful and often impossible, and the absence of it is what stalls otherwise sound work in front of a certification authority.

It also helps to be conservative about scope. A narrow function with a clearly bounded domain is far easier to argue than a general one, because you can characterize what the model sees and show that your data covered it. Resist the temptation to let a model take on more responsibility than the safety case can support, and keep the human or the monitor firmly in the decision path until the evidence justifies loosening it. The programs that make progress here are the ones that scope the learned function tightly and grow it only when they can show the assurance keeps up.

The honest position

The current frameworks give a solid baseline. DO-178C remains the right foundation, and the EASA concept paper shows a credible way to reason about lower level machine learning functions. What they do not yet provide is a complete route for high criticality learned functions, and closing that gap will take real innovation in testing methods, in explainability, and in how regulators and industry agree on what enough evidence looks like.

The mistake is to read that as a reason to wait. The discipline that a certifiable machine learning function will eventually require, rigorous data management, bounded operational domains, versioned models, and a monitor around anything that matters, is worth building now regardless of where the guidance lands. Teams that start the evidence habit early will be ready when the higher level guidance arrives. Teams that wait for perfect rules will start that work from zero, under schedule pressure, with models they cannot fully account for.

Working on something like this?

We would rather have the technical conversation than the sales one.

Talk to us