cs.AINov 21, 2026

Walks2Maps: Learning Indoor Geometry from Crowdsourced Wi-Fi RTT and Motion Trajectories

Authors: Enguang Fan, Binh Minh Tran, Fulin Wang, Jiaxi Li, Klara Nahrstedt

Organizations: University of Illinois Urbana-Champaign

Abstract

Everyday smartphone walks offer a scalable source of indoor geometry, but their motion traces drift and their radio measurements are distorted by multipath. We present Walks2Maps, a physics-guided framework that reconstructs a shared metric map from Wi-Fi round-trip-time (RTT) and motion observations, without a floor plan, surveyed access-point (AP) coordinates, or position labels. Walks2Maps jointly estimates pedestrian trajectories, AP locations, and per-trajectory stride scales, then recovers the pathway layout from the reconstructed paths. Shared AP observations connect walks recorded in different local frames, while metric ranges constrain their relative geometry and scale. An asymmetric range loss accommodates multipath-induced excess delay. On 22 phone trajectories collected along 11 routes on an office floor with 30 APs, Walks2Maps achieves median AP and trajectory errors of 0.87 m and 0.89 m, respectively, and a walked-area F1 score of 0.985. Ablations show that radio similarity can recognize places while still producing a distorted map; retaining the metric information in RTT resolves this ambiguity. Asymmetric modeling further reduces AP error by 54% relative to a symmetric loss. These results demonstrate how radio and motion measurements can jointly reveal indoor geometry without a dedicated mapping survey. We will release the dataset and toolkit.

Figures & tables

Explore similar work

Sep 26, 2026

Interpretable Physics Informed WiFi Indoor Localization: Learning an Effective Access Point Geometry and Using It to Prune

Deep learning models can achieve high accuracy for indoor localization, but their black-box nature limits interpretability and the reuse of learned information. We propose a hierarchical deep learning framework for WiFi fingerprint-based indoor localization that jointly predicts user location and learns an effective geometry of the surrounding access points (APs). Physics-informed decoders infer this geometry directly from RSSI measurements and labelled user positions, without requiring the true AP coordinates during training. The learned geometry is then used to rank and prune APs. On the UJIIndoorLoc dataset, the proposed chained model achieves a mean 3D localization error of 7.07 m, reducing error by 26% to 36% compared with baseline models. Previously published methods evaluated on the same official split report errors 10.6% to 31.0% higher. Pruning 35% or 50% of the APs causes only a small loss in localization accuracy. The inferred geometry also enables Fisher-information-based AP ranking even when fingerprint databases do not contain surveyed AP coordinates. Experiments on the Tampere/TUT and UTSIndoorLoc datasets show that geometry-guided AP selection performs comparably to selectors built directly from labelled data. These results show that physics-informed interpretability can improve indoor localization while also supporting effective feature selection.
Nov 22, 2026

Scenario Compliant Indoor Pedestrian Trajectory Reconstruction from Partial Observation

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
Aug 13, 2025

WiFi-based Global Localization in Large-Scale Environments Leveraging Structural Priors from osmAG

WiFi localization offers a lightweight global prior for robots in GPS-denied environments, but fingerprinting requires dense surveys and generalizes poorly beyond surveyed areas. We model received signal strength indicator (RSSI) measurements using OpenStreetMap Area Graph (osmAG) structural priors. Offline, known anchor access points (APs) support sequential calibration of line-of-sight (LOS) propagation and wall attenuation; unknown AP locations are then estimated by alternating ray-wall intersection checks, signal compensation, and least-squares fitting. The resulting AP map supports online robot position estimation using the same structure-aware model. In experiments in an 11,025m2^2 multi-floor environment, our method reduces the mean AP localization error from 5.86m to 3.79m. Mean robot localization errors are 3.12m in fingerprinted areas and 3.83m in unfingerprinted areas, where four baselines yield 11.00--20.21m. The WiFi-related map representation achieves approximately 251:1 compression relative to the raw fingerprint database. These results support structural modeling for compact global localization beyond surveyed regions. Code and data: https://github.com/XuMa369/osmag-wifi-localization