Sorting with Predictions
Not on the map. Why?
Abstract (arXiv)
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 O(sumi log ηi) exact comparisons, where ηi is a suitably defined prediction error for the ith element. In particular, as the quality of predictions deteriorates, the number of comparisons degrades smoothly from O(n) to O(nlog n). 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.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 28 of its 44 references that are in the map. First posted on arXiv 1 Nov 2023.
Builds on
28 of 44 references.
References · 28
- 2018Competitive caching with machine learned advicecited by 194
- 2017The Case for Learned Index Structurescited by 188
- 2020Algorithms with Predictionscited by 152
- 2019Near-Optimal Bounds for Online Caching with Machine Learned Advicecited by 73
- 2021Faster Matchings via Learned Dualscited by 56
- 2019Scheduling with Predictions and the Price of Mispredictioncited by 45
- 2019Online Computation with Untrusted Advicecited by 42
- 2022Faster Fundamental Graph Algorithms via Learned Predictionscited by 42
- 2020Better and Simpler Learning-Augmented Online Cachingcited by 38
- 2022Learning Augmented Binary Search Treescited by 31
- 2021Flow Time Scheduling with Uncertain Processing Timecited by 29
- 2021Learning-Augmented k-means Clusteringcited by 26
16 more
- 2022Permutation Predictions for Non-Clairvoyant Schedulingcited by 22
- 2022Online Algorithms with Multiple Predictionscited by 22
- 2021Learning-Augmented Dynamic Power Management with Multiple States via New Ski Rental Boundscited by 20
- 2023Predictive Flows for Faster Ford-Fulkersoncited by 20
- 2022Algorithms with Prediction Portfolioscited by 19
- 2020Learning-Augmented Weighted Pagingcited by 17
- 2022Discrete-Convex-Analysis-Based Framework for Warm-Starting Algorithms with Predictionscited by 16
- 2020Online Linear Optimization with Many Hintscited by 15
- 2021Distortion-Oblivious Algorithms for Minimizing Flow Timecited by 15
- 2023Mixing predictions for online metric algorithmscited by 12
- 2023Optimal Bounds for Noisy Sortingcited by 8
- 2020Generalized Sorting with Predictionscited by 5
- 2020Online Paging with a Vanishing Regretcited by 5
- 2018Optimal Sorting with Persistent Comparison Errorscited by 2
- 2023Sorting and Hypergraph Orientation under Uncertainty with Predictionscited by 2
- 2018Nearly-Optimal Mergesorts: Fast, Practical Sorting Methods That Optimally Adapt to Existing Runscited by 1
Built on by
Citing papers per year: 2024: 4; 2025: 6; 2026: 4.
14 papers.
Sort:
By area:
- 2024Non-clairvoyant Scheduling with Partial Predictionscited by 7
- 2024Learning-Augmented Priority Queuescited by 7
- 2025Pareto-Optimality, Smoothness, and Stochasticity in Learning-Augmented One-Max-Searchcited by 4
- 2024Accelerating Matroid Optimization through Fast Imprecise Oraclescited by 3
- 2025Incremental Approximate Single-Source Shortest Paths with Predictionscited by 3
- 2025EZ-Sort: Efficient Pairwise Comparison via Zero-Shot CLIP-Based Pre-Ordering and Human-in-the-Loop Sortingcited by 3
- 2025Learning-Augmented Online Bidding in Stochastic Settingscited by 3
- 2024Online Learning with Sublinear Best-Action Queriescited by 2
- 2025Are Optimal Algorithms Still Optimal? Rethinking Sorting in LLM-Based Pairwise Ranking with Batching and Cachingcited by 2
- 2026Learning-augmented smooth integer programs with PAC-learnable oraclescited by 1
- 2026Dodgersort: Uncertainty-Aware VLM-Guided Human-in-the-Loop Pairwise Rankingcited by 1
- 2025Efficient Portfolio Selection through Preference Aggregation with Quicksort and the Bradley--Terry Modelcited by 0
2 more
- 2026Incremental Strongly Connected Components with Predictions28 Apr 2026
- 2026Robust and Consistent Ski Rental with Distributional Advice31 Mar 2026
- 2026Dodgersort: Uncertainty-Aware VLM-Guided Human-in-the-Loop Pairwise Ranking21 Mar 2026
- 2026Learning-augmented smooth integer programs with PAC-learnable oracles22 Jan 2026
- 2025Learning-Augmented Online Bidding in Stochastic Settings29 Oct 2025
- 2025EZ-Sort: Efficient Pairwise Comparison via Zero-Shot CLIP-Based Pre-Ordering and Human-in-the-Loop Sorting29 Aug 2025
- 2025Are Optimal Algorithms Still Optimal? Rethinking Sorting in LLM-Based Pairwise Ranking with Batching and Caching30 May 2025
- 2025Efficient Portfolio Selection through Preference Aggregation with Quicksort and the Bradley--Terry Model6 Apr 2025
- 2025Incremental Approximate Single-Source Shortest Paths with Predictions12 Feb 2025
- 2025Pareto-Optimality, Smoothness, and Stochasticity in Learning-Augmented One-Max-Search8 Feb 2025
- 2024Online Learning with Sublinear Best-Action Queries23 Jul 2024
- 2024Learning-Augmented Priority Queues7 Jun 2024
2 more
- 2024Non-clairvoyant Scheduling with Partial Predictionscited by 7
- 2024Learning-Augmented Priority Queuescited by 7
- 2025Pareto-Optimality, Smoothness, and Stochasticity in Learning-Augmented One-Max-Searchcited by 4
- 2024Accelerating Matroid Optimization through Fast Imprecise Oraclescited by 3
- 2025Incremental Approximate Single-Source Shortest Paths with Predictionscited by 3
- 2025EZ-Sort: Efficient Pairwise Comparison via Zero-Shot CLIP-Based Pre-Ordering and Human-in-the-Loop Sortingcited by 3
- 2025Learning-Augmented Online Bidding in Stochastic Settingscited by 3
- 2024Online Learning with Sublinear Best-Action Queriescited by 2
- 2026Learning-augmented smooth integer programs with PAC-learnable oraclescited by 1
- 2026Dodgersort: Uncertainty-Aware VLM-Guided Human-in-the-Loop Pairwise Rankingcited by 1
- 2025Efficient Portfolio Selection through Preference Aggregation with Quicksort and the Bradley--Terry Modelcited by 0
- 2026Robust and Consistent Ski Rental with Distributional Advicecited by 0
12 most cited of 13 All 13 (JSON)
- 2026Incremental Strongly Connected Components with Predictions28 Apr 2026
- 2026Robust and Consistent Ski Rental with Distributional Advice31 Mar 2026
- 2026Dodgersort: Uncertainty-Aware VLM-Guided Human-in-the-Loop Pairwise Ranking21 Mar 2026
- 2026Learning-augmented smooth integer programs with PAC-learnable oracles22 Jan 2026
- 2025Learning-Augmented Online Bidding in Stochastic Settings29 Oct 2025
- 2025EZ-Sort: Efficient Pairwise Comparison via Zero-Shot CLIP-Based Pre-Ordering and Human-in-the-Loop Sorting29 Aug 2025
- 2025Efficient Portfolio Selection through Preference Aggregation with Quicksort and the Bradley--Terry Model6 Apr 2025
- 2025Incremental Approximate Single-Source Shortest Paths with Predictions12 Feb 2025
- 2025Pareto-Optimality, Smoothness, and Stochasticity in Learning-Augmented One-Max-Search8 Feb 2025
- 2024Online Learning with Sublinear Best-Action Queries23 Jul 2024
- 2024Learning-Augmented Priority Queues7 Jun 2024
- 2024Non-clairvoyant Scheduling with Partial Predictions2 May 2024
12 newest of 13 All 13 (JSON)