Cargando…

Can Offline Testing of Deep Neural Networks Replace Their Online Testing?: A Case Study of Automated Driving Systems

We distinguish two general modes of testing for Deep Neural Networks (DNNs): Offline testing where DNNs are tested as individual units based on test datasets obtained without involving the DNNs under test, and online testing where DNNs are embedded into a specific application environment and tested...

Descripción completa

Detalles Bibliográficos
Autores principales: Haq, Fitash Ul, Shin, Donghwan, Nejati, Shiva, Briand, Lionel
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Springer US 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9249720/
https://www.ncbi.nlm.nih.gov/pubmed/35791396
http://dx.doi.org/10.1007/s10664-021-09982-4
_version_ 1784739648742883328
author Haq, Fitash Ul
Shin, Donghwan
Nejati, Shiva
Briand, Lionel
author_facet Haq, Fitash Ul
Shin, Donghwan
Nejati, Shiva
Briand, Lionel
author_sort Haq, Fitash Ul
collection PubMed
description We distinguish two general modes of testing for Deep Neural Networks (DNNs): Offline testing where DNNs are tested as individual units based on test datasets obtained without involving the DNNs under test, and online testing where DNNs are embedded into a specific application environment and tested in a closed-loop mode in interaction with the application environment. Typically, DNNs are subjected to both types of testing during their development life cycle where offline testing is applied immediately after DNN training and online testing follows after offline testing and once a DNN is deployed within a specific application environment. In this paper, we study the relationship between offline and online testing. Our goal is to determine how offline testing and online testing differ or complement one another and if offline testing results can be used to help reduce the cost of online testing? Though these questions are generally relevant to all autonomous systems, we study them in the context of automated driving systems where, as study subjects, we use DNNs automating end-to-end controls of steering functions of self-driving vehicles. Our results show that offline testing is less effective than online testing as many safety violations identified by online testing could not be identified by offline testing, while large prediction errors generated by offline testing always led to severe safety violations detectable by online testing. Further, we cannot exploit offline testing results to reduce the cost of online testing in practice since we are not able to identify specific situations where offline testing could be as accurate as online testing in identifying safety requirement violations.
format Online
Article
Text
id pubmed-9249720
institution National Center for Biotechnology Information
language English
publishDate 2021
publisher Springer US
record_format MEDLINE/PubMed
spelling pubmed-92497202022-07-03 Can Offline Testing of Deep Neural Networks Replace Their Online Testing?: A Case Study of Automated Driving Systems Haq, Fitash Ul Shin, Donghwan Nejati, Shiva Briand, Lionel Empir Softw Eng Article We distinguish two general modes of testing for Deep Neural Networks (DNNs): Offline testing where DNNs are tested as individual units based on test datasets obtained without involving the DNNs under test, and online testing where DNNs are embedded into a specific application environment and tested in a closed-loop mode in interaction with the application environment. Typically, DNNs are subjected to both types of testing during their development life cycle where offline testing is applied immediately after DNN training and online testing follows after offline testing and once a DNN is deployed within a specific application environment. In this paper, we study the relationship between offline and online testing. Our goal is to determine how offline testing and online testing differ or complement one another and if offline testing results can be used to help reduce the cost of online testing? Though these questions are generally relevant to all autonomous systems, we study them in the context of automated driving systems where, as study subjects, we use DNNs automating end-to-end controls of steering functions of self-driving vehicles. Our results show that offline testing is less effective than online testing as many safety violations identified by online testing could not be identified by offline testing, while large prediction errors generated by offline testing always led to severe safety violations detectable by online testing. Further, we cannot exploit offline testing results to reduce the cost of online testing in practice since we are not able to identify specific situations where offline testing could be as accurate as online testing in identifying safety requirement violations. Springer US 2021-07-05 2021 /pmc/articles/PMC9249720/ /pubmed/35791396 http://dx.doi.org/10.1007/s10664-021-09982-4 Text en © The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature 2021, corrected publication 2022 https://creativecommons.org/licenses/by/4.0/ Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) .
spellingShingle Article
Haq, Fitash Ul
Shin, Donghwan
Nejati, Shiva
Briand, Lionel
Can Offline Testing of Deep Neural Networks Replace Their Online Testing?: A Case Study of Automated Driving Systems
title Can Offline Testing of Deep Neural Networks Replace Their Online Testing?: A Case Study of Automated Driving Systems
title_full Can Offline Testing of Deep Neural Networks Replace Their Online Testing?: A Case Study of Automated Driving Systems
title_fullStr Can Offline Testing of Deep Neural Networks Replace Their Online Testing?: A Case Study of Automated Driving Systems
title_full_unstemmed Can Offline Testing of Deep Neural Networks Replace Their Online Testing?: A Case Study of Automated Driving Systems
title_short Can Offline Testing of Deep Neural Networks Replace Their Online Testing?: A Case Study of Automated Driving Systems
title_sort can offline testing of deep neural networks replace their online testing?: a case study of automated driving systems
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9249720/
https://www.ncbi.nlm.nih.gov/pubmed/35791396
http://dx.doi.org/10.1007/s10664-021-09982-4
work_keys_str_mv AT haqfitashul canofflinetestingofdeepneuralnetworksreplacetheironlinetestingacasestudyofautomateddrivingsystems
AT shindonghwan canofflinetestingofdeepneuralnetworksreplacetheironlinetestingacasestudyofautomateddrivingsystems
AT nejatishiva canofflinetestingofdeepneuralnetworksreplacetheironlinetestingacasestudyofautomateddrivingsystems
AT briandlionel canofflinetestingofdeepneuralnetworksreplacetheironlinetestingacasestudyofautomateddrivingsystems