AI Safety
Formal verification and live monitoring combined to validate autonomous driving controller
Researchers verify an open-source autonomous driving system by pairing mathematical proofs with runtime checks to ensure safe trajectory control.
A team of researchers has proposed a dual-layer verification strategy to ensure the safety of autonomous driving systems by combining theoretical proof techniques with real-world runtime inspection of Autoware, a widely-used open-source autonomous vehicle platform.
The Challenge#
Autonomous driving systems operate in vast, complex environments with intricate control logic that defies traditional testing alone. Verifying that these systems behave safely across all possible scenarios remains one of the field's most demanding problems. The trajectory-following control node—the component responsible for steering the vehicle along a planned path—sits at the heart of this challenge.
The Hybrid Approach#
Rather than relying on a single verification method, the researchers combined two complementary techniques:
- Formal model verification: They translated the control logic into differential dynamic logic (dL), a mathematical framework designed to reason about systems with continuous and discrete behavior. Using the KeYmaera X proof assistant, they formally proved that the abstracted model satisfies key safety and liveness properties.
- Runtime monitoring: While formal proofs work on idealized abstractions, real software includes approximations and numerical subtleties. The team monitored the actual Autoware implementation during simulation to verify that it stayed within the bounds predicted by their formal model.
What the Verification Found#
Experiments using the Autoware toolchain showed that monitoring successfully quantified the accuracy of target-following behavior. The implementation achieved position accuracy of approximately 0.2–0.4 meters and velocity accuracy of 0.8 meters per second when reaching its target—figures that informed how well the real system aligns with the formally verified model.
Why It Matters#
This work bridges a persistent gap in autonomous systems safety: the divide between theoretical guarantees and practical implementation. By verifying the mathematical model and then monitoring the actual code, the approach provides both assurance that the core logic is sound and evidence that the deployed system behaves as the model predicts.

