arXiv:2609.05057cs.DSSep 2026

Manuscript Offprint

arXiv:2609.05057

Online Matching in Convex Bipartite Graphs

Yilong Feng, Zhihao Gavin Tang, Kangning Wang, Xiaowei Wu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Online resource-allocation systems, like outpatient scheduling and spectrum allocation, often assign sequentially arriving requests to an ordered pool of scarce resources, where each request accepts a contiguous interval of feasible options. We study the resulting online matching problem on convex bipartite graphs under irrevocable decisions and adversarial arrivals. We first show that convexity alone does not improve the classic worst-case guarantee of 1−1/e1 - 1/e, achieved by RANKING. We then consider the uniform-length model, in which every online request has exactly dd consecutive offline neighbors. We propose FLIP, which uses one random bit to commit ex-ante to either earliest-feasible assignment or latest-feasible assignment. Although either natural deterministic policy can waste capacity and be asymptotically only 1/21/2-competitive, we show that their randomized mixture is 2/32/3-competitive. This guarantee is tight for FLIP and remains valid against a semi-adaptive adversary that observes the selected policy before choosing the arrival order. We also prove that no randomized online algorithm can achieve a competitive ratio strictly larger than 3/43/4 in the uniform-length model.

1 Introduction

Online bipartite matching is a fundamental model for allocating resources to sequentially arriving requests. It has been studied extensively since the seminal work of Karp, Vazirani, and Vazirani [KVV90]. A set of offline resources is known in advance, whereas online requests arrive one at a time and reveal their compatible resources only upon arrival. Each request must be matched immediately and irrevocably to an available compatible resource, or be left unmatched. The objective is to maximize the size of the final matching. The performance of an online algorithm is typically measured by its competitive ratio, defined as the worst-case ratio between its expected matching size and the size of a maximum matching. For general bipartite graphs, any greedy algorithm that matches a request whenever possible is 1/2-competitive, and no deterministic algorithm can guarantee a better ratio. The celebrated RANKING algorithm achieves the optimal randomized ratio of 1 - 1/e against the standard oblivious adversary [KVV90].

These worst-case guarantees make no structural assumptions about the compatibility graph. In many operations-research applications, however, the offline resources possess a natural order and the compatibility constraints have additional structure. The offline side represents a fixed stock of resources, and the system operator seeks to use this capacity efficiently by serving as many requests as possible. The online side represents demand revealed sequentially: each request seeks an acceptable resource, but its feasible choices are restricted by operational requirements or service preferences. Because decisions are irrevocable and future requests are unknown, each assignment carries an opportunity cost; choosing which compatible resource to allocate is therefore central to the overall service level and system throughput.

Consider, for example, a platform that allocates a fixed set of time slots over a planning horizon. Each requester is willing to accept any slot within its acceptable time window, while the platform seeks to accommodate as many requests as possible. This captures outpatient scheduling, where hospitals allocate remaining appointment capacity to patients with time preferences [FLTZ14]. The same pattern appears in airport slot allocation, where an airline requests a preferred takeoff or landing time but may accept another time within a displacement window [ZAM18, FZG20]. A similar setting arises in spectrum allocation. A licensed frequency band is divided into ordered channels, and assignments must account for channel availability and interference between nearby frequencies [AvHK⁺07]. Spectrum requests may also arrive online and require immediate, non-preemptive admission decisions [XWL10]. In a simple stylized model, each device has a preferred channel and can use that channel or a fixed number of nearby channels. If the same displacement limit applies to every device, all acceptable frequency ranges have the same length. In all these applications, the resources are ordered, and the resources acceptable to each request are consecutive in that order.

Compatibility graphs with this consecutive-neighborhood property belong to the class of convex bipartite graphs [Glo67]. A bipartite graph is convex on one side if the vertices on that side admit a linear order in which the neighborhood of every vertex on the opposite side is consecutive. We assume convexity on the offline side, and the offline order is known to the online algorithm in advance. We refer to the resulting online neighborhoods as interval neighborhoods.

This gives rise to the following natural question:

Can convexity on the offline side be exploited to beat 1 - 1/e for online bipartite matching?