Abstract
Reciprocal Recommender Systems (RRSs), such as job platforms and dating apps, require mutual interest to facilitate successful matches. While Stable Matching with Transferable Utility (TU) provides a robust framework for optimizing these two-sided markets, its computational complexity—specifically the $O(N^2)$ memory requirement for preference matrices—has historically limited its application to small-scale datasets. This paper introduces Batch and Mini-Batch variants of the Iterative Proportional Fitting Procedure (IPFP). By reformulating stable matching as an entropy-regularized optimal transport problem and leveraging low-rank factorizations, the proposed methods achieve near-linear memory complexity. Experimental results demonstrate that these optimizations allow stable matching to scale to markets of one million users on a single GPU while maintaining superior match quality compared to traditional recommendation baselines.
1. Introduction
In traditional recommendation systems, such as those used by streaming services, the primary goal is to predict a single user's preference for an item. However, Reciprocal Recommender Systems (RRSs) operate in two-sided markets where a "match" only occurs if both parties express mutual interest. A significant challenge in these environments is the "concentration" effect: if a system recommends the most popular candidates to all employers, those candidates become overwhelmed, leading to a high rejection rate and system-wide inefficiency.
To address this, researchers have turned to Stable Matching with Transferable Utility (TU). This game-theoretic framework treats matching as an economic equilibrium where utility can be shifted to balance supply and demand. While theoretically sound, the standard algorithms for finding these matches, such as the Iterative Proportional Fitting Procedure (IPFP), are computationally expensive. Processing a market with 100,000 users would typically require a preference matrix with 10 billion entries, exceeding the memory capacity of modern hardware.
2. Scaling Stable Matching
The core contribution of this work is the development of two optimized versions of IPFP designed for high-performance computing environments.
2.1 Batch IPFP: Parallelization via GPUs
The authors first reformulate the iterative updates of the IPFP into matrix-vector multiplications. This transformation allows the algorithm to be offloaded to GPUs, which are optimized for parallel linear algebra operations. By parallelizing the social welfare optimization, the Batch IPFP significantly reduces the time required to reach a stable matching state compared to CPU-based implementations.
2.2 Mini-Batch IPFP: Memory Efficiency
To solve the $O(N^2)$ memory bottleneck, the authors introduce Mini-Batch IPFP. This method relies on the observation that most modern recommender systems represent users as low-rank factor vectors (embeddings). Instead of pre-calculating and storing the entire preference matrix, the Mini-Batch approach divides the user set into smaller groups and calculates preference scores on-the-fly. This reduces the memory requirement from quadratic to near-linear $O(N)$, making it feasible to process millions of users.
3. Theoretical Framework: Optimal Transport
The paper establishes a rigorous link between stable matching and entropy-regularized optimal transport. By viewing the matching problem through this lens, the authors are able to apply techniques similar to Sinkhorn’s Algorithm. This connection not only provides a solid mathematical foundation for the proposed optimizations but also aligns stable matching with the high-performance optimization tools currently used in the broader machine learning community.
4. Experimental Results
The proposed methods were evaluated using the Libimseti dating dataset and various synthetic datasets designed to test scalability and "crowding" scenarios.
4.1 Scalability and Efficiency
The Mini-Batch IPFP successfully processed a market of one million users on a single NVIDIA RTX 3080 GPU. This represents a significant leap over previous state-of-the-art methods, which typically failed to scale beyond 10,000 users. Furthermore, the computation time and memory usage were shown to scale linearly with the dimension of the factor vectors, confirming the method's suitability for production-scale environments.
4.2 Match Quality
On the Libimseti dataset, the TU-matching methods outperformed naive reciprocal and cross-ratio baselines in terms of the expected number of matches. The experiments also revealed that as markets become more "crowded"—where many users compete for the same high-value targets—the stable matching approach becomes increasingly effective at maintaining high total match counts compared to standard recommendation strategies.
5. Conclusion and Future Directions
This research demonstrates that stable matching is no longer confined to small-scale experimental settings. By leveraging GPU parallelization and low-rank approximations, the authors have provided a path toward implementing game-theoretic matching in large-scale, real-world RRSs.
Future work will focus on further reducing spatial complexity through Low-Rank Sinkhorn Factorization and exploring ways to backpropagate matching results into the initial embedding models. Such an end-to-end approach would allow the system to learn user representations specifically optimized for the stable matching process, potentially further increasing match efficiency and user satisfaction.
Summary updated