105
7
v1v2v3 (latest)

Fast and Efficient Matching Algorithm with Deadline Instances

Abstract

The online weighted matching problem is a fundamental problem in machine learning due to its numerous applications. Despite many efforts in this area, existing algorithms are either too slow or don't take deadline\mathrm{deadline} (the longest time a node can be matched) into account. In this paper, we introduce a market model with deadline\mathrm{deadline} first. Next, we present our two optimized algorithms (\textsc{FastGreedy} and \textsc{FastPostponedGreedy}) and offer theoretical proof of the time complexity and correctness of our algorithms. In \textsc{FastGreedy} algorithm, we have already known if a node is a buyer or a seller. But in \textsc{FastPostponedGreedy} algorithm, the status of each node is unknown at first. Then, we generalize a sketching matrix to run the original and our algorithms on both real data sets and synthetic data sets. Let ϵ(0,0.1)\epsilon \in (0,0.1) denote the relative error of the real weight of each edge. The competitive ratio of original \textsc{Greedy} and \textsc{PostponedGreedy} is 12\frac{1}{2} and 14\frac{1}{4} respectively. Based on these two original algorithms, we proposed \textsc{FastGreedy} and \textsc{FastPostponedGreedy} algorithms and the competitive ratio of them is 1ϵ2\frac{1 - \epsilon}{2} and 1ϵ4\frac{1 - \epsilon}{4} respectively. At the same time, our algorithms run faster than the original two algorithms. Given nn nodes in Rd\mathbb{R} ^ d, we decrease the time complexity from O(nd)O(nd) to O~(ϵ2(n+d))\widetilde{O}(\epsilon^{-2} \cdot (n + d)), where for any function ff, we use O~(f)\widetilde{O}(f) to denote fpoly(logf)f \cdot \mathrm{poly}(\log f).

View on arXiv
@article{song2025_2305.08353,
  title={ Fast and Efficient Matching Algorithm with Deadline Instances },
  author={ Zhao Song and Weixin Wang and Chenbo Yin and Junze Yin },
  journal={arXiv preprint arXiv:2305.08353},
  year={ 2025 }
}
Comments on this paper