Learning-Augmented Scalable Linear Assignment Problem Optimization via Neural Dual Warm-Starts

Ilay Yavlovich, Jad Agbaria, Muhamed Mhamed, Nir Weinberger, Jose Yallouz

Introduction

The Linear Assignment Problem (LAP)—the task of matching $N$ agents to $N$ tasks at a minimum cost—is a fundamental combinatorial optimization challenge. It serves as a cornerstone for operations research, powering applications ranging from multi-object tracking in autonomous vehicles to complex logistics routing. However, practitioners traditionally face a strict trade-off between speed and accuracy. Classical exact solvers, such as the Hungarian method or the Jonker-Volgenant (LAPJV) algorithm, guarantee optimal solutions but suffer from an $\mathcal{O}(N^3)$ computational bottleneck. Conversely, recent neural approximations are fast but frequently produce sub-optimal or "illegal" assignments. Furthermore, graph-based neural solvers hit a memory wall, typically crashing on instances larger than $N \approx 2,000$.

To resolve this dilemma, this paper introduces a hybrid, learning-augmented framework that leverages a lightweight neural network to "warm-start" classical exact solvers. By predicting dual variables rather than the final assignment, the proposed method achieves significant end-to-end speedups while maintaining strict optimality and scaling to massive problem sizes ($N = 16,384$).

Methodology: Neural Dual Warm-Starting

Rather than replacing the exact solver, the authors use deep learning to provide a highly accurate initial state, bypassing the solver's most computationally expensive early phases.

RowDualNet and the Memory Wall

Standard Graph Neural Networks (GNNs) evaluate the entire $N \times N$ cost matrix simultaneously, leading to an $\mathcal{O}(N^2)$ memory bottleneck. To overcome this, the authors designed RowDualNet, a lightweight architecture that processes each row independently using 21 hand-crafted features (e.g., minimum, mean, and entropy). To account for competition between rows, RowDualNet employs a "Sparse Refine Mechanism" that evaluates only the top-$k$ most competitive columns. This reduces memory complexity to $\mathcal{O}(N)$, enabling the model to handle matrices eight times larger than previous neural approaches.

The Min-Trick for Guaranteed Feasibility

A major mathematical contribution of this work is the "Min-Trick." RowDualNet predicts "row potentials" (dual variables). The Min-Trick then analytically derives the corresponding "column potentials" in a way that guarantees feasibility by construction. This completely eliminates the need for the expensive iterative projections that plagued prior research.

Seeded LAPJV and Fallback Mechanism

The predicted, feasible potentials are injected into an optimized C++ LAPJV solver. This "seeded" state bypasses the solver's initial "price war" phase, drastically reducing search effort. Furthermore, the framework includes a robust Fallback Mechanism. If the network's prediction yields a low-quality initialization—measured by the density of the resulting "equality subgraph"—the system automatically reverts to a standard cold start. This ensures the worst-case performance is never slower than the classical algorithm.

Datasets and Zero-Shot Generalization

The model was trained on a relatively compact dataset of 1,700 synthetic cost matrices (both dense and block-structured) up to $N=3,072$.

Crucially, the framework was evaluated on its zero-shot generalization capabilities without any fine-tuning on real-world data. The test sets included:

  • Urban Transportation Networks: Shortest-path distance matrices extracted from OpenStreetMap for seven major global cities (e.g., New York, Tokyo, Berlin).
  • Multi-Object Tracking (MOT): Real-world tracking datasets where costs represent the distance between object detections across consecutive video frames.

Key Results and Insights

  • Uncompromised Optimality: Because the neural network only provides an initial guess for an exact solver, the optimality gap remains strictly at 0% across all evaluations.
  • Significant Speedups: The framework achieved a 2x to 2.5x speedup on dense synthetic data and nearly 4x on structured synthetic data compared to state-of-the-art C++ baselines. In zero-shot real-world scenarios, it delivered a 1.25x speedup on MOT tasks and a 1.5x speedup on transportation networks.
  • Massive Scalability: The system successfully solved massive instances up to $N = 16,384$. At this scale, the neural overhead (including inference and CPU-GPU data transfer) accounted for less than 7% of the total runtime.
  • Solver Stabilization: Classical solvers are notoriously volatile; runtime can vary wildly depending on whether a cost matrix is "lucky" or "unlucky." The neural warm-start acts as a stabilizer, significantly reducing runtime variance, which is critical for safety-critical and real-time systems.

Limitations and Future Directions

While highly effective, the framework has limitations. The speedup margin narrows on highly sparse matrices, where classical heuristics are already highly optimized and leave less room for neural acceleration. Additionally, for very small problems ($N < 512$), the hardware overhead of transferring data between the CPU and GPU can outweigh the algorithmic speed gains.

Looking forward, the authors suggest extending this "dual warm-start" paradigm to other complex combinatorial optimization challenges, such as the Min-Cost Flow problem. In these domains, the search space is even larger, presenting an even greater potential for neural acceleration.

Summary updated

BibTeX
@inproceedings{yavlovich2026learning,
  author = {Ilay Yavlovich and Jad Agbaria and Muhamed Mhamed and Nir Weinberger and Jose Yallouz},
  title = {{Learning-Augmented Scalable Linear Assignment Problem Optimization via Neural Dual Warm-Starts}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=B3TmdSTo0X},
}
Figure