Manuscript Offprint
arXiv:2610.11516A Refined Analysis for Matroid Secretary with Submodular Objectives
Abstract
We study the matroid secretary problem with a nonnegative monotone submodular objective. Elements arrive in uniformly random order, and every acceptance decision is immediate and irrevocable. We give an 8.699-competitive algorithm for arbitrary matroids. The algorithm first rejects a randomly sized initial segment of the arrival sequence as a learning set and runs submodular greedy on all elements in this set. Each later element receives a fixed weight equal to the marginal value it would have when inserted into the stored greedy sequence. On these fixed weights, the algorithm runs a linear-objective matroid secretary subroutine. The algorithm uses value queries and independence queries, where r is the matroid rank.
1 Introduction
The matroid secretary problem models online selection under an independence constraint. The elements of the ground set are revealed one by one in a uniformly random order. When an element arrives, the algorithm may make value and independence queries involving the elements revealed so far and must immediately and irrevocably decide whether to accept it. The accepted elements must remain independent in the matroid. In the classical linear version, every element has a fixed weight and the objective is the sum of the accepted weights. Babaioff, Immorlica, and Kleinberg [2] introduced this problem and gave an -competitive algorithm for arbitrary matroids, where r is the matroid rank. Constant-competitive algorithms were obtained only recently [1, 8, 15, 20].
The submodular version replaces the linear objective by a set function with diminishing returns. A set function is submodular if the marginal value of an element can only decrease as the current set grows. The resulting online problem is the submodular matroid secretary problem. Feldman and Zenklusen [12] gave a black-box reduction that transforms an -competitive algorithm for the linear problem into an -competitive algorithm for the monotone submodular problem. In particular, when the linear algorithm is -probability-competitive (i.e., every element in a fixed optimal offline solution has probability at least of being accepted), their guarantee improves to . Combining the latter reduction with the current -probability-competitive linear algorithm for arbitrary matroids by Huang [15] gives a -competitive algorithm for the submodular version.
We obtain an 8.699-competitive algorithm for the submodular matroid secretary problem by instantiating the reduction in [12] and giving a refined joint analysis.
Theorem 1.1 (Main theorem). There exists a polynomial-time randomized online algorithm for the monotone submodular matroid secretary problem on arbitrary matroids that is C-competitive, where
On a ground set of n elements with matroid rank r, the algorithm uses value queries and independence queries.
East Texas A&M University. djoyce2@leomail.etamu.edu
The algorithm uses two existing ingredients and a new joint analysis. First, we use the online framework of the monotone simulated-greedy reduction of Feldman and Zenklusen [12]. We reject a random learning sample and run submodular greedy on it. The learning sample fixes a greedy sequence against which each later element is assigned a frozen weight: the marginal value at which that element would enter the stored greedy sequence if it were added to the learning sample. Conditional on the learning sample, these weights are fixed before the remaining random order is exposed. The broader idea of defining weights from an initial sample appeared earlier in the work of Ma, Tang, and Wang [19].
Second, we instantiate the reduction [12] with the Dynamic Thinning algorithm. Dynamic Thinning, due to Chan, Lin, and Wang [8], is a recent 3.1462-probability-competitive algorithm for the linear-objective matroid secretary problem. Informally, its output has the same distribution as the following simple procedure: sample each element independently, run fixed-weight matroid greedy on the sampled elements, and then retain each greedy-selected element independently with a fixed probability. A precise description is given in Section 2.3. We run Dynamic Thinning on the post-learning elements with their frozen weights, and return the accepted elements.
The main contribution is the joint analysis of this instantiation. Note that the direction application of the reduction with Dynamic Thinning gives only a -competitive guarantee for the submodular problem. To prove the 8.699-competitive ratio, we first give an equivalent probabilistic description of the online output and conduct all subsequent analysis within this description. Whereas Feldman and Zenklusen use black-box guarantees for the linear-objective algorithm, we use its exact output distribution to analyze jointly the value captured during the learning phase and the value contributed by the final online output. This avoids some of the loss inherent in a black-box composition and yields the improved guarantee. The guarantee holds for every finite ground set and every matroid rank, and the algorithm is polynomial-time and does not require exact offline submodular optimization.
Under a cardinality constraint, the submodular -secretary problem asks the algorithm to select at most elements. This case was independently studied by Bateni, Hajiaghayi, and Zadimoghaddam [4] and Gupta et al. [14]. For monotone objectives, [4] gave a -competitive algorithm, and Feldman, Naor, and Schwartz [11] improved the ratio to . Given an offline algorithm that returns at least an fraction of the cardinality-constrained optimum, where , Kesselheim and Tönnis [17] obtained a competitive ratio of at most for every , approaching as grows. Their analysis specialized to greedy gives the stronger asymptotic ratio as . For nonnegative objectives that need not be monotone, Gupta et al. [14] gave a constant competitive ratio, and Fujii [13] obtained the ratio .
For the submodular matroid secretary under special matroid constraints, Gupta et al. [14] gave constant competitive ratios for non-monotone objectives under partition matroids. For monotone objectives, Ma, Tang, and Wang [19] gave a 211-competitive algorithm for laminar matroids and a 95-competitive algorithm for transversal matroids. Feldman and Zenklusen [12] improved the laminar ratio to 144. Kesselheim and Tönnis [17] further improved submodular secretary matching.
The rest of the paper is organized as follows. Section 2 defines the model. Section 3 gives the online algorithm. Section 4 gives an equivalent random process used only in the analysis. Section 5 proves the competitive and query guarantees. The appendix gives improved competitive guarantees for laminar matroids and graphic matroids.
2 Preliminaries
2.1 Matroids and monotone submodularity
Let be a matroid on a ground set of elements. A set in is called independent. For , let be the maximum size of an independent subset of , and let be the matroid rank. For a set and an element , write . The closure of is
When , we also say that spans . We use an independence oracle: given a set of elements, the oracle reports whether that set belongs to .
A function is monotone if for any , and is submodular if
where is the marginal value of with respect to . We assume .
In the secretary setting, the elements arrive in a uniformly random order. A value query on an observed set S returns . When an element arrives, the algorithm may make value queries and independence queries using only elements that have already arrived. It must then accept or reject the element immediately. Rejected elements cannot later be accepted. The accepted set must remain independent in .
For a monotone submodular function , let be a fixed optimal independent set. An online algorithm is -competitive if
where A is its random accepted set.
We fix a label order, independent of the random arrivals, to break all ties consistently. For a fixed nonnegative weight vector , write for the greedy set obtained by scanning the positive-weight elements of in decreasing weight-and-label order and adding each element that preserves independence. That is, is a maximum-weight independent subset of .
2.2 Submodular greedy
For a set , submodular greedy starts with the empty set and repeatedly adds a feasible element of maximum positive current marginal value in terms of . Ties are broken by the fixed label order. It stops when no feasible element has positive marginal value.
If submodular greedy chooses the ordered sequence
we write
and call the sets the greedy prefixes.
The distinction between the two greedy rules is important. Submodular greedy chooses an element according to its current marginal value, which changes as the chosen set grows. The notation refers instead to ordinary matroid greedy under a fixed weight vector , which is a linear objective.
2.3 Dynamic Thinning
We use Dynamic Thinning [8] as a linear-objective matroid secretary subroutine. We only need its online implementability and its exact terminal distribution, which we restate here.
Fix a weighted matroid secretary instance with elements and a parameter . Draw independent uniform random variables in , and assign them in increasing order to successive arrivals as the auxiliary times. Elements with auxiliary time at most form an initial rejected sample and initialize a reference set . The reference set is a subset of arrived elements and is different from the actual accepted set .
At a later auxiliary time , let and for the arriving element . The algorithm acts as follows. If , it rejects . If , it accepts with probability
Otherwise there is a unique such that . In this case the algorithm accepts exactly when . Every accepted arrival is inserted into both and . Between two consecutive arrivals, every element of has an independent exponential deletion clock of rate ; when its clock rings, that element is removed from . These internal deletions change only the reference set and never revoke an acceptance. After each deletion, recompute and restart independent rate- clocks for the elements of the current . Recompute and restart the clocks after each arrival as well. After the last arrival, continue internal deletions until time 1. Return .
The following result is the property we use in the submodular analysis.
Lemma 2.1 (Output distribution of Dynamic Thinning [8]). Fix a weighted matroid secretary instance and . Let X be a random subset that contains every element independently with probability s. Set
Conditional on X, retain every element of independently with probability . The resulting random set has the same distribution as the online output A of Dynamic Thinning with parameter s.
An independent -thinning of a set means the random subset obtained by retaining each member independently with probability . Lemma 2.1 says that Dynamic Thinning outputs an independent -thinning of , where X is the random reference set. We also use its query bound as follows.
Lemma 2.2 (Query bound of Dynamic Thinning [8]). On an instance with N elements, Dynamic Thinning uses independence queries in the worst case. Every queried set contains only elements that have already arrived.
3 The Online Algorithm
Algorithm 1 instantiates the reduction of Feldman and Zenklusen [12] with Dynamic Thinning as the linear secretary subroutine. The algorithm has a learning phase followed by a fixed-weight (linear) secretary phase. The learning phase is used only to define the weights. All learning-phase elements are rejected.
Fix two parameters . Draw
independently of the arrival order. Reject the first K arrivals and denote their set by L. Equivalently, L is an independent Bernoulli-p sample of E.
Algorithm 1 Monotone Submodular Dynamic Thinning
Input: Random-order stream of elements, independence oracle, value oracle, parameters .
Output: An independent accepted set .
1: Draw .
2: Reject the first arrivals and call their set .
3: Run submodular greedy on , obtaining the ordered set and all greedy prefixes.
4: Initialize one Dynamic Thinning instance of parameter for the post-learning arrivals.
5: for each later arrival do
6: Compute its frozen weight from greedy on as in (2).
7: Feed , with weight , to this Dynamic Thinning instance.
8: Make the same accept/reject decision as this Dynamic Thinning instance.
9: end for
10: return the elements accepted by Dynamic Thinning.
Run submodular greedy on . Let be the elements it selects in order, let
and let be the greedy prefixes. Store this ordered sequence and its prefixes.
Consider an element . Its frozen weight is defined by running submodular greedy on . If this greedy run never selects with positive marginal value, set . Otherwise, let be the greedy prefix present immediately before is selected and set
The weight is called frozen because, once L is fixed, it is determined by L and e alone. It is independent of the order of the later arrivals and of all later online decisions.
After the learning phase, run one Dynamic Thinning instance of parameter s on the remaining n - K arrivals using the fixed weights . Elements with weight zero stay in the stream with weight zero and are never selected by the positive-weight linear greedy rule. The actual accepted set of Dynamic Thinning is the output of our algorithm.
Algorithm 1 is online. The phrase “run greedy on ” uses only the stored learning sample and the currently arriving element. The inner Dynamic Thinning instance uses fresh internal randomness and treats the post-learning stream as its entire input.
Lemma 3.1. Conditional on the learning sample , the weights are fixed before the random order of is exposed. The relative order of the post-learning elements remains uniformly random.
Proof. The ordered greedy set and all its prefixes are determined by . For every , the rule in (2) depends only on these prefixes, the identity of , the matroid restriction to , and value queries involving . Hence is a deterministic function of and once the instance is fixed. It does not depend on the positions of the other post-learning elements or on any later random choice of the algorithm.
Conditional on L being the first K arrivals, the remaining elements appear in a uniformly random relative order. Thus, conditional on L, the second phase is a valid fixed-weight matroid secretary instance.
4 An Equivalent Three-Color Process
We analyze the online algorithm through an offline process with the same output distribution. Following the simulated-greedy approach [19, 10], we select elements according to their marginal values with respect to the learning set and then reveal their random classifications. Here we use three classes and an additional independent retention step to describe the output distribution of the algorithm. Lemma 4.1 establishes the equivalence of output distributions, and all subsequent analysis uses this process.
Define
Three-color process.
Independently assign every element one of three colors:
Independently give every element a Bernoulli retention bit equal to one with probability . Start with
Repeatedly choose, among all unprocessed elements that are feasible to add to M, an element e of maximum positive marginal value
breaking ties by the fixed label order. Only after choosing e do we reveal its color.
If e is learning-colored, add it to M. If e is reference-colored, add it to B when is independent. If it is added to B and its retention bit is one, also add it to A. If e is ignored-colored, do nothing. An element that becomes infeasible for M can be discarded permanently because M only grows. The process stops when no feasible element has positive marginal value.
The set B is an auxiliary reference greedy set in the analysis. The set A is its retained part and will have the same distribution as the actual online output.
Lemma 4.1 (Distributional equivalence). The final set A in the three-color process has the same distribution as the output of Algorithm 1.
Proof. First condition on the learning-colored set L. The learning-colored additions in the process are exactly submodular greedy on L, so they produce the same ordered set M as Algorithm 1.
Fix a non-learning element e. Before the process handles e, only learning-colored elements have changed M. Removing the other non-learning elements from the conceptual scan therefore does not change the greedy prefix present when e is considered. The weight assigned to e by the process is therefore exactly its frozen weight from (2).
The positive weights encountered during the process are nonincreasing. Indeed, after a learning-colored element is added to M, submodularity can only decrease the remaining marginal values, and matroid feasibility can only remove options. Hence, among reference-colored elements, the rule “add e when is independent” is exactly fixed-weight matroid greedy under the frozen weights. Thus , where X is the set of reference-colored elements.
Conditional on , every non-learning element is reference-colored with probability , independently of the others. Therefore is an independent Bernoulli- sample of the post-learning elements. Finally, the retention bits make an independent -thinning of . Lemma 2.1 now identifies this distribution with that of the actual Dynamic Thinning instance in Algorithm 1.
The analysis below always considers the state immediately before the color and retention bit of the current element are revealed. At that moment, its weight , the current sets M, B, A, and every span or feasibility test involving these sets are already determined. This order of conditioning is important in the probability calculations.
5 Competitive Analysis
The analysis proceeds in three steps. Section 5.1 provides a useful inequality. Section 5.2 uses this inequality to upper-bound the optimal value. Section 5.3 proves the competitive ratio of Algorithm 1.
Immediately before the color of the current element e is revealed, call the step external if
and internal otherwise.
5.1 A rank charge
The nonnegative integer
changes in a particularly simple way. At an external step, , so a reference-colored element is added to and increases the quantity by one. At an internal step, a learning-colored element is feasible for but already lies in ; adding it to decreases the quantity by one. Every other color/outcome leaves the quantity unchanged.
Because the quantity starts at zero and never becomes negative, every internal learning addition can be paired with a distinct earlier external reference addition. The processing weights are nonincreasing, so the earlier reference-colored element has weight at least that of its paired learning-colored element. Taking expectations yields the following weighted charge.
Lemma 5.1 (Rank charge). Let the sums range over the processed steps of the three-color process. Then
Proof. On every realization, pair each -1 change of with a distinct earlier +1 change. The weight at the earlier step is at least the weight at the later step, because the processing weights are nonincreasing. Thus, pathwise,
The weight and the internal/external classification are determined before the current color is revealed. An internal step is learning-colored with probability p, and an external step is reference-colored with probability . Taking expectations gives (4).
5.2 Upper bound on the optimum
Fix an offline optimal independent set . During the three-color process, maintain a set of unprocessed optimal elements satisfying
Initially . Condition (5) means that adding all elements of to increases the rank by exactly . In particular, every element of is external and feasible to add to .
The update is as follows. If the current element belongs to , remove it from after it is processed, regardless of its color. If and is not added to either or , leave unchanged. Now suppose that and is added to or to . At an internal step, this addition does not change the closure of , so (5) continues to hold and no element is removed from . At an external step, the addition increases by one. If (5) still holds after the addition, leave Q unchanged. Otherwise, choose an element whose removal restores (5), and replace Q by Q - o. Such an element exists by the matroid exchange property, and removing one element is sufficient because has increased by only one.
Lemma 5.2 (Comparison-set invariant). The set Q can be updated as above so that (5) holds after every processed step. Moreover, every element of Q is unprocessed, external, and feasible to add to M.
Proof. The claims hold initially because is independent and . Suppose first that the current element belongs to . Before its color is revealed, (5) implies . If the color is ignored, removing from clearly preserves (5). If is added to or to , then increases by one while decreases by one, so the same equality is preserved.
Now suppose . If the step is internal, adding to or to does not change the closure of , so (5) remains true without changing . If the step is external and is added to or to , let be a basis of the old . Since a basis has the same closure as the set it spans, (5) implies that is independent. Also is independent because the step is external. If is independent, then (5) remains true without changing . Otherwise, has rank , because is independent. Extend to a basis of . This basis contains and exactly elements of , so it is for some . Replacing by therefore restores (5).
Finally, contains only elements of the original optimal set that have not yet been processed, because a processed member is removed immediately. Equation (5) implies that each is outside , hence outside , so it is external and feasible to add to .
To compare the optimum with the learning and output sets, we use the residual-value potential
At the beginning, and , so . At the end, (5) guarantees that every remaining element of Q is feasible to add to the final M. The process has stopped because no feasible element has positive marginal value with respect to M. Hence every element of Q has zero marginal value with respect to M, and by submodularity the whole set Q has zero marginal value with respect to . Therefore the final value of is zero.
Consider one processed element before its color and retention bit are revealed. Besides its weight , define
Monotonicity and submodularity give
We next bound the expected decrease of at a single step.
Lemma 5.3 (Residual-optimum decrease). Condition on the state immediately before the color and retention bit of the current element e are revealed. Thus M, B, A, Q, , , , and the internal/external classification are fixed. The expectations below are only over the unrevealed color and retention bit of e.
(i) If , then the step is external and the conditional expected decrease of is at most .
(ii) If and the step is external, then the conditional expected decrease of is at most
(iii) If the step is internal, then the conditional expected decrease of is at most
Proof. If , the invariant (5) makes the step external. The update removes e from Q. If e enters M or A, then the union in the first term of (6) remains unchanged, whereas the second term changes from to . Hence decreases by . If e enters neither set, only Q loses e, and the decrease is
This proves (i).
Now suppose and the step is external. If is learning-colored, it enters and one element may be removed to restore (5). If is reference-colored and its retention bit is one, it enters , and again one element may be removed. In either event that adds to , write for the old set. The decrease of is at most
The last inequality holds because is unprocessed, is feasible to add to by (5), and was chosen with maximum current marginal value. If a reference-colored is not retained in , then only may lose , and the decrease is at most . Thus the conditional expected decrease is at most
This proves (ii).
Finally suppose the step is internal. Then , and no element is removed from Q because adding e does not change the closure of . If e is learning-colored, gains e and the decrease of is at most . If e is reference-colored, A gains e only when and the retention bit is one, again causing decrease at most . This proves (iii).
Lemma 5.4 (Upper bound). For the three-color process,
Proof. For an external step not in Q, the bound in Lemma 5.3(ii) can be rewritten as
For an external step in Q, Lemma 5.3(i) is at most . Thus, for any external step, the decrease is at most
Summing all decreases of , using its initial value and final value zero, gives
(10)
The rank charge in Lemma 5.1 converts the internal -term into external terms. Since , Lemma 5.1 implies
Substituting this into (10), dropping the final nonpositive term, using at every external step, and using
gives (9).
5.3 Competitive ratio
It remains to control the second term in (9). Ma, Tang, and Wang [19, Lemma 11] use a potential containing the difference between the value of the learning set and that of its union with the candidate set. Here we apply this idea to the retained output A through the nonnegative potential
At one step, if is learning-colored, it is added to and changes the potential by . If is reference-colored, it is added to only when (meaning that ) and its retention bit is one. In that event, the potential changes by . In every other case, the potential is unchanged. Therefore, the conditional expected increment of at one step is
where the current state means the complete state immediately before the color and retention bit of e are revealed. The potential starts at zero and is nonnegative at the end. Hence
The actual output value is accumulated through the marginal value . A step adds e to A with conditional probability , so
where the inequality uses from (8).
Combining Lemma 5.4 with (12) and (13) gives the general competitive guarantee.
Theorem 5.1 (Competitive ratio). For every , let
Then Algorithm 1 is -competitive, where
In particular, for
the algorithm is C-competitive, where
Proof. By Lemma 5.4 and (12),
which is no more than by Equation (13). Thus the general guarantee follows.
For the stated parameters p and s,
Moreover, it is easy to verify that
Hence
Substituting these values into (14) gives
which is (15).
We count value queries and independence queries in Algorithm 1 separately. It does not need an exact offline submodular optimization oracle. Recall that r is the matroid rank.
Theorem 5.2 (Query complexity). Algorithm 1 uses value queries and independence queries. All queries involve only elements that have already arrived.
Proof. We first show that after the learning phase in Algorithm 1, the frozen weight of one arriving element can be computed using value queries and independence queries. Store the ordered greedy sequence , its prefixes , and the marginal value at which every was selected from . Scan the stored prefixes in order. At prefix , one independence query checks whether is independent and one value query evaluates . If is feasible and its marginal is larger than the stored marginal of , or is tied and precedes in the fixed label order, then the hypothetical run selects next and its weight is known. At the last prefix, a feasible element of positive marginal is selected. If ever becomes infeasible, it remains infeasible at every later prefix. Thus at most prefixes are inspected. Since each inspected prefix uses at most one value query and one independence query, this proves the query bound for one frozen weight.
Running submodular greedy on the learning sample can be implemented by at most greedy rounds, each scanning at most available elements. This uses value queries and independence queries. Computing all post-learning frozen weights therefore uses another queries of each type. The inner Dynamic Thinning instance uses no further value queries, and by Lemma 2.2, it uses independence queries in the worst case. Since , the total number of independence queries is , while the total number of value queries is .
6 Conclusion
Replacing the single-level Dynamic Thinning subroutine by Multilevel Dynamic Thinning [16] in our framework gives a slightly improved competitive factor of about 8.6. The improvement is modest, while both the analysis and the implementation become substantially more involved. It remains an interesting question whether a different approach can improve the competitive ratio further without introducing comparable complexity.
Another direction is to exploit the structure of special matroid classes. In particular, laminar and graphic matroids may admit stronger guarantees than arbitrary matroids. For these two classes, we obtain several improved bounds in the appendix. Determining the best competitive ratios for such structured matroids remains open.
AI statement. The author used GPT-5.6 Sol and GPT-6 Astra to help design the algorithm and develop its proofs. The author has checked the proofs and takes full responsibility for their correctness and for the contents of this paper.
References
[1] Hamed Abdi, Kiarash Banihashem, MohammadTaghi Hajiaghayi, and Danny Mittal. On the strong matroid secretary conjecture and beyond. arXiv preprint arXiv:2609.19118, 2026.
[2] Moshe Babaioff, Nicole Immorlica, and Robert Kleinberg. Matroids, secretary problems, and online mechanisms. In Proceedings of the Eighteenth Annual ACM-SIAM Symposium on Discrete Algorithms, pages 434–443, 2007.
[3] Moshe Babaioff, Nicole Immorlica, David Kempe, and Robert Kleinberg. Matroid secretary problems. Journal of the ACM, 65(6):1–26, 2018.
[4] MohammadHossein Bateni, MohammadTaghi Hajiaghayi, and Morteza Zadimoghaddam. Submodular secretary problem and extensions. ACM Transactions on Algorithms, 9(4):32:1–32:23, 2013.
[5] Kristóf Bérczi, Vasilis Livanos, José A. Soto, and Victor Verdugo. Matroid secretary via labeling schemes. In Integer Programming and Combinatorial Optimization (IPCO 2025), volume 15620 of Lecture Notes in Computer Science, pages 128–141. Springer, 2025. DOI: https://doi.org/10.1007/978-3-031-93112-3_10.
[6] Kristóf Bérczi, Shaddin Dughmi, Vasilis Livanos, José A. Soto, and Victor Verdugo. The strong secretary conjecture is true for linear matroids. arXiv preprint arXiv:2609.20797, 2026.
[7] Sourav Chakraborty and Oded Lachish. Improved competitive ratio for the matroid secretary problem. In Proceedings of the 23rd Annual ACM-SIAM Symposium on Discrete Algorithms, pages 1702–1712, 2012.
[8] Hau Chan, Jianan Lin, and Chenhao Wang. A 3.1462-competitive algorithm for matroid secretary. arXiv preprint arXiv:2609.17782v2, 2026. Available at https://arxiv.org/abs/2609.17782v2.
[9] Moran Feldman, Christopher Harshaw, and Amin Karbasi. Greed is good: Near-optimal submodular maximization via greedy optimization. In Proceedings of the 2017 Conference on Learning Theory, volume 65 of Proceedings of Machine Learning Research, pages 758–784, 2017.
[10] Moran Feldman, Ola Svensson, and Rico Zenklusen. A simple -competitive algorithm for the matroid secretary problem. Mathematics of Operations Research, 43(2):638–650, 2018.
[11] Moran Feldman, Joseph Naor, and Roy Schwartz. Improved competitive ratios for submodular secretary problems. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (APPROX/RANDOM 2011), pages 218–229, 2011.
[12] Moran Feldman and Rico Zenklusen. The submodular secretary problem goes linear. SIAM Journal on Computing, 47(2):330–366, 2018. Preliminary version in FOCS 2015. Full version available at https://arxiv.org/abs/1507.08384.
[13] Kaito Fujii. An improved algorithm for the submodular secretary problem with a cardinality constraint. arXiv preprint arXiv:1905.04941, 2019.
[14] Anupam Gupta, Aaron Roth, Grant Schoenebeck, and Kunal Talwar. Constrained non-monotone submodular maximization: Offline and secretary algorithms. In Proceedings of the 6th International Workshop on Internet and Network Economics (WINE 2010), pages 246–257, 2010.
[15] Zhiyi Huang. Settling the matroid secretary problem. arXiv preprint arXiv:2609.30421, 2026.
[16] Dennis Joyce. Multilevel Dynamic Thinning for Matroid Secretary. arXiv:2610.05267, 2026. Available at https://arxiv.org/abs/2610.05267.
[17] Thomas Kesselheim and Andreas Tönnis. Submodular secretary problems: Cardinality, matching, and linear constraints. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (APPROX/RANDOM 2017), pages 16:1–16:22, 2017. Conference version: https://doi.org/10.4230/LIPIcs.APPROX-RANDOM.2017.16.
[18] Oded Lachish. competitive ratio for the matroid secretary problem. In Proceedings of the 55th IEEE Annual Symposium on Foundations of Computer Science, pages 326–335, 2014.
[19] Tengyu Ma, Bo Tang, and Yajun Wang. The simulated greedy algorithm for several submodular matroid secretary problems. In Proceedings of the 30th International Symposium on Theoretical Aspects of Computer Science, pages 478–489, 2013.
[20] Sahil Singla. The matroid secretary conjecture is true. arXiv preprint arXiv:2609.14555, 2026.
[21] José A. Soto, Abner Turkieltaub, and Victor Verdugo. Strong algorithms for the ordinal matroid secretary problem. Mathematics of Operations Research, 46(2):642–673, 2021. DOI: https://doi.org/10.1287/moor.2020.1083.
Appendix
A Guarantees for Laminar and Graphic Matroids
For the monotone submodular matroid secretary problem, we give polynomial-time randomized online algorithms with competitive ratios
for laminar and graphic matroids, respectively. The laminar result holds without any restriction on the depth or branching of the laminar family. The graphic result allows undirected multigraphs, including parallel edges, and assumes that the endpoints of an edge are revealed when it arrives. Both algorithms use value queries and independence queries.
Unlike Algorithm 1, the algorithms in this appendix recompute randomized greedy sets from arrival prefixes. They combine a known sampling guarantee with existing matroid-specific acceptance arguments.
Definition A.1 (Laminar matroid). A family is laminar if any two sets in the family are disjoint or one contains the other. Given a nonnegative integer capacity for each , the associated laminar matroid has independent sets
Definition A.2 (Graphic matroid). Let be an undirected multigraph. Its graphic matroid has ground set E, and an edge set is independent exactly when it is a forest. A self-loop cannot belong to any forest and hence to any independent set. Two parallel edges form a cycle of length two.
Throughout this appendix, fix an offline optimal independent set
All label orders are fixed independently of the random arrivals. The algorithms use the shared submodular greedy subroutine described below.
A.1 A shared submodular greedy subroutine
To obtain a uniform guarantee for every finite ground set, add zero-value dummy elements that cannot belong to any independent set, so that the extended ground set has size
For a set of real and dummy elements, extend the objective by . We write for this extension below. It remains normalized, monotone, and submodular, and the optimum value is still .
Choose the positions of the real elements uniformly among the slots, independently of the real arrival order, and uniformly permute the labeled dummy elements over the other positions. Interleaving the real arrivals with these dummy elements produces a uniformly random permutation of the extended ground set. Dummy elements are always rejected and require no oracle calls. Let be the element in slot and .
We first bound the value of submodular greedy on an independent random sample. This lemma is a consequence of the monotone SampleGreedy guarantee of Feldman, Harshaw, and Karbasi [9]. We retain a self-contained proof below.
Lemma A.1 (Submodular greedy on a random sample [9]). Let contain each element independently with probability , and let Greedy() be the submodular greedy set defined in Section 2. Then
Proof. The claim is immediate when , so assume . Reveal the membership bits of only as needed. Maintain and such that is independent and every element of is unprocessed. Initially and . At each step, choose an unprocessed element that is feasible for and has maximum positive marginal value
breaking ties by the fixed label order. Then reveal whether .
If , remove it from and add it to if it belongs to . If and , add to . When necessary, remove one element to restore independence of . To see that one removal suffices, start with the independent sets and the old and repeatedly apply the matroid augmentation property. This gives an independent set containing and all but at most one element of the old . Every possible removed element is unprocessed and feasible for the old , so
If and , neither set changes. In every case, mark as processed.
The resulting M has the same distribution as Greedy(R). Indeed, between two insertions into M, every processed element is nonsampled, and the next sampled element encountered is the maximum-marginal feasible sampled element. An element that becomes infeasible remains infeasible as M grows.
Consider
For a step processing , let be the value of before the step minus its value afterward. Condition on the complete history immediately before revealing the membership bit of . Under this conditioning, are fixed and .
If and is sampled, the set does not change and . If and is not sampled, then
If and is sampled, the increase in is . Any loss from removing from is at most , while adding to the union cannot decrease its value. Thus . The remaining case has . Consequently,
where the bound for uses .
At termination, every element remaining in Q is feasible for M and has zero marginal value with respect to M. Submodularity then gives , so the final potential is zero. Summing the conditional inequalities over the at most N processed steps and taking expectations yields
This proves the claim.
15
☐
The following construction realizes almost the same value guarantee using only a random prefix.
Lemma A.2 (An independent set from a random prefix). For a slot , set
Independently of the arrivals and all other slots, draw . If , set . Otherwise choose a uniformly random -element subset and let . Then is independent and
Proof. Condition on . Since is a uniformly random -subset of the extended ground set and is a uniformly random -subset of , the set is a uniformly random -subset of the whole ground set. Its distribution therefore agrees with that of a global independent Bernoulli- sample , conditional on . Lemma A.1 gives
Each greedy set is independent and has value at most . Setting when therefore loses at most . Moreover,
By Chebyshev's inequality,
It follows that
which is (A.1).
For the conditioning arguments below, represent the randomness at slot i by an independent seed . It specifies and a uniformly random permutation of the indices . List in the fixed label order and use the first indices of this permutation to choose . Thus is a deterministic function of the set and , independently of the order within .
A.2 Laminar matroids
Set and reject the first slots. At each later real arrival , compute using Lemma A.2. Call a candidate if . Accept a candidate exactly when adding it to the current accepted set preserves independence, and reject every other arrival.
The laminar sets containing a fixed element form a chain. We use the following counting lemma to bound the probability that any constraint in this chain prevents acceptance. The lemma gives a finite-slot form of the counting identity in Bérczi et al. [5]. We give an alternative proof using cyclic parking.
Lemma A.3 (A counting bound for nested capacities). Let and be integers. Let
be independent. Then
Proof. For , both sides are zero. Assume . Call an index active if , and let be the number of active indices. Conditional on the set of active indices, their values are independent and uniform on . Values at inactive indices cannot affect the event in (A.2).
Given Z = a active values, regard them as the preferred positions of a cars on m cyclically ordered parking spaces. Process the cars in a fixed order, moving each car in the decreasing cyclic direction until it finds an empty space. Exactly a spaces become occupied, so rotation symmetry gives probability a/m that space 1 is occupied.
Space 1 remains empty exactly when
Necessity follows because every car with preference at most must then park in one of spaces . For sufficiency, sort the preferences as . The displayed inequalities imply , so assigning car to space gives a feasible assignment in spaces . The decreasing greedy parking rule also succeeds whenever such an assignment exists: assigning a car to the largest available space no greater than its preference preserves a feasible assignment for the remaining cars, by swapping with the car assigned to that space when necessary. Hence this rule never reaches space 1.
Thus the event in (A.2) is exactly that space 1 is occupied. Its probability, conditional on the active index set, is Z/m. Taking expectations gives
Lemma A.4 (Conditional feasibility of a laminar candidate). Fix and condition on , the identity of , all future elements , and all seeds . If , then
The remaining randomness is the uniformly random order of in the first slots.
Proof. List the laminar sets containing as a chain
and write . Each is positive because and is independent. If the chain is empty, the element is always feasible and the claim is immediate. The capacities need not be strictly increasing.
Reveal the earlier order backwards. At reverse step , the set and seed are determined, while is uniformly distributed over . In particular, is already determined. For each , assign the integer
or if this set is empty. For every positive integer , at most elements receive an integer at most . Indeed, all these elements lie in and in the largest chain set whose capacity is at most , and satisfies that constraint.
Sort by these integers, breaking ties by the fixed label order, and let be the position of in this sorted list. Conditional on everything revealed so far in the reverse order, is uniform on . Its conditional law does not depend on the revealed later positions, so the variables are mutually independent. If is a candidate in a chain set of capacity , then .
If is infeasible, some chain set of capacity already contains accepted elements. Every such element is an earlier candidate, so at least indices satisfy . There are only earlier slots after the initial rejection phase, so only capacities can block . Lemma A.3 bounds the probability of this event by
proving (A.3).
Theorem A.1 (Laminar guarantee). For every laminar matroid and every nonnegative monotone submodular objective, the online algorithm above has competitive ratio at most
It uses value queries and independence queries.
Proof. Let A be the final accepted set. For each , define the candidate set at slot i and the set of future candidates by
Let
These quantities are used only in the analysis, and by monotonicity. For every realization, add the accepted elements in decreasing slot order. The previously added accepted elements form a subset of , so submodularity gives
Condition on , all future elements, and all seeds, but not on . This fixes and : every future prefix set is determined by and the future elements, regardless of the order within . The current element is still uniform in . Therefore
The inequality follows from submodularity and monotonicity. Since
taking expectations gives
Because , Lemma A.2 gives
Now also condition on . If it is a candidate, is fixed under this conditioning, and Lemma A.4 gives acceptance probability at least
If it is not a candidate, . Since , multiplying by the conditional acceptance probability, taking expectations, and summing (A.4) yields
Set
These coefficients are nonnegative because . Using
we obtain
Multiplying (A.5) by and summing shows that its left-hand side is exactly . Thus (A.6)–(A.8) give
The last inequality uses
Finally,
Here the first two terms sum to 56/81, and the remaining terms are bounded by the geometric series
Consequently, including the case ,
This is the claimed competitive guarantee. The query bound follows from the shared subroutine and at most one additional independence query per real arrival.
A.3 Graphic matroids
Assume that the endpoints of each real edge are revealed when it arrives, and fix a label order on vertices. The dummy elements can be represented by self-loops at an auxiliary vertex. Set and reject the first slots.
At each later real arrival , compute the forest using Lemma A.2. Root each nontrivial tree of at its smallest-labeled vertex and orient its edges away from the root. If , call it a candidate and use its orientation in . The algorithm maintains a set of marked vertices, initially empty. Accept a candidate exactly when neither nor is marked; upon acceptance, mark . Reject all other arrivals.
This canonical orientation and acceptance rule are those of the graphic-matroid algorithm of Soto, Turkieltaub, and Verdugo [21]. We replace their prefix optimum forest by the randomized submodular greedy forest .
Lemma A.5 (Feasibility of the graphic algorithm). The accepted set is always a forest, including when the graph has parallel edges.
Proof. Maintain the invariant that every connected component of the accepted graph is a tree with exactly one unmarked vertex, including isolated vertices. It holds initially. An accepted edge has two unmarked endpoints, which cannot belong to the same component by the invariant. It therefore joins two different trees. Its head becomes marked and its tail remains unmarked, so the merged tree again has exactly one unmarked vertex. A graph loop is never a candidate because is a forest, and the second of two parallel edges cannot be accepted because one endpoint is already marked.
Theorem A.2 (Graphic guarantee). For every graphic matroid represented by an undirected multigraph whose edge endpoints are revealed on arrival, and every nonnegative monotone submodular objective, the online algorithm above has competitive ratio at most
It uses value queries and independence queries.
Proof. Let A be the output. For analysis, consider a second process with the same candidates and orientations. It accepts a candidate only when both endpoints are unmarked, but marks the head of every candidate, whether or not it is accepted. Let be its output. At every slot, this process has marked all previous candidate heads and hence contains every mark made by the online algorithm. Any candidate it accepts therefore also passes the online algorithm's test. By monotonicity,
For , let be the output of the second process started at slot with no marked vertices, using the same candidate status and orientation at every subsequent slot. In particular,
Condition on , all future edges, and all seeds, leaving uniform in . This fixes and because future prefix sets do not depend on the order within .
If , then . Otherwise, write its orientation as and let denote the resulting output. The process accepts and marks . Every subsequent candidate marks its head regardless of acceptance, so starting the suffix with marked changes no other marks and removes exactly the edges of incident to . Consequently,
List S in the fixed edge-label order as , and define
These marginal values are nonnegative and sum to . For any , submodularity gives
Adding these inequalities yields
Every vertex is the head of at most one edge in the rooted forest . Thus each edge of belongs to at most two sets indexed by candidate heads, one for each endpoint. The sum of all deletion terms in (A.12) is therefore at most . Also,
Summing (A.12) over and using (A.11) gives
Noncandidates contribute zero to this change. Since is uniform in , we have, under the stated conditioning,
Writing and taking expectations yields
Lemma A.2 gives
For , put
The factors are positive because , and . Moreover,
Unrolling (A.14), using , and substituting (A.15) gives
To evaluate the sum, write and . Both and are integers because is divisible by 18. The identities
and
show that
and
Adding these expressions and using yields
For
Thus the subtracted term in (A.17) is at most
and the sum is at least
Combining this with (A.10), (A.16), and gives
This is the claimed competitive guarantee. The query bound follows from the shared subroutine; rooting the prefix forests and maintaining vertex marks take polynomial time and require no additional oracle calls.