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 user-aligned itineraries, outperforming existing methods.
What Problem Does This Paper Address?
Traditional itinerary planning often relies on coarse-grained user requirements and struggles with personalization and dynamic constraints. The rise of "citywalks" – a more immersive and personalized way to explore cities – demands itineraries that cater to fine-grained user preferences, consider real-time information, and offer a high degree of customization. Existing LLM-based approaches, while good at understanding requests, often hallucinate POIs or produce suboptimal, circuitous routes due to a lack of spatial reasoning and optimization capabilities. 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
The core of the proposed system, ITINERA, is a pipeline that integrates LLMs with spatial optimization. It comprises five key modules:
- User-owned POI Database Construction (UPC): This module automatically extracts POIs and their details from user-provided travel posts or web content, creating a personalized POI database. This helps mitigate the "cold start" problem and ensures up-to-date information.
- Request Decomposition (RD): An LLM is used to break down complex user requests into smaller, structured subrequests. These subrequests are categorized by granularity (POI-level, itinerary-level), specificity (specific, vague), and attitude (positive, negative).
- Preference-aware POI Retrieval (PPR): This module uses an embedding-based approach to retrieve POIs from the user-owned database that best match the decomposed subrequests, balancing positive and negative preferences.
- Cluster-aware Spatial Optimization (CSO): This is a crucial step where retrieved POIs are spatially clustered. A hierarchical Traveling Salesman Problem (TSP) approach is then used to determine an optimal, spatially coherent order for visiting POIs within and between clusters, minimizing travel time and effort.
- Itinerary Generation (IG): Finally, an LLM is employed to generate the final itinerary in a narrative, engaging format, ensuring it meets various constraints (like time, POI order) and user preferences.
Datasets
The authors collected a real-world dataset from four Chinese cities in collaboration with a travel agency. This dataset includes 1233 top-rated urban itineraries and 7578 POIs, each with user requests and corresponding ground truth itineraries.
Key Insights and Ideas
- The Power of Hybridization: The most significant insight is that combining LLMs' natural language understanding with traditional spatial optimization techniques is key to solving complex itinerary planning problems. LLMs alone struggle with spatial reasoning and factual accuracy, while optimization methods lack the flexibility to interpret nuanced user requests.
- Personalization is Paramount: The success of ITINERA hinges on its ability to create truly personalized itineraries. The user-owned POI database and preference-aware retrieval are critical for this, moving beyond generic recommendations.
- Spatial Coherence Matters: Simply listing POIs isn't enough. The CSO module's focus on clustering and solving TSP ensures that the generated itineraries are practical and efficient, minimizing unnecessary travel.
- LLMs as a "Smart Assistant": The paper demonstrates how LLMs can be effectively prompted to perform specific sub-tasks like request decomposition, POI retrieval, and final itinerary narration, acting as intelligent components within a larger system.
Key Results
- Superior Performance: ITINERA significantly outperforms baseline methods (including GPT-4 CoT) across various rule-based metrics (Recall Rate, Average Margin, Overlaps) and LLM-evaluated metrics (POI Quality, Itinerary Quality, Match).
- Spatial Efficiency: Itineraries generated by ITINERA are only about 100 meters longer per POI than the shortest TSP-solved path, indicating strong spatial optimization.
- High Match Rate: ITINERA achieves a high "Match" score in LLM evaluations, meaning its itineraries closely align with user requests.
- Human Preference: In a deployed system evaluation, both regular users and travel experts preferred ITINERA's generated itineraries, especially in terms of "Match."
- Adaptability: The system shows adaptability by performing well with different LLMs, including GPT-3.5 and LLaMA 3.1-8B.
Limitations and Future Work
- Complex Urban Environments: The spatial optimization module might face efficiency challenges in highly complex urban settings.
- 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 sophisticated methods for itinerary generation, potentially incorporating more complex considerations like stay duration and travel time between POIs. They also highlight the need for further research into leveraging LLMs for more advanced urban planning tasks.
Summary updated