arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2005.02259cs.AIcs.LG
收藏

从失败中学习

Learning programs by learning from failures

University of Oxford(牛津大学)

Andrew Cropper, Rolf Morel

摘要:

我们描述了一个归纳逻辑程序设计(ILP)的方法,称为从失败中学习。在这种方法中,ILP系统(学习者)将学习问题分解为三个独立的阶段:生成,测试和约束。在生成阶段,学习者生成一个假设(一个逻辑程序),满足一组假设约束(对假设的句法形式的约束)。在测试阶段,学习者针对训练样本测试假设。当一个假设没有包含所有的正面例子或包含一个负面例子时,它就失败了。如果假设失败,则在约束阶段,学习器从失败的假设中学习约束以修剪假设空间,即约束后续的假设生成。例如,如果一个假设太笼统(需要一个否定的例子),约束会修剪假设的概括。如果一个假设过于具体(不需要所有的正面例子),约束会修剪该假设的专业化。这个循环重复,直到(i)学习者找到一个假设,需要所有的积极和消极的例子,或(ii)没有更多的假设来测试。我们介绍波普,一个ILP系统,实现这种方法相结合的答案集编程和Prolog。Popper支持无限的问题域,对列表和数字的推理,学习文本最小程序,学习递归程序。我们在三个领域(玩具游戏问题,机器人策略和列表转换)的实验结果表明,(i)约束大大提高了学习性能,(ii)波普尔可以优于现有的ILP系统,无论是在预测精度和学习时间。

英文摘要:

We describe an inductive logic programming (ILP) approach called learning from failures. In this approach, an ILP system (the learner) decomposes the learning problem into three separate stages: generate, test, and constrain. In the generate stage, the learner generates a hypothesis (a logic program) that satisfies a set of hypothesis constraints (constraints on the syntactic form of hypotheses). In the test stage, the learner tests the hypothesis against training examples. A hypothesis fails when it does not entail all the positive examples or entails a negative example. If a hypothesis fails, then, in the constrain stage, the learner learns constraints from the failed hypothesis to prune the hypothesis space, i.e. to constrain subsequent hypothesis generation. For instance, if a hypothesis is too general (entails a negative example), the constraints prune generalisations of the hypothesis. If a hypothesis is too specific (does not entail all the positive examples), the constraints prune specialisations of the hypothesis. This loop repeats until either (i) the learner finds a hypothesis that entails all the positive and none of the negative examples, or (ii) there are no more hypotheses to test. We introduce Popper, an ILP system that implements this approach by combining answer set programming and Prolog. Popper supports infinite problem domains, reasoning about lists and numbers, learning textually minimal programs, and learning recursive programs. Our experimental results on three domains (toy game problems, robot strategies, and list transformations) show that (i) constraints drastically improve learning performance, and (ii) Popper can outperform existing ILP systems, both in terms of predictive accuracies and learning times.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