Stochastic SketchRefine: Scaling In-Database Decision-Making under Uncertainty to Millions of Tuples
Riddho R. Haque, Anh L. Mai, Matteo Brucato, Azza Abouzied, Peter J. Haas, Alexandra Meliou
Abstract
Decision making under uncertainty often requires choosing packages , or bags of tuples, that collectively optimize expected outcomes while limiting risks. Processing Stochastic Package Queries (SPQs) involves solving very large optimization problems on uncertain data. Monte Carlo methods create numerous scenarios , or sample realizations of the stochastic attributes of all the tuples, and generate packages with optimal objective values across these scenarios. The number of scenarios needed for accurate approximation—and hence the size of the optimization problem when using prior methods—increases with variance in the data, and the search space of the optimization problem increases exponentially with the number of tuples in the relation. Existing solvers take hours to process SPQs on large relations containing stochastic attributes with high variance. Besides enriching the SPaQL language to capture a broader class of risk specifications, we make two fundamental contributions toward scalable SPQ processing. First, we propose risk-constraint linearization (RCL), which converts SPQs into Integer Linear Programs (ILPs) whose size is independent of the number of scenarios used. Solving these ILPs gives us feasible and near-optimal packages. Second, we propose Stochastic SketchRefine, a divide and conquer framework that breaks down a large stochastic optimization problem into subproblems involving smaller subsets of tuples. Our experiments show that, together, RCL and Stochastic SketchRefine produce high-quality packages in orders of magnitude lower runtime than the state of the art.
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.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Decisionhouse: Prescriptive Analytics in the Data Stack cites Stochastic Package Queries in Probabilistic Databases
- Decisionhouse: Prescriptive Analytics in the Data Stack cites Scaling Package Queries to a Billion Tuples via Hierarchical Partitioning and Customized Optimization
Cited by top-tier papers1
Builds on3
- Scaling Package Queries to a Billion Tuples via Hierarchical Partitioning and Customized OptimizationAnh L. Mai, Pengyu Wang, Azza Abouzied, Matteo Brucato et al.VLDB 2024 · 9 citations
- Efficient Answering of Historical What-if QueriesFelix S. Campbell, Bahareh Sadat Arab, Boris GlavicSIGMOD 2022 · 7 citations
- Stochastic Package Queries in Probabilistic DatabasesMatteo Brucato, Nishant Yadav, Azza Abouzied, Peter J. Haas et al.SIGMOD 2020 · 6 citations
Related papers
- Contribution Maximization in Probabilistic DatalogTova Milo, Yuval Moskovitch, Brit YoungmannICDE 2020 · 2 citations
- PARQO: Penalty-Aware Robust Plan Selection in Query OptimizationHaibo Xiu, Pankaj K. Agarwal, Jun YangVLDB 2024 · 8 citations
- Computing All Restricted Skyline Probabilities on Uncertain DatasetsXiangyu Gao, Jianzhong Li, Dongjing MiaoICDE 2024 · 3 citations
- Query Refinement for Diversity Constraint SatisfactionJinyang Li, Yuval Moskovitch, Julia Stoyanovich, H. V. JagadishVLDB 2024 · 16 citations
- Robust Plan Evaluation based on Approximate Probabilistic Machine LearningAmin Kamali, Verena Kantere, Calisto Zuzarte, Vincent CorvinelliVLDB 2025 · 1 citation
