Contribution Maximization in Probabilistic Datalog
Tova Milo, Yuval Moskovitch, Brit Youngmann
Abstract
The use of probabilistic datalog programs has been recently advocated for applications that involve recursive computation and uncertainty. While using such programs allows for a flexible knowledge derivation, it makes the analysis of query results a challenging task. Particularly, given a set O of output tuples and a number k, one would like to understand which k-size subset of the input tuples have contributed the most to the derivation of O. This is useful for multiple tasks, such as identifying the critical sources of errors and understanding surprising results. Previous works have mainly focused on the quantification of tuples contribution to a query result in non-recursive SQL queries, very often disregarding probabilistic inference. To quantify the contribution in probabilistic datalog programs, one must account for the recursive relations between input and output data, and the uncertainty. To this end, we formalize the Contribution Maximization (CM) problem. We then reduce CM to the well-studied Influence Maximization (IM) problem, showing that we can harness techniques developed for IM to our setting. However, we show that such naïve adoption results in poor performance. To overcome this, we propose an optimized algorithm which injects a refined variant of the classic Magic Sets technique, integrated with a sampling method, into IM algorithms, achieving a significant saving of space and execution time. Our experiments demonstrate the effectiveness of our algorithm, even where the naïve approach is infeasible.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers2
- Summarized Causal Explanations For Aggregate ViewsBrit Youngmann, Michael J. Cafarella, Amir Gilad, Sudeepa RoySIGMOD 2024 · 12 citations
- On Explaining Confounding BiasBrit Youngmann, Michael J. Cafarella, Yuval Moskovitch, Babak SalimiICDE 2023 · 7 citations
Related papers
- Incremental Inference for Probabilistic DatalogXuyang Li, Weiyi Chen, Isil Dillig, Jingbo WangCAV 2026
- Improving Constrained Search Results By Data MeliorationIdo Guy, Tova Milo, Slava Novgorodov, Brit YoungmannICDE 2021 · 2 citations
- Optimal Dynamic Subset Sampling: Theory and ApplicationsLu Yi, Hanzhi Wang, Zhewei WeiKDD 2023 · 4 citations
- Stochastic Package Queries in Probabilistic DatabasesMatteo Brucato, Nishant Yadav, Azza Abouzied, Peter J. Haas et al.SIGMOD 2020 · 6 citations
- Stochastic SketchRefine: Scaling In-Database Decision-Making under Uncertainty to Millions of TuplesRiddho R. Haque, Anh L. Mai, Matteo Brucato, Azza Abouzied et al.VLDB 2025 · 1 citation
