A nearly optimal randomized algorithm for explorable heap selection

Explorable heap selection is the problem of selecting the <i>n</i>th smallest value in a binary heap. The key values can only be accessed by traversing through the underlying infinite binary tree, and the complexity of the algorithm is measured by the total distance traveled in the tree (each edge has unit cost). This problem was originally proposed as a model to study search strategies for the branch-and-bound algorithm with storage restrictions by Karp, Saks and Widgerson (FOCS '86), who gave deterministic and randomized <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>n</mml:mi> <mml:mo>·</mml:mo> <mml:mo>exp</mml:mo> <mml:mo>(</mml:mo> <mml:mi>O</mml:mi> <mml:mrow><mml:mo>(</mml:mo> <mml:msqrt><mml:mrow><mml:mo>log</mml:mo> <mml:mi>n</mml:mi></mml:mrow> </mml:msqrt> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>)</mml:mo></mml:mrow> </mml:math> time algorithms using <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>O</mml:mi> <mml:mo>(</mml:mo> <mml:mo>log</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:mi>n</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mrow><mml:mn>2.5</mml:mn></mml:mrow> </mml:msup> <mml:mo>)</mml:mo></mml:mrow> </mml:math> and <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>O</mml:mi> <mml:mo>(</mml:mo> <mml:msqrt><mml:mrow><mml:mo>log</mml:mo> <mml:mi>n</mml:mi></mml:mrow> </mml:msqrt> <mml:mo>)</mml:mo></mml:mrow> </mml:math> space respectively. We present a new randomized algorithm with running time <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>O</mml:mi> <mml:mo>(</mml:mo> <mml:mi>n</mml:mi> <mml:mo>log</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:mi>n</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>3</mml:mn></mml:msup> <mml:mo>)</mml:mo></mml:mrow> </mml:math> against an oblivious adversary using <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>O</mml:mi> <mml:mo>(</mml:mo> <mml:mo>log</mml:mo> <mml:mi>n</mml:mi> <mml:mo>)</mml:mo></mml:mrow> </mml:math> space, substantially improving the previous best randomized running time at the expense of slightly increased space usage. We also show an <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>Ω</mml:mi> <mml:mo>(</mml:mo> <mml:mo>log</mml:mo> <mml:mo>(</mml:mo> <mml:mi>n</mml:mi> <mml:mo>)</mml:mo> <mml:mi>n</mml:mi> <mml:mo>/</mml:mo> <mml:mo>log</mml:mo> <mml:mo>(</mml:mo> <mml:mo>log</mml:mo> <mml:mo>(</mml:mo> <mml:mi>n</mml:mi> <mml:mo>)</mml:mo> <mml:mo>)</mml:mo> <mml:mo>)</mml:mo></mml:mrow> </mml:math> lower bound for any algorithm that solves the problem in the same amount of space, indicating that our algorithm is nearly optimal.

Authors

Institutions

Publication Details

Journal
Mathematical Programming
Published
2024-11-05
DOI
https://doi.org/10.1007/s10107-024-02145-5
Primary Topic
Optimization and Search Problems
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A nearly optimal randomized algorithm for explorable heap selection

Danish Kashaev, Sophie Huiberts, Daniel Dadush, Sander Borst
Mathematical Programming
Optimization and Search Problems
article

A nearly optimal randomized algorithm for explorable heap selection

Danish Kashaev, Sophie Huiberts, Daniel Dadush, Sander Borst
article en

Abstract

Explorable heap selection is the problem of selecting the <i>n</i>th smallest value in a binary heap. The key values can only be accessed by traversing through the underlying infinite binary tree, and the complexity of the algorithm is measured by the total distance traveled in the tree (each edge has unit cost). This problem was originally proposed as a model to study search strategies for the branch-and-bound algorithm with storage restrictions by Karp, Saks and Widgerson (FOCS '86), who gave deterministic and randomized <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>n</mml:mi> <mml:mo>·</mml:mo> <mml:mo>exp</mml:mo> <mml:mo>(</mml:mo> <mml:mi>O</mml:mi> <mml:mrow><mml:mo>(</mml:mo> <mml:msqrt><mml:mrow><mml:mo>log</mml:mo> <mml:mi>n</mml:mi></mml:mrow> </mml:msqrt> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>)</mml:mo></mml:mrow> </mml:math> time algorithms using <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>O</mml:mi> <mml:mo>(</mml:mo> <mml:mo>log</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:mi>n</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mrow><mml:mn>2.5</mml:mn></mml:mrow> </mml:msup> <mml:mo>)</mml:mo></mml:mrow> </mml:math> and <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>O</mml:mi> <mml:mo>(</mml:mo> <mml:msqrt><mml:mrow><mml:mo>log</mml:mo> <mml:mi>n</mml:mi></mml:mrow> </mml:msqrt> <mml:mo>)</mml:mo></mml:mrow> </mml:math> space respectively. We present a new randomized algorithm with running time <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>O</mml:mi> <mml:mo>(</mml:mo> <mml:mi>n</mml:mi> <mml:mo>log</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:mi>n</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>3</mml:mn></mml:msup> <mml:mo>)</mml:mo></mml:mrow> </mml:math> against an oblivious adversary using <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>O</mml:mi> <mml:mo>(</mml:mo> <mml:mo>log</mml:mo> <mml:mi>n</mml:mi> <mml:mo>)</mml:mo></mml:mrow> </mml:math> space, substantially improving the previous best randomized running time at the expense of slightly increased space usage. We also show an <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>Ω</mml:mi> <mml:mo>(</mml:mo> <mml:mo>log</mml:mo> <mml:mo>(</mml:mo> <mml:mi>n</mml:mi> <mml:mo>)</mml:mo> <mml:mi>n</mml:mi> <mml:mo>/</mml:mo> <mml:mo>log</mml:mo> <mml:mo>(</mml:mo> <mml:mo>log</mml:mo> <mml:mo>(</mml:mo> <mml:mi>n</mml:mi> <mml:mo>)</mml:mo> <mml:mo>)</mml:mo> <mml:mo>)</mml:mo></mml:mrow> </mml:math> lower bound for any algorithm that solves the problem in the same amount of space, indicating that our algorithm is nearly optimal.

Mathematical ProgrammingVol. 210(1-2)
Centrum Wiskunde & Informatica (NL), Utrecht University (NL), Columbia University (US)
European Commission, HORIZON EUROPE European Research Council
Openalex Percentile: Top 78%
Optimization and Search Problems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.