Introduction
Travel planning is a complex optimization problem that requires balancing rigid constraints—such as flight schedules, hotel availability, and strict budgets—with nuanced personal preferences like cuisine types and atmospheric interests. Current solutions typically fall into two categories: Large Language Model (LLM) agents and numerical solvers. While LLMs excel at natural language understanding, they often struggle with combinatorial complexity and logical consistency, frequently "hallucinating" invalid itineraries. Conversely, numerical solvers are mathematically precise but "personality-blind," often failing to align with a user's specific tastes.
The Personal Travel Solver (PTS) bridges this gap by combining the linguistic reasoning of LLMs with the mathematical rigor of symbolic solvers. By extracting implicit user preferences from real-world Google Local reviews and enforcing hard constraints via a SCIP solver, PTS achieves a near-perfect constraint satisfaction rate (~97%), far surpassing standalone LLMs like GPT-4o, which often achieve less than 1% success on complex benchmarks.
System Architecture
The PTS framework utilizes a five-module architecture designed to handle the transition from natural language queries to optimized itineraries.
- Translator Module: Converts natural language queries into structured JSON formats.
- Search Module: Identifies candidate flights, hotels, and attractions from a comprehensive database.
- Preference Encode Module: Analyzes historical user reviews from Google Local to extract implicit "likes" and "dislikes," focusing on inherent qualities of Points of Interest (POIs).
- Re-rank Module: Employs a sequential recommender model (SASRec) and text embeddings to narrow search results to the top 50 candidates most likely to satisfy the user.
- Planning Module: Formulates the itinerary as a Constraint Satisfaction Problem (CSP). It uses the SCIP solver to maximize a "preference score" while strictly adhering to budget and timing constraints.
Data and Methodology
To evaluate the system, the authors introduced RealTravel, a dataset that augments the TravelPlanner benchmark with authentic metadata and reviews for 1,155 users sourced from Google Local. This dataset includes over 3.8 million flight entries and 15,000+ restaurants, providing a robust foundation for testing implicit preference modeling.
A key innovation in the planning phase is the weighted objective function: the system assigns higher weight to "avoiding dislikes" (20 points) than to "including likes" (10 points). This reflects the psychological reality that a single negative experience can significantly diminish the overall quality of a trip.
Key Results and Discussion
The PTS system was benchmarked against several LLM-only strategies (Direct, CoT, ReAct, Reflexion) using GPT-4o. The results demonstrate a stark contrast in performance:
- Constraint Satisfaction: PTS achieved a 96.6% Final Pass Rate on the test set, whereas the best LLM baseline (Direct) managed only 0.4%. LLMs primarily failed on hard constraints like budget limits and specific room requirements.
- Personalization: Using an "LLM as a Judge" paradigm, the study found that plans generated with the Preference Encode and Re-rank modules were significantly more aligned with user tastes.
As shown in the figures above, the inclusion of preference encoding and re-ranking consistently improves the preference rate across both validation and test splits. This confirms that the system successfully captures and applies implicit user data to the planning process.
Conclusion
The Personal Travel Solver demonstrates the power of "LLM-Solver" symbiosis. By delegating mathematical optimization to symbolic solvers and linguistic nuances to LLMs, the system bypasses the reasoning limitations of current neural networks. Future work will focus on addressing data sparsity for users with limited review histories and incorporating dynamic factors such as real-time weather or flight delays into the planning engine.
Summary updated