Lune

NeurIPS2024Top-tier venue

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 O(H(p)+log⁡η)O(H(p) + \log \eta), where H(p)H(p) is the entropy of the true distribution pp and η\eta is the earth mover's distance between pp and the predicted distribution p^\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.

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.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • The Primal-Dual method for Learning Augmented Algorithms cites Online Scheduling via Learned Weights
  • Online Knapsack with Frequency Predictions cites The Primal-Dual method for Learning Augmented Algorithms
  • Online Knapsack with Frequency Predictions cites Online Scheduling via Learned Weights
  • Learning-Augmented Ski Rental with Discrete Distribution: A Bayesian Approach cites Online Scheduling via Learned Weights
  • Pareto-Optimality, Smoothness, and Stochasticity in Learning-Augmented One-Max-Search cites The Primal-Dual method for Learning Augmented Algorithms
  • Pareto-Optimality, Smoothness, and Stochasticity in Learning-Augmented One-Max-Search cites Online Knapsack with Frequency Predictions
  • Pareto-Optimality, Smoothness, and Stochasticity in Learning-Augmented One-Max-Search cites Learning Augmented Binary Search Trees
  • Pareto-Optimality, Smoothness, and Stochasticity in Learning-Augmented One-Max-Search cites Online Scheduling via Learned Weights
  • Learning-Augmented Online Bidding in Stochastic Settings cites The Primal-Dual method for Learning Augmented Algorithms
  • Learning-Augmented Online Bidding in Stochastic Settings cites Online Knapsack with Frequency Predictions
  • Learning-Augmented Online Bidding in Stochastic Settings cites Learning Online Algorithms with Distributional Advice
  • Learning-Augmented Online Bidding in Stochastic Settings cites Learning Augmented Binary Search Trees
  • Learning-Augmented Online Bidding in Stochastic Settings cites Online Scheduling via Learned Weights
  • Ski Rental with Distributional Predictions of Unknown Quality cites Learning Online Algorithms with Distributional Advice
  • Learning Online Algorithms with Distributional Advice cites The Primal-Dual method for Learning Augmented Algorithms
  • Learning Online Algorithms with Distributional Advice cites Online Scheduling via Learned Weights
  • Robust and Consistent Ski Rental with Distributional Advice cites The Primal-Dual method for Learning Augmented Algorithms
  • Robust and Consistent Ski Rental with Distributional Advice cites Learning-Augmented Online Bidding in Stochastic Settings
  • Robust and Consistent Ski Rental with Distributional Advice cites Ski Rental with Distributional Predictions of Unknown Quality
  • Robust and Consistent Ski Rental with Distributional Advice cites Learning Online Algorithms with Distributional Advice
  • Robust and Consistent Ski Rental with Distributional Advice cites Learning Augmented Binary Search Trees
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Learning-Augmented Online Bidding in Stochastic SettingsSpyros Angelopoulos, Bertrand SimonNeurIPS 2025 · 6 citations
  2. Robust and Consistent Ski Rental with Distributional AdviceJihwan Kim, Chenglin FanICML 2026 · 1 citation
  3. Learning-Augmented Ski Rental with Discrete Distribution: A Bayesian ApproachBosun Kang, Hyejun Park, Chenglin FanAAAI 2026
  4. Pareto-Optimality, Smoothness, and Stochasticity in Learning-Augmented One-Max-SearchZiyad Benomar, Lorenzo Croissant, Vianney Perchet, Spyros AngelopoulosICML 2025
  5. Ski Rental with Distributional Predictions of Unknown QualityQiming Cui, Michael DinitzICML 2026

Builds on14

  1. The Primal-Dual method for Learning Augmented AlgorithmsÉtienne Bamas, Andreas Maggiori, Ola SvenssonNeurIPS 2020 · 171 citations
  2. Online Scheduling via Learned WeightsSilvio Lattanzi, Thomas Lavastida, Benjamin Moseley, Sergei VassilvitskiiSODA 2020 · 83 citations
  3. Online Knapsack with Frequency PredictionsSungjin Im, Ravi Kumar, Mahshid Montazer Qaem, Manish PurohitNeurIPS 2021 · 70 citations
  4. Learning Augmented Binary Search TreesHonghao Lin, Tian Luo, David P. WoodruffICML 2022 · 46 citations
  5. Learning Online Algorithms with Distributional AdviceIlias Diakonikolas, Vasilis Kontonis, Christos Tzamos, Ali Vakilian et al.ICML 2021 · 44 citations

Related papers

  1. Secretary and Online Matching Problems with Machine Learned AdviceAntonios Antoniadis, Themis Gouleakis, Pieter Kleer, Pavel KolevNeurIPS 2020 · 167 citations
  2. Optimal Algorithms for Augmented Testing of Discrete DistributionsMaryam Aliakbarpour, Piotr Indyk, Ronitt Rubinfeld, Sandeep SilwalNeurIPS 2024 · 3 citations
  3. Fair Secretaries with Unfair PredictionsEric Balkanski, Will Ma, Andreas MaggioriNeurIPS 2024 · 9 citations
  4. Learning multivariate Gaussians with imperfect adviceArnab Bhattacharyya, Davin Choo, Philips George John, Themis GouleakisICML 2025
  5. The Secretary Problem with Predicted Additive GapAlexander Braun, Sherry SarkarNeurIPS 2024 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines