How to Certify Machine Learning Based Safety-critical Systems? A Systematic Literature Review

Florian Tambon, Gabriel Laberge, Le An, Amin Nikanjam, Paulina Stevia Nouwou Mindom, Yann Pequignot, Foutse Khomh, Giulio Antoniol, Ettore Merlo, François LavioletteAutom. Softw. Eng 2021 · DOI

Introduction

Machine learning (ML) is increasingly being integrated into safety-critical systems (SCS), ranging from autonomous vehicles to unmanned aerial systems. However, the transition from traditional software to ML-based logic presents a fundamental challenge for safety certification. Traditional software certification standards, such as ISO 26262 for automotive and DO-178C for aviation, are built on the premise of deductive logic—where human-written code follows explicit, verifiable rules.

In contrast, ML models are inductive; they learn patterns from data, resulting in "black box" behaviors that are difficult to interpret or prove safe. This systematic literature review (SLR) analyzes 217 papers to map the current landscape of ML certification, identifying the technical pillars required to bridge the gap between experimental ML and certified safety-critical deployment.

The Certification Gap: Deductive vs. Inductive Logic

In traditional software engineering, safety is ensured by verifying that the implementation matches the requirements. Because the logic is explicit, engineers can trace every decision path. ML introduces a paradigm shift where the internal logic is defined by millions of parameters optimized during training. This complexity makes it nearly impossible to "read" the code to guarantee safety. The core question facing the industry is: how do we adapt or invent certification processes to provide the same level of assurance for inductive models that we currently have for deductive software?

Methodology

To answer this, the authors conducted a rigorous Systematic Literature Review (SLR) covering research published between 2015 and September 2020.

  • Search and Filter: Starting with over 13,000 candidate papers from databases like IEEE Xplore, ACM, and Google Scholar, the authors applied strict inclusion and exclusion criteria.
  • Final Selection: The review focused on 217 highly relevant papers that specifically addressed the intersection of ML and safety certification.
  • Taxonomy Development: The authors synthesized these findings into a novel taxonomy, categorizing the research into six distinct technical pillars.

The Six Pillars of ML Certification

The research landscape is currently divided into six primary areas of focus, each addressing a different facet of the safety problem:

  1. Robustness: Research into ensuring models remain stable when faced with adversarial attacks or environmental noise.
  2. Uncertainty & Out-of-Distribution (OOD): Techniques that allow a model to quantify its own confidence and flag instances where it is operating outside its training data.
  3. Explainability: Methods to open the "black box," providing human-understandable rationales for model decisions.
  4. Verification: The use of formal mathematical methods (e.g., reachability analysis) or advanced testing metrics (e.g., neuron coverage) to prove specific model properties.
  5. Safe Reinforcement Learning: Methods to constrain RL agents during the exploration phase to prevent catastrophic actions in physical environments.
  6. Direct Certification: High-level frameworks that attempt to draft new standards or adapt existing ones (like SOTIF) specifically for ML.

Key Findings and the "Oracle Problem"

The review highlights several critical trends and bottlenecks in the field:

  • Deep Learning Dominance: 74.1% of the reviewed literature focuses on Deep Neural Networks (DNNs), reflecting the industry's push toward complex vision and control tasks.
  • The Oracle Problem: In traditional testing, an "oracle" (a known ground truth) is used to verify outputs. In many ML applications, such as real-time perception, a perfect oracle does not exist for new, unseen data. This has led to the development of "pseudo-oracles" and differential testing techniques.
  • Siloed Research: A significant finding is that these six pillars are often studied in isolation. For example, a model might be made robust against noise, but that robustness might come at the cost of explainability. True certification requires a holistic approach that balances these trade-offs.
  • The MNIST Limitation: The authors noted a heavy reliance on toy datasets. Approximately 35% of papers used MNIST, and 22% used CIFAR. For a field aiming to certify life-critical systems, the over-reliance on simple computer vision benchmarks is a major hurdle to real-world applicability.

Discussion and Future Directions

While interest in ML certification is growing exponentially—with the majority of papers published in 2019 and 2020—the field remains largely academic. Only 5.5% of the surveyed research originated solely from industry, suggesting a gap between theoretical safety methods and practical implementation on proprietary systems.

To move toward standardized ML certification, the authors suggest four urgent priorities:

  1. Transition to Real-World Data: Researchers must move beyond MNIST and CIFAR toward complex, multi-modal, and safety-critical datasets (e.g., ACAS-XU for aviation or KITTI for automotive).
  2. Unification of Pillars: Future frameworks must integrate robustness, uncertainty, and explainability into a single safety case rather than treating them as independent variables.
  3. Formal Guarantees: While robustness has seen progress in mathematical proofs, other areas like OOD detection still rely on empirical testing, which is often insufficient for high-integrity certification.
  4. Direct Certification Standards: There is a dire need for more research into "Direct Certification" (only 14 of 217 papers addressed this), focusing on how to actually regulate and standardize these technologies for public use.

Conclusion

Certifying ML-based safety-critical systems is one of the most significant challenges in modern engineering. While the technical building blocks—robustness, verification, and explainability—are maturing, the path to a unified certification standard remains unpaved. Bridging this gap will require deeper collaboration between academia and industry to move from theoretical safety to proven, real-world reliability.

Summary updated

BibTeX
@article{tambon2021how,
  author = {Florian Tambon and Gabriel Laberge and Le An and Amin Nikanjam and Paulina Stevia Nouwou Mindom and Yann Pequignot and Foutse Khomh and Giulio Antoniol and Ettore Merlo and François Laviolette},
  title = {{How to Certify Machine Learning Based Safety-critical Systems? A Systematic Literature Review}},
  journal = {Autom. Softw. Eng.},
  year = {2021},
  doi = {10.1007/s10515-022-00337-x},
}
Figure