Skip to main content
Cornell University
Learn about arXiv becoming an independent nonprofit.
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:2101.11118

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Software Engineering

arXiv:2101.11118 (cs)
[Submitted on 26 Jan 2021 (v1), last revised 30 Apr 2021 (this version, v2)]

Title:Can Offline Testing of Deep Neural Networks Replace Their Online Testing?

Authors:Fitash Ul Haq, Donghwan Shin, Shiva Nejati, Lionel Briand
View a PDF of the paper titled Can Offline Testing of Deep Neural Networks Replace Their Online Testing?, by Fitash Ul Haq and 3 other authors
View PDF
Abstract: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.
Comments: Journal extension of arXiv:1912.00805; To appear in Empirical Software Engineering
Subjects: Software Engineering (cs.SE); Machine Learning (cs.LG)
Cite as: arXiv:2101.11118 [cs.SE]
  (or arXiv:2101.11118v2 [cs.SE] for this version)
  https://doi.org/10.48550/arXiv.2101.11118
arXiv-issued DOI via DataCite
Journal reference: Empir Software Eng 26, 90 (2021)
Related DOI: https://doi.org/10.1007/s10664-021-09982-4
DOI(s) linking to related resources

Submission history

From: Donghwan Shin [view email]
[v1] Tue, 26 Jan 2021 22:28:54 UTC (1,116 KB)
[v2] Fri, 30 Apr 2021 12:37:38 UTC (1,470 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Can Offline Testing of Deep Neural Networks Replace Their Online Testing?, by Fitash Ul Haq and 3 other authors
  • View PDF
  • TeX Source
view license

Current browse context:

cs.SE
< prev   |   next >
new | recent | 2021-01
Change to browse by:
cs
cs.LG

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Donghwan Shin
Shiva Nejati
Lionel C. Briand
Loading...

BibTeX formatted citation

Data provided by:

Bookmark

BibSonomy Reddit

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status