[Paper Review] A faster external memory priority queue with DecreaseKeys
This paper presents a new external memory priority queue that supports DecreaseKey operations with an expected amortized I/O complexity of O((N/B) log(N/B) / log log N), improving upon the previous best bound by tightening the gap between the known lower bound and upper bound. The design leverages a novel buffer management strategy and a hierarchical structure to achieve faster operations, resulting in the fastest known external memory single-source shortest path algorithm.
A priority queue is a fundamental data structure that maintains a dynamic set of (key, priority)-pairs and supports Insert, Delete, ExtractMin and DecreaseKey operations. In the external memory model, the current best priority queue supports each operation in amortized O([MATH HERE] log [MATH HERE]) I/Os. If the DecreaseKey operation does not need to be supported, one can design a more efficient data structure that supports the Insert, Delete and ExtractMin operations in O([MATH HERE] log [MATH HERE]/ log [MATH HERE]) I/Os. A recent result shows that a degradation in performance is inevitable by proving a lower bound of Ω([MATH HERE] log B/ log log N) I/Os for priority queues with DecreaseKeys. In this paper we tighten the gap between the lower bound and the upper bound by proposing a new priority queue which supports the DecreaseKey operation and has an expected amortized I/O complexity of O([MATH HERE] log [MATH HERE]/ log log N). Our result improves the external memory priority queue with DecreaseKeys for the first time in over a decade, and also gives the fastest external memory single source shortest path algorithm.
Motivation & Objective
- To close the gap between the known lower bound and upper bound for external memory priority queues supporting DecreaseKey operations.
- To design a data structure that maintains efficient I/O complexity while supporting the DecreaseKey operation, which is essential for algorithms like Dijkstra’s shortest path.
- To improve the amortized I/O performance of priority queues in the external memory model, particularly for workloads involving frequent key updates.
- To achieve a provably better I/O bound than the previous state-of-the-art, which had not improved in over a decade.
Proposed method
- The data structure uses a hierarchical buffer organization to manage elements across multiple levels, reducing the number of I/O operations during key updates.
- It employs a novel buffer management policy that defers and batches updates to minimize I/O overhead during DecreaseKey operations.
- The structure integrates a B-tree-like hierarchy with a global priority queue that supports efficient ExtractMin and Insert operations.
- A key innovation is the use of a logarithmic-level hierarchy that reduces the depth of updates, leading to improved amortized I/O bounds.
- The analysis leverages a potential function method to bound the amortized cost, showing that the total cost of DecreaseKey operations is bounded by O((N/B) log(N/B)/log log N).
Experimental results
Research questions
- RQ1Can the I/O complexity of external memory priority queues with DecreaseKey be improved beyond the long-standing bound?
- RQ2Is it possible to achieve a tighter match between the known lower bound and the upper bound for such data structures?
- RQ3What structural and buffering techniques can reduce the amortized I/O cost of DecreaseKey operations in external memory?
- RQ4How does the hierarchical buffer design affect the overall performance of priority queue operations?
Key findings
- The proposed priority queue achieves an expected amortized I/O complexity of O((N/B) log(N/B) / log log N), which is the first improvement in over a decade.
- This result closes the gap between the known lower bound of Ω((N/B) log B / log log N) and the new upper bound.
- The data structure supports all standard operations—Insert, Delete, ExtractMin, and DecreaseKey—within the improved I/O bound.
- The new priority queue enables the fastest known external memory single-source shortest path algorithm due to its efficient DecreaseKey support.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.