Learning efficient logic programs

被引:13
|
作者
Cropper, Andrew [1 ]
Muggleton, Stephen H. [2 ]
机构
[1] Univ Oxford, Dept Comp Sci, Oxford, England
[2] Imperial Coll London, Dept Comp, London, England
基金
英国工程与自然科学研究理事会;
关键词
Computer circuits - Forestry - Inductive logic programming (ILP) - Iterative methods - Robot programming - Machine learning;
D O I
10.1007/s10994-018-5712-6
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
When machine learning programs from data, we ideally want to learn efficient rather than inefficient programs. However, existing inductive logic programming (ILP) techniques cannot distinguish between the efficiencies of programs, such as permutation sort (n!) and merge sort O(n n). To address this limitation, we introduce Metaopt, an ILP system which iteratively learns lower cost logic programs, each time further restricting the hypothesis space. We prove that given sufficiently large numbers of examples, Metaopt converges on minimal cost programs, and our experiments show that in practice only small numbers of examples are needed. To learn minimal time-complexity programs, including non-deterministic programs, we introduce a cost function called tree cost which measures the size of the SLD-tree searched when a program is given a goal. Our experiments on programming puzzles, robot strategies, and real-world string transformation problems show that Metaopt learns minimal cost programs. To our knowledge, Metaopt is the first machine learning approach that, given sufficient numbers of training examples, is guaranteed to learn minimal cost logic programs, including minimal time-complexity programs.
引用
收藏
页码:1063 / 1083
页数:21
相关论文
共 50 条
  • [31] Learning higher-order logic programs
    Cropper, Andrew
    Morel, Rolf
    Muggleton, Stephen
    [J]. MACHINE LEARNING, 2020, 109 (07) : 1289 - 1322
  • [32] Strategies in Combined Learning via Logic Programs
    Evelina Lamma
    Fabrizio Riguzzi
    Luís Moniz Pereira
    [J]. Machine Learning, 2000, 38 : 63 - 87
  • [33] Learning logic programs with structured background knowledge
    Horváth, T
    Turán, C
    [J]. ARTIFICIAL INTELLIGENCE, 2001, 128 (1-2) : 31 - 97
  • [34] Lifted discriminative learning of probabilistic logic programs
    Fadja, Arnaud Nguembang
    Riguzzi, Fabrizio
    [J]. MACHINE LEARNING, 2019, 108 (07) : 1111 - 1135
  • [35] Strategies in combined learning via logic programs
    Lamma, E
    Riguzzi, F
    Pereira, LM
    [J]. MACHINE LEARNING, 2000, 38 (1-2) : 63 - 87
  • [36] Learning non-monotonic logic programs: Learning exceptions
    Dimopoulos, Y
    Kakas, A
    [J]. MACHINE LEARNING: ECML-95, 1995, 912 : 122 - 137
  • [37] EFFICIENT DATA-FLOW ANALYSIS OF LOGIC PROGRAMS
    DEBRAY, SK
    [J]. JOURNAL OF THE ACM, 1992, 39 (04) : 949 - 984
  • [38] ACCURATE AND EFFICIENT APPROXIMATION OF VARIABLE ALIASING IN LOGIC PROGRAMS
    JACOBS, D
    LANGEN, A
    [J]. LOGIC PROGRAMMING : PROCEEDINGS OF THE NORTH AMERICAN CONFERENCE, 1989, VOL 1-2, 1989, : 154 - 165
  • [39] Parameterized logic programs where computing meets learning
    Sato, T
    [J]. FUNCTIONAL AND LOGIC PROGRAMMING, PROCEEDINGS, 2001, 2024 : 40 - 60
  • [40] Learning from entailment of logic programs with local variables
    Rao, MRKK
    Sattar, A
    [J]. ALGORITHMIC LEARNING THEORY, 1998, 1501 : 143 - 157