Incremental Inference for Probabilistic Datalog
Xuyang Li, Weiyi Chen, Isil Dillig, Jingbo Wang
Abstract
Abstract Several extensions of Datalog perform probabilistic inference by allowing users to annotate input facts and rules with probabilities. While extremely useful in many domains (e.g., quantitative program analysis), existing systems typically do not support incremental inference , meaning that even small changes trigger costly recomputation from scratch. This paper presents (Stands for Probabilistic INcremental Querying), the first incremental solving framework for probabilistic Datalog. Given a previously solved program and a set of changes, updates query probabilities by reusing the old derivation graphs and compiled decision diagrams. The key idea is to translate structural changes into parametric updates whenever sound to avoid redundant recomputation. Our framework combines an incremental derivation graph construction algorithm with an adaptive BDD construction technique that safely reuses existing BDDs via weight calibration whenever possible. Experimentally, achieves an average speedup of 17 × over recomputation from scratch on a representative set of program analysis benchmarks.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 65f0d93a-1c16-487b-85f4-d4f9c53258b9Related papers
- Beyond the Grounding Bottleneck: Datalog Techniques for Inference in Probabilistic Logic ProgramsEfthymia Tsamoura, Víctor Gutiérrez-Basulto, Angelika KimmigAAAI 2020 · 17 citations
- Incremental Computation for Efficient Programmable Inference in Probabilistic ProgramsFabian Zaiser, Jack Czenszak, Martin C. Rinard, Vikash K. Mansinghka et al.PLDI 2026
- Probabilistic Inference for Datalog with Correlated InputsJingbo Wang, Shashin Halalingaiah, Weiyi Chen, Chao Wang et al.OOPSLA 2025 · 2 citations
- A Deductive Verification Infrastructure for Probabilistic ProgramsPhilipp Schröer, Kevin Batz, Benjamin Lucien Kaminski, Joost-Pieter Katoen et al.OOPSLA 2023 · 22 citations
- Automated Debugging of Datalog ProgramsJiashen Wei, Baoyuan Luo, Runshuo Xie, Yun Qi et al.OOPSLA 2026
