TL;DR
This paper introduces Open-domain Urban Itinerary Planning (OUIP), a new task focused on generating personalized, day-long urban travel plans from natural language requests. They propose ITINERA, a system that combines Large Language Models (LLMs) with spatial optimization techniques to create coherent and tailored itineraries, outperforming existing methods and even GPT-4 in user satisfaction.
What Problem Does This Paper Address?
Traditional itinerary planning often relies on coarse-grained user requirements and struggles with personalization and dynamic information. Citywalks, a popular urban travel style, demand highly personalized, fine-grained itineraries that account for individual preferences, rapidly changing events, and complex constraints. Existing LLM-based approaches, while good at understanding requests, often produce itineraries that are circuitous, lack detail, or even hallucinate points of interest (POIs) due to limitations in spatial reasoning and optimization. This paper aims to bridge this gap by creating a system that can generate truly personalized and spatially coherent urban itineraries from natural language.
Methods
ITINERA is a modular system designed to tackle the OUIP problem:
- User-owned POI Database Construction (UPC): This module allows users to input travel post links, from which LLMs extract POIs and their descriptions. This data, along with geographical coordinates and embeddings, is stored in a user-specific database, ensuring personalization and up-to-date information.
- Request Decomposition (RD): LLMs are used to break down complex user requests into smaller, manageable subrequests. These subrequests are categorized by granularity (POI-level vs. itinerary-level), specificity (specific vs. vague), and attitude (positive vs. negative).
- Preference-aware POI Retrieval (PPR): This module uses embedding-based retrieval to select POIs from the user-owned database that best match the decomposed subrequests. It leverages both positive and negative preferences to filter POIs, aiming to balance user desires with practical constraints.
- Cluster-aware Spatial Optimization (CSO): This is a key innovation. It first spatially clusters the retrieved POIs and then uses a hierarchical Traveling Salesman Problem (TSP) approach to determine an optimal, spatially coherent order for visiting these POIs. This ensures efficient travel between locations.
- Itinerary Generation (IG): Finally, an LLM is used to generate the actual itinerary narrative, selecting a subset of the ordered POIs and crafting a descriptive travel story that aligns with user requests and constraints.
Datasets
The authors collected a dataset from four Chinese cities (Shanghai, Qingdao, Beijing, Hangzhou) in collaboration with a travel agency. This dataset contains 1233 top-rated urban itineraries and 7578 POIs, including user natural language requests and corresponding ground truth itineraries.
Key Insights and Ideas
- The Power of Hybrid Systems: The paper strongly advocates for combining LLMs with traditional optimization techniques. LLMs excel at understanding nuanced natural language requests, while spatial optimization is crucial for creating practical, efficient, and coherent travel routes.
- Personalization is Key: The "user-owned POI database" is a critical component for tailoring itineraries. This allows for the inclusion of niche interests and up-to-date information that generic databases might miss.
- Spatial Coherence Matters: Simply listing POIs isn't enough. The CSO module's approach to clustering and solving hierarchical TSPs is vital for creating itineraries that are enjoyable to follow in the real world, minimizing unnecessary travel.
- LLM Evaluation is Necessary: Beyond traditional metrics, LLM-evaluated metrics (POI Quality, Itinerary Quality, Match) are crucial for assessing the subjective aspects of itinerary quality, like appeal and alignment with user intent.
Key Results
- Superior Performance: ITINERA significantly outperforms baselines (including traditional IP methods and LLMs like GPT-4 CoT) across both rule-based and LLM-evaluated metrics on real-world datasets.
- Spatial Efficiency: ITINERA generates itineraries that are only about 100 meters longer per POI than the shortest TSP-solved path, demonstrating excellent spatial optimization.
- User Preference: In a deployed system evaluation, ITINERA was preferred by both regular users and experienced travel assistants over GPT-4 CoT, particularly in terms of "Match" (alignment with user requests).
- Adaptability: The system shows adaptability to different LLMs, with GPT-3.5 performing better than the baseline when used within ITINERA.
Limitations and Future Work
- Efficiency in Complex Environments: The spatial optimization module might face efficiency challenges in highly complex urban environments.
- LLM Limitations: LLMs still have limitations in spatial reasoning and real-time decision-making, which can impact itinerary quality in specific scenarios.
- Future Work: The authors suggest exploring more complex considerations like stay duration and travel time between POIs for future research. They also highlight the potential for further innovation in leveraging LLMs for complex urban problem-solving.
Summary updated