Learning efficient logic programs

被引:0
|
作者
Andrew Cropper
Stephen H. Muggleton
机构
[1] University of Oxford,Department of Computer Science
[2] Imperial College London,Department of Computing
来源
Machine Learning | 2019年 / 108卷
关键词
Minimal Cost Programs; Robot Strategy; Hypothesis Space; Metagol; Lower Resource Complexities;
D O I
暂无
中图分类号
学科分类号
摘要
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(nlogn)\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$O(n\;log\;n)$$\end{document}. 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
页数:20
相关论文
共 50 条
  • [1] Learning efficient logic programs
    Cropper, Andrew
    Muggleton, Stephen H.
    MACHINE LEARNING, 2019, 108 (07) : 1063 - 1083
  • [2] Learning Efficient Logic Programs
    Cropper, Andrew
    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
    COMPUTATIONAL LOGIC - CL 2000, 2000, 1861 : 269 - 284
  • [4] Pac-Learning Recursive Logic Programs: Efficient Algorithms
    Cohen, William W.
    JOURNAL OF ARTIFICIAL INTELLIGENCE RESEARCH, 1994, 2 : 501 - 539
  • [5] Efficient induction of logic programs
    1600, Publ by Ohmsha Ltd, Tokyo, Jpn
  • [6] LEARNING RELATIONS AND LOGIC PROGRAMS
    BERGADANO, F
    GUNETTI, D
    KNOWLEDGE ENGINEERING REVIEW, 1994, 9 (01): : 73 - 77
  • [7] Learning extended logic programs
    Inoue, K
    Kudoh, Y
    IJCAI-97 - PROCEEDINGS OF THE FIFTEENTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOLS 1 AND 2, 1997, : 176 - 181
  • [8] Learning hierarchical probabilistic logic programs
    Arnaud Nguembang Fadja
    Fabrizio Riguzzi
    Evelina Lamma
    Machine Learning, 2021, 110 : 1637 - 1693
  • [9] Learning logic programs by explaining their failures
    Morel, Rolf
    Cropper, Andrew
    MACHINE LEARNING, 2023, 112 (10) : 3917 - 3943
  • [10] Incremental learning of functional logic programs
    Ferri-Ramírez, C
    Hernández-Orallo, J
    Quintana, MJR
    FUNCTIONAL AND LOGIC PROGRAMMING, PROCEEDINGS, 2001, 2024 : 233 - 247