Introduction
Reciprocal Recommender Systems (RRSs), such as those used in online dating and job recruitment, face a unique challenge known as the concentration problem. Unlike unilateral systems, RRSs must ensure mutual interest. If an algorithm recommends the same high-tier candidates to a vast number of users, those candidates become bottlenecks, and the overall success rate of the platform drops.
Stable matching theory, specifically the Transferable Utility (TU) model, provides a mathematical framework to balance supply and demand. However, the standard algorithm for this, the Iterative Proportional Fitting Procedure (IPFP), suffers from quadratic complexity ($O(N^2)$). This research introduces a scalable approach to implement TU matching for massive two-sided markets, reaching scales of up to one million users.
Methodology: Breaking the $O(N^2)$ Barrier
The authors propose two primary optimizations to make stable matching computationally tractable for large datasets:
- Parallel Batch IPFP: The TU matching problem is reframed as an entropy-regularized Optimal Transport problem. This allows the use of Sinkhorn’s Algorithm, which is highly optimized for GPU-accelerated matrix-vector multiplications.
- Mini-Batch IPFP: To solve the memory crisis associated with large preference matrices, the authors utilize Matrix Factorization. By representing users as low-dimensional factor vectors, the system avoids storing the full $N \times N$ matrix. Data is processed in mini-batches, updating scaling vectors incrementally to maintain linear memory complexity.
Experimental Results
The implementation, built using the high-performance numerical library JAX, was validated on both real-world dating data (Libimseti) and large-scale synthetic datasets designed to simulate market "crowding."
Scalability and Efficiency
The core contribution of this work is its efficiency. While traditional batch methods often fail due to Out-of-Memory (OOM) errors at 100,000 users, the Mini-Batch IPFP successfully processed one million users on a single NVIDIA RTX 3080 GPU.
As illustrated in the performance benchmarks, the mini-batch approach on GPU maintains a tractable execution time and linear memory growth as the sample size increases. This allows the system to handle datasets that were previously considered impossible for stable matching algorithms.
Match Quality
Beyond speed, the IPFP-based recommendation policy consistently yielded a higher expected number of total matches compared to naive, reciprocal, or cross-ratio baselines. The method proved particularly resilient in "crowded" markets where user preferences are highly concentrated on a small subset of the population.
Conclusion
By bridging game-theoretic matching with modern optimal transport and GPU optimization, this work enables the deployment of stable matching in global-scale platforms. Future research will explore early stopping criteria and end-to-end differentiable training to further refine the quality of user factor vectors based on matching success signals.
Summary updated