Skip to content
DAH

Online selection: secretary problems and prophet inequalities

Items arrive one at a time and each must be accepted or rejected at once. The secretary problem (random order, no distributions) and prophet inequalities (known or sampled distributions) measure what is lost.

On this page14 sections
Why other work relies on it

These two models are the standard theory behind online auctions, posted pricing and ad allocation, where a seller commits to each buyer before seeing the next one. Matroid versions model constraints such as spanning forests or linearly independent sets.

Choosing items one at a time, with no take-backs and no peeking at what comes next.

  1. 1Items arrive; each choice is final
  2. 2Random order allows a constant guarantee
  3. 3Rule: accepted set must be independent
  4. 4Greedy optimum is the offline benchmark
  5. 5Question: constant ratio on every matroid?

The setting. Items arrive one at a time. Each must be accepted or rejected immediately and forever, and the accepted items must obey a rule. We compare the algorithm against the best choice made by someone who saw all items. The competitive ratio is the worst case, over inputs, of (offline best) divided by (what the algorithm gets on average). A ratio of 2 means we always get at least half.

Secretary problem. There are nn candidates in uniformly random order, and we want the best one. Rule: reject the first n/en/e, where e≈2.718e\approx2.718, then accept the first candidate who beats all earlier ones. This picks the overall best with probability about 1/e≈0.371/e\approx0.37, and no rule does better. You can derive this with first-year calculus: if the best candidate sits at position t⋅nt\cdot n with t>1/et>1/e, you succeed whenever the best of the first tntn arrived among the first n/en/e, which has probability 1/et\frac{1/e}{t}. Integrating over tt from 1/e1/e to 11 gives 1e∫1/e1dtt=1e\frac1e\int_{1/e}^{1}\frac{dt}{t}=\frac1e. The key assumption is that the order is random; the values may be chosen by an adversary.

Matroids. A matroid is a set system that captures the idea of independence in linear algebra: a set of vectors is independent if none is a combination of the others, and every independent set can be extended to a maximum one (a basis) of the same size. Forests in a graph also form a matroid. In the matroid secretary problem we may keep only independent sets. The classical problem is the case where at most one item may be kept. A greedy algorithm, which sorts by weight and keeps what stays independent, finds the best independent set offline. Its output is the canonical optimum. Babaioff, Immorlica and Kleinberg (SODA 2007) conjectured that an algorithm with constant competitive ratio exists for every matroid. For rank ρ\rho the best proven bound until 2026 was O(log⁡log⁡ρ)O(\log\log\rho). The strong conjecture asks for ratio ee: an algorithm that accepts each element of the canonical optimum with probability at least 1/e1/e, using only comparisons of weights (an ordinal algorithm).

Prophet inequalities. Now each item's value is a random variable with a known distribution, and the order is chosen by an adversary. A single threshold, set at half the expected maximum, gets half the expected maximum, which is the best any rule can guarantee. In the single-sample version the algorithm does not know the distributions but sees one sample from each. These are linked to secretary algorithms by reductions.

State of the art. In September to November 2026 several unrefereed preprints claimed a constant ratio, ending with a six-author paper claiming ratio ee for secretary and 22 for single-sample prophet. None has been refereed yet. See the problem page.

Go deeper

The full technical text.

The online selection model

In an online selection problem, items arrive one at a time and each must be accepted or rejected immediately and irrevocably. Accepted items must satisfy a feasibility constraint, and the goal is to collect as much value as possible. An algorithm is judged by its competitive ratio: the worst-case ratio between the best offline choice (made with the whole input in view) and what the online algorithm obtains in expectation.

The secretary problem

In the classical secretary problem nn candidates arrive in a uniformly random order and the goal is to hire the best one. Rejecting the first n/en/e candidates and then accepting the first one better than all earlier ones hires the best with probability about 1/e1/e, and no rule does better. The adversary chooses the values, but the order is random, which is what makes a constant guarantee possible.

The matroid secretary problem replaces "hire one" by "accept a set that is independent in a matroid", for example a set of linearly independent vectors or a forest in a graph. Babaioff, Immorlica and Kleinberg (SODA 2007) conjectured that an O(1)O(1)-competitive algorithm exists for every matroid. Their paper gave an O(log⁡ρ)O(\log \rho) algorithm for rank ρ\rho; Lachish (2014) and Feldman, Svensson and Zenklusen (2014) reached O(log⁡log⁡ρ)O(\log\log\rho). The strong form asks for an ordinal algorithm (it only compares values, never reads them) that accepts each element of a fixed optimal basis with probability at least 1/e1/e; this would give ratio ee, which is optimal already for rank one.

Prophet inequalities

