Constructive Neural Policies for the Quadratic Assignment Problem via Multi-Expert Imitation
Abstract
The quadratic assignment problem (QAP) is a classical NP-hard problem with applications in facility layout and circuit placement, and it remains challenging for neural constructive methods. We introduce CIMP, a Constructive policy trained by Imitation from Multi-expert teachers and built around an explicit Pairwise pre-conditioning block. Trained on 400 synthetic instances with n ≤ 25, CIMP reaches an 11.02 ± 0.94% mean optimality gap across 5 training seeds on the 133 QAPLIB instances with published reference values, in a single constructive pass of 0.1 to 3.1 seconds without local search or per-instance refinement. This is a 64% reduction relative to the same-protocol incremental greedy baseline. On the 108 instances with 12 ≤ n ≤ 64 evaluated by SAWT (Tan and Mu, 2024), a learn-to-improve method that refines each solution iteratively after training on 5,120 instances, CIMP reaches 12.3% against 26.8%. Ablations show that the pre-block and the QAP-specific algorithmic signals matter far more for transfer than for in-distribution accuracy, and the best greedy rule built on the same signals without learning stays at 29.9%. Finally, we observe in this combinatorial setting the decoupling of in-distribution and out-of-distribution performance reported by Teney et al. (2023): enlarging the synthetic training set beyond 400 instances improves in-distribution accuracy but not transfer, the loss concentrates on the QAPLIB instances farthest from the generator, and in-distribution validation does not detect it.