Online Matching in Geometric Random Graphs
研究了在线最大基数匹配问题,在用户和广告点均匀分布于[0,1]区间的几何随机图中,分析了贪心算法Closest的竞争比,并通过偏微分方程刻画其性能,发现实际表现远优于最坏情况保证。
We investigate online maximum cardinality matching, a central problem in ad allocation. In this problem, users are revealed sequentially, and each new user can be paired with any previously unmatched campaign that it is compatible with. Despite the limited theoretical guarantees, the greedy algorithm, which matches incoming users with any available campaign, exhibits outstanding performance in practice. Some theoretical support for this practical success has been established in specific classes of graphs, where the connections between different vertices lack strong correlations—an assumption not always valid in real-world situations. To bridge this gap, we focus on the following model; both users and campaigns are represented as points uniformly distributed in the interval [0, 1], and a user is eligible to be paired with a campaign if they are “similar enough,” meaning that the distance between their respective points is less than [Formula: see text], where [Formula: see text] is a model parameter. As a benchmark, we determine the size of the optimal offline matching in these bipartite one-dimensional random geometric graphs. We achieve this by introducing an algorithm that constructs a maximum matching and analyzing it. We then turn to the online setting and investigate the number of matches made by the online algorithm Closest, which pairs incoming points with their nearest available neighbors in a greedy manner. We demonstrate that the algorithm’s performance can be compared with its fluid limit, which is completely characterized as the solution of a specific partial differential equation (PDE). From this PDE solution, we can compute the competitive ratio of Closest, and our computations reveal that it remains significantly better than its worst-case guarantee. This model turns out to be closely related to the online minimum cost matching problem, and we can extend the results obtained here to refine certain findings in that area of research. Specifically, we determine the exact asymptotic cost of Closest in the small excess regime, providing a more accurate estimate than the previously known loose upper bound. Funding: M. Lerasle’s research is supported by Agency (ANR), “Investissements d’Avenir” [LabEx Ecodec/ANR-11-LABX-0047]. This research was supported in part by the French National Research Agency (ANR) in the framework of the PEPR IA FOUNDRY project [ANR-23-PEIA-0003] and through the Grant DOOM ANR23-CE23-0002. It was also funded by the European Union [ERC, Ocean, 101071601]. L. Ménard’s research is supported by the ANR grant ProGraM [ANR-19-CE40-0025].