arXiv(opens in a new tab)cs.ROSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.10951

Testing Between the Test Cases: Proving End-to-End Steering in Conditions You Never Drove

Menuka Ghalan, Charles Rodgers, Zachary D. Asher

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

AI-based automated vehicle testing is challenging because a model that passes every test condition can still fail in the real world. Formal verification offers a way to directly address this gap. On a simulated highway and an arterial road we trained two small end-to-end steering networks each in CARLA, one on clear conditions alone and one on clear, fog, night and low sun. All four models were driven against a 2.19 ft lane-departure budget. Without driving again, we used bound propagation, a formal method that reads the trained weights, to compute how far steering can drift at every disturbance strength between two captured images. One calculation covers more than a campaign could drive: on the arterial it spans 133 poses, where ten intensities each would be 1013310^{133} combinations, in minutes on one GPU. Not only did formal verification find conditions that broke the clear-trained policy without simulation testing, it provided some preliminary evidence for potential failures between the test cases. Our overall conclusion is that formal verification is a viable complement to simulation, and could be adopted as a part of verification and validation for automated driving.

1 Introduction

Autonomous vehicle (AV) development has moved from rule-based pipelines to data-driven ones, where safety and scalability have been the forces behind every shift along the way [1]. End-to-End (E2E) neural networks are the current expression of that shift. In an E2E model, a single network maps camera pixels directly to a driving command such as a behavior-cloned steering controller [2] or a reinforcement-learned lane follower [3]. The argument for E2E design is that optimizing the whole software stack against the driving objective avoids the errors that compound through separately trained perception, tracking and planning modules and they are easier to scale [4]. Modern E2E models now extend to jointly optimized stacks that still expose intermediate representations [5] and to vectorized planners built for efficiency [6]. The datasets used to train and benchmark these policies have grown accordingly [7].

Compliance is where the E2E design becomes awkward. ISO 26262 [8] allocates functional-safety requirements to components whose failure modes can be enumerated and it needs adapting before it can accommodate machine learning components [9]. ISO 21448 [10] addresses the Safety of the Intended Functionality (SOTIF), the hazards that remain when nothing has malfunctioned, while ISO 8800 [11] and UL 4600 [12] extend the argument to AI components specifically and to autonomous products as a whole. The difficulty common to all of them is that the E2E policies that perform best are the ones least amenable to the enumeration these standards assume.

The prevailing answer today is empirical, a test-and-patch cycle whose evidence operators assemble into an explicit safety case [13, 14]. Simulation carries much of that load, and the Car Learning to Act (CARLA) simulator is the standard open platform for it [15, 16]. What simulation cannot do is enumerate. Change one parameter and the whole campaign runs again. Data-driven policies generalize poorly on the long-tail scenarios that fall outside their training distribution [1]. A current solution is to collect dedicated adverse-condition datasets and utilize them in training [17, 18]. This has been extended more recently to generated inputs that enlarge the training distribution [19]. Camera-driven policies also face inputs no campaign samples so including adversarial examples that transfer across architectures is recommended [20]. Despite these efforts, unanticipated physical conditions still disrupt exactly the decision windows a statistical safety case assumes are covered, because no amount of input data covers the uncountably many ways a disturbance can manifest. The problem is not that the test cases are wrong, but that they are finite.

Formal verification is the alternative. Testing runs a system on chosen inputs and reports what happened on them. Formal verification takes a set of inputs, described mathematically, and computes a guarantee holding for every input in that set, including ones that have not been physically run. For a neural network the practical form is bound propagation: the method reads the trained weights, pushes an input range through the layers, and arrives at a range the output cannot leave. If that range sits inside a safe limit, every input in the set is safe, and the argument is arithmetic.

The gap from testing is not one of degree. A disturbance that varies continuously has uncountably many settings; a testing campaign visits finitely many, and so does a generated one. Older surveys of industrial practice put formal methods mostly at specification and design, with tooling among the barriers [21] even though model checking is long established for finite-state control logic [22]. For neural networks the tooling has matured quickly, from complete satisfiability-modulo-theories (SMT) methods [23, 24] to reachability frameworks for learning-enabled systems [25], and on to closed-loop controllers by partitioning the workspace so the imaging function is affine on each piece [26].

What limits formal methods is the disturbance modeling, not the mathematical solvability. Verifiers are overwhelmingly exercised on ℓp\ell_{p} balls around an image [27, 28], a set whose radius is chosen for tractability and whose tightest relaxation is itself bounded [29]. A ball large enough to contain a night-time image also contains images no camera can form, so a bound over it says nothing about real-world disturbances experienced by automated vehicles. While verification is one thread in a wider effort spanning autoformalization [30], interpretability [31] and statistical safety-case confidence [32], we target the perception-to-control bound, which is directly relevant for automated driving using E2E models.

