arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1703.03193cs.AIcs.LO
收藏

在向量空间中嵌入塔斯基语义

Embedding Tarskian Semantics in Vector Spaces

AIST(日本产业技术综合研究所);National Institute of Informatics(日本国立信息学研究所)

Taisuke Sato

摘要:

提出了一种新的线性代数方法来计算逻辑中的塔斯基语义。我们通过将M的实体映射到N维独热向量和k元关系映射到k阶邻接张量(多路数组),将有限模型M嵌入到N维欧氏空间R ^N中具有N个实体的一阶逻辑中。其次,给出一个前束范式的逻辑公式F,通过一个非线性运算将F编译成一个多重线性代数中的代数公式集合Sigma_F。在这个编译中,存在量词被编译成特定类型的张量,例如,单位矩阵的情况下,量化两次出现的一个变量。它表明,在R ^N中的Sigma_F的系统评估给出F在M中的真值1(真)或0(假)。基于这个框架,我们还提出了一个前所未有的方式来计算最少的模型定义的Datasheet程序在线性空间中通过矩阵方程和经验表明其有效性相比,国家的最先进的方法。

英文摘要:

We propose a new linear algebraic approach to the computation of Tarskian semantics in logic. We embed a finite model M in first-order logic with N entities in N-dimensional Euclidean space R^N by mapping entities of M to N dimensional one-hot vectors and k-ary relations to order-k adjacency tensors (multi-way arrays). Second given a logical formula F in prenex normal form, we compile F into a set Sigma_F of algebraic formulas in multi-linear algebra with a nonlinear operation. In this compilation, existential quantifiers are compiled into a specific type of tensors, e.g., identity matrices in the case of quantifying two occurrences of a variable. It is shown that a systematic evaluation of Sigma_F in R^N gives the truth value, 1(true) or 0(false), of F in M. Based on this framework, we also propose an unprecedented way of computing the least models defined by Datalog programs in linear spaces via matrix equations and empirically show its effectiveness compared to state-of-the-art approaches.

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

↑