Skip to main content
QUICK REVIEW

[Paper Review] Exploiting Answer Set Programming with External Sources for Meta-Interpretive Learning

Tobias Kaminski, Thomas Eiter|arXiv (Cornell University)|Apr 30, 2018
Logic, Reasoning, and KnowledgeComputer Science18 references13 citations
TL;DR

This paper proposes a novel HEX-ASP encoding for Meta-Interpretive Learning (MIL) that integrates external sources to manage background knowledge and reduce grounding overhead. By interleaving object-level and meta-level derivations and abstracting from term manipulation, the approach efficiently restricts search space and enables scalable, declarative MIL with procedural bias, outperforming standard ASP and Prolog-based methods on benchmark problems.

ABSTRACT

Meta-Interpretive Learning (MIL) learns logic programs from examples by instantiating meta-rules, which is implemented by the Metagol system based on Prolog. Viewing MIL-problems as combinatorial search problems, they can alternatively be solved by employing Answer Set Programming (ASP), which may result in performance gains as a result of efficient conflict propagation. However, a straightforward ASP-encoding of MIL results in a huge search space due to a lack of procedural bias and the need for grounding. To address these challenging issues, we encode MIL in the HEX-formalism, which is an extension of ASP that allows us to outsource the background knowledge, and we restrict the search space to compensate for a procedural bias in ASP. This way, the import of constants from the background knowledge can for a given type of meta-rules be limited to relevant ones. Moreover, by abstracting from term manipulations in the encoding and by exploiting the HEX interface mechanism, the import of such constants can be entirely avoided in order to mitigate the grounding bottleneck. An experimental evaluation shows promising results.

Motivation & Objective

  • To address the scalability limitations of standard ASP encodings for MIL, particularly due to grounding bottlenecks and unguided search.
  • To enable efficient handling of complex background knowledge involving structured terms like strings and lists through external source integration.
  • To introduce procedural bias in ASP by interleaving object-level and meta-level derivations, reducing irrelevant rule instantiations.
  • To mitigate grounding overhead via term abstraction and external computation of derivation sequences.
  • To provide a flexible, modular, and extensible framework for MIL that supports predicate invention and recursive program learning.

Proposed method

  • Encoding MIL problems in the HEX formalism, which extends ASP with bidirectional external atoms for interfacing with external computation sources.
  • Introducing a two-level derivation strategy: object-level derivations from background knowledge and meta-level rule instantiation guided by partial hypotheses.
  • Restricting grounding by limiting term imports to only those relevant to existing derivations, using forward-chaining constraints in a specialized encoding.
  • Abstracting from object-level terms by externally computing derivation sequences for positive examples and checking negative example non-derivability via external constraints.
  • Leveraging the HEX interface to avoid full grounding by deferring term generation and enabling value invention from external sources.
  • Using iterative deepening with weak constraints for hypothesis minimization, while ensuring termination and avoiding infinite loops.

Experimental results

Research questions

  • RQ1Can external sources in HEX-ASP be used to reduce the grounding bottleneck in MIL by deferring term generation?
  • RQ2How can procedural bias be effectively encoded in ASP to guide meta-rule instantiation and reduce search space?
  • RQ3Can term abstraction via external computation improve scalability in ASP-based MIL without sacrificing correctness?
  • RQ4How does the performance of the proposed HEX-ASP approach compare to Prolog-based Metagol and standard ASP encodings on real-world MIL benchmarks?
  • RQ5To what extent can the approach support recursive and predicate-inventing programs while maintaining efficiency and correctness?

Key findings

  • The HEX-ASP encoding with external sources significantly reduces grounding overhead by limiting the import of constants to only those relevant to existing derivations.
  • The interleaved object- and meta-level derivation strategy effectively restricts the search space, preventing unguided exploration of irrelevant rule instantiations.
  • The abstraction technique via external computation of derivation sequences allows the system to avoid full grounding and scale to larger problems.
  • Empirical evaluation shows the approach outperforms standard ASP encodings and achieves competitive performance compared to Prolog-based Metagol on known benchmarks.
  • The method supports learning of recursive programs and predicate invention, with solutions that are compact and correct, even when background knowledge is extensive.
  • Delaying BK imports to chains of limited length led to significant speedups in some cases, though minimality of solutions was not guaranteed.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.