NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Large-Scale Regularized Matching on GPU Clusters

Aida Rahmattalabi, Gregory Dexter, Sanjana Garg, Qinquan Song, Shenyinying Tu, Yuan Gao, Zhipeng Wang, Rahul MazumderarXiv 2026

TL;DR

The authors introduce a distributed multi-GPU linear programming (LP) solver built natively in PyTorch, specifically optimized for massive matching problems like ad allocation. By co-designing the system architecture around the problem's unique block-diagonal structure, the solver achieves order-of-magnitude speedups over CPU baselines and scales to problem sizes that cause state-of-the-art GPU solvers to crash.

What Problem Does This Paper Address?

Large-scale matching and allocation problems underpin major production systems, from matching content to users to allocating advertisements. These systems solve massive linear programs (LPs) with millions of users (sources) and thousands of items (destinations) repeatedly on recurring cadences.

Existing solvers face three major bottlenecks in this regime:

  1. Scale: Production instances routinely exceed the memory capacity of single-device or general multi-GPU solvers like cuPDLP and D-PDLP.
  2. Temporal Instability: Small day-to-day data perturbations cause massive shifts in the optimal solution, creating downstream churn and violating service-level agreements (SLAs).
  3. Extensibility: Existing production frameworks (like DuaLip-Scala) run on CPU clusters, converge slowly, and use rigid schemas that make adding new constraint types incredibly engineering-heavy.

Methods

The authors address these gaps through a tight co-design of optimization algorithms and GPU systems engineering:

  • Column-Sharded Parallelism: The constraint matrix is partitioned across GPUs by source columns (users). Because user-level constraints decompose independently, each GPU computes local primal updates with zero cross-device dependencies. Communication is restricted to a single reduction of item-level dual variables to rank 0, meaning communication volume scales only with the number of items, not the number of users.
  • Custom Triton Kernels & Geometric Bucketing: To eliminate PyTorch's kernel launch overhead and avoid memory waste from zero-padding heterogeneous user profiles, the authors implemented a fused Triton kernel for simplex projections combined with a logarithmic bucketing scheme.
  • Tunable Ridge Regularization: They incorporate $\ell_2$ (ridge) regularization to bound run-to-run solution drift. They use an algorithmic continuation schedule that starts with a large regularization parameter $\gamma$ for fast, stable early convergence and gradually anneals it to preserve solution fidelity.
  • Operator-Centric Programming Model: They replace rigid schemas with three composable primitives (ObjectiveFunction, ProjectionMap, and Maximizer), allowing engineers to add new constraints locally without touching the core distributed infrastructure.
The operator-centric programming model decouples formulation specifics from the core distributed solver loop.

Datasets

Because no publicly available datasets exist at the scale and structure of production matching workloads, the authors evaluated their system using large-scale synthetic matching datasets calibrated to real-world industrial distributions. The problem sizes scaled from 25 million to 100 million sources (users) and 10,000 destinations (items), yielding LPs with up to 1 billion nonzeros.

Key Insights and Ideas

  • Exploiting Problem Structure for Minimal Communication: Standard multi-GPU LP solvers treat constraint matrices as unstructured, requiring heavy, synchronous two-way communication (AllReduce) across rows and columns. By recognizing that matching problems feature a block-diagonal structure across sources, this solver keeps communication completely independent of the user dimension.
  • Stability as a First-Class Citizen: Instead of treating regularization merely as a mathematical trick to smooth the optimization landscape, the authors leverage it as a direct knob for production stability, proving it bounds solution drift between consecutive runs.

Key Results

  • Massive Speedups: On a single GPU, the PyTorch implementation achieves a 9.1x wall-clock speedup over the Spark-based DuaLip-Scala baseline.
  • Near-Linear Scaling: The system scales exceptionally well across multiple GPUs, achieving a 3.86x speedup on 4 GPUs and up to 13.1x on 16 GPUs for large instances.
  • Breaking the Memory Ceiling: While the state-of-the-art D-PDLP solver ran out of memory (OOM) on the 100-million-source base instance and all $\ell_1$-reformulated instances, this system successfully solved the 100M-source problem (1 billion nonzeros) in under 3 minutes using 16 GPUs.
Average time per AGD iteration (seconds) across different source sizes and GPU counts compared to the Scala baseline.

Limitations and Future Work

The primary limitation acknowledged by the authors is the reliance on synthetic workloads due to the proprietary nature and lack of public availability of production-scale industrial matching datasets. Future work includes extending and evaluating this dual-ascent framework on broader, more generalized classes of linear programming benchmarks beyond bipartite matching.

Summary updated

BibTeX
@misc{rahmattalabi2026large,
  author = {Aida Rahmattalabi and Gregory Dexter and Sanjana Garg and Qinquan Song and Shenyinying Tu and Yuan Gao and Zhipeng Wang and Rahul Mazumder},
  title = {{Large-Scale Regularized Matching on GPU Clusters}},
  year = {2026},
  eprint = {2606.07777},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.07777},
}
Figure