paperbot · PL 论文追踪

全部论文 待读 收藏

P1 Data-driven loop bound learning for termination analysis

数据驱动的循环界学习用于终止性分析
ICSE Proceedings of the 44th International Conference on Software Engineering2022匹配度 5/10 · 论文属于机器学习(数据驱动)改进程序验证中的终止性分析,属于AI→PL方向,但未涉及用户重点关注的LLM/Agent、浮点程序分析或贝叶斯程序分析,因此匹配度中等。引用 9 inbox
Rongchen Xu, Jianhui Chen, Fei He
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出数据驱动的循环界学习方法,结合学习器与验证检查器,高效证明程序终止性。

终止性是程序验证中的基本活性性质,而循环界给出了循环迭代次数的上界,其存在即可证明程序终止。本文提出一种强化的黑盒学习式终止性证明框架,由循环界学习器与验证检查器两部分组成。作者给出高效的数据驱动算法,可推断多种循环界,包括简单循环界、合取式循环界与字典序循环界;同时设计了集成快速界检查算法与双向数据共享机制的高效验证检查器。原型工具 ddlTerm 在公开基准上进行了实验评估,结果表明其相比当前最先进的终止性分析工具能多求解 13%–48% 的基准,并节省 40%–77% 的求解时间。

问题
如何自动推断程序的循环界,从而证明循环程序的终止性,并克服现有终止性分析工具求解能力与效率的不足。
方法
采用强化的黑盒学习式方法,由数据驱动的循环界学习器推断简单、合取式与字典序循环界,并配合集成快速界检查与双向数据共享机制的验证检查器进行确认。
评估
实现原型工具 ddlTerm,并在公开基准上与当前最先进的终止性分析工具比较求解数量与求解时间。
原文摘要(Abstract)

Termination is a fundamental liveness property for program verification. A loop bound is an upper bound of the number of loop iterations for a given program. The existence of a loop bound evidences the termination of the program. This paper employs a reinforced black-box learning approach for termination proving, consisting of a loop bound learner and a validation checker. We present efficient data-driven algorithms for inferring various kinds of loop bounds, including simple loop bounds, conjunctive loop bounds, and lexicographic loop bounds. We also devise an efficient validation checker by integrating a quick bound checking algorithm and a two-way data sharing mechanism. We implemented a prototype tool called ddlTerm. Experiments on publicly accessible benchmarks show that ddlTerm outperforms state-of-the-art termination analysis tools by solving 13-48% more benchmarks and saving 40--77% solving time.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{XuCH22,
  title = {Data-driven loop bound learning for termination analysis},
  author = {Rongchen Xu and Jianhui Chen and Fei He},
  booktitle = {ICSE},
  year = {2022},
  doi = {10.1145/3510003.3510220}
}