arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.14814cs.AIcs.LGcs.SC
收藏

回答集网络:将回答集编程引入深度学习

Answer Set Networks: Casting Answer Set Programming into Deep Learning

TU Darmstadt(达姆施塔特工业大学);TU Eindhoven(埃因霍温理工大学);Hessian Center for AI (hessian.AI)(黑森人工智能中心(hessian.AI));German Research Center for AI (DFKI)(德国人工智能研究中心(DFKI))

Arseny Skryagin, Daniel Ochs, Philipp Deibert, Simon Kohaut, Devendra Singh Dhami, Kristian Kersting

AI总结:

提出基于图神经网络的回答集网络(ASN),将回答集编程引入深度学习,利用GPU并行计算高效求解,在多任务上优于现有CPU受限的神经符号系统,并首次实现用逻辑引导微调大型语言模型及无人机宪法导航。

摘要:

尽管回答集编程(ASP)允许对神经符号(NeSy)系统进行约束,但其应用因计算稳定模型的高昂成本和最先进求解器受限于CPU的特性而受阻。为此,我们提出了一种NeSy求解器——回答集网络(ASN)。基于图神经网络(GNN),ASN是一种可扩展的基于ASP的深度概率逻辑编程(DPPL)方法。具体而言,我们展示了如何将ASP转换为ASN,并证明ASN如何利用GPU的批处理和并行化能力高效解决编码问题。我们的实验评估表明,ASN在多个任务上优于最先进的受限于CPU的NeSy系统。同时,基于ASN的优势,我们做出了以下两项贡献。即我们首次展示了利用DPPL对大型语言模型(LLM)进行微调,采用ASN以逻辑引导训练。此外,我们展示了无人机的“宪法导航”,即在ASN中编码公共航空法,用于在不确定环境中为无人机(UAV)进行路由规划。

英文摘要:

Although Answer Set Programming (ASP) allows constraining neural-symbolic (NeSy) systems, its employment is hindered by the prohibitive costs of computing stable models and the CPU-bound nature of state-of-the-art solvers. To this end, we propose Answer Set Networks (ASN), a NeSy solver. Based on Graph Neural Networks (GNN), ASNs are a scalable approach to ASP-based Deep Probabilistic Logic Programming (DPPL). Specifically, we show how to translate ASPs into ASNs and demonstrate how ASNs can efficiently solve the encoded problem by leveraging GPU's batching and parallelization capabilities. Our experimental evaluations demonstrate that ASNs outperform state-of-the-art CPU-bound NeSy systems on multiple tasks. Simultaneously, we make the following two contributions based on the strengths of ASNs. Namely, we are the first to show the finetuning of Large Language Models (LLM) with DPPLs, employing ASNs to guide the training with logic. Further, we show the "constitutional navigation" of drones, i.e., encoding public aviation laws in an ASN for routing Unmanned Aerial Vehicles in uncertain environments.

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

↑