Slow Down, Move Over: A Case Study in Formal Verification, Refinement, and Testing of the Responsibility-Sensitive Safety Model for Self-Driving Cars

On Tap Pub Date : 2023-05-15 DOI:10.48550/arXiv.2305.08812
Megan Strauss, Stefan Mitsch
{"title":"Slow Down, Move Over: A Case Study in Formal Verification, Refinement, and Testing of the Responsibility-Sensitive Safety Model for Self-Driving Cars","authors":"Megan Strauss, Stefan Mitsch","doi":"10.48550/arXiv.2305.08812","DOIUrl":null,"url":null,"abstract":"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.","PeriodicalId":239959,"journal":{"name":"On Tap","volume":"38 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-05-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"On Tap","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.48550/arXiv.2305.08812","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

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.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
慢下来,挪过去:自动驾驶汽车责任敏感安全模型的正式验证、改进和测试案例研究
技术进步给我们带来了希望,让我们的驾驶不会出现人为失误,减少汽车排放,并通过未来的自动驾驶汽车简化日常任务。确保这些车辆的安全对这一领域的继续发展非常重要。本文形式化了自动驾驶汽车责任敏感安全模型(Responsibility-Sensitive Safety model, RSS),并在纵向上证明了该模型的安全性和最优性。我们利用混合系统定理证明器KeYmaera X将RSS形式化为具有不确定性控制选择和连续运动模型的混合系统,并证明无碰撞。然后,我们通过细化证明说明RSS的实用性,将已验证的不确定性控制信封转变为确定性控制信封,并进一步验证Python的编译。改进和编译是安全的;结果,正式模型的安全证明转移到已编译的代码中,而在测试未验证模型的代码时发现的反例转移回来。生成的Python代码允许在模拟中测试遵循RSS运动模型的汽车的行为,使用源自正式模型的监视器测量模型和模拟之间的一致性,并将模拟中的反例报告给正式模型。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Slow Down, Move Over: A Case Study in Formal Verification, Refinement, and Testing of the Responsibility-Sensitive Safety Model for Self-Driving Cars Static Analysis Via Abstract Interpretation of the Happens-Before Memory Model Functional Testing in the Focal Environment Bounded Relational Analysis of Free Data Types Parameterized Unit Testing with Pex
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1