Secretary Problems: Weights and Discounts 5: A 3e-Competitive Algorithm for the Graphic Matroid Secretary ProblemResearch Paper
Motivation
In the secretary problem, items with nonnegative values arrive one at a time in a uniformly random order, and an online algorithm must decide on each arrival, irrevocably, whether to keep it. The classical version keeps one item; the rule that observes a fraction of the arrivals and then takes the first item better than everything seen picks the best item with probability at least (Ferguson 1989).
Babaioff, Immorlica and Kleinberg (SODA 2007; journal version J. ACM 2018) introduced the matroid secretary problem: the kept set must be independent in a known matroid. It models online auctions in which the feasible sets of winners have matroid structure, for example hiring along the edges of a network without closing a cycle. They gave a -competitive algorithm when the matroid is graphic, i.e. the items are the edges of a graph and a set is feasible when it contains no cycle.
Timeline for graphic matroids:
- 2007, Babaioff–Immorlica–Kleinberg: -competitive.
- 2009, Babaioff–Dinitz–Gupta–Immorlica–Talwar (SODA 2009, Theorem 1.5): -competitive, through a random reduction to partition matroids. This mission formalizes that result.
- 2009, Korula–Pál (ICALP 2009): -competitive, by a different reduction.
Setting
Let be a finite simple graph. Each edge has a value . A set is independent in the graphic matroid of if the graph has no cycle. The offline optimum is
The edges arrive in a uniformly random order. An algorithm sees each edge and its value on arrival and decides at once whether to select it. The selected set must be acyclic. The algorithm is -competitive if for every and every .
A partition matroid on a subset is given by a family of nonempty, pairwise disjoint parts with union : a set is independent when it lies in and meets each part at most once. Its max-weight base has value .
Definition 5.1. A random partition (a probability distribution on such families, chosen from alone) is an -partition scheme if every partition in its support has only acyclic independent sets, and for every ,
The random partition of Lemma 5.3. Pick an edge uniformly at random. With probability colour red and blue, otherwise the reverse. Colour every other vertex red or blue independently with probability . Each red vertex gets a part: the red-blue edges at . Then repeat on the edges with both endpoints blue, with fresh randomness.
The algorithm. Draw the partition, let the edges arrive, and on each part run the classical secretary rule on that part's arrivals. Output all selected edges.
Formalization targets
Goal: Theorem 1.5
For every finite simple graph and every :
- every possible output of the algorithm is an acyclic set of edges of ;
Part 1 is needed for the statement to have content: an algorithm that selects every edge would otherwise satisfy part 2.
Milestones
- Section 2, p. 4. On arrivals, the classical rule selects the maximum with probability at least .
- Theorem 5.4, first clause. For a fixed partition , the per-part rule outputs a set independent in the partition matroid, and .
- Lemma 5.3, independence. Every partition the random construction can produce is a partition matroid on a subset of , and each of its independent sets is a forest.
- Lemma 5.3. The construction is a -partition scheme.
- Section 5, p. 10. Any -partition scheme for a graphic matroid, combined with the per-part rule, gives a feasible, -competitive algorithm.
Significance
The theorem shows that the graphic matroid secretary problem admits a constant-competitive algorithm with a small explicit constant. It does so through a reduction: a random partition matroid that is feasible for the original matroid and loses only a constant factor in expectation. The reduction separates the combinatorics (Lemma 5.3) from the online part (Theorem 5.4). The same framework gives algorithms for uniform and transversal matroids and for the weighted and discounted variants on any matroid with an -partition property.
The result is proved in the paper; it has not been formalized. The mission contributes a machine-checked version of the reduction, a formal treatment of a recursively defined random partition, and the classical secretary bound in a reusable finite form. The constant is not the best known for graphic matroids (Korula–Pál improve it to ), so the formal goal is this algorithm's guarantee, not the best possible ratio.
Difficulty
The online half is routine once the classical bound is available: the relative order of the edges in each part is uniform, and the parts are disjoint. The difficulty is Lemma 5.3. The natural idea of using a fixed optimal forest to build the partition is ruled out because the partition must be chosen before the values are seen. The expectation bound must therefore hold for every valuation at once, for a law that depends on the graph only. The construction is recursive and random: its expected value is not a closed-form sum, and any bound has to be carried through the random sequence of blue-blue subgraphs. Feasibility needs an invariant across rounds: the parts created later live inside the blue-blue edges of every earlier round.
Formalization scope
- Graph. A
SimpleGraphon aFintypevertex type with decidable adjacency. The edges areG.edgeFinset, and acyclicity of is(SimpleGraph.fromEdgeSet S).IsAcyclic. Multigraphs are not covered. - Values. Values are a real function
v : Sym2 V → ℝwith∀ e, 0 ≤ v e; only the values on edges matter. - OPT is a
Finset.sup'over acyclic subsets of the edge set. A partition is a finite family of nonempty, pairwise disjoint parts inside the edge set. Its max-weight base value is the sum of the part maxima. - Random partition. A
PMFdefined by well-founded recursion on the number of edges. Empty parts are dropped, and edges with two red endpoints are discarded. - Random order. The edges are numbered by a fixed enumeration. An arrival order is a permutation of the numbers, and expectation over the order is the average over all permutations.
- Classical rule. It samples arrivals of a part with edges. Ties are broken by preferring the smaller edge number among equal values.
- Constants. Competitiveness is multiplicative (), so a zero expectation is not a loophole.
- Ruling out trivial formalizations. In Definition 5.1 the random partition is fixed before the valuation, and the independence requirement holds for every partition in its support. A partition allowed to depend on would make every matroid -partitionable.
A complete development needs the classical secretary bound in finite form, the uniformity of induced sub-orders of a uniform permutation, expectations of PMF.bind along a well-founded recursion, and facts about forests in SimpleGraph. The first two, and a general graphic-matroid layer, are reusable beyond this mission. Proofs of any milestone, alternative proofs of Lemma 5.3, and extensions to the uniform and transversal cases of Theorem 5.2 are welcome.
Selected references
- M. Babaioff, M. Dinitz, A. Gupta, N. Immorlica, K. Talwar, Secretary Problems: Weights and Discounts, Proc. 20th ACM-SIAM Symposium on Discrete Algorithms (SODA), 2009. https://doi.org/10.1137/1.9781611973068.135
- M. Babaioff, N. Immorlica, R. Kleinberg, Matroids, secretary problems, and online mechanisms, SODA 2007, pp. 434–443. https://dl.acm.org/doi/10.5555/1283383.1283429
- M. Babaioff, N. Immorlica, D. Kempe, R. Kleinberg, Matroid Secretary Problems, Journal of the ACM 65(6), 2018. https://doi.org/10.1145/3212512
- N. Korula, M. Pál, Algorithms for Secretary Problems on Graphs and Hypergraphs, ICALP 2009, LNCS 5556. https://doi.org/10.1007/978-3-642-02930-1_42
- T. S. Ferguson, Who solved the secretary problem?, Statistical Science 4(3), 1989. https://doi.org/10.1214/ss/1177012493