Comparing Offline and Online Testing of Deep Neural Networks: An Autonomous Car Case Study
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
Citing papers per year: 2021: 10; 2022: 2; 2023: 4; 2024: 6; 2025: 3; 2026: 2.
27 papers.
Sort:
By area:
- 2021Mind the Gap! A Study on the Transferability of Virtual vs Physical-world Testing of Autonomous Driving Systemscited by 37
- 2021Can Offline Testing of Deep Neural Networks Replace Their Online Testing?cited by 24
- 2021DeepGuard: A Framework for Safeguarding Autonomous Driving Systems from Inconsistent Behaviorcited by 17
- 2021Real-time End-to-End Federated Learning: An Automotive Case Studycited by 15
- 2024Predicting Safety Misbehaviours in Autonomous Driving Systems using Uncertainty Quantificationcited by 11
- 2021Adversarial Deep Reinforcement Learning for Improving the Robustness of Multi-agent Autonomous Driving Policiescited by 10
- 2024Efficient Domain Augmentation for Autonomous Driving Testing Using Diffusion Modelscited by 10
- 2021Efficient and Effective Generation of Test Cases for Pedestrian Detection -- Search-based Software Testing of Baidu Apollo in SVLcited by 8
- 2023Boundary State Generation for Testing and Improvement of Autonomous Driving Systemscited by 6
- 2021Intersection focused Situation Coverage-based Verification and Validation Framework for Autonomous Vehicles Implemented in CARLAcited by 4
- 2022Simulator-based explanation and debugging of hazard-triggering events in DNN-based safety-critical systemscited by 4
- 2023Evaluating the Impact of Flaky Simulators on Testing Autonomous Driving Systemscited by 4
15 more
- 2024Bridging the Gap between Real-world and Synthetic Images for Testing Autonomous Driving Systemscited by 4
- 2025Benchmarking Image Perturbations for Testing Automated Driving Assistance Systemscited by 4
- 2021Towards Risk Modeling for Collaborative AIcited by 3
- 2021Validation of Simulation-Based Testing: Bypassing Domain Shift with Label-to-Image Synthesiscited by 3
- 2022Uncertainty Quantification for Deep Neural Networks: An Empirical Comparison and Usage Guidelinescited by 3
- 2023DeepQTest: Testing Autonomous Driving Systems with Reinforcement Learning and Real-world Weather Datacited by 3
- 2024Safety Monitoring of Machine Learning Perception Functions: a Surveycited by 3
- 2021Collaborative Artificial Intelligence Needs Stronger Assurances Driven by Riskscited by 2
- 2025A Multi-Modality Evaluation of the Reality Gap in Autonomous Driving Systemscited by 1
- 2025Advancing Autonomous Driving System Testing: Demands, Challenges, and Future Directionscited by 1
- 2023ReMAV: Reward Modeling of Autonomous Vehicles for Finding Likely Failure Eventscited by 0
- 2024ANNA: A Deep Learning Based Dataset in Heterogeneous Traffic for Autonomous Vehiclescited by 0
- 2024Generating Minimalist Adversarial Perturbations to Test Object-Detection Models: An Adaptive Multi-Metric Evolutionary Search Approachcited by 0
- 2026UniAda: Universal Adaptive Multi-objective Adversarial Attack for End-to-End Autonomous Driving Systemscited by 0
- 2026Real-World Perturbation Testing of Autonomous Driving Systemscited by 0
- 2026Real-World Perturbation Testing of Autonomous Driving Systems6 Jul 2026
- 2026UniAda: Universal Adaptive Multi-objective Adversarial Attack for End-to-End Autonomous Driving Systems25 Apr 2026
- 2025Advancing Autonomous Driving System Testing: Demands, Challenges, and Future Directions9 Dec 2025
- 2025A Multi-Modality Evaluation of the Reality Gap in Autonomous Driving Systems26 Sep 2025
- 2025Benchmarking Image Perturbations for Testing Automated Driving Assistance Systems21 Jan 2025
- 2024Safety Monitoring of Machine Learning Perception Functions: a Survey9 Dec 2024
- 2024Efficient Domain Augmentation for Autonomous Driving Testing Using Diffusion Models20 Sep 2024
- 2024Bridging the Gap between Real-world and Synthetic Images for Testing Autonomous Driving Systems25 Aug 2024
- 2024Predicting Safety Misbehaviours in Autonomous Driving Systems using Uncertainty Quantification29 Apr 2024
- 2024Generating Minimalist Adversarial Perturbations to Test Object-Detection Models: An Adaptive Multi-Metric Evolutionary Search Approach25 Apr 2024
- 2024ANNA: A Deep Learning Based Dataset in Heterogeneous Traffic for Autonomous Vehicles21 Jan 2024
- 2023Evaluating the Impact of Flaky Simulators on Testing Autonomous Driving Systems30 Nov 2023
15 more
- 2023DeepQTest: Testing Autonomous Driving Systems with Reinforcement Learning and Real-world Weather Data8 Oct 2023
- 2023ReMAV: Reward Modeling of Autonomous Vehicles for Finding Likely Failure Events28 Aug 2023
- 2023Boundary State Generation for Testing and Improvement of Autonomous Driving Systems20 Jul 2023
- 2022Uncertainty Quantification for Deep Neural Networks: An Empirical Comparison and Usage Guidelines14 Dec 2022
- 2022Simulator-based explanation and debugging of hazard-triggering events in DNN-based safety-critical systems1 Apr 2022
- 2021Intersection focused Situation Coverage-based Verification and Validation Framework for Autonomous Vehicles Implemented in CARLA24 Dec 2021
- 2021Adversarial Deep Reinforcement Learning for Improving the Robustness of Multi-agent Autonomous Driving Policies22 Dec 2021
- 2021Mind the Gap! A Study on the Transferability of Virtual vs Physical-world Testing of Autonomous Driving Systems21 Dec 2021
- 2021Collaborative Artificial Intelligence Needs Stronger Assurances Driven by Risks1 Dec 2021
- 2021DeepGuard: A Framework for Safeguarding Autonomous Driving Systems from Inconsistent Behavior18 Nov 2021
- 2021Efficient and Effective Generation of Test Cases for Pedestrian Detection -- Search-based Software Testing of Baidu Apollo in SVL16 Sep 2021
- 2021Validation of Simulation-Based Testing: Bypassing Domain Shift with Label-to-Image Synthesis10 Jun 2021
- 2021Real-time End-to-End Federated Learning: An Automotive Case Study22 Mar 2021
- 2021Towards Risk Modeling for Collaborative AI12 Mar 2021
- 2021Can Offline Testing of Deep Neural Networks Replace Their Online Testing?26 Jan 2021
- 2021Adversarial Deep Reinforcement Learning for Improving the Robustness of Multi-agent Autonomous Driving Policiescited by 10
- 2023DeepQTest: Testing Autonomous Driving Systems with Reinforcement Learning and Real-world Weather Datacited by 3
- 2025A Multi-Modality Evaluation of the Reality Gap in Autonomous Driving Systemscited by 1
- 2025Advancing Autonomous Driving System Testing: Demands, Challenges, and Future Directionscited by 1
- 2026UniAda: Universal Adaptive Multi-objective Adversarial Attack for End-to-End Autonomous Driving Systemscited by 0
- 2026Real-World Perturbation Testing of Autonomous Driving Systemscited by 0
- 2026Real-World Perturbation Testing of Autonomous Driving Systems6 Jul 2026
- 2026UniAda: Universal Adaptive Multi-objective Adversarial Attack for End-to-End Autonomous Driving Systems25 Apr 2026
- 2025Advancing Autonomous Driving System Testing: Demands, Challenges, and Future Directions9 Dec 2025
- 2025A Multi-Modality Evaluation of the Reality Gap in Autonomous Driving Systems26 Sep 2025
- 2023DeepQTest: Testing Autonomous Driving Systems with Reinforcement Learning and Real-world Weather Data8 Oct 2023
- 2021Adversarial Deep Reinforcement Learning for Improving the Robustness of Multi-agent Autonomous Driving Policies22 Dec 2021
- 2021Mind the Gap! A Study on the Transferability of Virtual vs Physical-world Testing of Autonomous Driving Systemscited by 37
- 2021Can Offline Testing of Deep Neural Networks Replace Their Online Testing?cited by 24
- 2021DeepGuard: A Framework for Safeguarding Autonomous Driving Systems from Inconsistent Behaviorcited by 17
- 2021Real-time End-to-End Federated Learning: An Automotive Case Studycited by 15
- 2024Predicting Safety Misbehaviours in Autonomous Driving Systems using Uncertainty Quantificationcited by 11
- 2021Efficient and Effective Generation of Test Cases for Pedestrian Detection -- Search-based Software Testing of Baidu Apollo in SVLcited by 8
- 2023Boundary State Generation for Testing and Improvement of Autonomous Driving Systemscited by 6
- 2021Intersection focused Situation Coverage-based Verification and Validation Framework for Autonomous Vehicles Implemented in CARLAcited by 4
- 2022Simulator-based explanation and debugging of hazard-triggering events in DNN-based safety-critical systemscited by 4
- 2023Evaluating the Impact of Flaky Simulators on Testing Autonomous Driving Systemscited by 4
- 2024Bridging the Gap between Real-world and Synthetic Images for Testing Autonomous Driving Systemscited by 4
- 2025Benchmarking Image Perturbations for Testing Automated Driving Assistance Systemscited by 4
12 most cited of 20 All 20 (JSON)
- 2025Benchmarking Image Perturbations for Testing Automated Driving Assistance Systems21 Jan 2025
- 2024Safety Monitoring of Machine Learning Perception Functions: a Survey9 Dec 2024
- 2024Bridging the Gap between Real-world and Synthetic Images for Testing Autonomous Driving Systems25 Aug 2024
- 2024Predicting Safety Misbehaviours in Autonomous Driving Systems using Uncertainty Quantification29 Apr 2024
- 2024Generating Minimalist Adversarial Perturbations to Test Object-Detection Models: An Adaptive Multi-Metric Evolutionary Search Approach25 Apr 2024
- 2024ANNA: A Deep Learning Based Dataset in Heterogeneous Traffic for Autonomous Vehicles21 Jan 2024
- 2023Evaluating the Impact of Flaky Simulators on Testing Autonomous Driving Systems30 Nov 2023
- 2023ReMAV: Reward Modeling of Autonomous Vehicles for Finding Likely Failure Events28 Aug 2023
- 2023Boundary State Generation for Testing and Improvement of Autonomous Driving Systems20 Jul 2023
- 2022Uncertainty Quantification for Deep Neural Networks: An Empirical Comparison and Usage Guidelines14 Dec 2022
- 2022Simulator-based explanation and debugging of hazard-triggering events in DNN-based safety-critical systems1 Apr 2022
- 2021Intersection focused Situation Coverage-based Verification and Validation Framework for Autonomous Vehicles Implemented in CARLA24 Dec 2021
12 newest of 20 All 20 (JSON)