Synthesizing Datalog Programs Using Numerical Relaxation
Not on the map. Why?
Abstract (arXiv)
The problem of learning logical rules from examples arises in diverse fields, including program synthesis, logic programming, and machine learning. Existing approaches either involve solving computationally difficult combinatorial problems, or performing parameter estimation in complex statistical models. In this paper, we present Difflog, a technique to extend the logic programming language Datalog to the continuous setting. By attaching real-valued weights to individual rules of a Datalog program, we naturally associate numerical values with individual conclusions of the program. Analogous to the strategy of numerical relaxation in optimization problems, we can now first determine the rule weights which cause the best agreement between the training labels and the induced values of output tuples, and subsequently recover the classical discrete-valued target program from the continuous optimum. We evaluate Difflog on a suite of 34 benchmark problems from recent literature in knowledge discovery, formal verification, and database query-by-example, and demonstrate significant improvements in learning complex programs with recursive rules, invented predicates, and relations of arbitrary arity.
Key facts. Cited by 23 papers in the map (data through 14 Oct 2026). First posted on arXiv 1 Jun 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 7; 2022: 7; 2023: 3; 2024: 2; 2025: 3; 2026: 1.
23 papers.
Sort:
By area:
- 2021From Statistical Relational to Neurosymbolic Artificial Intelligence: a Surveycited by 72
- 2023Scallop: A Language for Neurosymbolic Programmingcited by 63
- 2021DeepStochLog: Neural Stochastic Logic Programmingcited by 58
- 2022Towards Data-and Knowledge-Driven Artificial Intelligence: A Survey on Neuro-Symbolic Computingcited by 35
- 2021Differentiable Inductive Logic Programming for Structured Examplescited by 26
- 2021Neuro-Symbolic Forward Reasoningcited by 16
- 2023Learning MDL logic programs from noisy datacited by 15
- 2022From Perception to Programs: Regularize, Overparameterize, and Amortizecited by 13
- 2021Learning Symbolic Rules for Reasoning in Quasi-Natural Languagecited by 9
- 2024LogiCity: Advancing Neuro-Symbolic AI with Abstract Urban Simulationcited by 8
- 2022Learning logic programs by combining programscited by 7
- 2023Generalisation Through Negation and Predicate Inventioncited by 5
11 more
- 2025The DeepLog Neurosymbolic Machinecited by 5
- 2024Learning big logical rules by joining small rulescited by 4
- 2025Interpretable Hierarchical Concept Reasoning through Attention-Guided Graph Learningcited by 3
- 2021Meta-Interpretive Learning as Metarule Specialisationcited by 2
- 2022Learning programs with magic valuescited by 2
- 2022Synthesizing Programs with Continuous Optimizationcited by 2
- 2022PRIMA: Planner-Reasoner Inside a Multi-task Reasoning Agentcited by 1
- 2021On the Complexity of Inductively Learning Guarded Rulescited by 0
- 2022Example-based Synthesis of Static Analysis Rulescited by 0
- 2025Neurosymbolic Decision Treescited by 0
- 2026DatalogBench: Evaluating Large Language Models on Text-to-Datalog Synthesiscited by 0
- 2026DatalogBench: Evaluating Large Language Models on Text-to-Datalog Synthesis29 Sep 2026
- 2025The DeepLog Neurosymbolic Machine19 Aug 2025
- 2025Interpretable Hierarchical Concept Reasoning through Attention-Guided Graph Learning26 Jun 2025
- 2025Neurosymbolic Decision Trees11 Mar 2025
- 2024LogiCity: Advancing Neuro-Symbolic AI with Abstract Urban Simulation1 Nov 2024
- 2024Learning big logical rules by joining small rules29 Jan 2024
- 2023Learning MDL logic programs from noisy data18 Aug 2023
- 2023Scallop: A Language for Neurosymbolic Programming10 Apr 2023
- 2023Generalisation Through Negation and Predicate Invention18 Jan 2023
- 2022Synthesizing Programs with Continuous Optimization2 Nov 2022
- 2022Towards Data-and Knowledge-Driven Artificial Intelligence: A Survey on Neuro-Symbolic Computing28 Oct 2022
- 2022Learning programs with magic values5 Aug 2022
11 more
- 2022From Perception to Programs: Regularize, Overparameterize, and Amortize13 Jun 2022
- 2022Learning logic programs by combining programs1 Jun 2022
- 2022Example-based Synthesis of Static Analysis Rules19 Apr 2022
- 2022PRIMA: Planner-Reasoner Inside a Multi-task Reasoning Agent1 Feb 2022
- 2021Learning Symbolic Rules for Reasoning in Quasi-Natural Language23 Nov 2021
- 2021Neuro-Symbolic Forward Reasoning18 Oct 2021
- 2021On the Complexity of Inductively Learning Guarded Rules7 Oct 2021
- 2021From Statistical Relational to Neurosymbolic Artificial Intelligence: a Survey25 Aug 2021
- 2021DeepStochLog: Neural Stochastic Logic Programming23 Jun 2021
- 2021Meta-Interpretive Learning as Metarule Specialisation9 Jun 2021
- 2021Differentiable Inductive Logic Programming for Structured Examples2 Mar 2021
- 2023Scallop: A Language for Neurosymbolic Programmingcited by 63
- 2024LogiCity: Advancing Neuro-Symbolic AI with Abstract Urban Simulationcited by 8
- 2025Neurosymbolic Decision Treescited by 0
- 2025Neurosymbolic Decision Trees11 Mar 2025
- 2024LogiCity: Advancing Neuro-Symbolic AI with Abstract Urban Simulation1 Nov 2024
- 2023Scallop: A Language for Neurosymbolic Programming10 Apr 2023
- 2021From Statistical Relational to Neurosymbolic Artificial Intelligence: a Surveycited by 72
- 2021DeepStochLog: Neural Stochastic Logic Programmingcited by 58
- 2022Towards Data-and Knowledge-Driven Artificial Intelligence: A Survey on Neuro-Symbolic Computingcited by 35
- 2021Differentiable Inductive Logic Programming for Structured Examplescited by 26
- 2021Neuro-Symbolic Forward Reasoningcited by 16
- 2023Learning MDL logic programs from noisy datacited by 15
- 2022From Perception to Programs: Regularize, Overparameterize, and Amortizecited by 13
- 2021Learning Symbolic Rules for Reasoning in Quasi-Natural Languagecited by 9
- 2022Learning logic programs by combining programscited by 7
- 2023Generalisation Through Negation and Predicate Inventioncited by 5
- 2025The DeepLog Neurosymbolic Machinecited by 5
- 2024Learning big logical rules by joining small rulescited by 4
12 most cited of 20 All 20 (JSON)
- 2026DatalogBench: Evaluating Large Language Models on Text-to-Datalog Synthesis29 Sep 2026
- 2025The DeepLog Neurosymbolic Machine19 Aug 2025
- 2025Interpretable Hierarchical Concept Reasoning through Attention-Guided Graph Learning26 Jun 2025
- 2024Learning big logical rules by joining small rules29 Jan 2024
- 2023Learning MDL logic programs from noisy data18 Aug 2023
- 2023Generalisation Through Negation and Predicate Invention18 Jan 2023
- 2022Synthesizing Programs with Continuous Optimization2 Nov 2022
- 2022Towards Data-and Knowledge-Driven Artificial Intelligence: A Survey on Neuro-Symbolic Computing28 Oct 2022
- 2022Learning programs with magic values5 Aug 2022
- 2022From Perception to Programs: Regularize, Overparameterize, and Amortize13 Jun 2022
- 2022Learning logic programs by combining programs1 Jun 2022
- 2022Example-based Synthesis of Static Analysis Rules19 Apr 2022
12 newest of 20 All 20 (JSON)