Sorting with Predictions
Abstract
We explore the fundamental problem of sorting through the lens of learning-augmented algorithms, where algorithms can leverage possibly erroneous predictions to improve their efficiency. We consider two different settings: In the first setting, each item is provided a prediction of its position in the sorted list. In the second setting, we assume there is a"quick-and-dirty"way of comparing items, in addition to slow-and-exact comparisons. For both settings, we design new and simple algorithms using only exact comparisons, where is a suitably defined prediction error for the th element. In particular, as the quality of predictions deteriorates, the number of comparisons degrades smoothly from to . We prove that the comparison complexity is theoretically optimal with respect to the examined error measures. An experimental evaluation against existing adaptive and non-adaptive sorting algorithms demonstrates the potential of applying learning-augmented algorithms in sorting tasks.
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.
16 top-tier papers have 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
- Faster Fundamental Graph Algorithms via Learned Predictions cites Near-Optimal Bounds for Online Caching with Machine Learned Advice
- Faster Fundamental Graph Algorithms via Learned Predictions cites Online Scheduling via Learned Weights
- Faster Fundamental Graph Algorithms via Learned Predictions cites Faster Matchings via Learned Duals
- Incremental Topological Ordering and Cycle Detection with Predictions cites Faster Matchings via Learned Duals
- Online Algorithms for Multi-shop Ski Rental with Machine Learned Advice cites Near-Optimal Bounds for Online Caching with Machine Learned Advice
- Parsimonious Learning-Augmented Approximations for Dense Instances of NP-hard Problems cites Faster Matchings via Learned Duals
- Learning-Augmented Online Bidding in Stochastic Settings cites Online Scheduling via Learned Weights
- Non-clairvoyant Scheduling with Partial Predictions cites Faster Fundamental Graph Algorithms via Learned Predictions
- Non-clairvoyant Scheduling with Partial Predictions cites Online Scheduling via Learned Weights
- Non-clairvoyant Scheduling with Partial Predictions cites Faster Matchings via Learned Duals
- Faster Matchings via Learned Duals cites Near-Optimal Bounds for Online Caching with Machine Learned Advice
- Faster Matchings via Learned Duals cites Online Scheduling via Learned Weights
- Online Learning with Sublinear Best-Action Queries cites Online Scheduling via Learned Weights
Cited by top-tier papers16
- Non-clairvoyant Scheduling with Partial PredictionsZiyad Benomar, Vianney PerchetICML 2024 · 11 citations
- Incremental Topological Ordering and Cycle Detection with PredictionsSamuel McCauley, Benjamin Moseley, Aidin Niaparast, Shikha SinghICML 2024 · 6 citations
- Learning-Augmented Online Bidding in Stochastic SettingsSpyros Angelopoulos, Bertrand SimonNeurIPS 2025 · 6 citations
- Parsimonious Learning-Augmented Approximations for Dense Instances of NP-hard ProblemsEvripidis Bampis, Bruno Escoffier, Michalis XefterisICML 2024 · 5 citations
- Online Learning with Sublinear Best-Action QueriesMatteo Russo, Andrea Celli, Riccardo Colini-Baldeschi, Federico Fusco et al.NeurIPS 2024 · 4 citations
Builds on20
- Faster Matchings via Learned DualsMichael Dinitz, Sungjin Im, Thomas Lavastida, Benjamin Moseley et al.NeurIPS 2021 · 98 citations
- Near-Optimal Bounds for Online Caching with Machine Learned AdviceDhruv RohatgiSODA 2020 · 88 citations
- Online Scheduling via Learned WeightsSilvio Lattanzi, Thomas Lavastida, Benjamin Moseley, Sergei VassilvitskiiSODA 2020 · 83 citations
- Online Algorithms for Multi-shop Ski Rental with Machine Learned AdviceShufan Wang, Jian Li, Shiqiang WangNeurIPS 2020 · 60 citations
- Faster Fundamental Graph Algorithms via Learned PredictionsJustin Y. Chen, Sandeep Silwal, Ali Vakilian, Fred ZhangICML 2022 · 58 citations
Related papers
- Competitive Fair Scheduling with PredictionsTianming Zhao, Chunqiu Xia, Xiaomin Chang, Chunhao Li et al.ICLR 2025
- Fair Secretaries with Unfair PredictionsEric Balkanski, Will Ma, Andreas MaggioriNeurIPS 2024 · 9 citations
- Online Search with Best-Price and Query-Based PredictionsSpyros Angelopoulos, Shahin Kamali, Dehou ZhangAAAI 2022 · 11 citations
- Advice Querying under Budget Constraint for Online AlgorithmsZiyad Benomar, Vianney PerchetNeurIPS 2023 · 17 citations
- New Algorithms for the Learning-Augmented k-means ProblemJunyu Huang, Qilong Feng, Ziyun Huang, Zhen Zhang et al.ICLR 2025
