用数值松弛法综合数据库程序
Synthesizing Datalog Programs Using Numerical Relaxation
摘要:
从示例中学习逻辑规则的问题出现在不同的领域,包括程序合成、逻辑编程和机器学习。现有的方法要么涉及解决计算困难的组合问题,或在复杂的统计模型中进行参数估计。在本文中,我们提出了Difflog,一种技术扩展的逻辑程序设计语言数据库的连续设置。通过将实值权重附加到Datasheet程序的各个规则,我们自然地将数值与程序的各个结论联系起来。类似于优化问题中的数值松弛策略,我们现在可以首先确定导致训练标签和输出元组的导出值之间最佳一致的规则权重,然后从连续最优值恢复经典离散值目标程序。我们评估Difflog的一套34个基准问题,从最近的文献中的知识发现,形式化验证,数据库查询的例子,并展示了显着的改进学习复杂的程序与递归规则,发明的谓词,和任意arity的关系。
英文摘要:
The problem of learning logical rules from examples arises in diverse fields, including program synthesis, logic programming, and machine learning. Existing approaches either involve solving computationally difficult combinatorial problems, or performing parameter estimation in complex statistical models. In this paper, we present Difflog, a technique to extend the logic programming language Datalog to the continuous setting. By attaching real-valued weights to individual rules of a Datalog program, we naturally associate numerical values with individual conclusions of the program. Analogous to the strategy of numerical relaxation in optimization problems, we can now first determine the rule weights which cause the best agreement between the training labels and the induced values of output tuples, and subsequently recover the classical discrete-valued target program from the continuous optimum. We evaluate Difflog on a suite of 34 benchmark problems from recent literature in knowledge discovery, formal verification, and database query-by-example, and demonstrate significant improvements in learning complex programs with recursive rules, invented predicates, and relations of arbitrary arity.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。