神经符号模型对自然约束的一致性保证
Guaranteed Conformance of Neurosymbolic Models to Natural Constraints
AI总结:
针对数据驱动模型需符合自然科学约束的需求,提出基于生长神经气体记忆样本与状态空间分区的符号包装方法,保证神经符号模型与给定约束模型的有界一致性,实验显示性能较基线提升数个数量级。
摘要:
深度神经网络已成为大量机器人与控制应用的主力工具,尤其是作为动态系统的模型。这类数据驱动模型反过来被用于设计和验证自主系统,它们在医疗系统建模中尤为有用,可利用数据实现治疗个体化。在安全关键型应用中,数据驱动模型必须符合自然科学领域已确立的知识,这类知识通常是可得的,或常可被提炼为一个(可能是黑盒的)模型。例如,F1赛车应符合牛顿定律(这些定律被编码在独轮车模型中)。\n基于此,我们研究如下问题:给定模型$M$和一个状态转移数据集,我们希望在与$M$保持有界距离的前提下,最优地逼近系统模型。我们提出了一种保证该一致性的方法。第一步,我们利用生长神经气体的思想,将数据集提炼为少数被称为记忆的代表性样本。接下来,我们利用这些记忆将状态空间划分为互不相交的子集,并计算每个子集内神经网络必须遵守的边界。这一机制充当了保证一致性的符号包装层。我们从理论上证明,这仅会导致逼近误差的有界增长,且该误差可通过增加记忆数量来控制。\n我们通过三个案例研究(汽车模型、无人机、人工胰腺)进行实验,结果表明,我们的约束神经符号模型能够符合指定的模型(每个模型都编码了多种约束),与增广拉格朗日法和普通训练方法相比,性能提升了数个数量级。我们的代码可在以下链接获取:https://github.com/kaustubhsridhar/Constrained_Models
英文摘要:
Deep neural networks have emerged as the workhorse for a large section of robotics and control applications, especially as models for dynamical systems. Such data-driven models are in turn used for designing and verifying autonomous systems. They are particularly useful in modeling medical systems where data can be leveraged to individualize treatment. In safety-critical applications, it is important that the data-driven model is conformant to established knowledge from the natural sciences. Such knowledge is often available or can often be distilled into a (possibly black-box) model. For instance, an F1 racing car should conform to Newton's laws (which are encoded within a unicycle model). In this light, we consider the following problem - given a model $M$ and a state transition dataset, we wish to best approximate the system model while being a bounded distance away from $M$. We propose a method to guarantee this conformance. Our first step is to distill the dataset into a few representative samples called memories, using the idea of a growing neural gas. Next, using these memories we partition the state space into disjoint subsets and compute bounds that should be respected by the neural network in each subset. This serves as a symbolic wrapper for guaranteed conformance. We argue theoretically that this only leads to a bounded increase in approximation error; which can be controlled by increasing the number of memories. We experimentally show that on three case studies (Car Model, Drones, and Artificial Pancreas), our constrained neurosymbolic models conform to specified models (each encoding various constraints) with order-of-magnitude improvements compared to the augmented Lagrangian and vanilla training methods. Our code can be found at: https://github.com/kaustubhsridhar/Constrained_Models
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。