[Paper Review] Deep Policies for Online Bipartite Matching: A Reinforcement Learning Approach
This paper proposes a reinforcement learning framework using deep neural networks to learn near-optimal online bipartite matching policies from historical graph data. By modeling the matching process as a Markov Decision Process and incorporating graph structure, node attributes, and matching history, the method achieves 3–10% higher matching quality than greedy baselines across synthetic and real-world datasets.
The challenge in the widely applicable online matching problem lies in making irrevocable assignments while there is uncertainty about future inputs. Most theoretically-grounded policies are myopic or greedy in nature. In real-world applications where the matching process is repeated on a regular basis, the underlying data distribution can be leveraged for better decision-making. We present an end-to-end Reinforcement Learning framework for deriving better matching policies based on trial-and-error on historical data. We devise a set of neural network architectures, design feature representations, and empirically evaluate them across two online matching problems: Edge-Weighted Online Bipartite Matching and Online Submodular Bipartite Matching. We show that most of the learning approaches perform consistently better than classical baseline algorithms on four synthetic and real-world datasets. On average, our proposed models improve the matching quality by 3--10\\% on a variety of synthetic and real-world datasets. Our code is publicly available at https://github.com/lyeskhalil/CORL.
Motivation & Objective
- To automate the design of online matching policies for complex variants of online bipartite matching without manual algorithm engineering.
- To leverage historical graph instances—beyond just arrival distributions—to learn context-aware, non-myopic matching decisions.
- To incorporate node attributes, graph sparsity, and matching history into a unified RL framework for improved decision-making.
- To demonstrate generalization across graph sizes and structural variations using invariant neural network architectures.
- To show that RL-based policies outperform both greedy and supervised baselines in edge-weighted and submodular matching settings.
Proposed method
- Formulate online bipartite matching as a Markov Decision Process (MDP) with state defined by current graph, partial matching, and node features.
- Design six deep learning architectures: feed-forward, GNN, and invariant variants, with and without history encoding.
- Engineer node-level features (e.g., degree, weights, attributes) and graph-level features (e.g., |U|/|V| ratio, sparsity, community structure).
- Train policies using policy gradient reinforcement learning on historical graph instances to maximize cumulative matching reward.
- Use graph neural networks to model dependencies between nodes and capture structural patterns in the bipartite graph.
- Apply invariance techniques to ensure model performance generalizes across different graph sizes and node identities.
Experimental results
Research questions
- RQ1Can reinforcement learning learn better online matching policies than classical greedy or distribution-estimation-based algorithms?
- RQ2How effective is incorporating graph structure, node attributes, and matching history into the policy network?
- RQ3Do invariant neural network architectures generalize better across different graph sizes and topologies?
- RQ4Can the RL framework handle complex variants like Online Submodular Bipartite Matching, where edge weights depend on prior matches?
- RQ5Does the use of historical data enable the agent to learn non-greedy, strategic matching behaviors?
Key findings
- The proposed RL-based policies improve matching quality by 3–10% on average across four synthetic and real-world datasets compared to greedy and baseline algorithms.
- Models that incorporate history (e.g., gnn-hist and inv-ff-hist) consistently outperform their history-less counterparts, especially in dense or structured graphs.
- Graph Neural Network models (e.g., gnn-hist) achieve the best performance on the OSBM problem, particularly when node attributes are available.
- Invariant models generalize better to larger graphs, while non-invariant models degrade in performance as graph size increases, despite fixed architecture size.
- The RL framework outperforms supervised fine-tuning (ff-supervised) on OSBM due to dynamic edge weights that change with the solution path.
- The method reduces reliance on handcrafted algorithms and enables automatic policy learning across diverse OBM variants, including submodular objectives.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.