Table of Contents
Fetching ...

Learning-Augmented Priority Queues

Ziyad Benomar, Christian Coester

TL;DR

This study investigates the design of priority queues within the learning-augmented framework, where algorithms use potentially inaccurate predictions to enhance their worst-case performance.

Abstract

Priority queues are one of the most fundamental and widely used data structures in computer science. Their primary objective is to efficiently support the insertion of new elements with assigned priorities and the extraction of the highest priority element. In this study, we investigate the design of priority queues within the learning-augmented framework, where algorithms use potentially inaccurate predictions to enhance their worst-case performance. We examine three prediction models spanning different use cases, and show how the predictions can be leveraged to enhance the performance of priority queue operations. Moreover, we demonstrate the optimality of our solution and discuss some possible applications.

Learning-Augmented Priority Queues

TL;DR

This study investigates the design of priority queues within the learning-augmented framework, where algorithms use potentially inaccurate predictions to enhance their worst-case performance.

Abstract

Priority queues are one of the most fundamental and widely used data structures in computer science. Their primary objective is to efficiently support the insertion of new elements with assigned priorities and the extraction of the highest priority element. In this study, we investigate the design of priority queues within the learning-augmented framework, where algorithms use potentially inaccurate predictions to enhance their worst-case performance. We examine three prediction models spanning different use cases, and show how the predictions can be leveraged to enhance the performance of priority queue operations. Moreover, we demonstrate the optimality of our solution and discuss some possible applications.
Paper Structure (43 sections, 10 theorems, 46 equations, 8 figures, 1 table, 4 algorithms)

This paper contains 43 sections, 10 theorems, 46 equations, 8 figures, 1 table, 4 algorithms.

Key Result

Lemma 2.1

The randomized binary search in a list of size $k$ terminates after $O(\log k)$ comparisons almost surely.

Figures (8)

  • Figure 1: A skip list with keys $v_1 < \ldots < v_9 \in \mathcal{U}$.
  • Figure 2: Sorting with rank predictions in the class setting, for $n \in \{1000, 10000, 100000\}$.
  • Figure 3: Sorting with rank predictions in the decay setting, for $n \in \{1000, 10000, 100000\}$.
  • Figure 4: Dijkstra's algorithm on city maps with class predictions
  • Figure 5: Dijkstra's algorithm on city maps with decay predictions
  • ...and 3 more figures

Theorems & Definitions (19)

  • Lemma 2.1
  • proof
  • Theorem 2.2
  • proof
  • Theorem 2.3
  • proof
  • Lemma 3.1: eisenberg2008expectation
  • Theorem 3.2
  • proof : Proof of Theorem \ref{['thm:exp-search']}
  • Theorem 3.3
  • ...and 9 more