Binary Search with Distributional Predictions
Not on the map. Why?
Abstract (arXiv)
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 O(H(p) + log η), where H(p) is the entropy of the true distribution p and η is the earth mover's distance between p and the predicted distribution hat p. 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.
Key facts. Cited by 11 papers in the map (data through 13 Oct 2026). Builds on 19 of its 31 references that are in the map. First posted on arXiv 25 Nov 2024.
Builds on
19 of 31 references.
References · 19
- 2018Competitive caching with machine learned advicecited by 194
- 2017The Case for Learned Index Structurescited by 188
- 2020Algorithms with Predictionscited by 152
- 2016Motifs in Temporal Networkscited by 101
- 2020The Primal-Dual method for Learning Augmented Algorithmscited by 78
- 2024Improving Online Algorithms via ML Predictionscited by 66
- 2021Faster Matchings via Learned Dualscited by 56
- 2022Learning Augmented Binary Search Treescited by 31
- 2022Online Algorithms with Multiple Predictionscited by 22
- 2023Predictive Flows for Faster Ford-Fulkersoncited by 20
- 2022Learning-Augmented Mechanism Design: Leveraging Predictions for Facility Locationcited by 19
- 2022Algorithms with Prediction Portfolioscited by 19
7 more
- 2022Beyond IID: data-driven decision-making in heterogeneous environmentscited by 9
- 2024Contract Scheduling with Distributional and Multiple Advicecited by 8
- 2020Generalization in portfolio-based algorithm selectioncited by 7
- 2023Online List Labeling with Predictionscited by 5
- 2024Incremental Topological Ordering and Cycle Detection with Predictionscited by 4
- 2019Two-stage sample robust optimizationcited by 3
- 2023Online Covering with Multiple Expertscited by 1
Built on by
Citing papers per year: 2025: 4; 2026: 7.
11 papers.
- 2025Algorithms with Calibrated Machine Learning Predictionscited by 7
- 2025Pareto-Optimality, Smoothness, and Stochasticity in Learning-Augmented One-Max-Searchcited by 4
- 2025Incremental Approximate Single-Source Shortest Paths with Predictionscited by 3
- 2025Learning-Augmented Online Bidding in Stochastic Settingscited by 3
- 2026Ski Rental with Distributional Predictions of Unknown Qualitycited by 2
- 2026Better Learning-Augmented Spanning Tree Algorithms via Metric Forest Completioncited by 0
- 2026Robust and Consistent Ski Rental with Distributional Advicecited by 0
- 2026Incremental Strongly Connected Components with Predictionscited by 0
- 2026Learning-Augmented Scalable Linear Assignment Problem Optimization via Neural Dual Warm-Startscited by 0
- 2026The Secretary Problem with a Stochastic Precursorcited by 0
- 2026Learning-Augmented Algorithms: Guarantees, Construction Mechanisms, and System-Level Implicationscited by 0
- 2026Learning-Augmented Algorithms: Guarantees, Construction Mechanisms, and System-Level Implications4 Sep 2026
- 2026The Secretary Problem with a Stochastic Precursor21 May 2026
- 2026Learning-Augmented Scalable Linear Assignment Problem Optimization via Neural Dual Warm-Starts10 May 2026
- 2026Incremental Strongly Connected Components with Predictions28 Apr 2026
- 2026Robust and Consistent Ski Rental with Distributional Advice31 Mar 2026
- 2026Better Learning-Augmented Spanning Tree Algorithms via Metric Forest Completion27 Feb 2026
- 2026Ski Rental with Distributional Predictions of Unknown Quality24 Feb 2026
- 2025Learning-Augmented Online Bidding in Stochastic Settings29 Oct 2025
- 2025Incremental Approximate Single-Source Shortest Paths with Predictions12 Feb 2025
- 2025Pareto-Optimality, Smoothness, and Stochasticity in Learning-Augmented One-Max-Search8 Feb 2025
- 2025Algorithms with Calibrated Machine Learning Predictions5 Feb 2025