Lune

CAV2026Top-tier venue

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×17\times 17 × over recomputation from scratch on a representative set of program analysis benchmarks.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. Beyond the Grounding Bottleneck: Datalog Techniques for Inference in Probabilistic Logic ProgramsEfthymia Tsamoura, Víctor Gutiérrez-Basulto, Angelika KimmigAAAI 2020 · 17 citations
  2. Incremental Computation for Efficient Programmable Inference in Probabilistic ProgramsFabian Zaiser, Jack Czenszak, Martin C. Rinard, Vikash K. Mansinghka et al.PLDI 2026
  3. Probabilistic Inference for Datalog with Correlated InputsJingbo Wang, Shashin Halalingaiah, Weiyi Chen, Chao Wang et al.OOPSLA 2025 · 2 citations
  4. A Deductive Verification Infrastructure for Probabilistic ProgramsPhilipp Schröer, Kevin Batz, Benjamin Lucien Kaminski, Joost-Pieter Katoen et al.OOPSLA 2023 · 22 citations
  5. Incremental whole-program analysis in Datalog with latticesTamás Szabó, Sebastian Erdweg, Gábor BergmannPLDI 2021 · 39 citations
Dusk over the sea between two cliffs drawn in fine vertical lines