Tensor Logic: The Language of AI
Not on the map. Why?
Abstract (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.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 3 of its 18 references that are in the map. First posted on arXiv 14 Oct 2025.
Builds on
3 of 18 references.
References · 3
- 2017Attention Is All You Needcited by 60,361
- 2017Introduction to Tensor Decompositions and their Applications in Machine Learningcited by 46
- 2025A Survey on Retrieval And Structuring Augmented Generation with Large Language Modelscited by 8
Built on by
Citing papers per year: 2025: 1; 2026: 7.
8 papers.
- 2025State over Tokens: Characterizing the Role of Reasoning Tokenscited by 5
- 2026Explicit Fuzzy Logic in the Feed-Forward Layer: Self-Forgetting Quantifiers Discover Legible Grammatical-Licensing Detectorscited by 3
- 2026Incorporating Deep Learning Design in Database Queriescited by 1
- 2026Training, Reading, and Editing Legible Transformerscited by 1
- 2026Computational Concept of the Psychecited by 0
- 2026ClosureBench: A Constructive Benchmark for Compositional Graph Reasoningcited by 0
- 2026Tensor network representations of discrete maximum entropy distributions via mean polytopescited by 0
- 2026Exactness at Inference: A Representational Criterion for Out-of-Distribution Generalizationcited by 0
- 2026Exactness at Inference: A Representational Criterion for Out-of-Distribution Generalization21 Sep 2026
- 2026Tensor network representations of discrete maximum entropy distributions via mean polytopes7 Sep 2026
- 2026ClosureBench: A Constructive Benchmark for Compositional Graph Reasoning18 Aug 2026
- 2026Training, Reading, and Editing Legible Transformers9 Jul 2026
- 2026Explicit Fuzzy Logic in the Feed-Forward Layer: Self-Forgetting Quantifiers Discover Legible Grammatical-Licensing Detectors30 Jun 2026
- 2026Incorporating Deep Learning Design in Database Queries22 May 2026
- 2026Computational Concept of the Psyche16 Mar 2026
- 2025State over Tokens: Characterizing the Role of Reasoning Tokens14 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2026Implementing Tensor Logic: Unifying Datalog and Neural Reasoning via Tensor Contraction
- 2022ExAIS: Executable AI Semantics
- 2025Enhancing Symbolic Machine Learning by Subsymbolic Representations
- 2024LTNtorch: PyTorch Implementation of Logic Tensor Networks
- 2025Reasoning in Neurosymbolic AI
- 2023Scallop: A Language for Neurosymbolic Programming
- 2026The Emergent Symbolic Structure of Artificial Neural Networks
- 2023COOL: A Constraint Object-Oriented Logic Programming Language and its Neural-Symbolic Compilation System