mlsanityData to 7 Oct 2026

LTNtorch: PyTorch Implementation of Logic Tensor Networks

arXiv 2409.16045 ↗First posted 24 Sep 2024cs.AIcited by 4

On the map: LLM reasoning → Reasoning benchmarks and evaluation

Abstract (arXiv)

Logic Tensor Networks (LTN) is a Neuro-Symbolic framework that effectively incorporates deep learning and logical reasoning. In particular, LTN allows defining a logical knowledge base and using it as the objective of a neural model. This makes learning by logical reasoning possible as the parameters of the model are optimized by minimizing a loss function composed of a set of logical formulas expressing facts about the learning task. The framework learns via gradient-descent optimization. Fuzzy logic, a relaxation of classical logic permitting continuous truth values in the interval [0,1], makes this learning possible. Specifically, the training of an LTN consists of three steps. Firstly, (1) the training data is used to ground the formulas. Then, (2) the formulas are evaluated, and the loss function is computed. Lastly, (3) the gradients are back-propagated through the logical computational graph, and the weights of the neural model are changed so the knowledge base is maximally satisfied. LTNtorch is the fully documented and tested PyTorch implementation of Logic Tensor Networks. This paper presents the formalization of LTN and how LTNtorch implements it. Moreover, it provides a basic binary classification example.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 2 of its 5 references that are in the map. First posted on arXiv 24 Sep 2024.

Builds on

2 of 5 references.

References · 2

  1. 2020Logic Tensor Networkscited by 197
  2. 2020Analyzing Differentiable Fuzzy Logic Operatorscited by 100

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 2.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Tensor Logic: The Language of AI
  2. 2026Logic Tensor Network-Enhanced Generative Adversarial Network
  3. 2025Enhancing Symbolic Machine Learning by Subsymbolic Representations
  4. 2026Implementing Tensor Logic: Unifying Datalog and Neural Reasoning via Tensor Contraction
  5. 2023Continual Reasoning: Non-Monotonic Reasoning in Neurosymbolic AI using Continual Learning
  6. 2025Categorical Construction of Logically Verifiable Neural Architectures
  7. 2024Sisteme Hibride de Invatare Automata si Aplicatii
  8. 2025Standard Neural Computation Alone Is Insufficient for Logical Intelligence