Provenance-guided synthesis of Datalog programs
Provenance-guided synthesis of Datalog programs
复制标题
数据记录程序的来源引导综合
DOI:
10.1145/3371130
复制
发表时间:
2019
影响因子:
--
通讯作者:
Bernhard Scholz
中科院分区:
文献类型:
--
作者:
Mukund Raghothaman;Jonathan Mendelson;David Zhao;M. Naik;Bernhard Scholz
We propose a new approach to synthesize Datalog programs from input-output specifications. Our approach leverages query provenance to scale the counterexample-guided inductive synthesis (CEGIS) procedure for program synthesis. In each iteration of the procedure, a SAT solver proposes a candidate Datalog program, and a Datalog solver evaluates the proposed program to determine whether it meets the desired specification. Failure to satisfy the specification results in additional constraints to the SAT solver. We propose efficient algorithms to learn these constraints based on “why” and “why not” provenance information obtained from the Datalog solver. We have implemented our approach in a tool called ProSynth and present experimental results that demonstrate significant improvements over the state-of-the-art, including in synthesizing invented predicates, reducing running times, and in decreasing variances in synthesis performance. On a suite of 40 synthesis tasks from three different domains, ProSynth is able to synthesize the desired program in 10 seconds on average per task—an order of magnitude faster than baseline approaches—and takes only under a second each for 28 of them.
DOI:
10.1007/s00778-018-0518-5
发表时间:
2018
期刊:
The VLDB Journal
影响因子:
--
作者:
Lee, Seokki;Ludäscher, Bertram;Glavic, Boris
通讯作者:
Glavic, Boris
DOI:
10.1007/978-3-319-66158-2_44
发表时间:
2017
期刊:
International Conference on Principles and Practice of Constraint Programming
影响因子:
--
作者:
Albarghouthi, Aws;Koutris, Paraschos;Naik, Mayur;Smith, Calvin
通讯作者:
Smith, Calvin