# Synthesizing Human Trajectory Anomalies: An LLM-Driven Framework with Map-Constrained Routing and Sensor Noise Simulation

DevFeed: [Synthesizing Human Trajectory Anomalies: An LLM-Driven Framework with Map-Constrained Routing and Sensor Noise Simulation](<https://devfeed.tech/articles/synthesizing-human-trajectory-anomalies-an-llm-driven-framework-with-map-constrained-routing-and-sensor-noise-simulation-131930.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2606.10314>)

Author: Yueyang Liu, Joon-Seok Kim, Andreas Z\\"ufle

Published: 2026-11-13T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [data-engineering](<https://devfeed.tech/topics/data-engineering.md>)

Tags: [benchmark](<https://devfeed.tech/tags/benchmark.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [data](<https://devfeed.tech/tags/data.md>), [data-mining](<https://devfeed.tech/tags/data-mining.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [distribution](<https://devfeed.tech/tags/distribution.md>), [framework](<https://devfeed.tech/tags/framework.md>), [generative](<https://devfeed.tech/tags/generative.md>), [gps](<https://devfeed.tech/tags/gps.md>), [irregular](<https://devfeed.tech/tags/irregular.md>), [language-model](<https://devfeed.tech/tags/language-model.md>), [large-language-model](<https://devfeed.tech/tags/large-language-model.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-agents](<https://devfeed.tech/tags/llm-agents.md>), [map](<https://devfeed.tech/tags/map.md>), [noise](<https://devfeed.tech/tags/noise.md>), [routing](<https://devfeed.tech/tags/routing.md>), [sensor](<https://devfeed.tech/tags/sensor.md>), [simulation](<https://devfeed.tech/tags/simulation.md>), [with](<https://devfeed.tech/tags/with.md>)

## AI overview

The framework synthesizes human mobility trajectories with labeled behavioral anomalies to address the shortage of ground-truth data. It starts with simulated baseline routes under physical constraints, uses LLM agents to add behaviors such as unusual check-ins and skipped routine visits, then applies map-constrained routing to recalculate transitions between modified staypoints. A context-aware spatial noise model, parameterized by environmental and location-specific variables, simulates heterogeneous GPS degradation. The authors say the pipeline outputs a CTI & EBI formatted dataset intended as a benchmark for spatial data mining. The supplied text is an abstract and does not report evaluation results.

## Source excerpt

arXiv:2606.10314v3 Announce Type: replace Abstract: Although the study of human trajectory anomalies is vital for spatial data mining, empirical research remains constrained by the lack of ground-truth datasets. Despite the availability of several real-world and simulated human trajectory datasets, most only include normal mobility patterns and lack annotated anomalies. This limitation primarily arises because anomalous events are rare in the real world and difficult to collect. Furthermore, collecting large-scale mobility data is hindered by strict privacy regulations and acquisition costs. To overcome these limitations and establish an explainable human trajectory anomalies dataset with annotated ground truth, we introduce an end-to-end generative framework designed to synthesize context-aware trajectory anomalies at scale. Unlike existing models, our framework applies real-world physical constraints on baseline simulated trajectories. We employ Large Language Model (LLM) agents to systematically inject semantically meaningful behavioral anomalies such as irregular out-of-distribution check-ins and skipped routine visits. To ensure the spatial validity, the system leverages a map-constrained routing module to recalculate the physical transitions between these LLM agent-modified staypoints. Moreover, to narrow the simulation-to-reality gap, we augment the resulting trajectories with a context-aware spatial noise model, parameterized by environmental and location-specific variables, to emulate heterogeneous GPS sensor degradation. Through this pipeline, our framework produces a CTI & EBI formatted mobility dataset with annotated anomalies, providing a benchmark for downstream spatial data mining tasks.