LLMAP: LLM-Assisted Multi-Objective Route Planning with User Preferences

Liangqi Yuan, Dong-Jun Han, Christopher G. Brinton, Sabine Brunswicker · DOI

Abstract

Route planning in urban environments involves balancing multiple objectives, such as point-of-interest (POI) quality and travel distance, while adhering to strict temporal and logical constraints. Traditional Large Language Model (LLM) agents often struggle with the precise spatial and temporal reasoning required for these tasks. This paper introduces LLMAP, a hybrid framework that decouples natural language understanding from route optimization. By employing an LLM as a structured parser and a specialized graph-based algorithm (MSGS) as the solver, LLMAP achieves superior reliability, satisfying complex constraints with near-zero violations and significantly higher task completion rates than pure LLM approaches.

Introduction

Planning a city walk is a complex multi-objective optimization problem. Users typically seek high-quality experiences (e.g., top-rated museums) while minimizing travel distance and respecting hard constraints like opening hours, personal deadlines, and task dependencies (e.g., visiting a pharmacy before a hospital). Current solutions generally fall into two categories: LLM-as-Agent, which often fails at precise reasoning and suffers from context window limitations, and traditional graph-based search, which lacks the ability to interpret nuanced human preferences in natural language. LLMAP addresses this gap by decoupling understanding (LLM) from solving (Graph Algorithm).

The LLMAP Framework

The LLMAP architecture consists of two primary components: the LLM-as-Parser and the Multi-Step Graph construction with iterative Search (MSGS) algorithm.

Overview of the LLMAP framework, illustrating the decoupling of the LLM parser and the MSGS solver.

The LLM-as-Parser extracts structured requirements from user prompts, including POI types, time limits, and dependencies. Crucially, it also estimates numerical weights for user preferences, such as the relative importance of ratings versus distance. The MSGS algorithm then takes this structured data, fetches real-world POI information from services like Google Places, and constructs subgraphs representing valid task sequences. It employs an iterative search based on Dijkstra’s algorithm to find local optimal paths that satisfy all hard constraints, finally ranking them using a multi-objective scoring function.

Experimental Evaluation

The researchers evaluated LLMAP using the HIPP (Human Instructions with Preferences for route Planning) dataset, comprising 1,000 synthetic routing prompts. Real-world POI data was integrated via the Google Places API for 27 global cities. The framework was tested across a wide range of LLMs, from lightweight models like Phi-3 to state-of-the-art models like GPT-4o and OpenAI o1.

Results and Analysis

LLMAP demonstrated significant improvements over baseline LLM-as-Agent approaches across all metrics.

Performance comparison of LLMAP against various baselines and LLM models.

As shown in the results table, LLMAP consistently achieved task completion rates near 96%, whereas LLM agents often failed to reach 50% on complex tasks. Notably, LLMAP maintained zero or near-zero violations of time limits and opening hours, a feat that pure LLM agents struggled with. Furthermore, the decoupling approach provided a massive speed advantage; for instance, using LLaMA-3.2-3B, LLMAP was over 10 times faster than the agent-based alternative (1.78s vs. 18.89s).

A key insight from the study is the 'stepped' nature of LLM reasoning. When estimating preference weights, LLMs tend to bucket values into discrete categories rather than providing a continuous linear distribution. Additionally, while Chain-of-Thought (CoT) prompting helped smaller models, it occasionally led larger models to hallucinate dependencies based on word order rather than logic.

Conclusion and Future Work

LLMAP proves that a hybrid approach—combining the linguistic flexibility of LLMs with the mathematical rigor of graph algorithms—is highly effective for complex route planning. Future work will explore integrating real-time dynamic data (e.g., live traffic) and leveraging LLMs to parse the semantic content of user reviews to better capture specific 'vibes' or niche venue characteristics.

Summary updated

BibTeX
@misc{yuan2025llmap,
  author = {Liangqi Yuan and Dong-Jun Han and Christopher G. Brinton and Sabine Brunswicker},
  title = {{LLMAP: LLM-Assisted Multi-Objective Route Planning with User Preferences}},
  year = {2025},
  eprint = {2509.12273},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.12273},
}
Figure