Lune

SIGMOD2025Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Efficient Approximation of Certain and Possible Answers for Ranking and Window Queries over Uncertain Data cites Efficient Uncertainty Tracking for Complex Queries with Attribute-level Bounds
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on3

  1. Efficient Uncertainty Tracking for Complex Queries with Attribute-level BoundsSu Feng, Boris Glavic, Aaron Huber, Oliver A. KennedySIGMOD 2021 · 13 citations
  2. Rapid Approximate Aggregation with Distribution-Sensitive Interval GuaranteesStephen Macke, Maryam Aliakbarpour, Ilias Diakonikolas, Aditya G. Parameswaran et al.ICDE 2021 · 3 citations
  3. 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

  1. Computing the Shapley Value of Facts in Query AnsweringDaniel Deutch, Nave Frost, Benny Kimelfeld, Mikaël MonetSIGMOD 2022 · 31 citations
  2. Provsql: a General System for Keeping Track of the Provenance and Probability of DataAryak Sen, Silviu Maniu, Pierre SenellartICDE 2026
  3. HOPS: Probabilistic Subtree Mining for Small and Large GraphsPascal Welke, Florian Seiffarth, Michael Kamp, Stefan WrobelKDD 2020 · 5 citations
  4. Stochastic Package Queries in Probabilistic DatabasesMatteo Brucato, Nishant Yadav, Azza Abouzied, Peter J. Haas et al.SIGMOD 2020 · 6 citations
  5. Tractable Uncertainty for Structure LearningBenjie Wang, Matthew Wicker, Marta KwiatkowskaICML 2022 · 16 citations
Dusk over the sea between two cliffs drawn in fine vertical lines