Sorting with Predictions
Xingjian Bai, Christian Coester
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 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 834bf291-1786-476f-ac41-1fcbc0dab666Cited 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
