Neural Bipartite Matching
Dobrik Georgiev, Pietro Liò
TL;DR
This work investigates whether graph neural networks can neurally execute a complex graph algorithm by learning to compute a maximum bipartite matching via Ford-Fulkerson on a residual graph. It adopts an encode-process-decode framework to learn subroutines (augmenting-path discovery, bottleneck identification, and capacity augmentation) with stepwise supervision. The authors demonstrate near-perfect generalization across graph sizes and edge densities, showing that well-trained GNN processors can reproduce the sequential reasoning of Ford-Fulkerson and maintain algorithmic invariants. The results suggest a promising direction for learning complex algorithmic reasoning on graphs with potential applications in scheduling, matching, and network optimization.
Abstract
Graph neural networks (GNNs) have found application for learning in the space of algorithms. However, the algorithms chosen by existing research (sorting, Breadth-First search, shortest path finding, etc.) usually align perfectly with a standard GNN architecture. This report describes how neural execution is applied to a complex algorithm, such as finding maximum bipartite matching by reducing it to a flow problem and using Ford-Fulkerson to find the maximum flow. This is achieved via neural execution based only on features generated from a single GNN. The evaluation shows strongly generalising results with the network achieving optimal matching almost 100% of the time.
