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 条
  • [1] Learning efficient logic programs
    Andrew Cropper
    Stephen H. Muggleton
    [J]. Machine Learning, 2019, 108 : 1063 - 1083
  • [2] Learning Efficient Logic Programs
    Cropper, Andrew
    [J]. PROCEEDINGS OF THE TWENTY-FOURTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE (IJCAI), 2015, : 4359 - 4360
  • [3] Efficient EM learning with tabulation for parameterized logic programs
    Kameya, Y
    Sato, T
    [J]. COMPUTATIONAL LOGIC - CL 2000, 2000, 1861 : 269 - 284
  • [4] Pac-Learning Recursive Logic Programs: Efficient Algorithms
    Cohen, William W.
    [J]. JOURNAL OF ARTIFICIAL INTELLIGENCE RESEARCH, 1994, 2 : 501 - 539
  • [5] LEARNING RELATIONS AND LOGIC PROGRAMS
    BERGADANO, F
    GUNETTI, D
    [J]. KNOWLEDGE ENGINEERING REVIEW, 1994, 9 (01): : 73 - 77
  • [6] Learning extended logic programs
    Inoue, K
    Kudoh, Y
    [J]. IJCAI-97 - PROCEEDINGS OF THE FIFTEENTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOLS 1 AND 2, 1997, : 176 - 181
  • [7] Learning hierarchical probabilistic logic programs
    Arnaud Nguembang Fadja
    Fabrizio Riguzzi
    Evelina Lamma
    [J]. Machine Learning, 2021, 110 : 1637 - 1693
  • [8] Incremental learning of functional logic programs
    Ferri-Ramírez, C
    Hernández-Orallo, J
    Quintana, MJR
    [J]. FUNCTIONAL AND LOGIC PROGRAMMING, PROCEEDINGS, 2001, 2024 : 233 - 247
  • [9] Learning logic programs by explaining their failures
    Morel, Rolf
    Cropper, Andrew
    [J]. MACHINE LEARNING, 2023, 112 (10) : 3917 - 3943
  • [10] Learning hierarchical probabilistic logic programs
    Fadja, Arnaud Nguembang
    Riguzzi, Fabrizio
    Lamma, Evelina
    [J]. MACHINE LEARNING, 2021, 110 (07) : 1637 - 1693