Leveraging Symbolic Regression for Heuristic Design in the Traveling Thief Problem
Andrew Ni, Lee Spector
TL;DR
This work tackles the Traveling Thief Problem (TTP), an NP-hard fusion of TSP and KP, by learning packing heuristics through Symbolic Regression (SR) to initialize fast, interpretable metaheuristic GAs. It characterizes near-optimal packing plans via a nonlinear boundary between packed and unpacked items in terms of standardized $IPR$ and distance-to-end $rDist$, derives multiple SR-derived feature sets, and uses SR to predict GA genotype parameters, enabling a family of effective packing initializations. Extensive experiments on a large TTP benchmark set show that SR-guided initializations, particularly the 6T variant, achieve higher objective values with competitive or lower objective-value evaluations compared to state-of-the-art baselines. The approach improves interpretability and speed of packing initialization while providing a path toward generalization across knapsack types and instance distributions, with potential to integrate multiple SR-derived heuristics in practical solvers.
Abstract
The Traveling Thief Problem is an NP-hard combination of the well known traveling salesman and knapsack packing problems. In this paper, we use symbolic regression to learn useful features of near-optimal packing plans, which we then use to design efficient metaheuristic genetic algorithms for the traveling thief algorithm. By using symbolic regression again to initialize the metaheuristic GA with near-optimal individuals, we are able to design a fast, interpretable, and effective packing initialization scheme. Comparisons against previous initialization schemes validates our algorithm design.
