arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2304.10768cs.PL
收藏

通过迭代前向-后向抽象解释实现归纳程序综合

Inductive Program Synthesis via Iterative Forward-Backward Abstract Interpretation

Yongho Yoon, Woosuk Lee, Kwangkeun Yi

AI总结:

针对示例驱动程序综合的庞大搜索空间问题,提出迭代交替的前向与后向抽象解释方法,用于剪枝部分程序并应用于SyGuS,实验表明其显著优于现有方法。

摘要:

基于示例的程序综合面临的一个关键挑战是程序搜索空间极其庞大。为应对这一挑战,已有多项工作提出使用抽象解释来剪枝搜索空间。然而,现有方法大多只关注前向抽象解释,因而无法充分发挥抽象解释的能力。本文提出一种通过迭代前向-后向抽象解释进行归纳程序综合的新方法。前向抽象解释在给定输入时计算程序可能的输出,而后向抽象解释则在给定输出时计算程序可能的输入。通过以交替方式迭代执行这两种抽象解释,我们能够有效判断每个作为候选的部分程序的任何补全是否能够满足输入-输出示例。我们将该方法应用于一种标准形式,即语法引导综合(SyGuS),从而支持广泛的归纳综合任务。我们已实现该方法,并在来自先前工作的一组基准测试上进行了评估。实验结果表明,得益于精细复杂的抽象解释技术,我们的方法显著优于现有最先进方法。

英文摘要:

A key challenge in example-based program synthesis is the gigantic search space of programs. To address this challenge, various work proposed to use abstract interpretation to prune the search space. However, most of existing approaches have focused only on forward abstract interpretation, and thus cannot fully exploit the power of abstract interpretation. In this paper, we propose a novel approach to inductive program synthesis via iterative forward-backward abstract interpretation. The forward abstract interpretation computes possible outputs of a program given inputs, while the backward abstract interpretation computes possible inputs of a program given outputs. By iteratively performing the two abstract interpretations in an alternating fashion, we can effectively determine if any completion of each partial program as a candidate can satisfy the input-output examples. We apply our approach to a standard formulation, syntax-guided synthesis (SyGuS), thereby supporting a wide range of inductive synthesis tasks. We have implemented our approach and evaluated it on a set of benchmarks from the prior work. The experimental results show that our approach significantly outperforms the state-of-the-art approaches thanks to the sophisticated abstract interpretation techniques.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