arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.13315cs.PLcs.FLcs.LG
收藏

基于抽象精化优化的噪声数据集归纳程序合成

Inductive Program Synthesis over Noisy Datasets using Abstraction Refinement Based Optimization

Massachusetts Institute of Technology(麻省理工学院)

Shivam Handa, Martin Rinard

摘要:

我们提出了一种新的综合算法来解决噪声数据集上的程序合成,即,可能包含不正确/损坏的输入输出示例的数据。我们的算法使用了一个抽象的细化为基础的优化过程来合成程序,优化的噪声数据集的损失和合成程序的复杂性之间的权衡。该算法使用抽象来划分程序的搜索空间为子空间,通过计算一个抽象值,表示在一个子空间中的所有程序的输出。抽象值允许我们的算法计算,为每个子空间,一个声音的近似下界的损失在所有的程序在子空间。它迭代地细化这些抽象,以进一步将空间细分为更小的子空间,修剪不包含最优程序的子空间,并最终合成最优程序。我们在一个叫做Rose的工具中实现了这个算法。我们使用SyGuS 2018基准套件将Rose与当前最先进的嘈杂程序合成系统进行比较。我们的评估表明,Rose的性能明显优于之前的系统:在从SyGus 2018基准测试套件中提取的两个有噪声的基准测试程序合成问题集上,Rose提供了高达1587和81.7的加速比,中值加速比为20.5和81.7。Rose还终止了20个(共54个)和4个(共11个)比以前的系统多的基准问题。罗斯和以前的系统合成的程序是最佳的噪声数据集。对于基准测试集中的大多数问题($286$中的$272$),合成程序还为原始(未见过的)无噪声数据集中的所有输入产生正确的输出。这些结果突出了玫瑰可以提供有效的嘈杂程序合成的好处。

英文摘要:

We present a new synthesis algorithm to solve program synthesis over noisy datasets, i.e., data that may contain incorrect/corrupted input-output examples. Our algorithm uses an abstraction refinement based optimization process to synthesize programs which optimize the tradeoff between the loss over the noisy dataset and the complexity of the synthesized program. The algorithm uses abstractions to divide the search space of programs into subspaces by computing an abstract value that represents outputs for all programs in a subspace. The abstract value allows our algorithm to compute, for each subspace, a sound approximate lower bound of the loss over all programs in the subspace. It iteratively refines these abstractions to further subdivide the space into smaller subspaces, prune subspaces that do not contain an optimal program, and eventually synthesize an optimal program. We implemented this algorithm in a tool called Rose. We compare Rose to a current state-of-the-art noisy program synthesis system using the SyGuS 2018 benchmark suite. Our evaluation demonstrates that Rose significantly outperforms this previous system: on two noisy benchmark program synthesis problems sets drawn from the SyGus 2018 benchmark suite, Rose delivers speedups of up to 1587 and 81.7, with median speedups of 20.5 and 81.7. Rose also terminates on 20 (out of 54) and 4 (out of 11) more benchmark problems than the previous system. Both Rose and the previous system synthesize programs that are optimal over the provided noisy data sets. For the majority of the problems in the benchmark sets ($272$ out of $286$), the synthesized programs also produce correct outputs for all inputs in the original (unseen) noise-free data set. These results highlight the benefits that Rose can deliver for effective noisy program synthesis.

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

↑