Abstract
The Minimum-Cost Perfect Matching with Delays (MPMD) problem involves matching requests that arrive over time in a metric space, balancing the spatial cost of the match against the temporal cost of waiting. While randomized algorithms have achieved logarithmic competitive ratios, deterministic approaches have historically been limited to linear bounds. This paper presents the first deterministic, sub-linear competitive algorithm for MPMD, achieving a ratio of approximately $O(m^{0.59})$ by modeling requests as expanding hemispheres in a time-augmented metric space.
1. Introduction
In many real-world systems, such as ride-sharing platforms or online gaming matchmaking, requests arrive asynchronously. A central controller must decide whether to match a request immediately with an existing one—potentially incurring a high spatial distance cost—or wait for a better match to arrive, thereby incurring a delay cost. This trade-off is formalized as the Minimum-Cost Perfect Matching with Delays (MPMD) problem.
In the online version of this problem, the goal is to minimize the sum of distances between matched pairs plus the total waiting time for all requests. While randomized algorithms have successfully achieved competitive ratios of $O(\log m)$ or $O(\log n)$, deterministic algorithms are often preferred in mission-critical systems where predictable performance is required. Prior to this work, the best-known deterministic competitive ratio was $O(m)$, where $m$ is the number of requests. This paper breaks that linear barrier.
2. Problem Formulation
Let $M = (X, d)$ be a metric space. Requests arrive at locations $l_i \in X$ at times $t_i$. A matching algorithm must pair every request such that if request $i$ is matched with request $j$, the cost incurred is:
$$Cost(i, j) = d(l_i, l_j) + (T - t_i) + (T - t_j)$$
where $T$ is the time at which the match is finalized. The objective is to minimize the total cost of all matches against an offline optimal adversary that knows all request locations and arrival times in advance.
3. The ALG($\epsilon$) Algorithm
The authors introduce ALG($\epsilon$), a deterministic algorithm centered on a geometric interpretation of time. The core innovation is the use of a time-augmented metric space.
3.1 Time-Augmented Geometry
The algorithm treats time as a physical dimension. The distance between two requests $(l_1, t_1)$ and $(l_2, t_2)$ is defined by the physical distance plus the temporal difference. When a request $p$ arrives, the algorithm initiates the growth of a "hemisphere" in this augmented space. The radius of this hemisphere expands at a rate of $\epsilon$ in the negative direction of the time axis.
3.2 Matching Mechanism
A match is triggered the moment a new request $q$ falls onto the boundary of an unmatched request $p$’s growing hemisphere. This "greedy" geometric approach ensures that matches are made as soon as the potential delay cost reaches a specific threshold relative to the spatial distance.
3.3 Bipartite Extension
The paper also extends this logic to the Minimum Bipartite Perfect Matching with Delays (MBPMD), where requests belong to distinct classes (e.g., drivers and passengers). The hemisphere growth remains the same, but matches are only permitted between requests of opposite classes.
4. Theoretical Results
The primary contribution of this work is the mathematical proof of a sub-linear competitive ratio. The authors demonstrate that ALG($\epsilon$) achieves a competitive ratio of:
$$O\left(\frac{1}{\epsilon} m^{\log(\frac{3+\epsilon}{2})}\right)$$
For a sufficiently small $\epsilon$, this ratio simplifies to approximately $O(m^{0.59})$. This represents a significant theoretical leap from the previous $O(m)$ bound. Furthermore, the authors provide adversarial constructions in the appendices to show that this analysis is tight; the competitive ratio for this class of deterministic algorithms must depend on the number of requests $m$.
5. Insights and Implications
- Geometry of Time: By treating delay as a spatial dimension, the authors demonstrate that classic geometric heuristics can be adapted for temporal online problems.
- Independence from Metric Knowledge: ALG($\epsilon$) is remarkably robust; it does not require prior knowledge of the metric space's diameter or structure. It only requires the ability to compute distances between requests as they arrive.
- Deterministic Progress: The jump to $O(m^{0.59})$ proves that randomness is not a prerequisite for sub-linear performance in matching problems with delays.
6. Conclusion and Future Work
While this paper successfully breaks the linear barrier for deterministic MPMD, a significant gap remains between the $O(m^{0.59})$ deterministic bound and the $O(\log m)$ randomized bound. The search for a polylog(m) deterministic algorithm remains an open and vital challenge in the field. Additionally, while the current results are sub-linear in the number of requests ($m$), achieving a deterministic bound that is sub-linear in the size of the metric space ($n$) is a promising area for future research.
Summary updated