RayLoc: Wireless Indoor Localization via Fully Differentiable Ray-tracing

Xueqiang Han, Tianyue Zheng, Menglan Hu, Chao Cai, Tony Xiao Han and Jun Luo

Abstract

The rise of digital twins, particularly in smart manufacturing and automated logistics, demands ultra-high-precision indoor localization that existing technologies struggle to provide. Conventional wireless localization methods, which rely on channel state information to estimate a limited set of parameters, neglect critical details of the sensing scene, leading to suboptimal accuracy. This paper presents RayLoc, a novel approach that addresses this limitation by reformulating wireless indoor localization as an inverse problem. By leveraging the digital twin of an environment, our method infers the precise scene parameters that generate the measured CSI, enabling highly accurate localization. At the core of our solution is a fully differentiable ray-tracing simulator that enables backpropagation to all sensing-critical parameters, including target locations. To establish a robust localization context, RayLoc first constructs a high-fidelity sensing scene by refining a coarse-grained background model, often derived from the initial digital twin. Furthermore, to overcome optimization unfriendliness of CSI-based loss landscapes, RayLoc introduces Gaussian kernal smoothing combined with an adaptive convergence strategy to mitigate sparse gradients and local minima. Extensive experiments showcase that RayLoc not only outperforms traditional localization baselines but is also able to generalize to different sensing environments, paving the way for its application in next-generation, high-accuracy-dependent systems.

Venue
UbiComp / IMWUT 2026
Volume
Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies, Volume 10
DOI
10.1145/3810203
PDF
https://dl.acm.org/doi/pdf/10.1145/3810203
Anthology ID
2026.imwut-10.43

Cite

@article{han-etal-2026-rayloc,
    title = {{RayLoc: Wireless Indoor Localization via Fully Differentiable Ray-tracing}},
    author = {Xueqiang Han and Tianyue Zheng and Menglan Hu and Chao Cai and Tony Xiao Han and Jun Luo},
    journal = {Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies},
    volume = {10},
    issn = {2474-9567},
    year = {2026},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3810203},
    url = {https://doi.org/10.1145/3810203},
    abstract = {The rise of digital twins, particularly in smart manufacturing and automated logistics, demands ultra-high-precision indoor localization that existing technologies struggle to provide. Conventional wireless localization methods, which rely on channel state information to estimate a limited set of parameters, neglect critical details of the sensing scene, leading to suboptimal accuracy. This paper presents RayLoc, a novel approach that addresses this limitation by reformulating wireless indoor localization as an inverse problem. By leveraging the digital twin of an environment, our method infers the precise scene parameters that generate the measured CSI, enabling highly accurate localization. At the core of our solution is a fully differentiable ray-tracing simulator that enables backpropagation to all sensing-critical parameters, including target locations. To establish a robust localization context, RayLoc first constructs a high-fidelity sensing scene by refining a coarse-grained background model, often derived from the initial digital twin. Furthermore, to overcome optimization unfriendliness of CSI-based loss landscapes, RayLoc introduces Gaussian kernal smoothing combined with an adaptive convergence strategy to mitigate sparse gradients and local minima. Extensive experiments showcase that RayLoc not only outperforms traditional localization baselines but is also able to generalize to different sensing environments, paving the way for its application in next-generation, high-accuracy-dependent systems.}
}