Greedy strikes back: A 4.75-competitive algorithm for the laminar matroid secretary problem

This is a guest post by Zahra Parsaeian. This post is a follow-up to Tony Huynh’s 2015 blog post of the matroid secretary problem, focusing on the special case of laminar matroids. Zahra highlights the last decade’s steady progress in this special case and outlines the recent greedy algorithm that brings the competitive ratio down to 4.75.

From Secretaries to Laminar Matroids

The classical secretary problem asks for a strategy that hires (with high probability) the best of $n$ applicants who appear in uniformly random order. The well-known threshold strategy—observe the first $n/e$ applicants, then pick the first candidate better than all previous ones—achieves a competitive ratio of $e$.

The matroid secretary problem (MSP), introduced by Babaioff, Immorlica & Kleinberg (2007), generalises this set-selection game: instead of choosing a single element, we must pick an independent set of elements in an (unknown) weighted matroid that arrive online. The grand conjecture is that every matroid admits an $O(1)$-competitive algorithm.

A particularly structured—and surprisingly rich—family of matroids is the laminar matroids. Here the ground set $E$ is organised by a laminar family $\mathcal{F}$ (any two sets are either disjoint or nested), and each $B \in \mathcal{F}$ comes with a capacity $c(B)$; a subset $S \subseteq E$ is independent if $|S \cap B| \leq c(B)$ for every $B$. Partition matroids are the simplest laminar matroids, but many “hierarchical quota” constraints in practice are laminar as well.

Why single them out? Laminar matroids already capture the core difficulty of MSP while admitting extra structure that can be exploited algorithmically.

A Decade of Improving Constants

Tony’s 2015 survey listed Im & Wang’s first constant-competitive algorithm (competitive ratio $\approx 5333.33$). Since then the record book has been rewritten multiple times:

YearAuthorsTechniqueCompetitive ratio
2011Im & WangReduction to partition + “sample and price” $16000/3 \approx 5333.33$
2013Jaillet, Soto & ZenklusenImproved reduction$\sqrt{3e} \approx 14.12$
2016Ma, Tang & WangSimulated greedy9.6
2018Soto, Turkieltaub & VerdugoForbidden sets$3\sqrt{3} \approx 5.196$
2024Huang, Parsaeian & ZhuPlain greedy4.75
2024Bérczi, Livanos, Soto & VerdugoLabeling scheme (tight)$1/(1 – \ln 2) \approx 3.257$

Progress has come from increasingly delicate analyses, often accompanied by algorithmic complexity. The latest result is a counter-trend: a simpler algorithm with a better constant.

Greedy—But With Better Timing

Before we describe the algorithm, recall the standard arrival model: each element independently receives a uniformly random arrival time in $[0,1]$, yielding a random order of appearance that our online algorithm must process.

Our algorithm really is the textbook greedy rule, decorated with a single time threshold $t_0$.

  • Sampling phase. Ignore all elements that arrive before time $t_0$ (we use $t_0 = 0.7$).
  • Selection phase. When an element $e$ arrives at time $t > t_0$, inspect the elements seen so far. If $e$ belongs to the offline optimum of the already-arrived instance and adding it keeps the set independent, accept it.

That is all! There are no prices, buckets, or recursive calls—just a look-ahead greedy algorithm.

Why does it work? Greedy alone is not new: the 9.6-competitive algorithm of Ma et al. also used greedy, but their acceptance rule only looked at the sample window. The key novelty is to test membership in the current optimum, which becomes increasingly selective as more elements arrive.

The analysis hinges on two observations:

  • Independence of arrival times. Viewing arrival times as i.i.d. uniform variables decouples the combinatorial structure from time.
  • Order statistics $\rightarrow$ Gamma distribution. For each laminar constraint $B$, the arrival gap between its last $c(B)$ optimal elements behaves like a Gamma-distributed random variable. Bounding the tail of this distribution shows that every optimal element survives with probability $\geq 1/4.75$.

The final ratio is therefore 4.75-probability-competitive, which also implies 4.75-utility-competitive. Moreover, the algorithm operates in the ordinal model (it only needs relative weight rankings), aligning with applications where exact weights are costly to elicit.

Greedy’s limit: the 3.257 barrier

Bérczi et al. recently introduced a labeling scheme framework and proved that the best achievable competitive ratio for any greedy algorithm on laminar matroids is $\frac{1}{1 – \ln 2} \approx 3.257$. This is tight: they present a greedy variant that achieves it, and show no greedy algorithm can do better.

How close are we to “optimal”?

Laminar matroids remain the most complex class with a known constant. A natural next step is to sharpen the constant—can we reach the golden goal of $e$? On the structural side, extending the greedy-with-look-ahead idea to regular or binary matroids looks tantalising (the last conjecture in Tony’s post is still wide open). The recent structure theorems for minor-closed classes may reopen that door.

