cs.CVNov 22, 2026

Scenario Compliant Indoor Pedestrian Trajectory Reconstruction from Partial Observation

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

Organizations: Department of Computer and Systems Sciences (DSV), Stockholm University, Stockholm, Sweden. · The Hong Kong Polytechnic University, Hong Kong, China.

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/trajectory_reconstruction

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

Nov 2, 2026

TRAILS: Trajectory Generation for Automated Indoor Locomotion Studies

Virtual reality experiments involving navigation and simulated robot motion often require large, realistic environments and numerous distinct trajectories to avoid repetitive navigation while providing sufficient variation for controlled experiments. Designing such scenarios manually is labor-intensive, particularly when trajectories must satisfy predefined geometric and kinematic constraints while remaining diverse and comparable across experimental conditions. This paper presents TRAILS, an automated framework for generating complete virtual navigation scenarios consisting of an environment layout, a path, and a time-parameterized motion profile. The framework combines a constraint-based procedural environment generator inspired by Wave Function Collapse, trajectory generation using optimized cubic Bézier curves, and speed-profile generation subject to kinematic constraints. The generated scenarios provide diverse indoor environments with corridors, open spaces, and obstacles, together with trajectories of identical duration that vary in path geometry, wall proximity, and velocity profiles while minimizing systematic dependencies between these characteristics. The framework is designed as an easy-to-use tool requiring only a small number of intuitive user-defined parameters to automatically generate large sets of distinct navigation scenarios satisfying prescribed geometric and kinematic constraints. By relying on explicit, seed-controlled algorithmic procedures rather than data-driven models, the generated scenarios remain transparent, reproducible, and configurable, making the framework well suited for telepresence and human-subject experiments. The code is available at https://github.com/JucciK/Trails .
Apr 5, 2026

InsTraj: Instructing Diffusion Models with Travel Intentions to Generate Real-world Trajectories

The generation of realistic and controllable GPS trajectories is a fundamental task for applications in urban planning, mobility simulation, and privacy-preserving data sharing. However, existing methods face a two-fold challenge: they lack the deep semantic understanding to interpret complex user travel intent, and struggle to handle complex constraints while maintaining the realistic diversity inherent in human behavior. To resolve this, we introduce InsTraj, a novel framework that instructs diffusion models to generate high-fidelity trajectories directly from natural language descriptions. Specifically, InsTraj first utilizes a powerful large language model to decipher unstructured travel intentions formed in natural language, thereby creating rich semantic blueprints and bridging the representation gap between intentions and trajectories. Subsequently, we proposed a multimodal trajectory diffusion transformer that can integrate semantic guidance to generate high-fidelity and instruction-faithful trajectories that adhere to fine-grained user intent. Comprehensive experiments on real-world datasets demonstrate that InsTraj significantly outperforms state-of-the-art methods in generating trajectories that are realistic, diverse, and semantically faithful to the input instructions.
Nov 3, 2026

ReconDreamer#: Self-Evolving Closed-Loop Synergy of Reconstruction and Generation for Dynamic Driving Scenes

Dynamic driving scene reconstruction has made remarkable strides in recent years by leveraging generative priors, particularly in the quality of novel trajectory rendering. Nevertheless, a significant gap remains between the generated data and real-world sensor observations, severely hindering further improvements in reconstruction fidelity. In this paper, we present ReconDreamer#, a self-evolving framework that synergizes reconstruction and generation for dynamic driving scenes, which substantially bridges the gap between synthesized novel trajectory data and recorded real-world observations. Within this self-evolving closed-loop framework, the generative and reconstruction models mutually reinforce each other through iterative refinement, ultimately yielding a significant enhancement in the 3D representation capability of the reconstruction model. Additionally, we introduce a geometry-prior-based adaptive ground model to further enhance the rendering quality of the reconstruction model. To validate the effectiveness of the proposed method, we conduct comprehensive evaluations on Waymo, nuScenes, PandaSet, and EUVS benchmarks. Specifically on Waymo, at a 6-m lateral shift, ReconDreamer# improves NTA-IoU and NTL-IoU by 8.8% and 3.0%, respectively, and reduces FID by 15.1% relative to ReconDreamer++.