We study here a natural situation when constraint programming can be entirely reduced to rule-based programming. To this end we explain first how one can compute on constraint satisfaction problems using rules represented by simple first-order formulas. Then we consider constraint satisfaction problems that are based on predefined, explicitly given constraints. To solve them we first derive rules from these explicitly given constraints and limit the computation process to a repeated application of these rules, combined with labeling.We consider here two types of rules. The first type, that we call equality rules, leads to a new notion of local consistency, called {\em rule consistency} that turns out to be weaker than arc consistency for constraints of arbitrary arity (called hyper-arc consistency in \cite{MS98b}). For Boolean constraints rule consistency coincides with the closure under the well-known propagation rules for Boolean constraints. The second type of rules, that we call membership rules, yields a rule-based characterization of arc consistency. To show feasibility of this rule-based approach to constraint programming we show how both types of rules can be automatically generated, as {\tt CHR} rules of \cite{fruhwirth-constraint-95}. This yields an implementation of this approach to programming by means of constraint logic programming. We illustrate the usefulness of this approach to constraint programming by discussing various examples, including Boolean constraints, two typical examples of many valued logics, constraints dealing with Waltz's language for describing polyhedral scenes, and Allen's qualitative approach to temporal logic.
Investigation of the Generalisation Ability of Genetic Programming-evolved Scheduling Rules in Dynamic Flexible Job Shop Scheduling
Centre for Data Science;Artificial Intelligence \& School of Engineering;Computer Science, Victoria University of Wellington, Wellington 6140, New Zealand
Building Rules on Top of Ontologies for the Semantic Web with Inductive Logic Programming
Università degli Studi di Bari(巴里大学)
在本体之上构建规则是语义Web逻辑层的最终目标。为此,目前正在讨论一种用于这一层的特别标记语言。它的目的是遵循传统的混合知识表示和推理系统,如$\mathcal{AL}$ -日志,集成了描述逻辑$\mathcal{ALC}$和无函数霍恩子句语言\textsc{Datalog}。在本文中,我们考虑的问题,这些规则的语义Web的自动化收购。我们提出了一个通用的规则归纳框架,采用归纳逻辑程序设计的方法装置,并依赖于$\mathcal{AL}$ -log的表达和演绎能力。无论归纳的范围(描述与预测)如何,该框架都是有效的。然而,为了说明的目的,我们还讨论了一个实例化的框架,其目的是描述和原来是有用的本体精化。关键词:归纳逻辑程序设计,混合知识表示和推理系统,本体,语义网。逻辑程序设计理论与实践(Theory and Practice of Logic Programming,TPLP)
Doc2Spec: Synthesizing Formal Programming Specifications from Natural Language via Grammar Induction
The Pennsylvania State University(宾夕法尼亚州立大学);University of the Chinese Academy of Sciences(中国科学院大学);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所)
Poznan University of Technology(波兹南理工大学);INRIA(法国国家信息与自动化研究所);IRISA(雷恩高等计算机与通信研究所);Télécom Paris(巴黎电信学院);Institut Polytechnique de Paris(巴黎理工学院);Prague University of Economics and Business(布拉格经济大学)
ANDRE: An Attention-based Neuro-symbolic Differentiable Rule Extractor for Inductive Logic Programming
Dept. of Mechanical and Aerospace Engineering, George Washington University, USA(机械与航空航天工程系,乔治华盛顿大学);Dept. of Mechanical Engineering Sciences, University of Surrey, UK(机械工程科学系,萨里大学)
Best-Effort Inductive Logic Programming via Fine-grained Cost-based Hypothesis Generation
Technische Universität Wien(维也纳技术大学);Marmara University(马尔马拉大学);Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院);Sabanci University(萨班哲大学)
本文介绍了参加第一届归纳逻辑程序设计(ILP)竞赛的计算机系统。它基于Answer Set Programming(ASP)。假设空间生成的ASP编码:给定一组表示模式偏差的事实和一组成本配置参数,该编码的每个答案集表示一个规则,该规则被认为是用于找到需要给定示例的假设。与使用规则体的长度作为规则复杂性度量的最新方法相比,我们的方法允许对假设候选规则的形状进行更细粒度的规范。系统迭代地增加规则成本限制,从而增加搜索空间,直到找到合适的假设。该系统搜索一个假设,需要一个单一的例子,利用ASP编码从XHAIL中使用的编码派生。我们用ILP竞赛的开发和测试集进行实验。为了比较,我们还适应了ILASP系统处理竞争的情况下。实验结果表明,假设搜索空间的代价参数是在有限的资源范围内找到竞争实例的假设的重要因素。
Guiding Large Language Models with Genetic Programming-Evolved Heuristic Knowledge for Dynamic Multi-Mode Project Scheduling
Centre for Data Science and Artificial Intelligence(数据科学与人工智能中心);School of Engineering and Computer Science(工程与计算机科学学院);Victoria University of Wellington(惠灵顿维多利亚大学)
Extended ASP tableaux and rule redundancy in normal logic programs
Helsinki University of Technology (TKK)(赫尔辛基理工大学(TKK))
我们介绍了一个扩展的tableau演算的答案集编程(ASP)。证明系统基于[Gebser&Schaub,ICLP 2006]中定义的ASP表,并添加了扩展规则。我们从理论和经验两方面研究了扩展ASP表的功能。本文研究了扩展ASP表与Tseitin定义的子句集扩展归结证明系统的关系,并通过对一类正规逻辑程序P_n给出多项式长度证明,将扩展ASP表与ASP表分开,其中ASP表具有关于n的指数长度极小证明.此外,扩展ASP表格意味着有趣的洞察力的影响,程序简化的长度证明在ASP。密切相关的扩展ASP表格,我们实证研究的ASP解决效率的冗余规则的效果。逻辑程序设计理论与实践(Theory and Practice of Logic Programming,TPLP)
本文研究了规则依赖图及其着色在描述和计算逻辑程序答案集中的应用。这种方法为我们提供了深入了解规则之间的相互作用时,诱导答案集。我们从不同的特征的答案集的全彩色依赖图,不同的图论方面。然后,我们开发了一系列的操作特征的答案集的运营商部分着色。与证明论中的推导概念类似,我们的操作刻画被表示为(非确定性形成的)着色序列,将未着色的图变成完全着色的图。通过这种方式,我们得到了一个操作框架,其中不同的操作符组合会导致不同的形式属性。除其他外,我们确定的noMoRe系统所采用的基本策略,并证明其算法的方法。此外,我们区分相应的拟合的操作,以及良好的基础语义。(To逻辑程序设计理论与实践(Theory and Practice of Logic Programming,TPLP)
An Integer Linear Programming Framework for Mining Constraints from Data
University of California, Los Angeles(加州大学洛杉矶分校)
结构化输出预测问题(例如,顺序标记、分层多类分类)通常涉及对输出标签空间的约束。这些约束与学习模型相互作用,以过滤不可行的解决方案,并促进建立一个负责任的系统。然而,尽管约束很有用,但它们通常基于手工制定的规则。这就提出了一个问题-- \emph{can we mine constraints and rules from data based on a learning algorithm?}在本文中,我们提出了一个从数据中挖掘约束的一般框架。特别是,我们认为在结构化的输出预测推理作为一个整数线性规划(ILP)问题。然后,给定目标函数的系数和相应的解决方案,我们挖掘潜在的约束条件,估计的外部和内部多面体的可行集。我们验证了所提出的约束挖掘算法在各种合成和现实世界中的应用,并证明了所提出的方法成功地识别规模的可行集。特别是,我们表明,我们的方法可以学习解决9 x9数独难题和最小生成树问题的例子,而无需提供的基本规则。我们的算法也可以与一个神经网络模型集成,以学习多标签分类任务的层次标签结构。此外,我们提供了一个理论分析的紧密性的多面体和可靠性的挖掘约束。