减速让行:自动驾驶汽车责任敏感安全模型的正式验证、精化与测试案例研究
Slow Down, Move Over: A Case Study in Formal Verification, Refinement, and Testing of the Responsibility-Sensitive Safety Model for Self-Driving Cars
AI总结:
本研究形式化自动驾驶的RSS模型,用KeYmaera X证明其纵向安全性,并通过精化与编译保持安全属性,最终生成可测试的Python代码。
摘要:
技术进步让我们有望实现无人类错误的驾驶,减少车辆排放,并通过自动驾驶汽车简化日常任务。确保这些车辆的安全对于该领域的持续发展至关重要。在本文中,我们形式化了自动驾驶汽车的责任敏感安全模型(RSS),并证明了该模型在纵向方向上的安全性和最优性。我们利用混合系统定理证明器KeYmaera X,将RSS形式化为一个混合系统,包含其非确定性控制选择和连续运动模型,并证明无碰撞性。随后,我们通过精化证明展示了RSS的实用性,这些证明将已验证的非确定性控制包络转换为确定性控制包络,并进一步验证编译为Python代码。精化和编译是保持安全性的;因此,形式模型的安全性证明可转移到编译代码上,而在测试未验证模型代码时发现的反例则可转移回形式模型。生成的Python代码允许在仿真中测试遵循RSS运动模型的车辆行为,通过从形式模型派生的监视器来测量模型与仿真之间的一致性,并将仿真中的反例报告回形式模型。
英文摘要:
Technology advances give us the hope of driving without human error, reducing vehicle emissions and simplifying an everyday task with the future of self-driving cars. Making sure these vehicles are safe is very important to the continuation of this field. In this paper, we formalize the Responsibility-Sensitive Safety model (RSS) for self-driving cars and prove the safety and optimality of this model in the longitudinal direction. We utilize the hybrid systems theorem prover KeYmaera X to formalize RSS as a hybrid system with its nondeterministic control choices and continuous motion model, and prove absence of collisions. We then illustrate the practicality of RSS through refinement proofs that turn the verified nondeterministic control envelopes into deterministic ones and further verified compilation to Python. The refinement and compilation are safety-preserving; as a result, safety proofs of the formal model transfer to the compiled code, while counterexamples discovered in testing the code of an unverified model transfer back. The resulting Python code allows to test the behavior of cars following the motion model of RSS in simulation, to measure agreement between the model and simulation with monitors that are derived from the formal model, and to report counterexamples from simulation back to the formal model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。