mlsanityData to 13 Oct 2026

Binary Search with Distributional Predictions

arXiv 2411.16030 ↗First posted 25 Nov 2024cs.LG cs.DScited by 11

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

  1. 2018Competitive caching with machine learned advicecited by 194
  2. 2017The Case for Learned Index Structurescited by 188
  3. 2020Algorithms with Predictionscited by 152
  4. 2016Motifs in Temporal Networkscited by 101
  5. 2020The Primal-Dual method for Learning Augmented Algorithmscited by 78
  6. 2024Improving Online Algorithms via ML Predictionscited by 66
  7. 2021Faster Matchings via Learned Dualscited by 56
  8. 2022Learning Augmented Binary Search Treescited by 31
  9. 2022Online Algorithms with Multiple Predictionscited by 22
  10. 2023Predictive Flows for Faster Ford-Fulkersoncited by 20
  11. 2022Learning-Augmented Mechanism Design: Leveraging Predictions for Facility Locationcited by 19
  12. 2022Algorithms with Prediction Portfolioscited by 19
7 more
  1. 2022Beyond IID: data-driven decision-making in heterogeneous environmentscited by 9
  2. 2024Contract Scheduling with Distributional and Multiple Advicecited by 8
  3. 2020Generalization in portfolio-based algorithm selectioncited by 7
  4. 2023Online List Labeling with Predictionscited by 5
  5. 2024Incremental Topological Ordering and Cycle Detection with Predictionscited by 4
  6. 2019Two-stage sample robust optimizationcited by 3
  7. 2023Online Covering with Multiple Expertscited by 1

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2025: 4; 2026: 7.

11 papers.