Ask a language model to plan "my usual way to work" or "a quiet route that avoids highways," and recent evidence suggests it can produce a sensible road-level path. On real trajectories, GPT-4.1 comes close to the Google Maps directions service (Understanding the Geospatial Reasoning Capabilities of LLMs). The obvious failure, routes that use roads which do not connect, is easy to remove: let the model choose only among road segments that actually adjoin the current one. We expect a less visible failure to survive that fix. The route is legal, and the model says it honors the traveler's preference, but it has swapped the traveler's own idiosyncratic streets for the heavily used arterials that dominate its training text. Its explanation then describes a personalization that the route does not contain. We call this preference hallucination: a legal route paired with a false claim of personalization, driven by popularity bias.
This note proposes to measure that failure and to correct it at decoding time without retraining. The correction borrows the counterfactual subtraction used in popularity-debiased recommenders. At each step, the model scores the legal next segments twice, once with the traveler's profile and once with the profile blanked out. It then removes the part of the score that does not depend on who the traveler is. The strength of that removal is set per traveler from how much that person actually uses low-traffic roads. The effect is to push the model toward roads that the user's profile actually supports, rather than pushing every driver onto side streets.
Core Claim
Once topological legality is enforced by masking, the remaining route errors of a language-model route planner are not random. Where the generated route departs from the traveler's real or preference-optimal route, it disproportionately substitutes segments with higher population traffic. This holds after controlling for segment length and travel time. The model's natural-language justification over-reports compliance precisely on those substituted stretches.
A traveler-specific counterfactual correction removes much of this substitution. It works better than a global popularity penalty, which harms mainstream drivers. It is also cheaper than preference fine-tuning in the style of RosePO.
The new elements are three: the diagnosis that popularity is the cause of preference hallucination, a metric that separates it from ordinary routing error, and a per-traveler correction that operates entirely at decoding time.
Why This Gap Is Real
The routing literature has treated validity and personalization separately.
Two papers motivate the validity side. NeuroMLR shows that neural route models break on rarely traversed roads, reaching the destination as little as 6.7% of the time. It fixes this with distance-to-anchor road embeddings plus Dijkstra search, but it models no individual drivers. GDP learns human route choice with graph diffusion. It needs a beam search after generation to restore connectivity, and it learns from pooled ride-hailing traces.
Two papers motivate the popularity side. MMFP spreads traffic exposure across many nodes with linear programs, but it does so impersonally. TRIP personalizes routing by discounting roads a driver has used before, which entrenches that driver's habits.
The language-model routing study by Truong et al. (GLOBALTRACE) records a regional performance gap that follows training-data density. It does not study popularity within a single city, and it proposes no correction.
From recommendation, we reuse the causal diagnosis in MACR. That work treats an item's direct effect on its score as popularity bias and subtracts a counterfactual estimate of it. We also reuse the per-user calibration idea in CSBR, which warns that pushing tail items onto every user violates what users want. Both methods act on embedding-based recommenders over discrete items. We move the subtraction into step-by-step route decoding over a road graph, where the "items" are legal next segments.
From the hallucination literature, Agrawal et al. supply the view that fabrication is a decoding failure rather than missing knowledge. That view makes a decoding-time fix plausible.
Research Program
The planner. We build a graph-constrained route generator. The model receives the origin and destination, the current partial route, and a traveler profile. The profile contains a textual summary of the traveler's past trips (segment names and road classes) and, where available, stated preferences. At each step the model may only choose among segments adjacent to the current one, as in the path-selection stage of GLOBALTRACE. This guarantees legality and reduces the problem to choosing the next segment.
The correction. We score each legal candidate segment $e$ as
$$ s(e) = \log p(e \mid h, u, q) - \lambda_u \log p(e \mid h, \varnothing, q), $$
where $h$ is the route so far, $u$ is the traveler profile, $\varnothing$ is a blank profile, $q$ is the origin-destination query, and $\lambda_u \ge 0$ is a per-traveler strength. The second term estimates how much the model would favor $e$ for anyone. Subtracting it is the decoding-time analogue of removing MACR's direct item effect.
Setting the per-traveler strength. We set $\lambda_u$ by calibration. It is the value that makes the share of low-popularity segments in the traveler's generated routes match the share in that traveler's own held-out history, estimated on a small calibration split. This follows CSBR's matching of tail proportions to the user. A traveler who drives only arterials therefore gets $\lambda_u$ near zero.
Measuring segment popularity. We define a segment's popularity as its traversal count in the training trajectories of the same city. Where counts are unavailable, we fall back to road class from OpenStreetMap.
Measuring the failure. We need a measure that isolates preference hallucination, which we call the popularity substitution rate. Take every point where the generated route leaves the reference route, and the stretch that rejoins it. We ask whether the substituted stretch has higher mean popularity than the reference stretch. We then compare that frequency against a null distribution: random legal detours of matched length between the same two points. We also fit a regression of substitution on popularity, length, and free-flow travel time. This tests whether popularity, and not simple shortness, explains the effect.
Measuring false explanations. For explanation fidelity, we ask the model to justify each route. We extract checkable claims from the justification, such as "avoids highways," "uses your usual route," or "stays on residential streets." We then verify each claim mechanically against the route's road classes and the traveler's history. The false-compliance rate is the fraction of claims the route contradicts.
Baselines
Shortest path. The naive reference is a shortest-travel-time route from Dijkstra on the same graph, the same strategy as the static router in TRIP. On the Microsoft Multi-Person Location Survey (MSMLS) corpus, TRIP reports 30.0% route-prediction accuracy for its static router and 34.5% for its time-sensitive router. These numbers bound how much there is to gain from personalization.
TRIP. The strongest non-language-model competitor for implicit, history-based preference is TRIP (TRIP). It is A* search with a per-driver discount on previously used segments, scaled by the driver's measured willingness to accept extra travel time. It reports 46.6% route-prediction accuracy on MSMLS. We will reimplement it on the same map-matched trips and the same leave-one-out splits. We will tune its discount on the same calibration split used to set $\lambda_u$. Beating it means higher held-out route accuracy at equal or lower popularity substitution. Matching it while also handling stated preferences, which TRIP cannot express, counts as a partial win and will be reported as such.
Masked language model. The strongest language-model competitor is the same model under the same graph-constrained decoding but without the subtraction. This baseline isolates our key ingredient. For the zero-shot case, the GLOBALTRACE paper reports a Point-on-Trajectory F1 of 63.3% for GPT-4.1 and 65.0% for the Google Maps directions service. Our correction should not fall below the masked model on this score while it lowers substitution.
Global popularity penalty. This ablation uses one fixed $\lambda$ for all travelers, and a variant subtracts log segment frequency directly in place of the counterfactual term. It tests whether per-traveler calibration and the counterfactual estimate each matter.
Preference fine-tuning. For an open-weight model, we will run DPO in the style of RosePO (DPO is direct preference optimization, a method for fine-tuning a model on pairs of preferred and rejected outputs). The rejected routes will be popularity-substituted versions of the true route. This baseline gets the same training trajectories and a matched GPU budget, reported in GPU-hours.
MMFP. We will report MMFP as an exposure-spreading reference. It is evaluated on route accuracy and substitution. We do not expect it to personalize.
We found no reported result on Lacuna for any language-model route planner on MSMLS, or for popularity substitution or false-compliance rates on any dataset.
Why not just…?
Why not just use TRIP-style personalized A* and skip the language model? For drivers with dense history and purely habitual preferences, this is a real threat, and it may win. The experiments settle it by splitting results by how many trips each traveler has. TRIP's discount has nothing to work with for cold-start travelers, which its own authors note. It also cannot represent stated, qualitative wishes such as "quiet" or "scenic," which the language model handled in the Melbourne laneway case in GLOBALTRACE. If TRIP beats our method even on sparse-history travelers and on stated-preference queries, the claim fails.
Why not just mask illegal moves and stop there? Masking removes illegal routes, the failure GDP needed beam search to repair. It does nothing about which legal segment gets chosen. Our central measurement is exactly the substitution rate under masking. If that rate is indistinguishable from the matched-detour null distribution, the phenomenon does not exist, and the proposal reduces to a negative result. That result would still be worth publishing.
Why not just penalize popular roads globally, or reweight by inverse frequency? MACR documents that inverse-propensity weighting is unstable under heavy-tailed exposure. CSBR shows that uniform tail promotion overrides mainstream users' intent. MMFP raised node coverage by 81% at an 11% length cost, an impersonal trade. The global-penalty ablation will show whether per-traveler calibration matters. The test is whether accuracy for arterial-loyal drivers drops under a global penalty but not under ours.
Why not just fine-tune with preference pairs as RosePO does? This may match our method's accuracy. Its costs are retraining for every city and the loss of zero-shot transfer. It is also unavailable for closed models. We will report accuracy per GPU-hour. If DPO dominates at equal compute, we would recommend it, and our contribution would shrink to the diagnosis and the metric.
Proposed Experiments
Where we test. The primary personalized testbed is MSMLS, contingent on access to its driver identifiers. It has 102 drivers and 2,517 trips in Seattle. Held-out trips per driver serve as ground truth.
For stated preferences, we generate queries on GLOBALTRACE driving and cycling road graphs. Each query states a checkable preference, such as avoiding motorway-class roads or minimizing left turns. Its reference route is the exact optimum under that preference, computed by constrained search. Because the reference is exact, false-compliance is unambiguous.
The NeuroMLR city datasets (Chengdu, Beijing, Porto, Harbin) supply segment traversal counts. On them we test population-level substitution, and we test personalization wherever driver identifiers exist.
Decisive checks. We have four, in order.
First, under masking, the substitution rate must exceed the matched-detour null distribution. The popularity coefficient must stay significant with length and travel time controlled.
Second, false-compliance must be concentrated on substituted stretches, not spread uniformly across the route.
Third, the counterfactual correction must cut substitution and false-compliance relative to the masked baseline. It must do so without lowering route accuracy or Point-on-Trajectory F1.
Fourth, the per-traveler strength must beat the global strength on the most arterial-loyal quartile of drivers. Without that, CSBR's critique applies to us.
We will also report the regional split highlighted by GLOBALTRACE. Our prediction is that substitution rises in regions with sparser training data.
References
- Understanding the Geospatial Reasoning Capabilities of LLMs: A Trajectory Recovery Perspective
- RosePO: Aligning LLM-based Recommenders with Human Values
- NeuroMLR: Robust & Reliable Route Recommendation on Road Networks
- GRAPH-CONSTRAINED DIFFUSION FOR END-TO-END PATH PLANNING
- Beyond Shortest Paths: Node Fairness in Route Recommendation
- Trip Router with Individualized Preferences (TRIP): Incorporating Personalization into Route Planning
- Model-Agnostic Counterfactual Reasoning for Eliminating Popularity Bias in Recommender System
- Long-tail session-based recommendation from calibration
- Do Language Models Know When They're Hallucinating References?