Lune

NeurIPS2023Top-tier venue

Sorting with Predictions

Xingjian Bai, Christian Coester

2023Year
29Citations
16Top-tier citations

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 O(∑ilog⁡ηi)O(\sum_i \log \eta_i) exact comparisons, where ηi\eta_i is a suitably defined prediction error for the iith element. In particular, as the quality of predictions deteriorates, the number of comparisons degrades smoothly from O(n)O(n) to O(nlog⁡n)O(n\log 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.

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.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 834bf291-1786-476f-ac41-1fcbc0dab666

Cited by top-tier papers16

Ask how each one uses it

Builds on20

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines