Scallop: A Language for Neurosymbolic Programming
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
We present Scallop, a language which combines the benefits of deep learning and logical reasoning. Scallop enables users to write a wide range of neurosymbolic applications and train them in a data- and compute-efficient manner. It achieves these goals through three key features: 1) a flexible symbolic representation that is based on the relational data model; 2) a declarative logic programming language that is based on Datalog and supports recursion, aggregation, and negation; and 3) a framework for automatic and efficient differentiable reasoning that is based on the theory of provenance semirings. We evaluate Scallop on a suite of eight neurosymbolic applications from the literature. Our evaluation demonstrates that Scallop is capable of expressing algorithmic reasoning in diverse and challenging AI tasks, provides a succinct interface for machine learning programmers to integrate logical domain knowledge, and yields solutions that are comparable or superior to state-of-the-art models in terms of accuracy. Furthermore, Scallop's solutions outperform these models in aspects such as runtime and data efficiency, interpretability, and generalizability.
Key facts. Cited by 63 papers in the map (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 41 of its 84 references that are in the map. First posted on arXiv 10 Apr 2023.
Builds on
41 of 84 references.
References · 41
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2017Graph Attention Networkscited by 8,923
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2015Fast R-CNNcited by 2,933
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2017CARLA: An Open Urban Driving Simulatorcited by 2,449
- 2019LXMERT: Learning Cross-Modality Encoder Representations from Transformerscited by 1,553
29 more
- 2016CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoningcited by 1,457
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,392
- 2015Automatic differentiation in machine learning: a surveycited by 855
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
- 2013Speech Recognition with Deep Recurrent Neural Networkscited by 669
- 2016TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systemscited by 664
- 2017Rethinking Spatiotemporal Feature Learning: Speed-Accuracy Trade-offs in Video Classificationcited by 521
- 2018Pyro: Deep Universal Probabilistic Programmingcited by 380
- 2015Neural Module Networkscited by 376
- 2019The Neuro-Symbolic Concept Learner: Interpreting Scenes, Words, and Sentences From Natural Supervisioncited by 372
- 2018Quantifying Generalization in Reinforcement Learningcited by 352
- 2018Neural-Symbolic VQA: Disentangling Reasoning from Vision and Language Understandingcited by 304
- 2017A Semantic Loss Function for Deep Learning with Symbolic Knowledgecited by 270
- 2022Binding Language Models in Symbolic Languagescited by 228
- 2019SATNet: Bridging deep learning and logical reasoning using a differentiable satisfiability solvercited by 173
- 2019CLUTRR: A Diagnostic Benchmark for Inductive Reasoning from Textcited by 162
- 2022How to Train Your HiPPO: State Space Models with Generalized Orthogonal Basis Projectionscited by 122
- 2022What Makes Convolutional Models Great on Long Sequence Modeling?cited by 87
- 2020Inductive logic programming at 30: a new introductioncited by 85
- 2018An Introduction to Probabilistic Programmingcited by 63
- 2020Learning Reasoning Strategies in End-to-End Differentiable Provingcited by 60
- 2020Closed Loop Neural-Symbolic Learning via Integrating Neural Perception, Grammar Parsing, and Symbolic Reasoningcited by 58
- 2021Inductive logic programming at 30cited by 47
- 2020Learning Differentiable Programs with Admissible Neural Heuristicscited by 32
- 2019Synthesizing Datalog Programs Using Numerical Relaxationcited by 23
- 2022MUGEN: A Playground for Video-Audio-Text Multimodal Understanding and GENerationcited by 20
- 2017TensorLog: Deep Learning Meets Probabilistic DBscited by 11
- 2021Web Question Answering with Neurosymbolic Program Synthesiscited by 11
- 2021Convergence of Datalog over (Pre-) Semiringscited by 5
Built on by
Citing papers per year: 2023: 4; 2024: 11; 2025: 20; 2026: 28.
63 papers.
Sort:
By area:
- 2024Proof of Thought : Neurosymbolic Program Synthesis allows Robust and Interpretable Reasoningcited by 19
- 2024KLay: Accelerating Arithmetic Circuits for Neurosymbolic AIcited by 16
- 2023Natural Language Embedded Programs for Hybrid Language Symbolic Reasoningcited by 15
- 2023LASER: A Neuro-Symbolic Framework for Learning Spatial-Temporal Scene Graphs with Weak Supervisioncited by 13
- 2025Neurosymbolic Diffusion Modelscited by 13
- 2023Exploiting Code Symmetries for Learning Program Semanticscited by 10
- 2025Defining neurosymbolic AIcited by 8
- 2023Teaching Probabilistic Logical Reasoning to Transformerscited by 7
- 2024Data-Efficient Learning with Neural Programscited by 7
- 2024Relational Programming with Foundation Modelscited by 7
- 2024Formal Explanations for Neuro-Symbolic AIcited by 6
- 2025Neural Probabilistic Circuits: Enabling Compositional and Interpretable Predictions through Logical Reasoningcited by 6
38 more
- 2025ESCA: Contextualizing Embodied Agents via Scene-Graph Generationcited by 6
- 2024FaccAID: A Transformer Model for Neuro-Symbolic Facade Reconstructioncited by 5
- 2024Dolphin: A Programmable Framework for Scalable Neurosymbolic Learningcited by 5
- 2024Understanding the Logic of Direct Preference Alignment through Logiccited by 5
- 2025NeuroStrata: Harnessing Neurosymbolic Paradigms for Improved Design, Testability, and Verifiability of Autonomous CPScited by 5
- 2025LogicCBMs: Logic-Enhanced Concept-Based Learningcited by 5
- 2025Lobster: A GPU-Accelerated Framework for Neurosymbolic Programmingcited by 4
- 2026Theory-Scale Auto-Formalization of Logics for Computer Sciencecited by 4
- 2024MTP: A Meaning-Typed Language Abstraction for AI-Integrated Programmingcited by 3
- 2025A Learnability Analysis on Neuro-Symbolic Learningcited by 3
- 2025Modal Logic Neural Networkscited by 3
- 2026To Neuro-Symbolic Classification and Beyond by Compiling Description Logic Ontologies to Probabilistic Circuitscited by 3
- 2024Imbalances in Neurosymbolic Learning: Characterization and Mitigating Strategiescited by 2
- 2025A Neuro-Symbolic Framework for Sequence Classification with Relational and Temporal Knowledgecited by 2
- 2025Neuro-Symbolic Frameworks: Conceptual Characterization and Empirical Comparative Analysiscited by 2
- 2025Compiling to linear neuronscited by 2
- 2026The Neural Compiler: Program-to-Network Translation for Hybrid Scientific Machine Learningcited by 2
- 2026Efficient and Sound Probabilistic Verification for AI Agentscited by 2
- 2026Does the Proof Prove It That Way? Faithful Formalization of Elements Proofscited by 2
- 2024Symbol Correctness in Deep Neural Networks Containing Symbolic Layerscited by 1
- 2025Hierarchical Neuro-Symbolic Decision Transformercited by 1
- 2025CTSketch: Compositional Tensor Sketching for Scalable Neurosymbolic Learningcited by 1
- 2025Curriculum Abductive Learningcited by 1
- 2025Augmented Vision-Language Models: A Systematic Reviewcited by 1
- 2025Multi-Model Synthetic Training for Mission-Critical Small Language Modelscited by 1
- 2025Neurosymbolic Inference On Foundation Models For Remote Sensing Text-to-image Retrieval With Complex Queriescited by 1
- 2026Constraint-Aware Neurosymbolic Uncertainty Quantification with Bayesian Deep Learning for Scientific Discoverycited by 1
- 2026On Improving Neurosymbolic Learning by Exploiting the Representation Spacecited by 1
- 2026Differentiable Modal Logic for Multi-Agent Diagnosis, Orchestration and Communicationcited by 1
- 20266.5% of the Neuro-Symbolic Literature Can Be Reproduced from Its Published Artifacts, a Six-Stage Audit Framework and First Instantiationcited by 1
- 2026From Token Probabilities to Semantic Constraints: Towards Declarative Probabilistic Evaluation of Language Modelscited by 1
- 2025Compiling to recurrent neuronscited by 0
- 2025Prompt Less, Smile More: MTP with Semantic Engineering in Lieu of Prompt Engineeringcited by 0
- 2026REASON: Accelerating Probabilistic Logical Reasoning for Scalable Neuro-Symbolic Intelligencecited by 0
- 2026Explicit Logic Channel for Validation and Enhancement of MLLMs on Zero-Shot Taskscited by 0
- 2026How Psychological Learning Paradigms Shaped and Constrained Artificial Intelligencecited by 0
- 2026AS2 -- Attention-Based Soft Answer Sets: An End-to-End Differentiable Neuro-Soft-Symbolic Reasoning Architecturecited by 0
- 2026THEIA: Learning Complete Kleene Three-Valued Logic in a Pure-Neural Modular Architecturecited by 0
50 most cited of 63 All 63 (JSON)
- 2026Agents as Software: A Programming Languages Agenda for Agent Reliability26 Sep 2026
- 2026XLOG: A CUDA-Native Engine for Neurosymbolic Integration23 Sep 2026
- 2026From Token Probabilities to Semantic Constraints: Towards Declarative Probabilistic Evaluation of Language Models11 Sep 2026
- 20266.5% of the Neuro-Symbolic Literature Can Be Reproduced from Its Published Artifacts, a Six-Stage Audit Framework and First Instantiation26 Aug 2026
- 2026Neuro-symbolic learning over OWL 2 DL via consequence-based compilation to differentiable circuits18 Aug 2026
- 2026Does the Proof Prove It That Way? Faithful Formalization of Elements Proofs15 Aug 2026
- 2026MetaSpace: Metamorphic Testing for Spatial Cognition in Embodied Agents26 Jul 2026
- 2026Parallel Noising in Neural Markov Logic Networks21 Jul 2026
- 2026Differentiate the Evaluator, Not the Program: An Efficient Runtime Representation for Neuro-Symbolic Learning3 Jul 2026
- 2026Theory-Scale Auto-Formalization of Logics for Computer Science25 Jun 2026
- 2026DeepSWIP: Quotient-WMC Counterfactuals for Neural Probabilistic Logic Programs18 Jun 2026
- 2026Efficient and Sound Probabilistic Verification for AI Agents18 Jun 2026
38 more
- 2026Driving, Fast or Slow? Neuro-Symbolic Guidance for Motion Prediction in Multi-Modal Ground Mobility13 Jun 2026
- 2026Neuro-Relational Programs: Unifying Queries and Neural Computation over Structured Data10 Jun 2026
- 2026Position: Certified Correctness in Neural Constraint Reasoning Requires Symbolic Integration2 Jun 2026
- 2026Neuro-Symbolic Verification of LLM Outputs for Data-Sensitive Domains (extended preprint)26 May 2026
- 2026The Neural Compiler: Program-to-Network Translation for Hybrid Scientific Machine Learning21 May 2026
- 2026NeuroNL2LTL: A Neurosymbolic Framework for Natural Language Translation of Linear Temporal Logic20 May 2026
- 2026BODHI: Precise OS Kernel Specification Inference22 Apr 2026
- 2026THEIA: Learning Complete Kleene Three-Valued Logic in a Pure-Neural Modular Architecture13 Apr 2026
- 2026AS2 -- Attention-Based Soft Answer Sets: An End-to-End Differentiable Neuro-Soft-Symbolic Reasoning Architecture19 Mar 2026
- 2026How Psychological Learning Paradigms Shaped and Constrained Artificial Intelligence18 Mar 2026
- 2026Explicit Logic Channel for Validation and Enhancement of MLLMs on Zero-Shot Tasks12 Mar 2026
- 2026Differentiable Modal Logic for Multi-Agent Diagnosis, Orchestration and Communication12 Feb 2026
- 2026On Improving Neurosymbolic Learning by Exploiting the Representation Space8 Feb 2026
- 2026REASON: Accelerating Probabilistic Logical Reasoning for Scalable Neuro-Symbolic Intelligence28 Jan 2026
- 2026To Neuro-Symbolic Classification and Beyond by Compiling Description Logic Ontologies to Probabilistic Circuits21 Jan 2026
- 2026Constraint-Aware Neurosymbolic Uncertainty Quantification with Bayesian Deep Learning for Scientific Discovery18 Jan 2026
- 2025Neurosymbolic Inference On Foundation Models For Remote Sensing Text-to-image Retrieval With Complex Queries16 Dec 2025
- 2025LogicCBMs: Logic-Enhanced Concept-Based Learning8 Dec 2025
- 2025Modal Logic Neural Networks3 Dec 2025
- 2025Prompt Less, Smile More: MTP with Semantic Engineering in Lieu of Prompt Engineering24 Nov 2025
- 2025Compiling to recurrent neurons18 Nov 2025
- 2025Compiling to linear neurons14 Nov 2025
- 2025ESCA: Contextualizing Embodied Agents via Scene-Graph Generation11 Oct 2025
- 2025Multi-Model Synthetic Training for Mission-Critical Small Language Models16 Sep 2025
- 2025Neuro-Symbolic Frameworks: Conceptual Characterization and Empirical Comparative Analysis8 Sep 2025
- 2025Augmented Vision-Language Models: A Systematic Review24 Jul 2025
- 2025Defining neurosymbolic AI15 Jul 2025
- 2025Neurosymbolic Diffusion Models19 May 2025
- 2025Curriculum Abductive Learning18 May 2025
- 2025A Neuro-Symbolic Framework for Sequence Classification with Relational and Temporal Knowledge8 May 2025
- 2025CTSketch: Compositional Tensor Sketching for Scalable Neurosymbolic Learning31 Mar 2025
- 2025Lobster: A GPU-Accelerated Framework for Neurosymbolic Programming27 Mar 2025
- 2025A Learnability Analysis on Neuro-Symbolic Learning21 Mar 2025
- 2025Hierarchical Neuro-Symbolic Decision Transformer10 Mar 2025
- 2025NeuroStrata: Harnessing Neurosymbolic Paradigms for Improved Design, Testability, and Verifiability of Autonomous CPS17 Feb 2025
- 2025Neural Probabilistic Circuits: Enabling Compositional and Interpretable Predictions through Logical Reasoning13 Jan 2025
- 2024Understanding the Logic of Direct Preference Alignment through Logic23 Dec 2024
- 2024Relational Programming with Foundation Models19 Dec 2024
50 newest of 63 All 63 (JSON)
- 2024Proof of Thought : Neurosymbolic Program Synthesis allows Robust and Interpretable Reasoningcited by 19
- 2023Natural Language Embedded Programs for Hybrid Language Symbolic Reasoningcited by 15
- 2025Neurosymbolic Diffusion Modelscited by 13
- 2023Teaching Probabilistic Logical Reasoning to Transformerscited by 7
- 2025Neural Probabilistic Circuits: Enabling Compositional and Interpretable Predictions through Logical Reasoningcited by 6
- 2024Dolphin: A Programmable Framework for Scalable Neurosymbolic Learningcited by 5
- 2025Lobster: A GPU-Accelerated Framework for Neurosymbolic Programmingcited by 4
- 2024Symbol Correctness in Deep Neural Networks Containing Symbolic Layerscited by 1
- 2025Curriculum Abductive Learningcited by 1
- 2026From Token Probabilities to Semantic Constraints: Towards Declarative Probabilistic Evaluation of Language Modelscited by 1
- 2026REASON: Accelerating Probabilistic Logical Reasoning for Scalable Neuro-Symbolic Intelligencecited by 0
- 2026AS2 -- Attention-Based Soft Answer Sets: An End-to-End Differentiable Neuro-Soft-Symbolic Reasoning Architecturecited by 0
- 2026From Token Probabilities to Semantic Constraints: Towards Declarative Probabilistic Evaluation of Language Models11 Sep 2026
- 2026AS2 -- Attention-Based Soft Answer Sets: An End-to-End Differentiable Neuro-Soft-Symbolic Reasoning Architecture19 Mar 2026
- 2026REASON: Accelerating Probabilistic Logical Reasoning for Scalable Neuro-Symbolic Intelligence28 Jan 2026
- 2025Neurosymbolic Diffusion Models19 May 2025
- 2025Curriculum Abductive Learning18 May 2025
- 2025Lobster: A GPU-Accelerated Framework for Neurosymbolic Programming27 Mar 2025
- 2025Neural Probabilistic Circuits: Enabling Compositional and Interpretable Predictions through Logical Reasoning13 Jan 2025
- 2024Dolphin: A Programmable Framework for Scalable Neurosymbolic Learning4 Oct 2024
- 2024Proof of Thought : Neurosymbolic Program Synthesis allows Robust and Interpretable Reasoning25 Sep 2024
- 2024Symbol Correctness in Deep Neural Networks Containing Symbolic Layers6 Feb 2024
- 2023Natural Language Embedded Programs for Hybrid Language Symbolic Reasoning19 Sep 2023
- 2023Teaching Probabilistic Logical Reasoning to Transformers22 May 2023
- 2025ESCA: Contextualizing Embodied Agents via Scene-Graph Generationcited by 6
- 2025Augmented Vision-Language Models: A Systematic Reviewcited by 1
- 2025Neurosymbolic Inference On Foundation Models For Remote Sensing Text-to-image Retrieval With Complex Queriescited by 1
- 2026Explicit Logic Channel for Validation and Enhancement of MLLMs on Zero-Shot Taskscited by 0
- 2026Explicit Logic Channel for Validation and Enhancement of MLLMs on Zero-Shot Tasks12 Mar 2026
- 2025Neurosymbolic Inference On Foundation Models For Remote Sensing Text-to-image Retrieval With Complex Queries16 Dec 2025
- 2025ESCA: Contextualizing Embodied Agents via Scene-Graph Generation11 Oct 2025
- 2025Augmented Vision-Language Models: A Systematic Review24 Jul 2025
- 2026Parallel Noising in Neural Markov Logic Networkscited by 0
- 2026Parallel Noising in Neural Markov Logic Networks21 Jul 2026
- 2025Hierarchical Neuro-Symbolic Decision Transformercited by 1
- 2025Hierarchical Neuro-Symbolic Decision Transformer10 Mar 2025
- 2024KLay: Accelerating Arithmetic Circuits for Neurosymbolic AIcited by 16
- 2023LASER: A Neuro-Symbolic Framework for Learning Spatial-Temporal Scene Graphs with Weak Supervisioncited by 13
- 2023Exploiting Code Symmetries for Learning Program Semanticscited by 10
- 2025Defining neurosymbolic AIcited by 8
- 2024Data-Efficient Learning with Neural Programscited by 7
- 2024Relational Programming with Foundation Modelscited by 7
- 2024Formal Explanations for Neuro-Symbolic AIcited by 6
- 2024FaccAID: A Transformer Model for Neuro-Symbolic Facade Reconstructioncited by 5
- 2025NeuroStrata: Harnessing Neurosymbolic Paradigms for Improved Design, Testability, and Verifiability of Autonomous CPScited by 5
- 2025LogicCBMs: Logic-Enhanced Concept-Based Learningcited by 5
- 2026Theory-Scale Auto-Formalization of Logics for Computer Sciencecited by 4
- 2024MTP: A Meaning-Typed Language Abstraction for AI-Integrated Programmingcited by 3
12 most cited of 41 All 41 (JSON)
- 2026Agents as Software: A Programming Languages Agenda for Agent Reliability26 Sep 2026
- 2026XLOG: A CUDA-Native Engine for Neurosymbolic Integration23 Sep 2026
- 20266.5% of the Neuro-Symbolic Literature Can Be Reproduced from Its Published Artifacts, a Six-Stage Audit Framework and First Instantiation26 Aug 2026
- 2026Neuro-symbolic learning over OWL 2 DL via consequence-based compilation to differentiable circuits18 Aug 2026
- 2026Does the Proof Prove It That Way? Faithful Formalization of Elements Proofs15 Aug 2026
- 2026Differentiate the Evaluator, Not the Program: An Efficient Runtime Representation for Neuro-Symbolic Learning3 Jul 2026
- 2026Theory-Scale Auto-Formalization of Logics for Computer Science25 Jun 2026
- 2026DeepSWIP: Quotient-WMC Counterfactuals for Neural Probabilistic Logic Programs18 Jun 2026
- 2026Efficient and Sound Probabilistic Verification for AI Agents18 Jun 2026
- 2026Driving, Fast or Slow? Neuro-Symbolic Guidance for Motion Prediction in Multi-Modal Ground Mobility13 Jun 2026
- 2026Neuro-Relational Programs: Unifying Queries and Neural Computation over Structured Data10 Jun 2026
- 2026Position: Certified Correctness in Neural Constraint Reasoning Requires Symbolic Integration2 Jun 2026
12 newest of 41 All 41 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2023LINC: A Neurosymbolic Approach for Logical Reasoning by Combining Language Models with First-Order Logic Provers
- 2025Current Practices for Building LLM-Powered Reasoning Tools Are Ad Hoc -- and We Can Do Better
- 2025On the Promise for Assurance of Differentiable Neurosymbolic Reasoning Paradigms
- 2026The RAIL Principles for Neurosymbolic AI: Reasoning, Assurances, Interfacing and Learning
- 2026Forethought: Verifiable Reasoning from Neurosymbolic Primitive Programming
- 2025Reasoning in Neurosymbolic AI
- 2025A Comparative Study of Neurosymbolic AI Approaches to Interpretable Logical Reasoning
- 2025Right for the Right Reasons: Avoiding Reasoning Shortcuts via Prototypical Neurosymbolic AI