ITINERA: Integrating Spatial Optimization with Large Language Models for Open-domain Urban Itinerary Planning
Yihong Tang, Zhaokai Wang, Ao Qu, Yihao Yan, Zhaofeng Wu, Dingyi Zhuang, Jushi Kai, Kebing Hou, Xiaotong Guo, Han Zheng, Tiange Luo, Jinhua Zhao, Zhan Zhao, Wei Ma
TL;DR
This work formalizes Open-domain Urban Itinerary Planning (OUIP) and introduces ITINERA, a system that fuses large language models with spatial optimization to produce personalized, spatially coherent city itineraries from natural language requests. It decomposes requests, retrieves preferred POIs from a user-owned database, clusters and orders POIs via a hierarchical TSP approach, and generates final itineraries with an LLM under explicit constraints. Key contributions include a formal OUIP problem definition, a five-module pipeline (UPC, RD, PPR, CSO, IG), new evaluation metrics, and extensive real-world experiments plus a deployed system demonstrating superior personalization and spatial coherence over baselines. The results indicate significant improvements in user alignment and travel efficiency, highlighting the practical potential of integrating LLMs with spatial optimization for urban planning tasks.
Abstract
Citywalk, a recently popular form of urban travel, requires genuine personalization and understanding of fine-grained requests compared to traditional itinerary planning. In this paper, we introduce the novel task of Open-domain Urban Itinerary Planning (OUIP), which generates personalized urban itineraries from user requests in natural language. We then present ITINERA, an OUIP system that integrates spatial optimization with large language models to provide customized urban itineraries based on user needs. This involves decomposing user requests, selecting candidate points of interest (POIs), ordering the POIs based on cluster-aware spatial optimization, and generating the itinerary. Experiments on real-world datasets and the performance of the deployed system demonstrate our system's capacity to deliver personalized and spatially coherent itineraries compared to current solutions. Source codes of ITINERA are available at https://github.com/YihongT/ITINERA.
