paper-with-me

홈 › Papers

Tensor Logic: The Language of AI

2025-10-14 · Pedro Domingos arxiv

Progress in AI is hindered by the lack of a programming language with all the requisite features. Libraries like PyTorch and TensorFlow provide automatic differentiation and efficient GPU implementation, but are additions to Python, which was never intended for AI. Their lack of support for automated reasoning and knowledge acquisition has led to a long and costly series of hacky attempts to tack them on. On the other hand, AI languages like LISP and Prolog lack scalability and support for learning. This paper proposes tensor logic, a language that solves these problems by unifying neural and symbolic AI at a fundamental level. The sole construct in tensor logic is the tensor equation, based on the observation that logical rules and Einstein summation are essentially the same operation, and all else can be reduced to them. I show how to elegantly implement key forms of neural, symbolic and statistical AI in tensor logic, including transformers, formal reasoning, kernel machines and graphical models. Most importantly, tensor logic makes new directions possible, such as sound reasoning in embedding space. This combines the scalability and learnability of neural networks with the reliability and transparency of symbolic reasoning, and is potentially a basis for the wider adoption of AI.

📄 PDF Abstract BibTeX arXiv:2510.12269

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

A tensorized logic programming language for large-scale data

2019-01-20 · Ryosuke Kojima, Taisuke Sato

We introduce a new logic programming language T-PRISM based on tensor embeddings. Our embedding scheme is a modification of the distribution semantics in PRISM, one of the state-of-the-art probabilistic logic programming…

Knowledge Graphs

Logic Tensor Networks: Deep Learning and Logical Reasoning from Data and Knowledge

2016-06-14 · Luciano Serafini, Artur d'Avila Garcez

We propose Logic Tensor Networks: a uniform framework for integrating automatic learning and reasoning. A logic formalism called Real Logic is defined on a first-order language whereby formulas have truth-value in the in…

Logical ReasoningTensor Networks

Logic Tensor Networks

2020-12-25 · Samy Badreddine, Artur d'Avila Garcez, Luciano Serafini, Michael Spranger

Artificial Intelligence agents are required to learn from their surroundings and to reason about the knowledge that has been learned in order to make decisions. While state-of-the-art learning from data typically uses su…

ClusteringMulti-Label ClassificationMUlTI-LABEL-ClASSIFICATIONRelational Reasoning+1

ExAIS: Executable AI Semantics

2022-02-20 · Richard Schumi, Jun Sun

Neural networks can be regarded as a new programming paradigm, i.e., instead of building ever-more complex programs through (often informal) logical reasoning in the programmers' mind, complex 'AI' systems are built by o…

Logical Reasoningvalid

TensorLog: Deep Learning Meets Probabilistic DBs

2017-07-17 · William W. Cohen, Fan Yang, Kathryn Rivard Mazaitis

We present an implementation of a probabilistic first-order logic called TensorLog, in which classes of logical queries are compiled into differentiable functions in a neural-network infrastructure such as Tensorflow or …

Deep LearningLogical Reasoning