Compact language models have limited success filling travel gaps in location data
Can Compact Open-Weight Large Language Models Recover Mobility Events from Incomplete Trajectories? A Controlled Evaluation Using Air Trips
Artificial IntelligenceEmerging Technologies
Summary
When location data about trips is missing pieces, it can be hard to tell where a person started or ended their travel. The authors checked if small language AI models, running locally, can guess these missing parts using airplane trips as a test. They found the models often struggled, correctly identifying the exact flight part only about 9% of the time, and airport locations less than a third of the time. More detailed prompts helped a bit, but overall the models aren’t reliable enough to fix incomplete travel data by themselves.
What this means in practice
- •For urban mobility analysts: Use more explicit prompts with local LLMs to partially recover travel start and end locations from incomplete trajectory data for better urban planning insights.
- •For logistics data teams: Adopt the endpoint-removal evaluation framework to test recovery of missing transit events and decide when to trust or verify AI-inferred mobility data.
Tested on one dataset.
Authors
Hsuan-Chih Wang, Xianfeng Terry Yang
Abstract
Incomplete mobility trajectories can obscure the observations needed to identify important travel events and their endpoints. This study evaluates whether compact, locally deployed large language models (LLMs) can recover missing mobility information from incomplete trajectories, using high-confidence air trips as a controlled test case, and whether more explicit prompts can compensate for the loss of endpoint evidence. Using nationwide location-based services (LBS) data from the United States in January 2022 and airport reference data, thirty high-confidence air trips were converted into three incomplete-trajectory conditions by removing observations near the origin airport, the destination airport, or both. Four prompt variants and two LLMs generated 720 requests, each using a two-stage procedure to identify the flight transition segment and then select the origin and destination airports. Exact transition accuracy is 9.2%, while origin and destination accuracy are 31.4% and 10.7%, respectively. Only 1.9% of requests recover both the rule-identified transition and the reference airport pair. The most explicit prompt produced the highest observed exact transition and exact airport-pair recovery rates. The study introduces a controlled endpoint-removal framework for evaluating recovery of discrete mobility events from incomplete trajectories, allowing failures to be examined by inference stage and helping analysts decide whether recovered information should be retained, independently verified, or left unresolved.