In this work we apply neural-network formal verification to E2E steering under degraded visibility, and we make three contributions. All of the evidence is from the CARLA simulator, on two roads, with a camera as the only sensor and steering as the only learned command. We show that a bound taken only at the conditions a campaign captures is not sufficient, because it clears a policy whose worst case lies at an intermediate strength. We give a disturbance family that brings those intermediate intensities within a verifier's reach. And we reconcile a per-frame bound with closed-loop driving using vehicle dynamics. We seek neither a new verification algorithm [33] nor a new planning benchmark [34], but the mapping from a physical disturbance to a set a neural network verifier can bound. The result is a practical route from a physical disturbance to safety-case evidence about conditions nobody drove, using a method automotive validation has barely begun to adopt where one bound covers more of the operating envelope than a test program can drive.

References (64)

  • Autonomous vehicles: A critical review (2004-2024) and a vision for the future
  • End to End Learning for Self-Driving Cars
  • Learning to drive in a day
  • End-to-end autonomous driving: Challenges and frontiers
  • Planning-oriented autonomous driving
  • Vad: Vectorized scene representation for efficient autonomous driving
  • Tad-e2e: A large-scale end-to-end autonomous driving dataset
  • Road vehicles — functional safety
  • An analysis of ISO 26262: Using machine learning safely in automotive software (opens arXiv in a new tab)
  • Road vehicles — safety of the intended functionality
  • Road vehicles — safety and artificial intelligence
  • Standard for safety for the evaluation of autonomous products
  • Building a credible case for safety: Waymo’s approach for the determination of absence of unreasonable risk
  • Sharing our safety framework for fully autonomous operations
  • CARLA: An open urban driving simulator
  • No cost autonomous vehicle advancements in carla through ros
  • Acdc: The adverse conditions dataset with correspondences for semantic driving scene understanding
  • Acdc: The adverse conditions dataset with correspondences for robust semantic driving scene perception
  • NVIDIA OmniDreams: Real-time generative world model for closed-loop autonomous vehicle simulation (opens arXiv in a new tab)
  • Understanding adversarial transferability in vision-language models for autonomous driving: A cross-architecture analysis
  • Formal methods: Practice and experience
  • Reluplex: An efficient smt solver for verifying deep neural networks
  • The marabou framework for verification and analysis of deep neural networks
  • Nnv: The neural network verification tool for deep neural networks and learning-enabled cyber-physical systems
  • Formal verification of neural network controlled autonomous systems
  • Beta-crown: Efficient bound propagation with per-neuron split constraints for neural network robustness verification
  • An abstract domain for certifying neural networks
  • A convex relaxation barrier to tight robustness verification of neural networks
  • A promising path towards autoformalization and general artificial intelligence
  • Tracing the thoughts of a large language model
  • Bootstrapping confidence in future safety based on past safe operation (opens arXiv in a new tab)
  • Online verification of cognitive car decisions
  • Commonroad: Composable benchmarks for motion planning on roads
  • Toward a framework for highly automated vehicle safety validation
  • Challenges in autonomous vehicle testing and validation
  • The release of autonomous vehicles
  • Agile safety case assessments for autonomous vehicle fleets
  • Open challenges in the formal verification of autonomous driving
  • Formal verification techniques for vision-based autonomous systems – a survey
  • Automating automotive software development: A synergy of generative AI and model-based methods (opens arXiv in a new tab)
  • Coq'Art: The Calculus of Inductive Constructions, ser
  • A Proof Assistant for Higher-Order Logic, ser
  • The lean theorem prover (system description)
  • Formal verification of a realistic compiler
  • seL4: Formal verification of an OS kernel
  • Verifying robustness of neural networks in vision-based end-to-end autonomous driving
  • Towards verifying robustness of neural networks against a family of semantic perturbations
  • Efficient neural network robustness certification with general activation functions
  • Automatic perturbation analysis for scalable certified robustness and beyond
  • Sdp-crown: Efficient bound propagation for neural network verification with tightness of semidefinite programming (opens arXiv in a new tab)
  • AI2: Safety and robustness certification of neural networks with abstract interpretation
  • Verisig: verifying safety properties of hybrid systems with neural network controllers
  • Reachability analysis for neural network aircraft collision avoidance systems
  • Uncertainty quantification with statistical guarantees in end-to-end autonomous driving control
  • ISO 34503:2023 road vehicles — test scenarios for automated driving systems — specification for operational design domain
  • How many operational design domains, objects, and events?
  • A reduction of imitation learning and structured prediction to no-regret online learning
  • Vision and the atmosphere
  • Single image haze removal using dark channel prior
  • Deep retinex decomposition for low-light enhancement
  • How long does it take to stop? Methodological analysis of driver perception-brake times
  • Fast and complete: Enabling complete neural network verification with rapid and massively parallel incomplete verifiers
  • Testing between the test cases: Proving end-to-end steering in conditions you never drove (opens the publisher in a new tab)
  • Steering verification captures