Skip to main content
QUICK REVIEW

[Paper Review] Traceability of Deep Neural Networks

Vincent Aravantinos, Frederik Diehl|arXiv (Cornell University)|Dec 17, 2018
Adversarial Robustness in Machine LearningComputer Science25 references10 citations
TL;DR

This paper proposes a novel traceability framework for deep neural networks (DNNs) in safety-critical systems by replacing traditional code and low-level requirements with DNN-specific artifacts such as a domain coverage model and decision rationales. It addresses the trial-and-error nature of DNN development through versioned model tracking and metric-driven improvement, offering a pragmatic path toward compliance with standards like DO178C and ISO 26262 despite the lack of formal traceability in current DNN practices.

ABSTRACT

[Context.] The success of deep learning makes its usage more and more tempting in safety-critical applications. However such applications have historical standards (e.g., DO178, ISO26262) which typically do not envision the usage of machine learning. We focus in particular on \emph{requirements traceability} of software artifacts, i.e., code modules, functions, or statements (depending on the desired granularity). [Problem.] Both code and requirements are a problem when dealing with deep neural networks: code constituting the network is not comparable to classical code; furthermore, requirements for applications where neural networks are required are typically very hard to specify: even though high-level requirements can be defined, it is very hard to make such requirements concrete enough, that one can qualify them of low-level requirements. An additional problem is that deep learning is in practice very much based on trial-and-error, which makes the final result hard to explain without the previous iterations. [Proposed solution.] We investigate which artifacts could play a similar role to code or low-level requirements in neural network development and propose various traces which one could possibly consider as a replacement for classical notions. We also propose a form of traceability (and new artifacts) in order to deal with the particular trial-and-error development process for deep learning.

Motivation & Objective

  • To address the lack of traceability in deep neural networks (DNNs) within safety-critical applications, where standards like DO178C and ISO 26262 do not currently support machine learning.
  • To identify DNN-specific artifacts that can serve as substitutes for classical software artifacts in traceability, given the non-deterministic, iterative nature of DNN development.
  • To propose a practical, artifact-focused approach to traceability that supports verification and certification, even without a prescribed development process.
  • To enable traceability through the tracking of model versions and incremental performance improvements, rather than static code or architectural structures.
  • To provide a foundation for future work by identifying key open questions and limitations in current DNN traceability approaches.

Proposed method

  • Introduces a domain coverage model as a replacement for low-level requirements, mapping high-level requirements to training data distributions and operational scenarios.
  • Proposes tracing developers’ decisions during the trial-and-error training process, documenting rationale for architectural or hyperparameter changes.
  • Recommends tracking all model versions during training alongside incremental improvements in a performance metric to establish a traceable evolution path.
  • Adopts a pragmatic, artifact-centric approach rather than prescribing a full development process, focusing on what can be concretely traced.
  • Uses metrics to quantify 'better' performance, enabling traceability of improvement across training iterations.
  • Restricts scope to supervised learning, fixed datasets, and functional requirements to manage complexity and focus on core traceability challenges.

Experimental results

Research questions

  • RQ1How can traditional software traceability concepts be adapted to deep neural networks, given their non-deterministic, iterative development process?
  • RQ2What DNN-specific artifacts can serve as substitutes for classical code and low-level requirements in traceability?
  • RQ3How can the trial-and-error nature of DNN training be made traceable and justifiable within safety-critical certification frameworks?
  • RQ4What role do performance metrics and decision rationales play in establishing a traceable evolution of DNN models?
  • RQ5How can a domain coverage model effectively link high-level requirements to training data and model behavior?

Key findings

  • The domain coverage model provides a viable alternative to low-level requirements by mapping high-level functional requirements to data distributions and operational conditions.
  • Tracing developers’ decisions during model iterations—such as architecture or hyperparameter changes—offers a practical substitute for tracing static code structures.
  • Tracking model versions alongside incremental metric improvements enables a form of traceability that reflects the actual development process of DNNs.
  • The proposed approach supports compliance with safety standards like DO178C and ISO 26262 by providing a structured, auditable path from requirements to model behavior.
  • The method remains lightweight and adaptable, avoiding prescriptive process mandates while still enabling verifiable traceability.
  • Despite its conceptual soundness, the paper acknowledges limitations in maturity and clarity, particularly in the absence of concrete metric definitions or evaluation frameworks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.