From SMT to ASP: Solver-Based Approaches to Solving Datalog Synthesis-as-Rule-Selection Problems
Aaron Bembenek, Michael Greenberg, Stephen Chong
摘要
Given a set of candidate Datalog rules, the Datalog synthesis-as-rule-selection problem chooses a subset of these rules that satisfies a specification (such as an input-output example). Building off prior work using counterexample-guided inductive synthesis, we present a progression of three solver-based approaches for solving Datalog synthesis-as-rule-selection problems. Two of our approaches offer some advantages over existing approaches, and can be used more generally to solve arbitrary SMT formulas containing Datalog predicates; the third-an encoding into standard, off-the-shelf answer set programming (ASP)-leads to significant speedups (∼ 9× geomean) over the state of the art while synthesizing higher quality programs.
Our progression of solutions explores the space of interactions between SAT/SMT and Datalog, identifying ASP as a promising tool for working with and reasoning about Datalog. Along the way, we identify Datalog programs as monotonic SMT theories, which enjoy particularly efficient interactions in SMT; our plugins for popular SMT solvers make it easy to load an arbitrary Datalog program into the SMT solver as a custom monotonic theory. Finally, we evaluate our approaches using multiple underlying solvers to provide a more thorough and nuanced comparison against the current state of the art.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Inductive Synthesis of Inductive Heap Predicates 引用了 FastLAS: Scalable Inductive Logic Programming Incorporating Domain-Specific Optimisation Criteria
- Generalisation through Negation and Predicate Invention 引用了 Provenance-guided synthesis of Datalog programs
- GENSYNTH: Synthesizing Datalog Programs without Language Bias 引用了 Provenance-guided synthesis of Datalog programs
- GENSYNTH: Synthesizing Datalog Programs without Language Bias 引用了 FastLAS: Scalable Inductive Logic Programming Incorporating Domain-Specific Optimisation Criteria
- Semi-declarative Language for Combinatorial Search 引用了 Inductive Synthesis of Inductive Heap Predicates
- Semi-declarative Language for Combinatorial Search 引用了 Provenance-guided synthesis of Datalog programs
- Learning MDL Logic Programs from Noisy Data 引用了 Provenance-guided synthesis of Datalog programs
- Formulog: Datalog for SMT-based static analysis 引用了 Provenance-guided synthesis of Datalog programs
- Formulog: Datalog for SMT-based static analysis 引用了 Securify: Practical Security Analysis of Smart Contracts
- Efficient Rule Induction by Ignoring Pointless Rules 引用了 Provenance-guided synthesis of Datalog programs
引用它的顶会 Paper6
- Learning MDL Logic Programs from Noisy DataCéline Hocquette, Andreas Niskanen, Matti Järvisalo, Andrew CropperAAAI 2024 · 16 次引用
- Generalisation through Negation and Predicate InventionDavid M. Cerna, Andrew CropperAAAI 2024 · 5 次引用
- Inductive Synthesis of Inductive Heap PredicatesZiyi Yang, Ilya SergeyOOPSLA 2025 · 1 次引用
- Efficient Rule Induction by Ignoring Pointless RulesAndrew Cropper, David M. CernaAAAI 2026 · 1 次引用
- Semi-declarative Language for Combinatorial SearchZiyi Yang, Ilya SergeyOOPSLA 2026
它引用的 Paper7
- Securify: Practical Security Analysis of Smart ContractsPetar Tsankov, Andrei Marian Dan, Dana Drachsler-Cohen, Arthur Gervais 等CCS 2018 · 1,108 次引用
- FastLAS: Scalable Inductive Logic Programming Incorporating Domain-Specific Optimisation CriteriaMark Law, Alessandra Russo, Elisa Bertino, Krysia Broda 等AAAI 2020 · 62 次引用
- Provenance-guided synthesis of Datalog programsMukund Raghothaman, Jonathan Mendelson, David Zhao, Mayur Naik 等POPL 2020 · 49 次引用
- Formulog: Datalog for SMT-based static analysisAaron Bembenek, Michael Greenberg, Stephen ChongOOPSLA 2020 · 26 次引用
- GENSYNTH: Synthesizing Datalog Programs without Language BiasJonathan Mendelson, Aaditya Naik, Mukund Raghothaman, Mayur NaikAAAI 2021 · 14 次引用
相关 Paper
- CEGAR-Based Approach for Solving Combinatorial Optimization Modulo Quantified Linear Arithmetics ProblemsKerian Thuillier, Anne Siegel, Loïc PaulevéAAAI 2024 · 2 次引用
- Learning to Break Symmetries for Efficient Optimization in Answer Set ProgrammingAlice Tarzariol, Martin Gebser, Konstantin Schekotihin, Mark LawAAAI 2023 · 4 次引用
- Combining the top-down propagation and bottom-up enumeration for inductive program synthesisWoosuk LeePOPL 2021 · 34 次引用
- Learning to Synthesize Relational InvariantsJingbo Wang, Chao WangASE 2022 · 9 次引用
- Optimizing Recursive Queries with Progam SynthesisYisu Remy Wang, Mahmoud Abo Khamis, Hung Q. Ngo, Reinhard Pichler 等SIGMOD 2022 · 9 次引用
