...
首页> 外文期刊>Journal of machine learning research >Efficient Program Synthesis Using Constraint Satisfaction in Inductive Logic Programming
【24h】

Efficient Program Synthesis Using Constraint Satisfaction in Inductive Logic Programming

机译:在归纳逻辑编程中使用约束满足的高效程序综合

获取原文
   

获取外文期刊封面封底 >>

       

摘要

We present NrSample, a framework for program synthesis ininductive logic programming. NrSample uses propositional logicconstraints to exclude undesirable candidates from the search.This is achieved by representing constraints as propositionalformulae and solving the associated constraint satisfactionproblem. We present a variety of such constraints: pruning,input-output, functional (arithmetic), and variable splitting.NrSample is also capable of detecting search space exhaustion,leading to further speedups in clause induction and optimality.We benchmark NrSample against enumeration search (Aleph'sdefault) and Progol's $A^{*}$ search in the context of programsynthesis. The results show that, on large program synthesisproblems, NrSample induces between 1 and 1358 times faster thanenumeration (236 times faster on average), always with similaror better accuracy. Compared to Progol $A^{*}$, NrSample is 18times faster on average with similar or better accuracy exceptfor two problems: one in which Progol $A^{*}$ substantiallysacrificed accuracy to induce faster, and one in which Progol$A^{*}$ was a clear winner. Functional constraints provide aspeedup of up to 53 times (21 times on average) with similar orbetter accuracy. We also benchmark using a few concept learning(non-program synthesis) problems. The results indicate thatwithout strong constraints, the overhead of solving constraintsis not compensated for. color="gray">
机译:我们提出了NrSample,一个用于程序归纳逻辑编程的框架。 NrSample使用命题逻辑约束从搜索中排除不需要的候选词,这是通过将约束表示为命题公式并解决相关的约束满足问题来实现的。我们提出了许多这样的约束条件:修剪,输入输出,功能(算术)和变量拆分.NrSample还能够检测搜索空间耗尽,从而导致子句归纳和最优性进一步加速。我们将NrSample对照枚举搜索进行基准测试( Aleph的默认设置)和Progol的$ A ^ {*} $在程序合成的上下文中进行搜索。结果表明,在大型程序综合问题上,NrSample的诱导速度比枚举快1到1358倍(平均快236倍),总是具有相似或更好的准确性。与Progol $ A ^ {** $相比,NrSample的平均速度提高了18倍,具有相似或更高的准确性,除了两个问题:一个是Progol $ A ^ {*} $大幅牺牲了精度以诱导更快的速度,另一个是Progol $ A ^ {*} $显然是赢家。功能约束可提供高达53倍(平均21倍)的加速,且精度更高。我们还使用一些概念学习(非程序综合)问题进行基准测试。结果表明,在没有强约束的情况下,求解约束的开销无法得到补偿。 color =“ gray”>

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号