mlsanityData to 14 Oct 2026

Comparing Offline and Online Testing of Deep Neural Networks: An Autonomous Car Case Study

arXiv 1912.00805 ↗First posted 28 Nov 2019cs.LG cs.SEcited by 27

Not on the map. Why?

Abstract (arXiv)

There is a growing body of research on developing testing techniques for Deep Neural Networks (DNN). We distinguish two general modes of testing for DNNs: Offline testing where DNNs are tested as individual units based on test datasets obtained independently from the DNNs under test, and online testing where DNNs are embedded into a specific application and tested in a close-loop mode in interaction with the application environment. In addition, we identify two sources for generating test datasets for DNNs: Datasets obtained from real-life and datasets generated by simulators. While offline testing can be used with datasets obtained from either sources, online testing is largely confined to using simulators since online testing within real-life applications can be time-consuming, expensive and dangerous. In this paper, we study the following two important questions aiming to compare test datasets and testing modes for DNNs: First, can we use simulator-generated data as a reliable substitute to real-world data for the purpose of DNN testing? Second, how do online and offline testing results differ and complement each other? 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 control of cars' steering actuators. Our results show that simulator-generated datasets are able to yield DNN prediction errors that are similar to those obtained by testing DNNs with real-life datasets. Further, offline testing is more optimistic 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.

Key facts. Cited by 27 papers in the map (data through 14 Oct 2026). First posted on arXiv 28 Nov 2019.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 10; 2022: 2; 2023: 4; 2024: 6; 2025: 3; 2026: 2.

27 papers.

Sort:

By area:

  1. 2021Mind the Gap! A Study on the Transferability of Virtual vs Physical-world Testing of Autonomous Driving Systemscited by 37
  2. 2021Can Offline Testing of Deep Neural Networks Replace Their Online Testing?cited by 24
  3. 2021DeepGuard: A Framework for Safeguarding Autonomous Driving Systems from Inconsistent Behaviorcited by 17
  4. 2021Real-time End-to-End Federated Learning: An Automotive Case Studycited by 15
  5. 2024Predicting Safety Misbehaviours in Autonomous Driving Systems using Uncertainty Quantificationcited by 11
  6. 2021Adversarial Deep Reinforcement Learning for Improving the Robustness of Multi-agent Autonomous Driving Policiescited by 10
  7. 2024Efficient Domain Augmentation for Autonomous Driving Testing Using Diffusion Modelscited by 10
  8. 2021Efficient and Effective Generation of Test Cases for Pedestrian Detection -- Search-based Software Testing of Baidu Apollo in SVLcited by 8
  9. 2023Boundary State Generation for Testing and Improvement of Autonomous Driving Systemscited by 6
  10. 2021Intersection focused Situation Coverage-based Verification and Validation Framework for Autonomous Vehicles Implemented in CARLAcited by 4
  11. 2022Simulator-based explanation and debugging of hazard-triggering events in DNN-based safety-critical systemscited by 4
  12. 2023Evaluating the Impact of Flaky Simulators on Testing Autonomous Driving Systemscited by 4
15 more
  1. 2024Bridging the Gap between Real-world and Synthetic Images for Testing Autonomous Driving Systemscited by 4
  2. 2025Benchmarking Image Perturbations for Testing Automated Driving Assistance Systemscited by 4
  3. 2021Towards Risk Modeling for Collaborative AIcited by 3
  4. 2021Validation of Simulation-Based Testing: Bypassing Domain Shift with Label-to-Image Synthesiscited by 3
  5. 2022Uncertainty Quantification for Deep Neural Networks: An Empirical Comparison and Usage Guidelinescited by 3
  6. 2023DeepQTest: Testing Autonomous Driving Systems with Reinforcement Learning and Real-world Weather Datacited by 3
  7. 2024Safety Monitoring of Machine Learning Perception Functions: a Surveycited by 3
  8. 2021Collaborative Artificial Intelligence Needs Stronger Assurances Driven by Riskscited by 2
  9. 2025A Multi-Modality Evaluation of the Reality Gap in Autonomous Driving Systemscited by 1
  10. 2025Advancing Autonomous Driving System Testing: Demands, Challenges, and Future Directionscited by 1
  11. 2023ReMAV: Reward Modeling of Autonomous Vehicles for Finding Likely Failure Eventscited by 0
  12. 2024ANNA: A Deep Learning Based Dataset in Heterogeneous Traffic for Autonomous Vehiclescited by 0
  13. 2024Generating Minimalist Adversarial Perturbations to Test Object-Detection Models: An Adaptive Multi-Metric Evolutionary Search Approachcited by 0
  14. 2026UniAda: Universal Adaptive Multi-objective Adversarial Attack for End-to-End Autonomous Driving Systemscited by 0
  15. 2026Real-World Perturbation Testing of Autonomous Driving Systemscited by 0