Reliable Testing of Deep Learning-Based Systems: Challenges and Mitigation Strategies
En cours de chargement...
Date
Authors
Nom de la revue
ISSN de la revue
Titre du volume
Éditeur
Université d'Ottawa | University of Ottawa
Résumé
Deep learning (DL)-based systems are increasingly deployed in safety-critical domains such as autonomous driving, medical imaging, and anomaly detection, where failures may have severe real-world consequences. Yet the learned nature of these systems' behavior---shaped by training data, neural architectures, and simulation environments---makes building trustworthy test evidence fundamentally more challenging than for conventional software. This thesis identifies three systematic threats that undermine the reliability of test evidence in DL-based systems, and presents principled technical contributions for addressing each.
The first threat is unreliable test execution: simulation environments used to exercise DL-based systems are frequently non-deterministic, causing the same test scenario to produce different outcomes across re-executions. The first thesis contribution (TC1) addresses this by formally characterizing simulator flakiness through hard and soft notions, empirically studying its prevalence and impact in autonomous driving system (ADS) testing, and developing two complementary mitigation strategies: a re-run approach that aggregates test verdicts across multiple executions, and an ML-based flakiness predictor that identifies flaky tests from a single execution with no additional re-run cost.
The second threat is unrepresentative test inputs: synthetic and simulator-generated test data often diverges from the real-world distribution on which the system was trained, leading to misleading performance measurements in both offline and online testing. The second thesis contribution (TC2) addresses this by proposing domain-to-domain image translation as a means of bridging the real--synthetic distribution gap. It also introduces SAEVAE, a novel translator architecture combining a sparse autoencoder and a variational autoencoder, which achieves high-quality visual translation with low computational overhead suitable for online testing.
The third threat is inaccurate test-input labels: ground truth labels assigned to test inputs must be nearly error-free for test results to be trustworthy, yet obtaining accurate labels at scale is prohibitively expensive. The third thesis contribution (TC3) addresses this by formulating labelling and validity assessment as a mixed-integer linear program. The proposed method, OPAL, combines the confidence scores of multiple pretrained classifiers to determine, for each input, whether automated labelling is sufficiently reliable or human review is required, minimizing human effort while satisfying a user-specified accuracy constraint.
This thesis establishes that simulator flakiness, the real--synthetic distribution gap, and labelling inaccuracy are systematic and consequential threats to reliable DL-system testing, and provides empirically validated solutions that improve the trustworthiness and cost-effectiveness of pre-deployment test evidence.
Description
Mots-clés
Deep Learning Testing, Software Testing, Artificial Intelligence, DL-Based Systems, Mixed Integer Linear Programming, Image Translators, Flakiness, Autonomous Driving Systems, Testing Autonomous Driving Systems
