Model checking: Neural Termination Analysis
- đ¤ Speaker: Daniel Kroening (Amazon Web Services)
- đ Date & Time: Friday 22 July 2022, 14:15 - 15:00
- đ Venue: Seminar Room 2, Newton Institute
Abstract
We introduce a novel approach to the automated termination analysis of computer programs: we train neural networks to behave as ranking functions. Ranking functions map program states to values that are bounded from below and decrease as the program runs. The existence of a ranking function proves that the program terminates. We learn ranking functions from execution traces by training a neural network so that its output decreases along the sampled executions; then, we use symbolic reasoning to formally verify that it generalises to all possible executions. We demonstrate that, thanks to the ability of neural networks to represent highly complex functions, our method succeeds over programs that are beyond the reach of state-of-the-art tools. This includes programs that use loop guards with disjunctions and programs that exhibit nonlinear behaviour.
Series This talk is part of the Isaac Newton Institute Seminar Series series.
Included in Lists
- All CMS events
- bld31
- dh539
- Featured lists
- INI info aggregator
- Isaac Newton Institute Seminar Series
- School of Physical Sciences
- Seminar Room 2, Newton Institute
Note: Ex-directory lists are not shown.
![[Talks.cam]](/static/images/talkslogosmall.gif)

Daniel Kroening (Amazon Web Services)
Friday 22 July 2022, 14:15-15:00