Continuous Engineering for Trustworthy Learning-Enabled Autonomous Systems

Saddek Bensalem, Panagiotis Katsaros, Dejan Nickovic, Brian Hsuan-Cheng Liao, Ricardo Ruiz Nolasco, Mohamed Abd El Salam Ahmed, Tewodros A. Beyene, Filip Cano, Antoine Delacourt, Hasan Esen, Alexandru Forrai, Weicheng He, Xiaowei Huang, Nikolaos Kekatos, Bettina Könighofer, Michael Paulitsch, Doron Peled, Matthieu Ponchant, Lev Sorokin, Son Tong, Changshun Wu

Introduction

Learning-Enabled Autonomous Systems (LEAS), such as self-driving cars and robotic surgeons, rely on Learning-Enabled Components (LECs) like neural networks. Unlike traditional safety engineering, which uses logic-based specifications, LECs derive behavior from data, creating a significant "Verification and Validation (V&V) gap." The FOCETA project addresses this by introducing a continuous engineering framework that bridges the divide between black-box machine learning and rigorous safety requirements.

The FOCETA Methodology

The core of the FOCETA approach is a closed-loop methodology that organizes engineering into two alternating phases: Design and Virtual Testing, and Deployment and Operation.

The FOCETA framework for continuous development and operations.

This framework utilizes several key technical components to ensure trustworthiness:

  • Compositional Digital Twins: High-fidelity simulations using the BIP (Behavior, Interaction, Priority) framework mix discrete computing with continuous physical dynamics.
  • Safety Shields: External monitors that overwrite untrusted ML commands with safe fallback actions if formal safety properties (defined in Linear Temporal Logic) are violated.
  • Search-Based Testing (SBT): Evolutionary algorithms are used to "hunt" for failure-revealing scenarios in simulation, such as specific weather conditions causing sensor failure.
  • Specification Mining: At runtime, the system observes its own execution to identify missing requirements or update its operational design domain (ODD).

Closing the Loop: ML Life Cycle and Certification

Engineering for LEAS does not end at deployment. The methodology emphasizes a continuous cycle where runtime operational data is mined to refine system safety and inform model updates.

The integrated machine learning life cycle and certification process.

By monitoring execution at runtime, the system can identify "near misses" or unexpected environmental behaviors. This data is fed back into the "Enhancement" and "Training" stages, creating a certification loop that includes falsification, explanation, and verification. This ensures that the system remains trustworthy as environments change or new "corner cases" emerge that were not present in the initial training data.

Validation through Case Studies

The FOCETA methodology was validated across three diverse domains:

  1. Traffic Speed Detection: Testing revealed that YOLO detection models were sensitive to specific environmental factors like snow. The DejaVu runtime monitor successfully caught resulting speed limit violations.
  2. Automated Valet Parking (AVP): Search-Based Testing identified that 30% of generated test cases were "critical" near-collisions, allowing for pre-deployment hardening in a virtual environment.
  3. Medical Infusion: A recurrent neural network controller was integrated with a digital twin of a patient. The system maintained the "Depth of Anaesthesia" effectively while allowing for a "human shield" (the anesthesiologist) to provide final safety checks, highlighting that trustworthiness often involves human-machine collaboration.

Conclusion and Future Directions

While FOCETA provides a robust path forward for continuous engineering, challenges remain. Scaling formal verification to large-scale neural networks and narrowing the "simulation-to-reality" gap are ongoing research priorities. Furthermore, regulatory frameworks must evolve to accommodate the automated safety shield and "human-in-the-loop" approaches necessary for the next generation of autonomous systems.

Summary updated

BibTeX
@inproceedings{bensalem2023continuous,
  author = {Saddek Bensalem and Panagiotis Katsaros and Dejan Nickovic and Brian Hsuan-Cheng Liao and Ricardo Ruiz Nolasco and Mohamed Abd El Salam Ahmed and Tewodros A. Beyene and Filip Cano and Antoine Delacourt and Hasan Esen and Alexandru Forrai and Weicheng He and Xiaowei Huang and Nikolaos Kekatos and Bettina Könighofer and Michael Paulitsch and Doron Peled and Matthieu Ponchant and Lev Sorokin and Son Tong and Changshun Wu},
  title = {{Continuous Engineering for Trustworthy Learning-Enabled Autonomous Systems}},
  booktitle = {AISoLA},
  year = {2023},
  doi = {10.1007/978-3-031-46002-9\_15},
}
Figure