Online Matroid Intersection: Beating Half for Random Arrival

Guru Prashanth Guruganesh, Sahil Singla · DOI

Abstract

This paper addresses the long-standing challenge of beating the 1/2-competitive ratio in Online Matroid Intersection (OMI) under the random arrival model. We introduce "Marking-Greedy," a novel two-phase randomized algorithm that leverages a "Sampling Lemma" to achieve a competitive ratio of $1/2 + \delta$ for some constant $\delta > 0$. This result represents the first time the greedy barrier has been broken for this class of problems, extending even to the intersection of $k$ matroids and providing a linear-time algorithm for the offline version.

Introduction

Combinatorial optimization often involves making irrevocable decisions under uncertainty. Matroid intersection is a fundamental problem in this domain, where the goal is to find the largest set that satisfies two independent constraints simultaneously. In the online setting, elements of the ground set arrive sequentially, and a decision to include or exclude an element must be made immediately.

For decades, the simple greedy algorithm—which selects an element if it maintains independence in both matroids—was the state-of-the-art, providing a 1/2-competitive ratio. While this ratio is known to be optimal for adversarial arrival orders, the random arrival model offers a potential path to improvement. This work demonstrates that by strategically "marking" and "augmenting" elements, one can strictly outperform the greedy strategy.

The Marking-Greedy Algorithm

The proposed algorithm, Marking-Greedy, operates in two distinct phases under the assumption of a uniformly random arrival order.

  1. Phase (a) - The Hastiness Phase: During the first small fraction of arrivals (e.g., the first 5%), the algorithm simulates a greedy process. However, instead of including every feasible element, it only selects an element with probability $(1-p)$. Elements that would have been selected by a standard greedy process but were skipped are designated as "marked."
  2. Phase (b) - The Augmentation Phase: For the remaining elements, the algorithm seeks to find "augmentations" that can incorporate the marked elements from Phase (a) into the final solution.
Augmentation strategy illustrated for bipartite matching.

This two-phase approach is designed to exploit the "hastiness" of greedy algorithms. If a greedy algorithm performs poorly, it typically makes many sub-optimal decisions very early in the sequence. By intentionally leaving room during this early phase, Marking-Greedy can later correct these "hasty" choices.

Theoretical Framework: The Sampling Lemma

The mathematical foundation of this work rests on two primary pillars. The Hastiness Lemma formalizes the observation that greedy algorithms are most "aggressive" early on when they are far from the optimal solution.

The core technical innovation, however, is the Sampling Lemma. This lemma proves that by randomly dropping elements from a greedy solution, the algorithm can effectively "recover" more than half of the remaining optimal elements during the second phase. This allows the algorithm to bypass the traditional requirement of building complex auxiliary graphs, which are typically used in offline matroid intersection to find augmenting paths.

Key Results and Implications

The Marking-Greedy algorithm achieves several significant milestones:

  • Breaking the 1/2 Barrier: It provides a competitive ratio of $1/2 + \delta$ for OMI, where $\delta$ is a positive constant.
  • Bipartite Matching: It yields the first algorithm to beat 1/2-competitiveness for online bipartite matching under random edge arrival.
  • Generalization to $k$-Matroids: The approach extends to the intersection of $k$ matroids, achieving a ratio of $1/k + \delta$, thus beating the $1/k$ greedy barrier for any $k \ge 2$.
  • Computational Efficiency: Unlike traditional augmenting path algorithms that often require $O(n^2)$ time, Marking-Greedy operates in linear time relative to the number of matroid oracle calls.

Conclusion

This work demonstrates that the random arrival order is a powerful resource for overcoming theoretical barriers in online combinatorial optimization. While the current constant improvement $\delta$ is small, the proof of its existence opens new avenues for research. Future work may focus on optimizing this constant or exploring the limits of this technique in streaming models where some decisions may be revocable.

Summary updated

BibTeX
@inproceedings{guruganesh2017online,
  author = {Guru Prashanth Guruganesh and Sahil Singla},
  title = {{Online Matroid Intersection: Beating Half for Random Arrival}},
  booktitle = {IPCO},
  year = {2017},
  doi = {10.1007/978-3-319-59250-3\_20},
}
Figure