Example-guided synthesis of relational queries
Example-guided synthesis of relational queries
复制标题
DOI:
10.1145/3453483.3454098
复制
发表时间:
2021-06
期刊:
影响因子:
--
通讯作者:
Aalok Thakkar;Aaditya Naik;Nathaniel Sands;R. Alur;M. Naik;Mukund Raghothaman
中科院分区:
文献类型:
--
作者:
Aalok Thakkar;Aaditya Naik;Nathaniel Sands;R. Alur;M. Naik;Mukund Raghothaman
Program synthesis tasks are commonly specified via input-output examples. Existing enumerative techniques for such tasks are primarily guided by program syntax and only make indirect use of the examples. We identify a class of synthesis algorithms for programming-by-examples, which we call Example-Guided Synthesis (EGS), that exploits latent structure in the provided examples while generating candidate programs. We present an instance of EGS for the synthesis of relational queries and evaluate it on 86 tasks from three application domains: knowledge discovery, program analysis, and database querying. Our evaluation shows that EGS outperforms state-of-the-art synthesizers based on enumerative search, constraint solving, and hybrid techniques in terms of synthesis time, quality of synthesized programs, and ability to prove unrealizability.