ScaleTraj: Scale-Decomposed Human Trajectory Generation
Organizations: Santa Clara University, Santa Clara, CA, USA · Concordia University, Montreal, Canada
Abstract
Individual-level trajectories are essential for applications that rely on user-level mobility behavior. Existing mobility-generation approaches face a fundamental tension between individual-level and population-level statistical fidelity: top-down models reproduce aggregate mobility statistics but struggle to guarantee realistic individual trajectories, while bottom-up generators synthesize individual trajectories yet often fail to preserve key population-level mobility regularities after aggregation. In particular, many bottom-up generated populations fail to reproduce the displacement distribution, whose heavy tail is well summarized by a truncated power law. We formalize this phenomenon as the Population-Level Displacement Gap. To investigate its prevalence, we conduct a systematic evaluation of representative model-driven and data-driven trajectory generators. Our results provide evidence that the Population-Level Displacement Gap is prevalent across diverse generation paradigms. To diagnose this gap, we introduce the Scale Fidelity Profile (SFP), a scale-decomposed metric that quantifies discrepancies in trip allocations across spatial scales. SFP indicates that population-level displacement mismatches co-occur with systematic errors in how trips are allocated across spatial scales. Motivated by this observation, we develop ScaleTraj, an autoregressive Transformer that decomposes location prediction into a Scale Selection Head that decides the movement scale and a Scale-Aware Cell Selection Head that predicts the destination conditioned on the selected scale. Experiments on two datasets show that ScaleTraj reduces the Population-Level Displacement Gap versus model-driven and data-driven baselines, while preserving fidelity. Our code is available at https://github.com/SCU-TrustworthyAI/ScaleTraj.
Figures & tables
| Dataset | Split | Users | Days | (km) | |
|---|---|---|---|---|---|
| GeoLife | Train | 121 | 4,457 | 1.707 | 524 |
| Test | 121 | 1,171 | 1.730 | 356 | |
| Tencent Beijing | Train | 500 | 28,957 | 1.674 | 213 |
| Test | 500 | 7,507 | 1.686 | 129 |
| GeoLife | Tencent Beijing | |||
|---|---|---|---|---|
| Method | ||||
| SemiMarkov | .433 | 7,937 | .304 | 6,629 |
| TimeGeo | .077 | 4,703 | .052 | 3,960 |
| LSTM | .373 | 7,898 | .260 | 5,922 |
| TrajSynVAE | .382 | 6,566 | .296 | 5,967 |
| MoveSim | .343 | 10,046 | .337 | 5,752 |
| Tencent Beijing | GeoLife | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Method | SD | RG | SI | STAY | DTD | DUL | Visit | IRank | SFP | SD | RG | SI | STAY | DTD | DUL | Visit | IRank | SFP | ||||
| SemiMarkov | .089 | .199 | .282 | .101 | .405 | .487 | .319 | .440 | .067 | .304 | 6,629 | .234 | .351 | .294 | .142 | .575 | .572 | .387 | .586 | .182 | .433 | 7,937 |
| TimeGeo | .056 | .143 | .032 | .110 | .127 | .037 | .269 | .039 | .040 | .052 | 3,960 | .158 | .219 | .111 | .174 | .207 | .284 | .435 | .136 | .057 | .077 | 4,703 |
| LSTM | .081 | .197 | .182 | .106 | .467 | .548 | .318 | .502 | .057 | .260 | 5,922 | .174 | .202 | .014 | .030 | .327 | .227 | .118 | .264 | .121 | .373 | 7,898 |
| TrajSynVAE | .106 | .169 | .088 | .021 | .284 | .256 | .112 | .234 | .080 | .296 | 5,967 | .204 | .251 | .020 | .038 | .345 | .160 | .070 | .207 | .155 | .382 | 6,566 |
| MoveSim | .231 | .262 | .178 | .091 | .318 | .210 | .158 | .258 | .186 | .337 | 5,752 | .197 | .129 | .122 | .123 | .140 | .057 | .143 | .061 | .117 | .343 | 10,046 |
| Tencent Beijing | GeoLife | |||||
|---|---|---|---|---|---|---|
| Variant | SFP | SFP | ||||
| , shared MLP | .038 | 74 | .169 | .043 | 343 | .869 |
| , shared MLP | .009 | 58 | .050 | .002 | 19,644 | .121 |
| ScaleTraj | .003 | 24 | .021 | .003 | 131 | .026 |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Band | (km) | weight | tokens | |
|---|---|---|---|---|---|
| GeoLife | neighborhood | 0.37 | 0.41 | 0.247 | 45.6% |
| city | 1.26 | 0.55 | 0.368 | 24.3% | |
| urban | 8.23 | 0.70 | 0.360 | 26.3% | |
| region | 165.27 | 0.70 | 0.025 | 3.8% | |
| Tencent Beijing | neighborhood | 0.51 | 0.19 | 0.362 | 53.3% |
| city | 1.46 | 0.59 | 0.261 | 20.5% |
| Tencent Beijing | GeoLife | |||||
|---|---|---|---|---|---|---|
| SFP | SFP | |||||
| 4 (default) | .003 | .021 | 24 | .003 | .026 | 131 |
| 5 | .007 | .078 | 146 | .002 | .033 | 237 |
| 6 | .004 | .059 | 407 | .004 | .058 | 102 |
Trajectory Generation
Trajectory generation creates plausible, goal-directed paths and motion sequences for people, vehicles, and robots.
See all 188 papers