TL;DR
This paper introduces DAN, a novel decentralized neural network that uses attention mechanisms to solve the MinMax Multiple Traveling Salesman Problem (mTSP). DAN allows multiple agents to collaboratively plan efficient routes, outperforming existing methods in terms of both solution quality and planning time, especially for large-scale problems.
What Problem Does This Paper Address?
The Multiple Traveling Salesman Problem (mTSP) is a critical challenge in robotics and logistics, where multiple agents (e.g., delivery robots, drones) need to visit a set of locations and return to a depot. The goal is to minimize the maximum tour length among all agents (MinMax mTSP), ensuring no single agent is overloaded. This problem is NP-hard, meaning exact solutions become computationally infeasible as the number of cities and agents increases. Real-world applications often require frequent re-planning in dynamic environments, making the trade-off between solution quality and computation time crucial. Existing methods, including exact algorithms and meta-heuristics, struggle with scalability and speed for large mTSP instances. While deep reinforcement learning (dRL) has shown promise for single TSP, its application to mTSP, especially in a decentralized manner, remains an open challenge.
Methods
The authors propose DAN (Decentralized Attention-based Neural Network), a dRL-based approach that frames mTSP as a cooperative, sequential decision-making problem. Key aspects of DAN include:
- Decentralized Architecture: Each agent uses its own DAN network to make decisions, but these networks are trained with parameter sharing, allowing for scalability to different numbers of agents.
- Attention Mechanism: DAN leverages the Transformer architecture's self-attention mechanism to model dependencies between cities and agents. This allows agents to implicitly predict each other's future actions, crucial for effective collaboration.
- Hierarchical Encoders: DAN employs a city encoder, an agent encoder, and a city-agent encoder. The city-agent encoder is particularly novel, enabling agents to predict which cities might be assigned to other agents, thus improving the overall allocation and tour planning.
- Sequential Decision Making: Agents make decisions asynchronously as they reach new cities. This approach, combined with relative coordinate observations, helps prevent premature convergence and improves collaboration.
- Reinforcement Learning Training: The model is trained using the REINFORCE algorithm with a greedy rollout baseline to minimize the negative of the maximum tour length. This approach aims to reduce gradient variance and avoid explicit state-value estimation.
Datasets
The paper evaluates DAN on numerous sets of mTSP instances generated uniformly at random in the unit square [0, 1]². These instances vary in the number of cities (from 50 to 1000) and agents (from 5 to 20). They also report results on TSPlib instances, which use city distributions from real-world data. No new datasets were introduced.
Key Insights and Ideas
- Decentralized Collaboration is Key: The success of DAN hinges on its ability to enable agents to implicitly coordinate and predict each other's actions, moving beyond simple individual tour optimization.
- Attention for Inter-Agent Prediction: The introduction of agent and city-agent encoders, leveraging attention, is crucial for DAN's ability to improve agent-city allocation and overall team performance, a significant step beyond prior TSP/mTSP neural methods.
- Scalability vs. Solution Quality Trade-off: DAN effectively balances the need for fast planning times in dynamic environments with achieving high-quality solutions, outperforming traditional methods on larger instances where they falter.
- RL for mTSP is Viable: The paper demonstrates that a well-designed dRL framework can effectively tackle the complex mTSP problem, offering a promising alternative to traditional optimization techniques.
Key Results
- Large-Scale Performance: DAN significantly outperforms OR Tools (a highly optimized meta-heuristic) on larger-scale mTSP instances (more than 100 cities, more than 5 agents) in terms of both solution quality and planning time.
- Speed Advantage: For large instances, DAN's planning time increases linearly with the number of cities, whereas OR Tools' time increases exponentially. DAN can provide solutions in seconds/minutes, while OR Tools can take hours.
- Competitive on Smaller Scales: On smaller mTSP instances (fewer than 100 cities), DAN achieves performance comparable to OR Tools.
- Outperforms dRL Baselines: DAN also outperforms other recent dRL-based methods in solution quality for nearly all instances tested.
- Near-Optimal Solutions: For medium-scale mTSP instances, DAN can provide near-optimal solutions while keeping computing times significantly lower than non-learning baselines.
Limitations and Future Work
- Partial Observability: The current DAN model assumes a fully observable world. The authors acknowledge that partial observability is more common in decentralized MARL and suggest it as a direction for future work.
- Real-World Constraints: While DAN is designed for dynamic environments, future work could incorporate more complex real-life deployment constraints (e.g., agent capacity, time windows, city demands) directly into the learning framework.
- Generalizability: The authors believe DAN's architecture could be extended to other multi-agent allocation/distribution problems like multi-robot patrolling or collaborative manufacturing.
Summary updated