Abstract
In the online bipartite matching with reassignments problem, an algorithm is initially given one side of a bipartite graph, while the vertices on the other side are revealed sequentially. Traditionally, online algorithms are restricted by the rule of irrevocability—once a match is made, it cannot be changed. However, recent research has explored the power of "reassignments." While previous work established that a near-perfect matching can be maintained with an amortized $O(\log^2 n)$ reassignments, this paper investigates the impact of a hard worst-case budget $k$ per arrival. We show that a simple shortest augmenting path algorithm is the best-possible deterministic approach across several models. For unweighted maximum-cardinality problems, it achieves a $(1-\frac{2}{k+2})$-competitive ratio. For weighted problems, a budget of $k=4$ allows for a $1/2$-competitive ratio even without the standard triangle inequality assumption, improving upon the $1/3$ ratio achievable without reassignments.
Introduction
In the classical theory of online algorithms, decisions are typically final. When a server is matched to a client or an advertisement to a user, that edge is fixed. While this "irrevocability" simplifies system state, it often leads to sub-optimal global outcomes. In many real-world applications—such as cloud resource allocation or task scheduling—reassigning a previously made match is possible, though it carries a cost.
Researchers from Yonsei University, Devsisters Corp., and TmaxData Co. have addressed this by analyzing Online Graph Matching with a Worst-Case Reassignment Budget. Unlike previous models that allowed for high volatility as long as the average cost remained low (amortized analysis), this paper focuses on systems that require strict stability: a hard limit $k$ on the number of changes allowed per new arrival.
The Problem: Amortized vs. Worst-Case Stability
Previous breakthroughs in online matching showed that allowing reassignments can drastically improve performance. Specifically, Bernstein, Holm, and Rotenberg demonstrated that an algorithm could maintain a maximum cardinality matching by performing an amortized $O(\log^2 n)$ reassignments.
However, in real-time systems, amortized bounds can be dangerous. A single arrival might trigger a massive cascade of reassignments, leading to latency spikes or system instability. This paper shifts the focus to a worst-case budget $k$. If an algorithm is strictly limited to $k$ reassignments every time a new vertex or edge appears, what is the maximum efficiency it can achieve?
The Algorithm: Shortest Augmenting Paths
The authors demonstrate that a surprisingly simple, greedy-adjacent strategy is optimal: the Shortest Augmenting Path algorithm.
When a new vertex (or edge) arrives:
- The algorithm searches for the shortest augmenting path—a sequence of edges that, if toggled, increases the total size of the matching.
- If the length of this path is within the budget (specifically, if it requires $\le k$ reassignments), the algorithm updates the matching along that path.
- If no such short path exists, the algorithm makes no changes for that arrival.
This approach is deterministic and relies on maintaining a structural invariant: by always exhausting the shortest paths first, the algorithm prevents the "offline adversary" from creating large gaps in the matching quality.
Key Theoretical Insights
1. The $k$-Tradeoff in Unweighted Matching
For unweighted maximum-cardinality matching, the paper establishes a definitive competitive ratio: $(1 - \frac{2}{k+2})$. This formula provides a smooth mathematical curve representing the "cost of perfection." * When $k=0$ (no reassignments, just the initial match), the ratio is $1/2$, matching the classic result for greedy online matching. * As $k$ increases, the ratio approaches 1, representing a perfect matching.
The authors prove that this is the best possible performance for any deterministic algorithm under both vertex-arrival and edge-arrival models.
2. Lifting the Metric Assumption in Weighted Matching
Weighted matching problems are traditionally studied under the "triangle inequality" assumption to keep competitive ratios manageable. The authors show that the power of reassignment allows us to discard this assumption. With a modest budget of $k=4$, the proposed algorithm achieves a $1/2$-competitive ratio. This is a significant improvement over the $1/3$ ratio, which was the previous limit for algorithms that could not reassign matches.
3. Load Balancing and Bifactor Algorithms
The research extends these findings to the load balancing problem. By applying the reassignment budget, they derive a "bifactor" online algorithm. This allows system designers to precisely balance the trade-off between the fraction of clients served and the computational overhead of re-shuffling tasks.
Methodology and Adversarial Analysis
As a theoretical study, the paper relies on competitive analysis against an all-knowing adversary. To prove the lower bounds, the authors constructed specific "worst-case" graphs—complex structures involving long paths and weighted clusters designed to trap deterministic algorithms into making sub-optimal choices. The proof of optimality for the shortest augmenting path algorithm involves showing that any other choice would allow the adversary to force a worse competitive ratio.
Conclusion and Future Directions
This work provides a foundational understanding of how hard reassignment budgets influence online matching. It proves that the shortest augmenting path strategy is not just intuitive, but mathematically optimal for deterministic solvers.
Future research may explore whether randomization can break these deterministic lower bounds against "oblivious" adversaries (those who cannot see the algorithm's internal random choices). Additionally, while the current results apply broadly to bipartite graphs, the complexities of general, non-bipartite graphs and high-degree industrial applications remain open for further exploration.
Summary updated