Table of Contents
Fetching ...

Optimal $k$-Secretary with Logarithmic Memory

Mingda Qiao, Wei Zhang

TL;DR

This work studies memory-bounded algorithms for the $k$-secretary problem and proves that $O(\log k)$ memory suffices to achieve Kleinberg's optimal competitive ratio $1 - O(1/\sqrt{k})$. The central approach is a reduction from $k$-secretary to random-order quantile estimation, showing that a comparison-based quantile estimator with $O(k^{\alpha})$ rank error yields a $k$-secretary algorithm with competitive ratio $1 - O(1/k^{1-\alpha})$ while using only $m+O(1)$ memory. To realize this, the paper introduces two quantile estimation results: (i) a memory- efficient algorithm using $O(\log k)$ memory that attains $O(\sqrt{k})$ expected rank error, and (ii) an exact $k$-th largest selection method that uses $O(\sqrt{k})$ memory with high probability, generalizing Munro and Paterson's classical results. Together, these contributions yield memory-optimal procedures for the $k$-secretary problem that are practically relevant in streaming and routing contexts where storage is limited, while preserving near-optimal competitiveness.

Abstract

We study memory-bounded algorithms for the $k$-secretary problem. The algorithm of Kleinberg (2005) achieves an optimal competitive ratio of $1 - O(1/\sqrt{k})$, yet a straightforward implementation requires $Ω(k)$ memory. Our main result is a $k$-secretary algorithm that matches the optimal competitive ratio using $O(\log k)$ words of memory. We prove this result by establishing a general reduction from $k$-secretary to (random-order) quantile estimation, the problem of finding the $k$-th largest element in a stream. We show that a quantile estimation algorithm with an $O(k^α)$ expected error (in terms of the rank) gives a $(1 - O(1/k^{1-α}))$-competitive $k$-secretary algorithm with $O(1)$ extra words. We then introduce a new quantile estimation algorithm that achieves an $O(\sqrt{k})$ expected error bound using $O(\log k)$ memory. Of independent interest, we give a different algorithm that uses $O(\sqrt{k})$ words and finds the $k$-th largest element exactly with high probability, generalizing a result of Munro and Paterson (1980).

Optimal $k$-Secretary with Logarithmic Memory

TL;DR

This work studies memory-bounded algorithms for the -secretary problem and proves that memory suffices to achieve Kleinberg's optimal competitive ratio . The central approach is a reduction from -secretary to random-order quantile estimation, showing that a comparison-based quantile estimator with rank error yields a -secretary algorithm with competitive ratio while using only memory. To realize this, the paper introduces two quantile estimation results: (i) a memory- efficient algorithm using memory that attains expected rank error, and (ii) an exact -th largest selection method that uses memory with high probability, generalizing Munro and Paterson's classical results. Together, these contributions yield memory-optimal procedures for the -secretary problem that are practically relevant in streaming and routing contexts where storage is limited, while preserving near-optimal competitiveness.

Abstract

We study memory-bounded algorithms for the -secretary problem. The algorithm of Kleinberg (2005) achieves an optimal competitive ratio of , yet a straightforward implementation requires memory. Our main result is a -secretary algorithm that matches the optimal competitive ratio using words of memory. We prove this result by establishing a general reduction from -secretary to (random-order) quantile estimation, the problem of finding the -th largest element in a stream. We show that a quantile estimation algorithm with an expected error (in terms of the rank) gives a -competitive -secretary algorithm with extra words. We then introduce a new quantile estimation algorithm that achieves an expected error bound using memory. Of independent interest, we give a different algorithm that uses words and finds the -th largest element exactly with high probability, generalizing a result of Munro and Paterson (1980).

Paper Structure

This paper contains 70 sections, 26 theorems, 181 equations.

Key Result

Theorem 1

There is a $k$-secretary algorithm that uses $O(\log k)$ memory and achieves a competitive ratio of $1 - O(1/\sqrt{k})$.

Theorems & Definitions (48)

  • Definition 1: Rank
  • Definition 2: Competitive ratio
  • Theorem 1
  • Proposition 1
  • Theorem 2
  • Theorem 3
  • Definition 3: Comparison-based algorithms
  • Lemma 1
  • Lemma 2
  • proof
  • ...and 38 more