arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.16238cs.AI
收藏

通过廉价排序挖掘规则高效学习概率逻辑模型

Linear-time Rule Mining Under Formal Guarantees

Bennu.Ai Edinburgh(贝努人工智能爱丁堡);University of Edinburgh(爱丁堡大学);Samsung AI Cambridge(三星人工智能剑桥)

Jonathan Feldstein, Dominic Phillips, Efthymia Tsamoura

AI总结:

本文提出SPECTRUM框架,通过线性时间挖掘循环子图并基于规则效用排序,高效学习概率逻辑模型,在CPU上以极低耗时达到优于GPU上神经网络的准确性。

摘要:

概率逻辑模型是神经符号AI的核心组成部分,并且对于需要高可解释性的任务本身也具有重要意义。与神经网络不同,支撑模型的逻辑理论通常依赖领域专家手工构建,这使得其开发成本高昂且容易出错。尽管已有从数据中学习逻辑理论的算法,但它们通常代价过高,限制了其在现实场景中的适用性。在此,我们为逻辑规则引入了精确率和召回率,并将其组合定义为规则效用——一种衡量逻辑理论预测能力的低成本指标。我们还引入了SPECTRUM,一个从关系数据中学习逻辑理论的可扩展框架。其可扩展性源于一个用于挖掘数据图中循环子图的线性时间算法,以及另一个利用可在线性时间内计算的效用度量来高效排序从这些子图导出的规则的算法。最后,我们证明了所学逻辑理论效用的理论保证。因此,我们在各种任务中证明,SPECTRUM可扩展到更大的数据集,通常在CPU上以不到最先进的神经网络方法在GPU上运行时间的1%的运行时,学习到更准确的逻辑理论。

英文摘要:

Probabilistic logical models are a core component of neurosymbolic AI and are important in their own right for tasks that require high explainability. Unlike neural networks, logical theories that underlie the model are often handcrafted using domain expertise, making their development costly and prone to errors. While there are algorithms that learn logical theories from data, they are generally prohibitively expensive, limiting their applicability in real-world settings. Here, we introduce precision and recall for logical rules and define their composition as rule utility -- a measure of the predictive power of logical theories that can be computed in linear time in the data size. We then present SPECTRUM, a linear-time framework for learning logical theories from relational data, that mines recurrent patterns in the data, and subsequently uses our utility measure to evaluate and rank the rules derived from these patterns. Finally, we prove theoretical guarantees on the utility of the learnt logical theory. As a result, we demonstrate across various tasks that SPECTRUM scales to databases with orders of magnitude more relations and entities, often learning more accurate logical theories on CPUs in < 1% of the runtime of state-of-the-art neural network approaches on GPUs.

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

↑