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 条
  • [21] Mind change complexity of learning logic programs
    Jain, S
    Sharma, A
    [J]. THEORETICAL COMPUTER SCIENCE, 2002, 284 (01) : 143 - 160
  • [22] Learning higher-order logic programs
    Andrew Cropper
    Rolf Morel
    Stephen Muggleton
    [J]. Machine Learning, 2020, 109 : 1289 - 1322
  • [23] Constraint-Driven Learning of Logic Programs
    Morel, Rolf
    [J]. THIRTY-FIFTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, THIRTY-THIRD CONFERENCE ON INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE AND THE ELEVENTH SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2021, 35 : 15726 - 15727
  • [24] Basic principles of learning bayesian logic programs
    Kersting, Kristian
    De Raedt, Luc
    [J]. Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2008, 4911 LNAI : 189 - 221
  • [25] Lifted discriminative learning of probabilistic logic programs
    Arnaud Nguembang Fadja
    Fabrizio Riguzzi
    [J]. Machine Learning, 2019, 108 : 1111 - 1135
  • [26] A connectionist system approach for learning logic programs
    Mashinchi, M. Hadi
    Shamsuddin, Siti Mariyam Hj.
    [J]. 2008 IEEE/ACS INTERNATIONAL CONFERENCE ON COMPUTER SYSTEMS AND APPLICATIONS, VOLS 1-3, 2008, : 852 - 855
  • [27] Learning Logic Programs by Discovering Where Not to Search
    Cropper, Andrew
    Hocquette, Celine
    [J]. THIRTY-SEVENTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 37 NO 5, 2023, : 6289 - 6296
  • [28] Mind change complexity of learning logic programs
    Jain, S
    Sharma, A
    [J]. COMPUTATIONAL LEARNING THEORY, 1999, 1572 : 198 - 213
  • [29] Learning logic programs with random classification noise
    Horváth, T
    Sloan, RH
    Turán, G
    [J]. INDUCTIVE LOGIC PROGRAMMING, 1997, 1314 : 315 - 336
  • [30] Learning structure and parameters of Stochastic Logic Programs
    Muggleton, S
    [J]. INDUCTIVE LOGIC PROGRAMMING, 2003, 2583 : 198 - 206