paper-with-me

홈 › Papers

Natlog: Embedding Logic Programming into the Python Deep-Learning Ecosystem

2023-08-30 · Paul Tarau

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.

📄 PDF Abstract BibTeX arXiv:2308.15890

Code (0)

등록된 구현이 없습니다.

Tasks

Deep Learning

Similar Papers 제목 키워드 기반

Natlog: a Lightweight Logic Programming Language with a Neuro-symbolic Touch

2021-09-17 · Paul Tarau

We introduce Natlog, a lightweight Logic Programming language, sharing Prolog's unification-driven execution model, but with a simplified syntax and semantics. Our proof-of-concept Natlog implementation is tightly embedd…

NatLogAttack: A Framework for Attacking Natural Language Inference Models with Natural Logic

2023-07-06 · Zi'ou Zheng, Xiaodan Zhu

Reasoning has been a central topic in artificial intelligence from the beginning. The recent progress made on distributed representation and neural networks continues to improve the state-of-the-art performance of natura…

Natural Language Inference

Lowering the learning curve for declarative programming: a Python API for the IDP system

2015-11-03 · Joost Vennekens

Programmers may be hesitant to use declarative systems, because of the associated learning curve. In this paper, we present an API that integrates the IDP Knowledge Base system into the Python programming language. IDP i…

Monotonicity Marking from Universal Dependency Trees

2021-04-17 · IWCS (ACL) 2021 6 · Zeming Chen, Qiyue Gao

Dependency parsing is a tool widely used in the field of Natural language processing and computational linguistics. However, there is hardly any work that connects dependency parsing to monotonicity, which is an essentia…

Dependency Parsing

Statistical investigations into the geometry and homology of random programs

2024-07-05 · Jon Sporring, Ken Friis Larsen

AI-supported programming has taken giant leaps with tools such as Meta's Llama and openAI's chatGPT. These are examples of stochastic sources of programs and have already greatly influenced how we produce code and teach …

Language ModellingLarge Language ModelTopological Data Analysis