{"id":5871,"date":"2025-05-19T04:14:25","date_gmt":"2025-05-19T08:14:25","guid":{"rendered":"http:\/\/matroidunion.org\/?p=5871"},"modified":"2025-05-26T16:37:32","modified_gmt":"2025-05-26T20:37:32","slug":"greedy-strikes-back-a-4-75-competitive-algorithm-for-the-laminar-matroid-secretary-problem","status":"publish","type":"post","link":"https:\/\/matroidunion.org\/?p=5871","title":{"rendered":"Greedy strikes back: A 4.75-competitive algorithm for the laminar matroid secretary problem"},"content":{"rendered":"\n<p><em>This is a guest post by <a href=\"https:\/\/ac.informatik.uni-freiburg.de\/parsaeian\/\">Zahra Parsaeian<\/a>. This post is a follow-up to <a href=\"https:\/\/matroidunion.org\/?p=1487\">Tony Huynh\u2019s 2015 blog post<\/a> of the matroid secretary problem, focusing on the special case of laminar matroids. Zahra highlights the last decade&#8217;s steady progress in this special case and outlines the recent greedy algorithm that brings the competitive ratio down to 4.75.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">From Secretaries to Laminar Matroids<\/h2>\n\n\n\n<p>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\u2014observe the first $n\/e$ applicants, then pick the first candidate better than all previous ones\u2014achieves a competitive ratio of $e$.<\/p>\n\n\n\n<p>The matroid secretary problem (MSP), introduced by <a href=\"https:\/\/doi.org\/10.1145\/3212512\">Babaioff, Immorlica &amp; Kleinberg (2007)<\/a>, generalises this set-selection game: instead of choosing a single element, we must pick an <em>independent<\/em> set of elements in an (unknown) weighted matroid that arrive online. The grand conjecture is that every matroid admits an $O(1)$-competitive algorithm.<\/p>\n\n\n\n<p>A particularly structured\u2014and surprisingly rich\u2014family of matroids is the laminar matroids. Here the ground set $E$ is organised by a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Laminar_set_family\">laminar family<\/a> $\\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 &#8220;hierarchical quota&#8221; constraints in practice are laminar as well.<\/p>\n\n\n\n<p>Why single them out? Laminar matroids already capture the core difficulty of MSP while admitting extra structure that can be exploited algorithmically.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">A Decade of Improving Constants<\/h2>\n\n\n\n<p>Tony\u2019s 2015 survey listed Im &amp; Wang\u2019s first constant-competitive algorithm (competitive ratio $\\approx 5333.33$). Since then the record book has been rewritten multiple times:<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td><strong>Year<\/strong><\/td><td><strong>Authors<\/strong><\/td><td><strong>Technique<\/strong><\/td><td><strong>Competitive ratio<\/strong><\/td><\/tr><tr><td>2011<\/td><td><a href=\"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/1.9781611973082.96\">Im &amp; Wang<\/a><\/td><td>Reduction to partition + &#8220;sample and price&#8221;<\/td><td> $16000\/3 \\approx 5333.33$ <\/td><\/tr><tr><td>2013<\/td><td><a href=\"https:\/\/doi.org\/10.1007\/978-3-642-36694-9_22\">Jaillet, Soto &amp; Zenklusen<\/a><\/td><td>Improved reduction<\/td><td>$\\sqrt{3e} \\approx 14.12$<\/td><\/tr><tr><td>2016<\/td><td><a href=\"https:\/\/doi.org\/10.1007\/s00224-015-9642-4\">Ma, Tang &amp; Wang<\/a><\/td><td>Simulated greedy<\/td><td>9.6<\/td><\/tr><tr><td>2018<\/td><td><a href=\"https:\/\/doi.org\/10.1287\/moor.2020.1083\">Soto, Turkieltaub &amp; Verdugo<\/a><\/td><td>Forbidden sets<\/td><td>$3\\sqrt{3} \\approx 5.196$<\/td><\/tr><tr><td>2024<\/td><td><a href=\"https:\/\/doi.org\/10.4230\/LIPIcs.ESA.2024.73\">Huang, Parsaeian &amp; Zhu<\/a><\/td><td>Plain greedy<\/td><td>4.75<\/td><\/tr><tr><td>2024<\/td><td><a href=\"https:\/\/arxiv.org\/abs\/2411.12069\">B\u00e9rczi, Livanos, Soto &amp; Verdugo<\/a><\/td><td>Labeling scheme (tight)<\/td><td>$1\/(1 &#8211; \\ln 2) \\approx 3.257$<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>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.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Greedy\u2014But With Better Timing<\/h2>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>Our algorithm really is the textbook greedy rule, decorated with a single time threshold $t_0$.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Sampling phase.<\/strong> Ignore all elements that arrive before time $t_0$ (we use $t_0 = 0.7$).<\/li><li><strong>Selection phase.<\/strong> When an element $e$ arrives at time $t &gt; t_0$, inspect the elements seen so far. If $e$ belongs to the <em>offline<\/em> optimum of the already-arrived instance and adding it keeps the set independent, accept it.<\/li><\/ul>\n\n\n\n<p>That is all! There are no prices, buckets, or recursive calls\u2014just a look-ahead greedy algorithm.<\/p>\n\n\n\n<p>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 <em>current<\/em> optimum, which becomes increasingly selective as more elements arrive.<\/p>\n\n\n\n<p>The analysis hinges on two observations:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Independence of arrival times.<\/strong> Viewing arrival times as i.i.d. uniform variables decouples the combinatorial structure from time.<\/li><li><strong>Order statistics $\\rightarrow$ Gamma distribution.<\/strong> 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$.<\/li><\/ul>\n\n\n\n<p>The final ratio is therefore <em>4.75-probability-competitive<\/em>, which also implies 4.75-utility-competitive. Moreover, the algorithm operates in the <em>ordinal model<\/em> (it only needs relative weight rankings), aligning with applications where exact weights are costly to elicit.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Greedy&#8217;s limit: the 3.257 barrier<\/h2>\n\n\n\n<p><a href=\"https:\/\/arxiv.org\/abs\/2411.12069\">B\u00e9rczi et al.<\/a> 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 &#8211; \\ln 2} \\approx 3.257$. This is tight: they present a greedy variant that achieves it, and show no greedy algorithm can do better.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How close are we to &#8220;optimal&#8221;?<\/h2>\n\n\n\n<p>Laminar matroids remain the most complex class with a <em>known<\/em> constant. A natural next step is to <em>sharpen the constant<\/em>\u2014can 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 <a href=\"https:\/\/matroidunion.org\/?p=1487\">Tony&#8217;s post<\/a> is still wide open). The recent structure theorems for minor-closed classes may reopen that door.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Takeaways<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Simplicity can win.<\/strong> A one-line greedy rule beats a sophisticated forbidden-sets construction.<\/li><li><strong>Timing matters.<\/strong> The 0.7 threshold balances the risk of sampling versus missing high-value elements.<\/li><li><strong>Open questions abound.<\/strong> Improving the constant for laminar matroids (or proving a lower bound!), and generalising to wider matroid families, remain fertile ground.<\/li><\/ul>\n\n\n\n<p>I hope this short note complements <a href=\"https:\/\/matroidunion.org\/?p=1487\">Tony\u2019s earlier exposition<\/a> and sparks fresh interest in the laminar MSP. Feedback, questions, and ideas are most welcome\u2014please share them in the comments or reach out directly.<\/p>\n\n\n\n<p><em>This post was updated on May 26, 2025 to include the result in the recent B\u00e9rczi et al. paper.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a guest post by Zahra Parsaeian. This post is a follow-up to Tony Huynh\u2019s 2015 blog post of the matroid secretary problem, focusing on the special case of laminar matroids. Zahra highlights the last decade&#8217;s steady progress in &hellip; <a href=\"https:\/\/matroidunion.org\/?p=5871\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[21],"class_list":["post-5871","post","type-post","status-publish","format-standard","hentry","category-matroids","tag-matroid-secretary-problem"],"_links":{"self":[{"href":"https:\/\/matroidunion.org\/index.php?rest_route=\/wp\/v2\/posts\/5871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matroidunion.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matroidunion.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matroidunion.org\/index.php?rest_route=\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/matroidunion.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5871"}],"version-history":[{"count":7,"href":"https:\/\/matroidunion.org\/index.php?rest_route=\/wp\/v2\/posts\/5871\/revisions"}],"predecessor-version":[{"id":5883,"href":"https:\/\/matroidunion.org\/index.php?rest_route=\/wp\/v2\/posts\/5871\/revisions\/5883"}],"wp:attachment":[{"href":"https:\/\/matroidunion.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matroidunion.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matroidunion.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}