paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Syntax-guided synthesis of Datalog programs

语法引导的 Datalog 程序合成
FSE Proceedings of the 2018 26th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering2018匹配度 3/10 · 该论文属于程序合成/逻辑编程方向,Datalog 常用于静态分析(如 Doop、Soufflé),benchmark 中也含程序分析域,但方法本身是纯符号化的语法引导合成,与用户核心关注的 PL↔AI(LLM/Agent 参与静态分析或验证)、浮点程序分析、贝叶斯程序分析均无直接交叉,也未涉及工业落地或 LLM 改进分析工具。引用 51 inbox
Xujie Si, Woosuk Lee, Richard Zhang, Aws Albarghouthi, Paraschos Koutris, Mayur Naik
crossref: 2026-09-12

AI 速览

一句话:提出 ALPS,利用语法引导剪枝从输入输出示例合成 Datalog 程序。

Datalog 在多个领域有应用前景,但从示例合成 Datalog 程序因语言表达力强而搜索空间巨大。本文提出编程示例系统 ALPS,采用语法引导合成方法:观察到实际 Datalog 程序中的规则往往具有相似的潜在语法结构,据此剪枝搜索空间,从而将合成扩展到更现实的程序。作者在来自知识发现、程序分析和数据库查询三个领域的 34 个基准上评估 ALPS。结果显示,ALPS 能合成其中 33 个基准,显著优于当前最先进的 Metagol 和 Zaatar,后者最多只能合成 10 个基准。

问题
从输入输出示例合成 Datalog 程序时,Datalog 的丰富表达力导致搜索空间过大,难以扩展到现实程序。
方法
提出 ALPS 编程示例系统,利用实际 Datalog 规则具有相似潜在语法结构的观察,通过语法引导合成剪枝搜索空间。
评估
在知识发现、程序分析和数据库查询三个领域的 34 个基准上评估,ALPS 成功合成 33 个,并优于最多合成 10 个的 Metagol 和 Zaatar。
原文摘要(Abstract)

Datalog has witnessed promising applications in a variety of domains. We propose a programming-by-example system, ALPS, to synthesize Datalog programs from input-output examples. Scaling synthesis to realistic programs in this manner is challenging due to the rich expressivity of Datalog. We present a syntax-guided synthesis approach that prunes the search space by exploiting the observation that in practice Datalog programs comprise rules that have similar latent syntactic structure. We evaluate ALPS on a suite of 34 benchmarks from three domains—knowledge discovery, program analysis, and database queries. The evaluation shows that ALPS can synthesize 33 of these benchmarks, and outperforms the state-of-the-art tools Metagol and Zaatar, which can synthesize only up to 10 of the benchmarks.

链接与引用

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

BibTeX
@inproceedings{paperbot4663,
  title = {Syntax-guided synthesis of Datalog programs},
  author = {Xujie Si and Woosuk Lee and Richard Zhang and Aws Albarghouthi and Paraschos Koutris and Mayur Naik},
  booktitle = {FSE},
  year = {2018},
  doi = {10.1145/3236024.3236034}
}