[Paper Review] Continuous Trajectory Generation Based on Two-Stage GAN
This paper proposes TS-TrajGen, a two-stage GAN framework that generates continuous, road network-aware trajectories by integrating A* algorithm heuristics with deep learning. It improves trajectory continuity and reduces error accumulation through a structural region-guided generation process, outperforming SOTA methods in similarity and data utility metrics on real-world datasets.
Simulating the human mobility and generating large-scale trajectories are of great use in many real-world applications, such as urban planning, epidemic spreading analysis, and geographic privacy protect. Although many previous works have studied the problem of trajectory generation, the continuity of the generated trajectories has been neglected, which makes these methods useless for practical urban simulation scenarios. To solve this problem, we propose a novel two-stage generative adversarial framework to generate the continuous trajectory on the road network, namely TS-TrajGen, which efficiently integrates prior domain knowledge of human mobility with model-free learning paradigm. Specifically, we build the generator under the human mobility hypothesis of the A* algorithm to learn the human mobility behavior. For the discriminator, we combine the sequential reward with the mobility yaw reward to enhance the effectiveness of the generator. Finally, we propose a novel two-stage generation process to overcome the weak point of the existing stochastic generation process. Extensive experiments on two real-world datasets and two case studies demonstrate that our framework yields significant improvements over the state-of-the-art methods.
Motivation & Objective
- Address the lack of continuity in generated trajectories, which limits their use in urban simulation and traffic modeling.
- Integrate domain-specific human mobility knowledge (e.g., A* algorithm heuristics) into a deep generative model to improve trajectory realism.
- Overcome error accumulation in stochastic trajectory generation by introducing a two-stage generation process.
- Enhance discriminator effectiveness by combining sequential and spatial (yaw) rewards to guide generator learning.
- Enable practical application of synthetic trajectories in real-world scenarios such as traffic control simulation.
Proposed method
- Design a generator based on the A* algorithm’s heuristic principle: using an attention network to model observed cost (from source to current node) and a GAT-based network to estimate expected cost (from current node to destination).
- Construct a discriminator that combines sequential reward (measuring time-series similarity) and mobility yaw reward (measuring spatial path similarity) to better evaluate trajectory realism.
- Implement a two-stage generation process: first generating regional trajectories over pre-defined structural regions on the road network, then refining them into continuous, node-adjacent trajectories.
- Use a GAN framework where the generator learns to produce trajectories that fool the discriminator, which is trained to distinguish real from generated trajectories based on both temporal and spatial fidelity.
- Train the model end-to-end using adversarial loss, with auxiliary supervision from the sequential and yaw rewards to guide the generator toward more realistic and continuous outputs.
- Apply road network constraints to ensure all generated trajectory segments are topologically adjacent, enforcing spatial continuity.
Experimental results
Research questions
- RQ1Can a GAN-based framework generate continuous trajectories on road networks that preserve spatial and temporal regularities of real human mobility?
- RQ2How does integrating A* algorithm heuristics into a deep generative model improve trajectory continuity and realism compared to pure model-free approaches?
- RQ3To what extent does the two-stage generation process reduce error accumulation in stochastic trajectory generation?
- RQ4How effective is the proposed discriminator with combined sequential and yaw rewards in guiding the generator toward high-quality trajectories?
- RQ5Can the framework simulate realistic urban traffic scenarios, such as road closures or traffic control, with high fidelity?
Key findings
- TS-TrajGen significantly outperforms five state-of-the-art baselines in macro-similarity and micro-similarity metrics on two real-world datasets.
- In the traffic control simulation case study, TS-TrajGen achieved a Hausdorff distance of 0.9790, outperforming A* search (2.7599) and NASR (2.0393), indicating superior spatial fidelity.
- The model achieved a DTW score of 16.3914 and EDR of 0.5451 in the simulation case, showing strong temporal and path similarity to real trajectories under traffic control.
- The two-stage generation process effectively mitigates error accumulation, producing more coherent and continuous trajectories than standard stochastic generation.
- The integration of A* heuristics into the generator enables the model to generate plausible, route-optimized trajectories that respect road network topology.
- The proposed discriminator with dual rewards (sequential and yaw) enhances the generator’s ability to produce trajectories that are both temporally consistent and spatially accurate.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.