arXiv:2611.08869cs.DSNov 2026

Manuscript Offprint

arXiv:2611.08869

As Easy as Rank One: Optimal Algorithms for Matroid Secretary and Single-Sample Matroid Prophet

Hamed Abdi, Kiarash Banihashem, MohammadTaghi Hajiaghayi, Zhiyi Huang, Danny Mittal, Sahil Singla

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We resolve the matroid secretary conjecture in its strong form and the single-sample matroid prophet inequality problem, achieving competitive ratios e and 2, respectively. Both ratios are optimal, even for rank-one matroids.

For matroid secretary, our ordinal algorithm accepts the elements of the canonical optimum independently, each with probability 1/e. It needs only the number of elements in advance and uses an expected polynomial number of independence queries on arrived elements. For single-sample matroid prophet inequalities, our algorithm uses one sample per independent value distribution and O(n2)O(n^2) independence queries on a known n-element matroid. It works for every arrival order fixed independently of the samples, values, and algorithmic randomness. The selected elements and their values have exactly the joint distribution obtained by independently retaining each element-value pair in the canonical optimum of a fresh product draw with probability 1/2.

Our main algorithms maintain a reference state whose greedy solution contains every accepted element. Its updates, made even after rejections, preserve exact distributional invariants. A short reversible-update argument gives a 4-probability-competitive secretary algorithm, already resolving the original conjecture; a related invariant gives the optimal single-sample prophet inequality. For secretary, we characterize the distributions achievable by ordinal algorithms through a finite polytope. A continuous-time formulation then lets us design an accepted-set distribution achieving the optimal ratio e and realize it efficiently. We also obtain guarantees for matroid intersections.

*This paper merges the preprints of Singla [Sin26]; Abdi, Banihashem, Hajiaghayi, and Mittal [ABHM26]; and Huang [Hua26]. Beyond unifying their presentation, it simplifies several proofs and adds new results. †University of Maryland, College Park. Email: hamedabdi37@gmail.com. ‡University of Maryland, College Park. Email: kiarash@umd.edu. §University of Maryland, College Park. Email: hajiaghayi@gmail.com. ¶The University of Hong Kong. Email: zhiyi@cs.hku.hk. ||University of Maryland, College Park. Email: dannymittal@gmail.com. **School of Computer Science, Georgia Institute of Technology. Email: ssingla@gatech.edu. Supported in part by NSF awards CCF-2327010 and CCF-2440113.

1 Introduction

The classic secretary problem [Dyn63, Lin61] asks us to select the largest of nn distinct values revealed in uniformly random order, with immediate and irrevocable decisions. Rejecting roughly the first n/en/e values and then selecting the next value larger than all earlier ones gives the asymptotically optimal success probability 1/e1/e. Motivated by applications in auction design, Hajiaghayi, Kleinberg, and Parkes [HKP04] and Kleinberg [Kle05] studied the generalization in which up to rr values may be selected. Babaioff, Immorlica, and Kleinberg [BIK07], with Kempe in the journal version [BIKK18], introduced the matroid secretary problem: fixed nonnegative values arrive in uniformly random order, and the selected elements must form an independent set of a matroid. Does such a constraint make online selection any harder than choosing a single element?

Matroids are natural constraints for this question. Offline, decreasing-value greedy finds a maximum-value independent set; indeed, among downward-closed systems, matroids are exactly those for which greedy is optimal for every nonnegative value assignment [Edm71]. An algorithm is cc-competitive, for c≥1c \geq 1, if its expected value is at least 1/c1/c times the offline optimum.

The matroid secretary conjecture [BIK07] asks whether a universal constant suffices for every matroid; its strong form asks for the optimal constant ee, matching rank one. Before the results presented here, the best general guarantee was O(log⁡log⁡r)O(\log \log r), where rr is the matroid rank [Lac14, FSZ15]. This bound had stood since 2014, despite constant guarantees for graphic [BIK07], laminar [IW11], and transversal [DP08] matroids, among many other classes (see Table 1). Natural greedy and partition-based approaches also face provable barriers [BBSW21, AKKG23].

A related question concerns the information needed for online selection. In a matroid prophet inequality, the values are independent draws from known distributions, and the arrival order may be any fixed order. Kleinberg and Weinberg [KW12] gave a 2-competitive algorithm for every matroid, matching the classical single-element prophet inequality [KS78]. In the single-sample version [AKW14], the distributions are unknown and the algorithm receives only one independent sample from each. For rank-one matroids, one sample per distribution already suffices for the optimal ratio 2 [RWW20]. For general matroids, however, constant ratios were known only with polylogarithmically many samples per distribution [FLT+24, FSZ26]. Does one sample suffice for a constant competitive ratio, or even for the optimal ratio 2? A positive answer would also resolve the matroid secretary conjecture for known matroids, by Li's reduction [FLT+24] (Appendix E).

We resolve both problems with optimal ratios ee and 2, matching the rank-one guarantees. Since natural greedy rules that compare arrivals with a fixed sample can fail (Appendix A), our algorithms maintain a reference state whose greedy solution contains every accepted element, updating it even after rejections to preserve an exact distributional invariant. Our secretary algorithms use only ordinal information: the relative order of observed values. Moreover, our optimal algorithm accepts each element of the canonical optimum1^1 independently with probability 1/e1/e. Such a per-element guarantee of 1/c1/c, called cc-probability-competitiveness, implies ordinary cc-competitiveness.

References (100)

Couldn't load all references. Reload the page to try again.