DiffRPTraj: Diffusion-Based Realistic Pedestrian Trajectory Generation

Taehoon Kim, Kyoung‐Sook Kim, Haoyi Xiu, Xin Liu2025

Abstract

This study introduces DiffRPTraj, a novel framework for generating realistic pedestrian trajectories using diffusion models while incorporating essential spatiotemporal features. Unlike traditional generative models like GANs or VAEs, diffusion models in DiffRPTraj offer superior accuracy by addressing the challenges of capturing intricate environmental interactions and preserving data privacy. Key contributions of this work include integrating conditional information, such as occupancy grid maps and spatiotemporal density matrices, to enhance trajectory realism. The framework employs Traj-UNet, an adaptation of the UNet architecture, to model noise prediction effectively at each diffusion timestep, ensuring the generated trajectories align closely with real-world patterns. Additionally, novel modules such as the map image encoder and spatial density image encoder are introduced to handle diverse spatiotemporal characteristics. Extensive evaluations on a real-world indoor pedestrian dataset demonstrate DiffRPTraj’s superior performance over existing methods, with enhanced spatial and temporal density accuracy, trajectory realism, and adaptability to diverse spatiotemporal density distributions. Compared to the baseline model, we improved the similarity of spatiotemporal density distributions by up to 260% when evaluating with data having the same spatiotemporal density distribution and up to 2949% when evaluating with data having different spatiotemporal density distributions. These findings underscore DiffRPTraj’s potential applications in urban planning, public safety, and privacy-preserving mobility analysis.
BibTeX
@misc{kim2025diffrptraj,
  author = {Taehoon Kim and Kyoung‐Sook Kim and Haoyi Xiu and Xin Liu},
  title = {{DiffRPTraj: Diffusion-Based Realistic Pedestrian Trajectory Generation}},
  year = {2025},
  doi = {10.1109/igarss55030.2025.11242860},
}

Loading related content...

Figure