arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1308.4125cs.SEcs.PL
收藏

了解Silk中的规则日志计算

Understanding Rulelog Computations in Silk

Carl Andersen, Brett Benyo, Miguel Calejo, Mike Dean, Paul Fodor, Benjamin N. Grosof, Michael Kifer, Senlin Liang, Terrance Swift

摘要:

Rulelog是一种基于良基语义的逻辑程序设计的知识表示和推理语言。它是Flora-2语言的扩展,因此支持继承和其他面向对象的功能,以及Hilog的高阶语法。然而,Rulelog规则也可以包含量词并且可以是对位的。此外,这些规则的可撤销性机制,包括规则取消,规则优先级,和其他方面的存在进行评估。规则日志程序有时由松散协调的知识工程师(KE)团队开发,他们不一定是程序员。这不仅需要声明式调试支持,还需要对分析的支持,以帮助KE理解计算的整体结构,包括其终止属性。调试和分析工具的设计变得更具挑战性,因为Rulelog程序经历了一系列转换为正常程序,因此在规则的指定方式和执行方式之间存在认知距离。在本文中,我们描述的调试和分析环境中实现的丝绸系统的集成开发环境的Rulelog。我们的方法包括一个接口的理由图,治疗为什么不和可撤销性以及出处的规则支持的答案。它还包括用于基于跟踪的计算分析的工具,以允许理解错误的非终止性和一般性能问题。对于非终止行为的语义正确的情况,Silk提供了一种不同的方法,通过利用一种称为约束的有限理性形式,以一种形式上合理的方式解决问题。

英文摘要:

Rulelog is a knowledge representation and reasoning language based on logic programming under the well-founded semantics. It is an extension of the language of Flora-2 and so supports inheritance and other object-oriented features, as well as the higher-order syntax of Hilog. However, Rulelog rules may also contain quantifiers and may be contra-positional. In addition, these rules are evaluated in the presence of defeasibility mechanisms that include rule cancellation, rule priorities, and other aspects. Rulelog programs are sometimes developed by loosely coordinated teams of knowledge engineers (KEs) who are not necessarily programmers. This requires not only declarative debugging support, but also support for profiling to help KEs understand the overall structure of a computation, including its termination properties. The design of debugging and profiling tools is made more challenging because Rulelog programs undergo a series of transformations into normal programs, so that there is a cognitive distance between how rules are specified and how they are executed. In this paper, we describe the debugging and profiling environment for Rulelog implemented in the integrated development environment of the Silk system. Our approach includes an interface to justification graphs, which treat why-not and defeasibility as well as provenance of the rules supporting answers. It also includes tools for trace-based analysis of computations to permit understanding of erroneous non-termination and of general performance issues. For semantically correct cases of the non-terminating behavior, Silk offers a different approach, which addresses the problem in a formally sound manner by leveraging a form of bounded rationality called restraint.

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

↑