Natlog: Embedding Logic Programming into the Python Deep-Learning Ecosystem
Not on the map. Why?
Abstract (arXiv)
Driven by expressiveness commonalities of Python and our Python-based embedded logic-based language Natlog, we design high-level interaction patterns between equivalent language constructs and data types on the two sides. By directly connecting generators and backtracking, nested tuples and terms, coroutines and first-class logic engines, reflection and meta-interpretation, we enable logic-based language constructs to access the full power of the Python ecosystem. We show the effectiveness of our design via Natlog apps working as orchestrators for JAX and Pytorch pipelines and as DCG-driven GPT3 and DALL.E prompt generators. Keyphrases: embedding of logic programming in the Python ecosystem, high-level inter-paradigm data exchanges, coroutining with logic engines, logic-based neuro-symbolic computing, logic grammars as prompt-generators for Large Language Models, logic-based neural network configuration and training.
Key facts. Cited by 1 paper in the map (data through 13 Oct 2026). Builds on 7 of its 14 references that are in the map. First posted on arXiv 30 Aug 2023.
Builds on
7 of 14 references.
References · 7
- 2017Attention Is All You Needcited by 60,106
- 2020Language Models are Few-Shot Learnerscited by 32,320
- 2022Training language models to follow instructions with human feedbackcited by 15,856
- 2021Zero-Shot Text-to-Image Generationcited by 4,284
- 2019Neural Probabilistic Logic Programming in DeepProbLogcited by 390
- 2021Neuro-Symbolic Artificial Intelligence: Current Trendscited by 54
- 2021Natlog: a Lightweight Logic Programming Language with a Neuro-symbolic Touchcited by 5
Built on by
Citing papers per year: 2026: 1.
1 paper.