• Cite Icon38
  • https://doi.org/10.1007/s10994-018-5712-6Copy DOI Icon

Learning efficient logic programs

Show More
  • Abstract
  • Highlights & Summary
  • PDF
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

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;log;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.

Loading PDF

Similar Papers
  • Research Article
  • Citations117

Inductive Logic Programming: Issues, results and the challenge of Learning Language in Logic

  • Oct 01, 1999
  • Artificial Intelligence
  • Stephen Muggleton
  • Research Article
  • Citations58

FastLAS: Scalable Inductive Logic Programming Incorporating Domain-Specific Optimisation Criteria

  • Apr 03, 2020
  • Proceedings of the AAAI Conference on Artificial Intelligence
  • Mark Law +4
  • Research Article
  • Citations52

A Study of Two Sampling Methods for Analyzing Large Datasets with ILP

  • Jan 01, 1999
  • Data Mining and Knowledge Discovery
  • Ashwin Srinivasan
  • Conference Article
  • Citations399

Learning object detection from a small number of examples: the importance of good features

  • Jun 27, 2004
  • K Levi +1
  • Book Chapter
  • Citations42

Meta-Interpretive Learning of Data Transformation Programs

  • Jan 01, 2016
  • Andrew Cropper +2
  • Book Chapter
  • Citations4

Harnessing the Power of GANs and Meta-Learning for Few-Shot Image Generation

  • Feb 21, 2025
  • Muhammad Usman Tariq
  • Book Chapter
  • Citations2

ILP Techniques for Free-Text Input Processing

  • Jan 01, 2002
  • Svetla Boytcheva
  • Research Article
  • Citations17

Induction of Non-Monotonic Logic Programs to Explain Boosted Tree Models Using LIME

  • Jul 17, 2019
  • Proceedings of the AAAI Conference on Artificial Intelligence
  • Farhad Shakerin +1
  • Book Chapter
  • Citations13

AGENP: An ASGrammar-based GENerative Policy Framework

  • Jan 01, 2019
  • Seraphin Calo +7
  • Conference Article
  • Citations1

Inductive Logic Programming through Estimation of Distribution Algorithm

  • Jun 01, 2011
  • Cristiano Grijo Pitangui +1
  • Book Chapter

Pattern Synthesis in SVM Based Classifier

  • Jan 18, 2011
  • C Radha
  • Conference Article
  • Citations3

Knowledge acquisition in model driven development transformations: An inductive logic programming approach

  • Oct 01, 2014
  • Hamdi A Al-Jamimi +1
  • Conference Article
  • Citations3

From a multi-agent simulation theory to GALATEA

  • Jul 16, 2007
  • Jacinto Dávila +2
  • Book Chapter
  • Citations18

On Applying Tabling to Inductive Logic Programming

  • Jan 01, 2005
  • Ricardo Rocha +2
  • Book Chapter
  • Citations2

Efficient induction of executable logic programs from examples

  • Jan 01, 1997
  • Nobuhiro Inuzuka +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.