Abstract
Online matching of reusable resources is a critical problem in modern sharing economy platforms like Airbnb and Upwork. While previous research has addressed scenarios with large inventories, the unit-inventory case—where each resource is unique—has long been limited by the 0.5 competitive ratio of the "Greedy" approach. This paper introduces the Periodic Reranking (PR) algorithm, which refreshes resource priorities on a fixed schedule tied to their usage duration. By untangling temporal dependencies, PR achieves a competitive ratio of 0.589, providing the first provable improvement over Greedy for this problem class.
Introduction
In the classic online bipartite matching framework, a resource is typically matched to a request and removed from the system permanently. However, many real-world applications involve resources that are returned to the available pool after a period of use. For instance, an apartment on a rental platform or a freelancer on a gig-work site becomes available again after a specific duration $d$.
The central challenge in these environments is uncertainty: an algorithm must decide whether to match an available resource to a current request without knowing the value or timing of future arrivals. In an adversarial setting, where demand can be worst-case, the "Greedy" algorithm—matching any available resource to a request—has historically been the best known strategy, yielding a competitive ratio of 0.5.
The Problem of Unit Inventory
While the "reusable" problem has been solved for "large inventories" (where many identical copies of a resource exist), the unit inventory case remains more complex. In this scenario, each resource is unique and can only be assigned to one task at a time. Prior to this work, no algorithm was known to outperform Greedy against adversarial arrivals in this context. The difficulty lies in the mathematical dependencies created over time; a decision made at time $t$ affects resource availability at $t+d$, creating a ripple effect that complicates traditional competitive analysis.
The Periodic Reranking (PR) Algorithm
This paper proposes Algorithm 1: Periodic Reranking (PR). To construct PR, the author builds upon two foundational concepts in online matching:
- Ranking: Assigning random priorities to resources at the start of the process.
- Perturbed Greedy: Using a mathematical trade-off function to balance a resource's specific value against its assigned random rank.
The core innovation of PR is the timing of the reranking. Instead of ranking resources once at the start or reranking them every time they become available, PR reranks resources every $d$ time units, where $d$ is the fixed "cool-down" or busy time.
Why Periodicity?
The choice of a fixed period $d$ is strategic. Reranking too frequently (e.g., every time a resource is freed) causes the algorithm to lose the structural benefits of the "Ranking" logic, eventually behaving like a simple "Random" match, which does not beat Greedy in the worst case. Conversely, reranking too infrequently fails to account for the dynamic nature of reusability. By reranking exactly every $d$ units, the algorithm "untangles" the dependencies between decisions. Since a resource matched at time $\tau$ is guaranteed to be available by $\tau+d$, the periodic refresh essentially resets the resource's state, allowing for a cleaner mathematical analysis in discrete blocks of time.
Theoretical Analysis and Results
The performance of the PR algorithm is established through a Primal-Dual fitting analysis. By constructing a dual mathematical certificate, the author proves that the algorithm's total reward is at least 58.9% of the optimal reward achievable by an omniscient offline scheduler who knows all future arrivals.
Key findings include:
- Competitive Ratio: PR achieves a ratio of 0.589, breaking the 0.5 barrier and moving toward the theoretical upper bound of $1-1/e \approx 0.632$.
- Optimal Parameters: Through numerical optimization, the study identifies the optimal trade-off function as $g(x) = e^{0.89(x-1)}$, where $\beta = 0.89$ is the critical parameter for balancing priority and value.
- Stochastic Extensions: The paper also introduces "Fluid Reranking," a variation designed for cases where the busy duration $d$ is not fixed but follows a probability distribution.
Limitations and Future Work
While the PR algorithm represents a breakthrough for deterministic durations, several avenues for future research remain:
- Closing the Gap: There remains a gap between 0.589 and the $1-1/e$ limit known for non-reusable resources.
- Heterogeneous Durations: The current proof assumes all resources share the same duration $d$. Extending this to cases where different resources have different durations is a necessary next step for practical application.
- Stochastic Proofs: While the Fluid Reranking algorithm is proposed for random usage durations, a formal proof of its competitive ratio remains an open challenge.
Conclusion
Periodic Reranking provides a novel and effective framework for managing reusable resources in online markets. By introducing a structured refresh of resource priorities, the algorithm overcomes the long-standing limitations of the Greedy approach, offering a more robust solution for the unique constraints of the sharing economy.
Summary updated