Skip to content

Scenario Compliant Indoor Pedestrian Trajectory Reconstruction from Partial Observation

Qi Dang, Luis Quintero, Shibo Zhu, Oskar Juhlin, Xiaodan Shi

cs.CV

Abstract

Pedestrian trajectory reconstruction is vital for applications ranging from security surveillance to indoor navigation. While existing probabilistic and generative frameworks have shown success in outdoor GPS-based trajectory imputation, they often fail in indoor settings where movement is strictly governed by dense geometric constraints such as walls and corridors. Standard models typically treat trajectories as unconstrained coordinate sequences, leading to physically infeasible paths with high collision rates. To address this, we propose a map-conditioned generative framework based on conditional diffusion models. Our approach explicitly integrates dense scenario maps as structured spatial inputs via a CNN-based encoder, allowing environmental geometry to guide the iterative denoising process. Furthermore, we employ an endpoint-aware mechanism by embedding observations (start and end points) directly into the scenario map, providing critical spatial anchors through image-level features. Experiments on simulated indoor trajectories and the real-world Shopper trajectory dataset, with three training seeds, show that our method achieves the lowest errors among the compared generative methods. Scene conditioning reduces the collision and invalid rates by 19\% and 46\% on the simulated dataset, whereas on real shopper data the gains are consistent but small, mainly because the model rarely learns to route around obstacles between the endpoints. Compared with a shortest-path planner, which never collides, our method better captures the variability of real motion (31\% lower CRPS), but the timing of stops is reconstructed only partially. These results show that explicit environmental context improves physical consistency, while reconstructing realistic human motion in real indoor spaces remains challenging. Our code is available at https://github.com/dang-qi/trajectoryreconstruction

Create a lesson