Offline Decision Transformers for Neural Combinatorial Optimization: Surpassing Heuristics on the Traveling Salesman Problem

arXiv cs.LG / 3/27/2026

💬 OpinionIdeas & Deep AnalysisModels & Research

Key Points

  • The paper proposes an Offline RL approach that adapts Decision Transformer to Neural Combinatorial Optimization, targeting NP-hard problems like the Traveling Salesman Problem (TSP).
  • Instead of online RL, it learns strategies from datasets of heuristic solutions, with the goal of going beyond imitation to synthesize new policies that can outperform the heuristics.
  • The method incorporates a Pointer Network to manage instance-dependent, variable action spaces for node selection, and uses expectile regression to improve Return-to-Go conditioning across instances with very different optimal values.
  • Experiments report that the resulting tours are consistently higher quality than four classical TSP heuristics the model is trained against, suggesting offline RL can leverage and exceed existing domain knowledge.

Abstract

Combinatorial optimization problems like the Traveling Salesman Problem are critical in industry yet NP-hard. Neural Combinatorial Optimization has shown promise, but its reliance on online reinforcement learning (RL) hampers deployment and underutilizes decades of algorithmic knowledge. We address these limitations by applying the offline RL framework, Decision Transformer, to learn superior strategies directly from datasets of heuristic solutions; it aims to not only to imitate but to synthesize and outperform them. Concretely, we (i) integrate a Pointer Network to handle the instance-dependent, variable action space of node selection, and (ii) employ expectile regression for optimistic conditioning of Return-to-Go, which is crucial for instances with widely varying optimal values. Experiments show that our method consistently produces higher-quality tours than the four classical heuristics it is trained on, demonstrating the potential of offline RL to unlock and exceed the performance embedded in existing domain knowledge.