Binary Search with Distributional Predictions
Michael Dinitz, Sungjin Im, Thomas Lavastida, Benjamin Moseley, Aidin Niaparast, Sergei Vassilvitskii
Abstract
Algorithms with (machine-learned) predictions is a powerful framework for combining traditional worst-case algorithms with modern machine learning. However, the vast majority of work in this space assumes that the prediction itself is non-probabilistic, even if it is generated by some stochastic process (such as a machine learning system). This is a poor fit for modern ML, particularly modern neural networks, which naturally generate a distribution. We initiate the study of algorithms with distributional predictions, where the prediction itself is a distribution. We focus on one of the simplest yet fundamental settings: binary search (or searching a sorted array). This setting has one of the simplest algorithms with a point prediction, but what happens if the prediction is a distribution? We show that this is a richer setting: there are simple distributions where using the classical prediction-based algorithm with any single prediction does poorly. Motivated by this, as our main result, we give an algorithm with query complexity , where is the entropy of the true distribution and is the earth mover's distance between and the predicted distribution . This also yields the first distributionally-robust algorithm for the classical problem of computing an optimal binary search tree given a distribution over target keys. We complement this with a lower bound showing that this query complexity is essentially optimal (up to constants), and experiments validating the practical usefulness of our algorithm.
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 1e76ca94-e289-48ef-9ad0-c58a8024f7dfCited by top-tier papers9
- Learning-Augmented Online Bidding in Stochastic SettingsSpyros Angelopoulos, Bertrand SimonNeurIPS 2025 · 6 citations
- Robust and Consistent Ski Rental with Distributional AdviceJihwan Kim, Chenglin FanICML 2026 · 1 citation
- Learning-Augmented Ski Rental with Discrete Distribution: A Bayesian ApproachBosun Kang, Hyejun Park, Chenglin FanAAAI 2026
- Pareto-Optimality, Smoothness, and Stochasticity in Learning-Augmented One-Max-SearchZiyad Benomar, Lorenzo Croissant, Vianney Perchet, Spyros AngelopoulosICML 2025
- Ski Rental with Distributional Predictions of Unknown QualityQiming Cui, Michael DinitzICML 2026
Builds on14
- The Primal-Dual method for Learning Augmented AlgorithmsÉtienne Bamas, Andreas Maggiori, Ola SvenssonNeurIPS 2020 · 171 citations
- Online Scheduling via Learned WeightsSilvio Lattanzi, Thomas Lavastida, Benjamin Moseley, Sergei VassilvitskiiSODA 2020 · 83 citations
- Online Knapsack with Frequency PredictionsSungjin Im, Ravi Kumar, Mahshid Montazer Qaem, Manish PurohitNeurIPS 2021 · 70 citations
- Learning Augmented Binary Search TreesHonghao Lin, Tian Luo, David P. WoodruffICML 2022 · 46 citations
- Learning Online Algorithms with Distributional AdviceIlias Diakonikolas, Vasilis Kontonis, Christos Tzamos, Ali Vakilian et al.ICML 2021 · 44 citations
Related papers
- Secretary and Online Matching Problems with Machine Learned AdviceAntonios Antoniadis, Themis Gouleakis, Pieter Kleer, Pavel KolevNeurIPS 2020 · 167 citations
- Optimal Algorithms for Augmented Testing of Discrete DistributionsMaryam Aliakbarpour, Piotr Indyk, Ronitt Rubinfeld, Sandeep SilwalNeurIPS 2024 · 3 citations
- Fair Secretaries with Unfair PredictionsEric Balkanski, Will Ma, Andreas MaggioriNeurIPS 2024 · 9 citations
- Learning multivariate Gaussians with imperfect adviceArnab Bhattacharyya, Davin Choo, Philips George John, Themis GouleakisICML 2025
- The Secretary Problem with Predicted Additive GapAlexander Braun, Sherry SarkarNeurIPS 2024 · 7 citations
