TLDR: ViTSP is a novel framework that uses pre-trained Vision Language Models (VLMs) to visually guide the solution of large-scale Traveling Salesman Problems (TSPs). It identifies promising small subproblems from a visualized TSP instance, which are then efficiently optimized by an off-the-shelf solver. This approach bypasses dedicated model training, achieves high optimality gaps (below 0.2%), and outperforms existing learning-based and heuristic methods on instances up to 88,000 nodes, demonstrating a powerful hybrid of generative AI and operations research.
The Traveling Salesman Problem (TSP) is a classic challenge in computer science and operations research, fundamental to many real-world applications like logistics, transportation, and even chip design. Despite its importance, finding efficient solutions for large-scale TSP instances has remained a significant hurdle. Traditional exact methods become computationally unfeasible as the problem size grows, while heuristic approaches often demand extensive, domain-specific parameter tuning. Learning-based methods, though promising for smaller, familiar problems, typically struggle with generalization and scalability when faced with new, larger instances.
A new framework called ViTSP, short for Vision-guided framework for solving large-scale TSP, offers a fresh perspective by combining the power of pre-trained vision-language models (VLMs) with established operations research (OR) solvers. Developed by Zhuoli Yin, Yi Ding, Reem Khir, and Hua Cai from Purdue University, ViTSP aims to overcome the limitations of previous approaches without requiring dedicated model training from the user.
The core idea behind ViTSP is to leverage VLMs to visually interpret a TSP instance, treating it much like a 2D image. This allows the VLM to identify ‘promising’ smaller subproblems within the larger, complex TSP. Once these subproblems are identified, they are then efficiently optimized using an off-the-shelf, high-performance solver, such as Concorde, to improve the overall global solution. This hybrid approach bypasses the need for extensive, task-specific training data and models, which is a common bottleneck for many learning-based methods.
How ViTSP Works
The ViTSP framework operates through three main modules, orchestrated asynchronously to maximize efficiency:
- Solution Initialization: ViTSP begins by generating an initial solution using a fast heuristic solver like LKH-3, using its default settings to avoid complex parameter tuning.
- Visual Selection of Subproblems: This is where the VLMs come into play. Given a visual representation of the current TSP solution (nodes and connections), the VLM is prompted to select rectangular ‘box regions’ that are likely candidates for improvement. The VLM uses both visual input and textual instructions, including a memory of past selections and pending subproblems, to make informed choices. For very large and dense instances, a ‘zoom-in reselection’ mechanism allows the VLM to focus on finer details within a chosen region.
- Subproblem Optimization: Instead of relying on a new, trained neural solver for these subproblems, ViTSP cleverly reformulates the identified subproblems into standard symmetric TSPs (STSPs). This transformation allows the framework to utilize highly robust and proven exact solvers, like Concorde, to find high-quality solutions for these smaller, manageable parts. The optimized sub-solutions are then integrated back into the global solution.
The asynchronous orchestration is crucial because VLMs are I/O-intensive (waiting for responses from servers), while exact solvers are CPU-intensive. By running these modules in parallel and coordinating them through shared components (global solution, selection trajectory, and subproblem queue), ViTSP minimizes idle time and maximizes computational throughput. The framework even employs multiple VLMs and solvers to further boost performance.
Also Read:
- Automating Algorithm Creation with LLMs: The EvoPH Framework
- Improving Robot Navigation with Contextual Textual Descriptions in LLMs
Performance and Impact
Experiments conducted on 33 real-world TSP instances from the TSPLIB library, ranging from 1,000 to 88,000 nodes, demonstrated ViTSP’s superior performance. It consistently achieved solutions with average optimality gaps below 0.2%. Notably, ViTSP outperformed LKH-3, a state-of-the-art heuristic solver, by reducing its optimality gaps by 12% to 100% on very large instances with over 10,000 nodes, often converging to superior solutions within the same runtime budget.
In 11 out of 33 instances, ViTSP even found the global optimum, and in 6 of those cases, it did so faster than Concorde, an exact solver known for its precision but also its computational cost. In contrast, many existing learning-based methods struggled with generalization to out-of-distribution instances and faced scalability issues, often encountering out-of-memory errors on larger problems.
Ablation studies confirmed that the VLMs in ViTSP perform meaningful, non-random selections, effectively leveraging instance-specific structures to guide the optimization process. This highlights the framework’s ability to adapt and generalize to unseen TSP instances of varying scales.
ViTSP represents a significant advancement in solving combinatorial optimization problems. By intelligently combining the generic reasoning capabilities of pre-trained generative AI models with the robust precision of traditional operations research solvers, it offers a powerful, scalable, and training-free solution for large-scale TSPs. This approach opens new avenues for hybridizing AI and OR techniques, with potential applications extending to a wide family of other routing and logistics problems. For more details, you can read the full paper here.


