The Difficulties of Learning Logic Programs with Cut
F. Bergadano, D. Gunetti, U. Trinchero

TL;DR
This paper examines the challenges of learning logic programs that include the cut predicate, highlighting the limitations of existing methods and suggesting that current induction techniques may need restrictions for such programs.
Contribution
It introduces a novel approach to learning logic programs with cut by generating candidate bases and inserting cut, and analyzes the inherent difficulties involved.
Findings
Learning cut is inherently difficult due to procedural semantics.
Extensional evaluation methods are insufficient for programs with cut.
Current induction techniques should focus on purely declarative logic languages.
Abstract
As real logic programmers normally use cut (!), an effective learning procedure for logic programs should be able to deal with it. Because the cut predicate has only a procedural meaning, clauses containing cut cannot be learned using an extensional evaluation method, as is done in most learning systems. On the other hand, searching a space of possible programs (instead of a space of independent clauses) is unfeasible. An alternative solution is to generate first a candidate base program which covers the positive examples, and then make it consistent by inserting cut where appropriate. The problem of learning programs with cut has not been investigated before and this seems to be a natural and reasonable approach. We generalize this scheme and investigate the difficulties that arise. Some of the major shortcomings are actually caused, in general, by the need for intensional evaluation.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · Logic, Reasoning, and Knowledge · Advanced Algebra and Logic