Takeaways

  • Simplicity can win. A one-line greedy rule beats a sophisticated forbidden-sets construction.
  • Timing matters. The 0.7 threshold balances the risk of sampling versus missing high-value elements.
  • Open questions abound. Improving the constant for laminar matroids (or proving a lower bound!), and generalising to wider matroid families, remain fertile ground.

I hope this short note complements Tony’s earlier exposition and sparks fresh interest in the laminar MSP. Feedback, questions, and ideas are most welcome—please share them in the comments or reach out directly.

This post was updated on May 26, 2025 to include the result in the recent Bérczi et al. paper.

Matroids of large girth

The girth of a matroid $M$ is the minimum size of a circuit of $M$, or $\infty$ if $M$ has no circuits. There are some uninteresting matroids of large girth: the uniform matroids $U_{t,t}$ and $U_{t-1, t}$, which are the graphic matroids of forests and cycles. However, these matroids are not cosimple; their duals contain loops or parallel pairs. Can we say anything more interesting about cosimple matroids of large girth?

Question 1: What are the unavoidable minors in cosimple matroids of large girth?

Thomassen [4] answered this question in the graphic case by showing that, surprisingly, every graph is unavoidable. A graphic matroid $M(G)$ is cosimple if and only if $G$ is $3$-edge-connected, that is, $G$ cannot be disconnected by deleting at most two edges.

Theorem 2 (Thomassen): There is a function $f$ so that for every integer $t$, every $3$-edge-connected graph of girth at least $f(t)$ contains the clique $K_t$ as a minor.

The cographic case is equivalent to a well-known theorem of Mader [3] about the average degree of graphs with a forbidden minor.

Theorem 3 (Mader): There is a function $f$ so that for every integer $t$, every cosimple cographic matroid of girth at least $f(t)$ contains $M(K_t)^*$ as a minor.

So in general we must forbid both a graphic and a cographic matroid. (There exist both graphic and cographic matroids which are cosimple and have large girth.) Geelen, Gerards, and Whittle [2] conjectured that this necessary condition is also sufficient for $GF(q)$-representable matroids. James Davies, Meike Hatzel, Kolja Knauer, Torsten Ueckerdt, and I recently proved this conjecture. The paper is out on arXiv [1].

Theorem 4 (Davies, Hatzel, Knauer, McCarty, Ueckerdt): There is a function $f$ so that for every integer $t$ and finite field $GF(q)$, every cosimple $GF(q)$-representable matroid of girth at least $f(t,q)$ contains either $M(K_t)$ or $M(K_t)^*$ as a minor.

The proof relies on interpreting the Growth Rate Theorem in terms of the shatter function of an associated set system. This allows us to use tools from the combinatorics of set systems. Many of these tools are very powerful, and yet (as far as I know), this is the first application of such tools to matroid theory. See the paper for details.

The next step would be to prove a stronger version of Theorem 4 with a line $U_{2, q+2}$ and a coline $U_{q, q+2}$ forbidden instead of the requirement about $GF(q)$-representability. The coline $U_{q, q+2}$ is a cosimple matroid of large girth. However, it is less satisfying to forbid a line since it contains short circuits.

If we do not want to forbid a line, then we must forbid a bicircular matroid. This is because there exist cosimple bicircular matroids of large girth, and for sufficiently large $t$ they do not contain $U_{t, t+2}$, $M(K_t)$, or $M(K_t)^*$ as a minor. We (rather boldly) conjecture that these are the only unavoidable cosimple matroids of large girth. Let us write $B(G)$ for the bicircular matroid of a graph $G$.

Conjecture 5 (Davies, Hatzel, Knauer, McCarty, Ueckerdt): There exists a function $f$ such that for every integer $t$, every cosimple matroid with girth at least $f(t)$ contains either $U_{q, q+2}$, $M(K_t)$, $M(K_t)^*$, or $B(K_t)$ as a minor.

 

References:

[1] Davies, Hatzel, Knauer, McCarty, Ueckerdt. Girth in $GF(q)$-representable matroids. ArXiv: 2504.21797, 2025.

[2] Geelen, Gerards, and Whittle. The highly connected matroids in minor-closed
classes. Ann. Comb., 19(1):107–123, 2015.

[3] Mader. Homomorphieeigenschaften und mittlere Kantendichte von Graphen.
Math. Ann., 174:265–268, 1967.

[4] Thomassen. Girth in graphs. J. Combin. Theory Ser. B, 35(2):129–141, 1983.

(Note: The theorem Thomassen proved might seem stronger at first glance since he just assumed the graph has minimum degree at least $3$. However, it is possible to reduce this theorem to the $3$-edge-connected case.)