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
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.
- 1Items arrive; each choice is final
- 2Random order allows a constant guarantee
- 3Rule: accepted set must be independent
- 4Greedy optimum is the offline benchmark
- 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 candidates in uniformly random order, and we want the best one. Rule: reject the first , where , then accept the first candidate who beats all earlier ones. This picks the overall best with probability about , and no rule does better. You can derive this with first-year calculus: if the best candidate sits at position with , you succeed whenever the best of the first arrived among the first , which has probability . Integrating over from to gives . 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 the best proven bound until 2026 was . The strong conjecture asks for ratio : an algorithm that accepts each element of the canonical optimum with probability at least , 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 for secretary and 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 candidates arrive in a uniformly random order and the goal is to hire the best one. Rejecting the first candidates and then accepting the first one better than all earlier ones hires the best with probability about , 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 -competitive algorithm exists for every matroid. Their paper gave an algorithm for rank ; Lachish (2014) and Feldman, Svensson and Zenklusen (2014) reached . 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 ; this would give ratio , 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)
- 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)
- Secretary problem (Wikipedia)The classical puzzle and the 1/e rule, with the proof idea.
- Prophet inequality (Wikipedia)Short statement of the half-of-the-maximum result and its variants, including matroids.
- Matroid (Wikipedia)Defines the independence structure used in the matroid versions.
- Optimal stopping (Wikipedia)The wider family of decide-now problems that the secretary problem belongs to.
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.
- Start with
- Step 2
- Step 3
- Step 4
- Then
Open problems & questions
Progress timeline
- Nov 6, 2026Claimed strong form with ratio e and 2-competitive single-sample prophetRelated to: The matroid secretary conjecture: constant-competitive online selection on every matroidsource
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.
- Nov 6, 2026Claimed optimal matroid secretary and single-sample matroid prophet algorithmssource
Abdi, Banihashem, Hajiaghayi, Huang, Mittal and Singla posted a preprint claiming ratio e for matroid secretary and 2 for single-sample matroid prophet. Unrefereed.
- Sep 24, 2026Claimed e-competitive ordinal algorithmRelated to: The matroid secretary conjecture: constant-competitive online selection on every matroidsource
Huang posted a preprint claiming to settle matroid secretary with an e-probability-competitive ordinal algorithm. Unrefereed.
- Sep 17, 2026Strong form claimed for linear matroidsRelated to: The matroid secretary conjecture: constant-competitive online selection on every matroidsource
Bérczi, Dughmi, Livanos, Soto and Verdugo posted a preprint claiming the strong conjecture for linear matroids. Unrefereed.
- Sep 13, 2026Claimed constant ratioRelated to: The matroid secretary conjecture: constant-competitive online selection on every matroidsource
Singla posted a preprint claiming each element of the optimum is accepted with probability at least 1/4. Unrefereed.
- Mar 26, 2014O(log log rank) for matroid secretarysource
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.
- Mar 26, 2014O(log log rank)Related to: The matroid secretary conjecture: constant-competitive online selection on every matroidsource
Lachish gave an O(log log ρ)-competitive algorithm; Feldman, Svensson and Zenklusen gave a simpler one with the same ratio on 17 April 2014.
- Jan 1, 2007The conjecture is posedRelated to: The matroid secretary conjecture: constant-competitive online selection on every matroidsource
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.