Skip to main content
QUICK REVIEW

[Paper Review] Multi-Decoder Attention Model with Embedding Glimpse for Solving Vehicle Routing Problems

Liang Xin, Wen Song|arXiv (Cornell University)|Dec 19, 2020
Vehicle Routing Optimization MethodsEngineering11 citations
TL;DR

This paper proposes a Multi-Decoder Attention Model (MDAM) with an Embedding Glimpse layer to improve deep reinforcement learning for vehicle routing problems. By training multiple diverse policies via unshared decoders and using a customized beam search to exploit their distinct patterns, along with a recursive embedding mechanism that removes visited nodes to improve attention quality, MDAM achieves state-of-the-art performance across six routing problems, significantly outperforming prior deep learning methods and approaching traditional solvers in solution quality with faster inference.

ABSTRACT

We present a novel deep reinforcement learning method to learn construction heuristics for vehicle routing problems. In specific, we propose a Multi-Decoder Attention Model (MDAM) to train multiple diverse policies, which effectively increases the chance of finding good solutions compared with existing methods that train only one policy. A customized beam search strategy is designed to fully exploit the diversity of MDAM. In addition, we propose an Embedding Glimpse layer in MDAM based on the recursive nature of construction, which can improve the quality of each policy by providing more informative embeddings. Extensive experiments on six different routing problems show that our method significantly outperforms the state-of-the-art deep learning based models.

Motivation & Objective

  • To address the limited solution diversity in existing deep reinforcement learning models for routing problems, which rely on a single policy and thus generate redundant solution trajectories.
  • To improve the quality of individual construction policies by reducing noise from irrelevant node information during attention computation.
  • To design a beam search strategy that fully leverages the distinct solution patterns learned by multiple decoders, enhancing overall solution quality.
  • To develop a recursive embedding mechanism—Embedding Glimpse—that dynamically removes visited nodes from attention computation to provide more informative embeddings for future decisions.
  • To demonstrate that the combination of multi-decoder diversity and dynamic embedding refinement leads to superior performance on a broad range of routing problems.

Proposed method

  • The model uses a Transformer-based encoder to generate node embeddings from the full graph, followed by multiple unshared attention decoders to learn distinct construction policies.
  • Each decoder is trained with a Kullback-Leibler divergence loss to encourage dissimilar node selection probability distributions, promoting policy diversity.
  • A customized beam search maintains separate beams for each decoder, enabling full exploitation of their distinct solution patterns during inference.
  • The Embedding Glimpse layer recursively removes visited nodes from the top attention layer of the encoder, ensuring decoders receive only relevant node embeddings at each step.
  • The architecture is trained end-to-end via reinforcement learning using the REINFORCE algorithm, with policy gradients optimized based on solution quality.
  • The model is evaluated on six routing problems: TSP, CVRP, and SPCTSP, with ablation studies isolating the contributions of the multi-decoder and Embedding Glimpse components.

Experimental results

Research questions

  • RQ1Can training multiple diverse construction policies via unshared decoders significantly improve solution quality in vehicle routing problems?
  • RQ2Does dynamically removing visited nodes from attention computation through the Embedding Glimpse layer enhance the quality of individual policies?
  • RQ3Can a customized beam search strategy that maintains separate beams per decoder effectively exploit the diversity of multiple policies to find better solutions?
  • RQ4How does the combination of policy diversity and improved embeddings compare to existing deep learning baselines on diverse routing problem instances?
  • RQ5Does the MDAM model generalize well to larger problem sizes and more complex variants like the orienteering problem with stochastic prizes?

Key findings

  • MDAM significantly outperforms state-of-the-art deep learning-based models on six different routing problems, including TSP, CVRP, and SPCTSP, across all instance sets.
  • The multi-decoder structure (MD) consistently improves solution quality, with a notable performance boost even under greedy decoding, and further gains when combined with beam search.
  • The Embedding Glimpse layer improves policy quality with minimal computational overhead, demonstrating that removing irrelevant node information enhances attention effectiveness.
  • In beam search (B=50), multiple decoders frequently find the best solution, and no single decoder dominates, confirming that all decoders contribute meaningfully to the solution space.
  • MDAM achieves solution quality comparable to highly optimized traditional solvers like Concorde and OR-Tools, but with significantly faster inference times than exact or iterative improvement methods.
  • The model generalizes well to larger instances (e.g., CVRP with 150 and 200 nodes), outperforming stronger variants of existing models such as AM with temperature-tuned sampling.

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.