FastPDB: Towards Bag-Probabilistic Queries at Interactive Speeds
Aaron Huber, Oliver Kennedy, Atri Rudra, Zhuoyue Zhao, Su Feng, Boris Glavic
Abstract
Probabilistic databases (PDBs) provide users with a principled way to query data that is incomplete or imprecise. In this work, we study computing expected multiplicities of query results over probabilistic databases under bag semantics which has PTIME data complexity. However, does this imply that bag probabilistic databases are practical? We strive to answer this question from both a theoretical as well as a systems perspective. We employ concepts from fine-grained complexity to demonstrate that exact bag probabilistic query processing is fundamentally less efficient than deterministic bag query evaluation, but that fast approximations are possible by sampling monomials from a circuit representation of a result tuple's lineage. A remaining issue, however, is that constructing such circuits, while in PTIME, can nonetheless have significant overhead. To avoid this cost, we utilize approximate query processing techniques to directly sample monomials without materializing lineage upfront. Our implementation in FastPDB provides accurate anytime approximation of probabilistic query answers and scales to datasets orders of magnitude larger than competing methods.
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.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext fc00115d-f4f3-4e65-bbb4-6fa534d44c74Builds on3
- Efficient Uncertainty Tracking for Complex Queries with Attribute-level BoundsSu Feng, Boris Glavic, Aaron Huber, Oliver A. KennedySIGMOD 2021 · 13 citations
- Rapid Approximate Aggregation with Distribution-Sensitive Interval GuaranteesStephen Macke, Maryam Aliakbarpour, Ilias Diakonikolas, Aditya G. Parameswaran et al.ICDE 2021 · 3 citations
- Efficient Approximation of Certain and Possible Answers for Ranking and Window Queries over Uncertain DataSu Feng, Boris Glavic, Oliver KennedyVLDB 2023 · 1 citation
Related papers
- Computing the Shapley Value of Facts in Query AnsweringDaniel Deutch, Nave Frost, Benny Kimelfeld, Mikaël MonetSIGMOD 2022 · 31 citations
- Provsql: a General System for Keeping Track of the Provenance and Probability of DataAryak Sen, Silviu Maniu, Pierre SenellartICDE 2026
- HOPS: Probabilistic Subtree Mining for Small and Large GraphsPascal Welke, Florian Seiffarth, Michael Kamp, Stefan WrobelKDD 2020 · 5 citations
- Stochastic Package Queries in Probabilistic DatabasesMatteo Brucato, Nishant Yadav, Azza Abouzied, Peter J. Haas et al.SIGMOD 2020 · 6 citations
- Tractable Uncertainty for Structure LearningBenjie Wang, Matthew Wicker, Marta KwiatkowskaICML 2022 · 16 citations
