Robust Algorithms for the Secretary Problem

Domagoj Bradac, Anupam Gupta, Sahil Singla, Goran Zuzic

TL;DR

This paper introduces the Byzantine Secretary model, a robust framework for online decision-making that handles adversarial "outliers" injected into a stream of random arrivals. The authors prove that while you can't always catch the absolute best item in this setting, you can design algorithms that are highly competitive against a "leave-one-out" benchmark (e.g., the second-best item).

What Problem Does This Paper Address?

The classical Secretary Problem is a cornerstone of online algorithms: $n$ candidates arrive in a random order, and you must decide immediately whether to hire them. The famous $1/e$ strategy (wait for $37\%$ of candidates, then pick the next one better than all previous) works beautifully—if the order is truly random.

However, the authors point out a major flaw: these algorithms are not robust. If an adversary places a single "fake" high-value candidate at the very beginning of the stream, the $1/e$ algorithm sets its threshold too high and ends up hiring no one. In real-world scenarios like online auctions or cloud resource allocation, we often face a mix of "well-behaved" stochastic data and "rogue" adversarial outliers.

The paper tackles the challenge of designing algorithms that maintain performance even when an adversary can strategically time the arrival of "red" (rogue) items among "green" (good, randomly timed) items.

Methods

The authors propose the Byzantine Secretary model:

  1. Green items ($G$): Arrive at times drawn uniformly at random from $[0, 1]$.
  2. Red items ($R$): Arrive at times chosen strategically by an adversary.
  3. The Catch: The algorithm cannot see the "color" of an item; it only sees the value and arrival time.

Because an adversary can always make the absolute best item ($g_{max}$) indistinguishable from a rogue item, the authors propose a "Leave-one-out" benchmark ($V^*$):

  • For a single item, the goal is to compete with the value of the second-largest green item.
  • For selecting $K$ items, the goal is to compete with the value of the optimal green set minus the largest green item.

Key Techniques:

  • Cascading Budgets: For the $K$-item (matroid/knapsack) case, the algorithm partitions values into logarithmic "density levels." It starts optimistically, trying to fill its budget with high-density items. If it realizes it isn't picking items fast enough, the budget "cascades" down to lower-density levels.
  • Multi-layered Bucketing: For single-item value maximization, they use an adaptive thresholding scheme that refines estimates of the second-best item over time using iterated logarithms ($\log^* n$).
  • Minimax Principle: To prove the existence of a good randomized algorithm for the "ordinal" case (where you only care about the probability of picking the 2nd best, not its absolute value), they use the Minimax theorem to bridge the gap between known-distribution and worst-case inputs.

Datasets

As a theoretical computer science paper, no empirical datasets were used. The results are established through rigorous mathematical proofs and probabilistic analysis within the Byzantine Secretary model.

Key Insights and Ideas

  • The "Aha" Moment on Benchmarks: The authors show that trying to catch the absolute best item is impossible if even a tiny fraction of items are adversarial. By shifting the goalpost to the second-best item, they unlock the ability to design robust, competitive algorithms.
  • Independence from Corruption Level: Surprisingly, the algorithms' performance doesn't necessarily degrade as the number of red items increases. The logic holds even if only two items are green and the rest are red.
  • Learning vs. Doing: The "good-or-learnable" lemma is a recurring theme. In each time interval, the algorithm either selects high-value items (doing well) or fails to find them, which "teaches" the algorithm to lower its thresholds for the next interval (learning).

Key Results

  • Knapsack/Uniform Matroids: For a large budget $K$ ($K \geq \text{poly}(\epsilon^{-1} \log n)$), the algorithm is $(1+\epsilon)$-competitive with the $V^*$ benchmark.
  • Single-Item Value Maximization: The authors achieve a $(\log^* n)^{-2}$ competitive ratio. This is significant because $\log^* n$ (the iterated logarithm) grows incredibly slowly, making the algorithm nearly constant-competitive for all practical values of $n$.
  • Single-Item Ordinal Case: They prove the existence of a randomized algorithm that selects an item at least as good as the second-best green item with probability $\Omega(1/\log^2 n)$.
  • Partition Matroids: They provide an $O(\log \log n)^2$-competitive algorithm.

Limitations and Future Work

  • Non-Constructive Proofs: The result for the ordinal single-item case is non-constructive (it proves an algorithm exists but doesn't provide a simple, explicit one).
  • Large $K$ Requirement: The $(1+\epsilon)$ result for knapsacks requires a relatively large $K$. Finding robust algorithms for small $K$ remains an open challenge.
  • Optimality: The authors acknowledge that their bounds (like the $\log^* n$ factor) are likely not optimal and could be tightened in future research.
  • Constructive Ordinal Algorithms: A major open question is whether a direct, constructive algorithm can achieve the same $\Omega(1/\log^2 n)$ probability for the ordinal case.

Summary updated

BibTeX
@inproceedings{bradac2020robust,
  author = {Domagoj Bradac and Anupam Gupta and Sahil Singla and Goran Zuzic},
  title = {{Robust Algorithms for the Secretary Problem}},
  booktitle = {ITCS},
  year = {2020},
  doi = {10.4230/lipics.itcs.2020.32},
}
Figure