arXiv:2611.04776cs.DSNov 2026

Manuscript Offprint

arXiv:2611.04776

Differentially Oblivious Priority Queues with Sublogarithmic Cost

Zimai Guo, Cheng Hong, Zhechen Li

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

In this paper, we study exact online integer priority queues under differential obliviousness in the balls-and-bins model. Given a public upper bound TT on the number of operations and assuming that the priorities are bounded by a polynomial in TT, we construct an (ε,δ)(\varepsilon, \delta)-differentially oblivious priority queue supporting insertion and minimum extraction, which requires polylog(TT) private memory. For constant ε>0\varepsilon > 0 and δ=exp⁡(−Θ(log⁡2T))\delta = \exp(-\Theta(\log^2 T)), our construction incurs O(log⁡T/log⁡log⁡T)O(\log T / \log \log T) expected amortized total work per operation, which breaks the Ω(log⁡T)\Omega(\log T) barrier for fully oblivious priority queues [Jacob et al., SODA'2019]. Further, we prove a matching lower bound for (ε,δ)(\varepsilon, \delta)-differentially oblivious priority queues with ε=O(1)\varepsilon = O(1) and δ=o(1)\delta = o(1), which indicates that our construction is asymptotically optimal in terms of total work.

1 Introduction

Priority queues (or heaps) are fundamental data structures in the design of algorithms. They support insertion and extraction of a minimum-priority record and are central to algorithms for shortest paths and minimum spanning trees [1]. Starting from an empty queue, for an online sequence of at most TT operations, an ordinary heap (e.g., binary heap, Fibonacci heap) supports both operations in O(log⁡T)O(\log T) runtime [2]. This logarithmic cost is optimal in the comparison-based model, since insertions followed by minimum extractions sort the inserted records.

In commonly used constructions, the memory access traces on RAM induced by operations depend on the stored priorities. Observing these memory accesses may therefore reveal information about the priorities even when the records themselves are encrypted. Full obliviousness [3] protects against this leakage by requiring access patterns to be indistinguishable for operation sequences with the same public parameters. Shi's Path Oblivious Heap [4] and the bandwidth-optimal heap by Jafargholi, Larsen, and Simkin [5] give elegant oblivious priority queues with O(log⁡T)O(\log T) amortized word transfers per operation. Their per-operation cost matches the optimal runtime of non-oblivious comparison-based priority queues.

For polynomially bounded integer priorities, non-oblivious priority queues can achieve O(1)O(1) amortized operation time. Integer priority queues [6] exploit word operations beyond comparisons. With priorities bounded by TO(1)T^{O(1)} and w=Θ(log⁡T)w = \Theta(\log T)-bit words, radix sort sorts TT priorities in O(T)O(T) time, bypassing the Ω(Tlog⁡T)\Omega(T \log T) barrier for comparison sorting. Thorup's reduction from priority queues to sorting then yields the constant amortized bound [7]. However, this improvement does not extend to full obliviousness. In the standard online model with observable call boundaries, Jacob, Larsen, and Nielsen [8] prove an Ω(log⁡T)\Omega(\log T) expected amortized probe lower bound, even for polynomially bounded integer priorities and polylogarithmic private memory.

†Authors are listed in lexicographical order. Zhechen Li is the corresponding author.

This gap motivates us to consider differential obliviousness (DO), which relaxes full obliviousness by requiring (ε,δ)(\varepsilon, \delta)-differential privacy [9] for the access patterns of neighboring inputs [10, 11]. Chan et al. [10] show that DO can improve asymptotic complexity over full obliviousness with constant ε\varepsilon and negligible δ\delta. For example, they give stable one-bit sorting in O(Tlog⁡log⁡T)O(T \log \log T) time with constant private storage in the balls-and-bins model, improving on the Ω(Tlog⁡T)\Omega(T \log T) bound for full obliviousness. Whether these gains extend to integer priority queues with polylogarithmic private space remains open. Therefore, we consider the following question with constant ε\varepsilon and negligible δ\delta.

Can any (ε,δ)(\varepsilon, \delta)-DO integer priority queue achieve o(log⁡T)o(\log T) cost with polylogarithmic private space?