In a prophet inequality the values are independent random variables with known distributions and arrive in adversarial order. The classical result (Krengel and Sucheston, with the tight form credited to Garling) is that a single threshold gets at least half of the expected maximum, which a "prophet" who sees all values would collect. Single-sample versions replace the known distributions by one sample from each, and are closely tied to secretary algorithms: a good single-sample algorithm can be turned into a secretary algorithm by a black-box reduction.

Current state

Between September and November 2026 several unrefereed preprints (Singla; Huang; Abdi, Banihashem, Hajiaghayi, Mittal and coauthors; Bérczi and coauthors for linear matroids) have claimed to settle the conjecture. These claims are being checked; see the problem page.

Words on this page (11)
Words on this page
secretary problem
Candidates arrive in random order and you must hire the best one, deciding on each at once; the optimal rule wins with probability about 1/e.
prophet inequality
A guarantee that a rule seeing items one by one, knowing their distributions, gets a fixed fraction of what someone seeing all items in advance would get.
online algorithm
A method that must make decisions as input arrives, without knowing the future.
competitive ratio
The worst-case factor by which an online algorithm falls short of the best offline answer.
matroid
A set system, modelled on linear independence, in which every independent set can be grown to the same maximum size.
linear independence
A set of vectors is independent if none of them can be written as a combination of the others.
graphic matroid
The matroid whose independent sets are the forests, the edge sets with no cycle, of a graph.
greedy algorithm
A method that builds an answer by repeatedly taking the best choice that still fits the rules.
independence oracle
A black box that answers whether a given set is independent, so an algorithm never needs the matroid written out.
expected value
The long-run average result of a random process; here, the average total value an algorithm collects.
competitive analysis and online design
DARC's entry on competitive ratios for online network design, a neighbouring online problem.
New to this? Read first (4)
New to this? Read first
AI-reviewedAn AI drafted this explanation. Check it against the technical text.

Understanding map

map of the whole wiki →

What to read before Online selection: secretary problems and prophet inequalities (left), and what builds on it: entries that depend on it and its open problems (right). Every box links to its page.

  1. Start with
  2. Step 2
  3. Step 3
  4. Step 4
  5. Then

Open problems & questions

Progress timeline

  1. Nov 6, 2026
    Claimed strong form with ratio e and 2-competitive single-sample prophet
    Related to: The matroid secretary conjecture: constant-competitive online selection on every matroid

    Abdi, Banihashem, Hajiaghayi, Huang, Mittal and Singla posted a preprint claiming the strong conjecture for all matroids and an optimal single-sample matroid prophet algorithm. Unrefereed.

    source
  2. Nov 6, 2026
    Claimed optimal matroid secretary and single-sample matroid prophet algorithms

    Abdi, Banihashem, Hajiaghayi, Huang, Mittal and Singla posted a preprint claiming ratio e for matroid secretary and 2 for single-sample matroid prophet. Unrefereed.

    source
  3. Sep 24, 2026
    Claimed e-competitive ordinal algorithm
    Related to: The matroid secretary conjecture: constant-competitive online selection on every matroid

    Huang posted a preprint claiming to settle matroid secretary with an e-probability-competitive ordinal algorithm. Unrefereed.

    source
  4. Sep 17, 2026
    Strong form claimed for linear matroids
    Related to: The matroid secretary conjecture: constant-competitive online selection on every matroid

    Bérczi, Dughmi, Livanos, Soto and Verdugo posted a preprint claiming the strong conjecture for linear matroids. Unrefereed.

    source
  5. Sep 13, 2026
    Claimed constant ratio
    Related to: The matroid secretary conjecture: constant-competitive online selection on every matroid

    Singla posted a preprint claiming each element of the optimum is accepted with probability at least 1/4. Unrefereed.

    source
  6. Mar 26, 2014
    O(log log rank) for matroid secretary

    Lachish gave an O(log log ρ)-competitive algorithm, improving the earlier O(√log ρ) bound; Feldman, Svensson and Zenklusen followed with a simpler algorithm of the same ratio.

    source
  7. Mar 26, 2014
    O(log log rank)
    Related to: The matroid secretary conjecture: constant-competitive online selection on every matroid

    Lachish gave an O(log log ρ)-competitive algorithm; Feldman, Svensson and Zenklusen gave a simpler one with the same ratio on 17 April 2014.

    source
  8. Jan 1, 2007
    The conjecture is posed
    Related to: The matroid secretary conjecture: constant-competitive online selection on every matroid

    Babaioff, Immorlica and Kleinberg introduced the matroid secretary problem at SODA 2007 and conjectured an O(1)-competitive algorithm; they gave O(log ρ). Only the year is known here.

    source