Skip to main content
QUICK REVIEW

[Paper Review] DAN: Decentralized Attention-based Neural Network for the MinMax Multiple Traveling Salesman Problem

Yuhong Cao, Zhanhong Sun|arXiv (Cornell University)|Sep 9, 2021
Reinforcement Learning in RoboticsComputer Science5 citations
TL;DR

This paper proposes DAN, a decentralized attention-based neural network using multi-agent reinforcement learning with parameter sharing to solve the MinMax multiple traveling salesman problem (mTSP). By enabling agents to implicitly coordinate through self- and cross-attention mechanisms, DAN achieves near-optimal solution quality in seconds—even outperforming state-of-the-art solvers like OR Tools on large-scale mTSP instances (100–1000 cities, 5–20 agents) with significantly lower planning times.

ABSTRACT

The multiple traveling salesman problem (mTSP) is a well-known NP-hard problem with numerous real-world applications. In particular, this work addresses MinMax mTSP, where the objective is to minimize the max tour length among all agents. Many robotic deployments require recomputing potentially large mTSP instances frequently, making the natural trade-off between computing time and solution quality of great importance. However, exact and heuristic algorithms become inefficient as the number of cities increases, due to their computational complexity. Encouraged by the recent developments in deep reinforcement learning (dRL), this work approaches the mTSP as a cooperative task and introduces DAN, a decentralized attention-based neural method that aims at tackling this key trade-off. In DAN, agents learn fully decentralized policies to collaboratively construct a tour, by predicting each other's future decisions. Our model relies on the Transformer architecture and is trained using multi-agent RL with parameter sharing, providing natural scalability to the numbers of agents and cities. Our experimental results on small- to large-scale mTSP instances ($50$ to $1000$ cities and $5$ to $20$ agents) show that DAN is able to match or outperform state-of-the-art solvers while keeping planning times low. In particular, given the same computation time budget, DAN outperforms all conventional and dRL-based baselines on larger-scale instances (more than 100 cities, more than 5 agents), and exhibits enhanced agent collaboration. A video explaining our approach and presenting our results is available at \url{https://youtu.be/xi3cLsDsLvs}.

Motivation & Objective

  • Address the challenge of solving large-scale MinMax mTSP instances quickly and efficiently in dynamic robotic environments.
  • Overcome the limitations of exact and heuristic solvers, which become impractical under tight time constraints as instance size grows.
  • Develop a scalable, decentralized deep reinforcement learning method that enables collaborative, real-time planning among multiple agents.
  • Improve solution quality and planning efficiency compared to existing deep reinforcement learning and meta-heuristic baselines for mTSP.

Proposed method

  • Formulate the MinMax mTSP as a sequential decision-making problem in a cooperative multi-agent reinforcement learning framework.
  • Design a Transformer-based neural architecture with separate encoders for cities and agents, enabling attention-based modeling of inter-agent and city-agent dependencies.
  • Introduce a city-agent encoder to model interactions between agents and cities, enhancing coordination and implicit prediction of future decisions.
  • Train the model using multi-agent reinforcement learning with parameter sharing, enabling scalability to arbitrary numbers of agents and cities.
  • Use greedy inference and sampling inference variants to balance solution quality and inference speed.
  • Leverage self-attention mechanisms to allow agents to reason about the global state and predict other agents’ future actions in a decentralized manner.

Experimental results

Research questions

  • RQ1Can a decentralized deep reinforcement learning approach achieve better solution quality and lower planning time than conventional solvers on large-scale MinMax mTSP instances?
  • RQ2How does attention-based modeling of inter-agent and city-agent dependencies improve collaboration among agents in mTSP?
  • RQ3To what extent does parameter sharing in multi-agent training enhance scalability and performance across varying numbers of agents and cities?
  • RQ4Does the proposed attention mechanism outperform generic encoder-decoder structures in mTSP planning under time constraints?

Key findings

  • On mTSP instances with more than 100 cities and 5+ agents, DAN outperforms OR Tools by 10% in solution quality under the same time budget.
  • For instances with 500 or more cities, OR Tools becomes impractical within 1800 seconds, while DAN’s greedy variant produces high-quality solutions in under 100 seconds.
  • DAN’s planning time increases linearly with the number of cities, unlike OR Tools, which exhibits exponential growth in computation time.
  • DAN achieves solution quality within 4% of LKH3 (an exact solver) on 10-agent mTSP instances, despite being significantly faster.
  • The addition of agent and city-agent encoders in DAN leads to substantially better performance than models using only a generic city encoder-decoder structure.
  • DAN outperforms two recent dRL-based methods in solution quality across nearly all mTSP instances, particularly excelling in large-scale settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.