Formal description of ML models for unambiguous implementation
Adrien Gauffriau, Iryna De Albuquerque Silva, Claire Pagetti
TL;DR
The paper tackles the need for certifiable ML model deployment in safety-critical aeronautics by introducing a formal, framework-agnostic description that preserves semantics on hardware. It extends the Neural Network Exchange Format (NNEF) with an execution model based on Petri nets and adds multi-item support for distribution across HW/SW items, including data exchanges via graphitem and variablesync. A colored Petri-net semantics is provided to ensure semantics preservation when partitioning a model into multiple items, and a Jetson Xavier TX demonstration with manual C++/CUDA code generation validates both semantic and functional integrity, along with timing measurements. This approach yields traceable, predictable deployment suitable for DO-178C-like processes and offers a pathway toward standardized aeronautics-oriented model exchange with rigorous semantics."
Abstract
Implementing deep neural networks in safety critical systems, in particular in the aeronautical domain, will require to offer adequate specification paradigms to preserve the semantics of the trained model on the final hardware platform. We propose to extend the nnef language in order to allow traceable distribution and parallelisation optimizations of a trained model. We show how such a specification can be implemented in cuda on a Xavier platform.
