Learning Solution-Aware Transformers for Efficiently Solving Quadratic Assignment Problem

Zhentao Tan, Yadong Mu
6/14/2024
cs.LGcs.AI

No official code found. Best implementation: PKUTAN/SAWT (17 stars, last commit 2024-07-01). 1 more below.

Abstract

Recently various optimization problems, such as Mixed Integer Linear Programming Problems (MILPs), have undergone comprehensive investigation, leveraging the capabilities of machine learning. This work focuses on learning-based solutions for efficiently solving the Quadratic Assignment Problem (QAPs), which stands as a formidable challenge in combinatorial optimization. While many instances of simpler problems admit fully polynomial-time approximate solution (FPTAS), QAP is shown to be strongly NP-hard. Even finding a FPTAS for QAP is difficult, in the sense that the existence of a FPTAS implies $P = NP$. Current research on QAPs suffer from limited scale and computational inefficiency. To attack the aforementioned issues, we here propose the first solution of its kind for QAP in the learn-to-improve category. This work encodes facility and location nodes separately, instead of forming computationally intensive association graphs prevalent in current approaches. This design choice enables scalability to larger problem sizes. Furthermore, a \textbf{S}olution \textbf{AW}are \textbf{T}ransformer (SAWT) architecture integrates the incumbent solution matrix with the attention score to effectively capture higher-order information of the QAPs. Our model's effectiveness is validated through extensive experiments on self-generated QAP instances of varying sizes and the QAPLIB benchmark.

View on arXivView PDF

Code Implementations(2)

PKUTAN/SAWTCommunity100%

Official python implementation for ICML 2024: "Learning Solution-Aware Transformers for Efficiently Solving Quadratic Assignment Problem"

170PythonMay 15, 20242 years ago
Tanpig-X/SAWTCommunity67%

Official python implementation for ICML 2024: "Learning Solution-Aware Transformers for Efficiently Solving Quadratic Assignment Problem"

10PythonSep 11, 20251 years ago

Similar Papers

Cite this paper

@article{tan2024learning,
  title  = {Learning Solution-Aware Transformers for Efficiently Solving Quadratic Assignment Problem},
  author = {Zhentao Tan and Yadong Mu},
  year   = {2024},
  eprint = {2406.09899},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.09899v2},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.09899.svg)](https://codeofpaper.com/paper/2406.09899)

Discussion