# The Optimal Sampler for Diverse TSP Solutions: Characterization, Limits, and Learning

arXiv: https://arxiv.org/abs/2610.28994 · HTML: https://mlsanity.com/paper/2610.28994/

## Key facts

- No citing papers in the map yet (data through 26 Nov 2026).
- Builds on 18 of its 53 references that are in the map.
- Submitted 20 Oct 2026.

## Builds on (most cited first, 18 of 18)

- [Attention Is All You Need](https://mlsanity.com/paper/1706.03762/) (2017)
- [Pointer Networks](https://mlsanity.com/paper/1506.03134/) (2015)
- [Explaining Machine Learning Classifiers through Diverse Counterfactual Explanations](https://mlsanity.com/paper/1905.07697/) (2019)
- [Improving Adversarial Robustness via Promoting Ensemble Diversity](https://mlsanity.com/paper/1901.08846/) (2019)
- [Multi-Objective Counterfactual Explanations](https://mlsanity.com/paper/2004.11165/) (2020)
- [Quality and Diversity Optimization: A Unifying Modular Framework](https://mlsanity.com/paper/1708.09251/) (2017)
- [Multi-Decoder Attention Model with Embedding Glimpse for Solving Vehicle Routing Problems](https://mlsanity.com/paper/2012.10638/) (2020)
- [Learning Collaborative Policies to Solve NP-hard Routing Problems](https://mlsanity.com/paper/2110.13987/) (2021)
- [Combinatorial Optimization by Graph Pointer Networks and Hierarchical Reinforcement Learning](https://mlsanity.com/paper/1911.04936/) (2019)
- [A note on the triangle inequality for the Jaccard distance](https://mlsanity.com/paper/1612.02696/) (2016)
- [Systemizing Multiplicity: The Curious Case of Arbitrariness in Machine Learning](https://mlsanity.com/paper/2501.14959/) (2025)
- [Quality-Diversity Algorithms Can Provably Be Helpful for Optimization](https://mlsanity.com/paper/2401.10539/) (2024)
- [Feasible Recourse Plan via Diverse Interpolation](https://mlsanity.com/paper/2302.11213/) (2023)
- [Finding Diverse Trees, Paths, and More](https://mlsanity.com/paper/2009.03687/) (2020)
- [Frameworks to Design Approximation Algorithms for Finding Diverse Solutions in Combinatorial Problems](https://mlsanity.com/paper/2201.08940/) (2022)
- [Pareto Optimal Algorithmic Recourse in Multi-cost Function](https://mlsanity.com/paper/2502.07214/) (2025)
- [Parameterized Complexity of Directed Traveling Salesman Problem](https://mlsanity.com/paper/2506.22127/) (2025)
- [Patrol Security Game: Defending Against Adversary with Freedom in Attack Timing, Location, and Duration](https://mlsanity.com/paper/2410.15600/) (2024)

## Abstract (arXiv)

We address the Diverse Traveling Salesman Problem (D-TSP) that seeks a set of k distinct TSP tours. Each selected tour must not exceed a prescribed multiple of the optimal tour length, while the maximum pairwise Jaccard similarity within the selected set is minimized. This formulation is important for applications requiring both solution quality and fault tolerance, such as logistics planning, robotics, and strategic patrolling. We propose a novel hybrid framework that decomposes D-TSP into a sampling stage and a selection stage. The selection stage is a max-min dispersion problem, for which any approximation better than a factor of two is NP-hard; we therefore focus on the sampling stage. Our contributions are both theoretical and empirical. Theoretically, we give two end-to-end guarantees for the optimal sampling distribution, from two perspectives: including an optimal set in the sampled pool, or having at least k mutually distant tours in the pool. The second reduces the number of samples from exponential to linear in k, at the cost of weakening the benchmark from the best k tours to the best β k for some β > 1. For practical use, we prove that a pipeline that samples spanning trees and then converts to tours does not hurt the quality of the pool in principle. Empirically, both objectives are learnable, and our experiments not only validate the analysis but also outperform the baselines on both in-distribution and out-of-distribution instances, by a single trained model with no fine-tuning.
