The matroid prophet inequality #
Let M : Matroid E be a matroid on a finite ground set E, and let elements e : E have
independent nonnegative random weights drawn from μ : E → PMF ℝ≥0 (piFintype μ). Elements
arrive one by one in an arbitrary fixed (adversarial) order σ : Fin (Fintype.card E) ≃ E. Upon
each arrival, an online algorithm observes the element's weight and irrevocably decides whether to
accept it, maintaining independence in M.
An offline prophet seeing all weights w : E → ℝ≥0 collects optWeight M w, the maximum weight
of an independent subset of M. The matroid prophet inequality of Kleinberg and Weinberg
([KW12]) guarantees that an online threshold algorithm achieves at least half of
the prophet's expected weight for every arrival order σ.
For any independent set A, let residualOpt M A w := optWeight (M.contract (A : Set E)) w be
the maximum weight of an independent subset of the contracted matroid M.contract A. When the
expected offline optimum expectedOpt M μ is finite, define the balanced threshold for accepting
e given currently accepted set A by
balancedThreshold M μ A e = (E[residualOpt M A] - E[residualOpt M (insert e A)]) / 2.
The online algorithm onlineThresholdRun accepts each arriving element e whenever insert e A
is independent in M and balancedThreshold M μ A e ≤ w e.
The proof decomposes each accepted weight into its threshold τ(A_{<e}, e) and excess
(w e - τ(A_{<e}, e))⁺:
- The sum of thresholds telescopes deterministically to
(expectedOpt M μ - E_{w'}[residualOpt M (A w) w']) / 2. - Symmetric basis exchange in
Mimplies submodularity ofA ↦ residualOpt M A won independent sets (marginalLoss_mono), so marginal losses increase asAgrows and sum over any independentIofM.contract Ato at mostresidualOpt M A w(sum_marginalLoss_le_residualOpt). - Decoupling each arriving weight
w efromA_{<e}via an independent copyw'shows the expected excess is at leastE_{w, w'}[residualOpt M (A w) w'] / 2. Adding the two parts givesexpectedOpt M μ ≤ 2 * expectedOnlineWeight ...(expectedOpt_le_two_mul_expectedOnlineWeight).
Specializing to the k-uniform matroid uniformMatroid E k yields the multiple-choice prophet
inequality (expectedOpt_uniformMatroid_le_two_mul), and specializing further to k = 1 identifies
expectedOpt and expectedOnlineWeight with Prophet.expectedMax and the single-item
half-expectation threshold rule (expectedOpt_uniformMatroid_one,
expectedOnlineWeight_uniformMatroid_one).
Main definitions #
Cslib.Probability.OptimalStopping.MatroidProphet.piFintype: product distribution of independent draws indexed by aFintype.Cslib.Probability.OptimalStopping.MatroidProphet.optWeight,Cslib.Probability.OptimalStopping.MatroidProphet.residualOpt: offline maximum-weight independent set value inMand in the contracted matroidM.contract A.Cslib.Probability.OptimalStopping.MatroidProphet.expectedOpt,Cslib.Probability.OptimalStopping.MatroidProphet.expectedResidualOpt: expected offline optimal weight and expected residual optimal weight.Cslib.Probability.OptimalStopping.MatroidProphet.balancedThreshold: the Kleinberg–Weinberg balanced thresholdE[residualOpt M A - residualOpt M (insert e A)] / 2.Cslib.Probability.OptimalStopping.MatroidProphet.onlineThresholdRun,Cslib.Probability.OptimalStopping.MatroidProphet.expectedOnlineWeight: the online greedy threshold algorithm and its expected weight under arrival orderσ.Cslib.Probability.OptimalStopping.MatroidProphet.uniformMatroid: thek-uniform matroid onE.
Main results #
Cslib.Probability.OptimalStopping.MatroidProphet.onlineThresholdRun_indep: the online threshold algorithm always outputs an independent set ofM.Cslib.Probability.OptimalStopping.MatroidProphet.expectedOpt_le_two_mul_expectedOnlineWeight: the Kleinberg–Weinberg1/2-approximation matroid prophet inequality for every finite matroidMand every arrival orderσ.Cslib.Probability.OptimalStopping.MatroidProphet.expectedOpt_uniformMatroid_le_two_mul: thek-uniform (multiple-choice) prophet inequality.Cslib.Probability.OptimalStopping.MatroidProphet.expectedOpt_uniformMatroid_one,Cslib.Probability.OptimalStopping.MatroidProphet.expectedOnlineWeight_uniformMatroid_one: the rank-1 uniform specialization identifying the matroid optimum and balanced-threshold algorithm withProphet.expectedMaxandProphet.thresholdRule (E[max] / 2).
References #
Matroid contraction optimum and submodularity #
Balanced thresholds and the online algorithm #
One step of the online threshold algorithm: accept e if insert e A stays independent in M
and w e meets the state-dependent threshold τ A e.
Online threshold selection along a list L of arriving elements, starting from ∅.
The arrival list induced by a bijection σ : Fin (Fintype.card E) ≃ E.
The online threshold algorithm always produces an independent set of M.
The Kleinberg–Weinberg balanced threshold for element e given currently accepted set A:
half the expected marginal loss E[residualOpt M A - residualOpt M (insert e A)].
Expected weight collected by onlineThresholdRun M τ under independent weights μ and
arrival order σ.
Kleinberg–Weinberg Matroid Prophet Inequality ([KW12]):
for any finite matroid M : Matroid E, independent nonnegative weight laws μ : E → PMF ℝ≥0
with finite expected optimal weight expectedOpt M μ ≠ ⊤, and any fixed arrival order
σ : Fin (Fintype.card E) ≃ E, the online algorithm using balancedThreshold M μ selects an
independent set (onlineThresholdRun_indep) of expected weight at least expectedOpt M μ / 2.
Uniform matroids: multiple-choice and rank-1 corollaries #
The k-uniform matroid on E: every finite subset of cardinality at most k is
independent.
Multiple-choice (k-uniform) prophet inequality: for any capacity k : ℕ, independent
nonnegative weights μ : E → PMF ℝ≥0 with finite expected top-k sum, and any arrival order σ,
the online threshold algorithm always selects at most k elements and achieves expected total
weight at least half the expected maximum sum of at most k elements.
On the rank-1 uniform matroid, expectedOpt equals Prophet.expectedMax in any arrival order
σ.
Rank-1 specialization: on uniformMatroid E 1, the expected weight collected by the
Kleinberg–Weinberg balanced-threshold algorithm equals Prophet.expectedReward of the single-item
half-expectation threshold rule Prophet.thresholdRule (E[max] / 2) for every arrival order σ.
Combined with expectedOpt_uniformMatroid_one and expectedOpt_le_two_mul_expectedOnlineWeight,
this recovers the 1/2 single-item prophet inequality.