Lune

AAAI2021Top-tier venue

GENSYNTH: Synthesizing Datalog Programs without Language Bias

Jonathan Mendelson, Aaditya Naik, Mukund Raghothaman, Mayur Naik

Abstract

Existing techniques for learning logic programs from data typically rely on language bias mechanisms to restrict the hypothesis space. These methods are therefore limited by the user's ability to tune them such that the hypothesis space is simultaneously large enough to include the target program but still small enough to admit a tractable search. We propose a technique to learn Datalog programs from input-output examples without requiring the user to specify any language bias. It employs an evolutionary search strategy that mutates candidate programs and evaluates their fitness on the examples using an off-theshelf Datalog interpreter. We have implemented our approach in a tool called GENSYNTH and evaluate it on diverse tasks from knowledge discovery, program analysis, and relational queries. Our experiments show that GENSYNTH can learn correct programs from few examples, including for tasks that require recursion and invented predicates, and is robust to noise.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Relational Query Synthesis ⋈ Decision Tree Learning cites Provenance-guided synthesis of Datalog programs
  • Sporq: An Interactive Environment for Exploring Code using Query-by-Example cites Provenance-guided synthesis of Datalog programs
  • Sporq: An Interactive Environment for Exploring Code using Query-by-Example cites FastLAS: Scalable Inductive Logic Programming Incorporating Domain-Specific Optimisation Criteria
  • From SMT to ASP: Solver-Based Approaches to Solving Datalog Synthesis-as-Rule-Selection Problems cites Provenance-guided synthesis of Datalog programs
  • From SMT to ASP: Solver-Based Approaches to Solving Datalog Synthesis-as-Rule-Selection Problems cites FastLAS: Scalable Inductive Logic Programming Incorporating Domain-Specific Optimisation Criteria
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Sporq: An Interactive Environment for Exploring Code using Query-by-ExampleAaditya Naik, Jonathan Mendelson, Nathaniel Sands, Yuepeng Wang et al.UIST 2021 · 11 citations
  2. From SMT to ASP: Solver-Based Approaches to Solving Datalog Synthesis-as-Rule-Selection ProblemsAaron Bembenek, Michael Greenberg, Stephen ChongPOPL 2023 · 6 citations
  3. Relational Query Synthesis ⋈ Decision Tree LearningAaditya Naik, Aalok Thakkar, Adam Stein, Rajeev Alur et al.VLDB 2024 · 2 citations
  4. Testing Graph Databases with Synthesized QueriesZijing Yin, Si Liu, David A. BasinSIGMOD 2026 · 2 citations

Builds on2

  1. FastLAS: Scalable Inductive Logic Programming Incorporating Domain-Specific Optimisation CriteriaMark Law, Alessandra Russo, Elisa Bertino, Krysia Broda et al.AAAI 2020 · 62 citations
  2. Provenance-guided synthesis of Datalog programsMukund Raghothaman, Jonathan Mendelson, David Zhao, Mayur Naik et al.POPL 2020 · 49 citations

Related papers

  1. Example-guided synthesis of relational queriesAalok Thakkar, Aaditya Naik, Nathaniel Sands, Rajeev Alur et al.PLDI 2021 · 12 citations
  2. Learning MDL Logic Programs from Noisy DataCéline Hocquette, Andreas Niskanen, Matti Järvisalo, Andrew CropperAAAI 2024 · 16 citations
  3. Program Synthesis with Pragmatic CommunicationYewen Pu, Kevin Ellis, Marta Kryven, Josh Tenenbaum et al.NeurIPS 2020 · 26 citations
  4. Just-in-time learning for bottom-up enumerative synthesisShraddha Barke, Hila Peleg, Nadia PolikarpovaOOPSLA 2020 · 33 citations
  5. Gauss: program synthesis by reasoning over graphsRohan Bavishi, Caroline Lemieux, Koushik Sen, Ion StoicaOOPSLA 2021 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines