摘要
We introduce a novel approach to the automated termination analysis of computer programs: we use neural networks to represent ranking functions. Ranking functions map program states to values that are bounded from below and decrease as a program runs; the existence of a ranking function proves that the program terminates. We train a neural network from sampled execution traces of a program so that the network's output decreases along the traces; then, we use symbolic reasoning to formally verify that it generalises to all possible executions. Upon the affirmative answer we obtain a formal certificate of termination for the program, which we call a neural ranking function. We demonstrate that, thanks to the ability of neural networks to represent nonlinear functions, our method succeeds over programs that are beyond the reach of state-of-the-art tools. This includes programs that use disjunctions in their loop conditions and programs that include nonlinear expressions.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Neural Abstractions 引用了 Learning Probabilistic Termination Proofs
- Neural Abstractions 引用了 Verification of Neural-Network Control Systems by Integrating Taylor Models and Zonotopes
- Stochastic Omega-Regular Verification and Control with Supermartingales 引用了 Learning Probabilistic Termination Proofs
- Verification of Neural-Network Control Systems by Integrating Taylor Models and Zonotopes 引用了 Verification of Deep Convolutional Neural Networks Using ImageStars
- Using graph neural networks for program termination 引用了 Learning Probabilistic Termination Proofs
- Neural Model Checking 引用了 Learning Safe Multi-agent Control with Decentralized Neural Barrier Certificates
- Neural Model Checking 引用了 Stochastic Omega-Regular Verification and Control with Supermartingales
- Neural Model Checking 引用了 Learning Probabilistic Termination Proofs
引用它的顶会 Paper10
- Learning Probabilistic Termination ProofsAlessandro Abate, Mirco Giacobbe, Diptarko RoyCAV 2021 · 26 次引用
- Neural AbstractionsAlessandro Abate, Alec Edwards, Mirco GiacobbeNeurIPS 2022 · 25 次引用
- Neural Model CheckingMirco Giacobbe, Daniel Kroening, Abhinandan Pal, Michael TautschnigNeurIPS 2024 · 17 次引用
- Stochastic Omega-Regular Verification and Control with SupermartingalesAlessandro Abate, Mirco Giacobbe, Diptarko RoyCAV 2024 · 13 次引用
- Using graph neural networks for program terminationYoav Alon, Cristina DavidFSE 2022 · 9 次引用
它引用的 Paper14
- Learning Safe Multi-agent Control with Decentralized Neural Barrier CertificatesZengyi Qin, Kaiqing Zhang, Yuxiao Chen, Jingkai Chen 等ICLR 2021 · 164 次引用
- Verification of Deep Convolutional Neural Networks Using ImageStarsHoang-Dung Tran, Stanley Bak, Weiming Xiang, Taylor T. JohnsonCAV 2020 · 122 次引用
- Graph Representations for Higher-Order Logic and Theorem ProvingAditya Paliwal, Sarah M. Loos, Markus N. Rabe, Kshitij Bansal 等AAAI 2020 · 110 次引用
- CLN2INV: Learning Loop Invariants with Continuous Logic NetworksGabriel Ryan, Justin Wong, Jianan Yao, Ronghui Gu 等ICLR 2020 · 72 次引用
- Verification of Neural-Network Control Systems by Integrating Taylor Models and ZonotopesChristian Schilling, Marcelo Forets, Sebastián GuadalupeAAAI 2022 · 48 次引用
相关 Paper
- Let a Neural Network be Your InvariantMirco Giacobbe, Daniel Kroening, Abhinandan Pal, Michael TautschnigNeurIPS 2025 · 6 次引用
- On Lexicographic Proof Rules for Probabilistic TerminationKrishnendu Chatterjee, Ehsan Kafshdar Goharshady, Petr Novotný, Jiri Zárevúcky 等FM 2021 · 11 次引用
- Termination analysis without the tearsShaowei Zhu, Zachary KincaidPLDI 2021 · 16 次引用
- EndWatch: A Practical Method for Detecting Non-Termination in Real-World SoftwareYao Zhang, Xiaofei Xie, Yi Li, Sen Chen 等ASE 2023 · 4 次引用
- A Robust Optimisation Perspective on Counterexample-Guided Repair of Neural NetworksDavid Boetius, Stefan Leue, Tobias SutterICML 2023 · 4 次引用
