OmniLoc: A Geometry-Aware Foundation Model for Anchor-Free UE Localization Across Diverse Indoor Environments
Summary
OmniLoc is a geometry-aware foundation model for anchor-free user equipment localization across diverse indoor environments, using a unified tokenization module, a geometry-aware Transformer, and geometric embeddings to significantly outperform existing methods.
View Cached Full Text
Cached at: 06/11/26, 01:48 PM
# OmniLoc: A Geometry-Aware Foundation Model for Anchor-Free UE Localization Across Diverse Indoor Environments
Source: [https://arxiv.org/html/2606.11490](https://arxiv.org/html/2606.11490)
Lei Chu, Yuning Zhang, Omer Gokalp Serbetci, Anushka Katiyar, Bassel Abou Ali Modad, and Andreas F\. Molisch
###### Abstract
Indoor localization from wireless measurements remains challenging in large\-scale deployments due to substantial variation in building geometry, the set of detectable access points \(APs\), and the heterogeneity of received signals\. Existing learning\-based methods often perform well only in limited settings and degrade under environmental shifts, making robust anchor\-free localization across diverse indoor environments notoriously difficult\. In this paper, we present OmniLoc, an environment\-interactive foundation model for anchor\-free user equipment localization across diverse indoor environments\. To the best of our knowledge, OmniLoc is the first foundation\-model\-based approach built directly on wireless measurements for this task\. OmniLoc is built on three key designs\. First, a unified input tokenization module converts heterogeneous wireless measurements into a common representation that is more amenable to learning\. Second, a geometry\-aware Transformer performs AP\-aware feature extraction by emphasizing dominant APs while aggregating complementary evidence from supporting APs\. Third, a geometry\-aware location estimation module conditions regression on geometric embeddings to produce geometrically consistent location predictions\. We evaluate OmniLoc on both a large\-scale in\-house dataset and a public benchmark dataset\. Results show that OmniLoc significantly outperforms existing methods, consistently improves existing backbones when its design components are integrated, and demonstrates strong generalization in cross\-environment evaluations\.
###### Index Terms:
Anchor\-Free Localization, Geometry\-Aware Foundation Model, Unified Embedding, Diverse Environments\.
## IIntroduction
Indoor user equipment \(UE\) localization has become an essential capability for next\-generation wireless systems\[[75](https://arxiv.org/html/2606.11490#bib.bib4)\],\[[34](https://arxiv.org/html/2606.11490#bib.bib8), Chap\. 29\],\[[61](https://arxiv.org/html/2606.11490#bib.bib27),[73](https://arxiv.org/html/2606.11490#bib.bib23)\], enabling a wide range of applications such as context\-aware services\[[77](https://arxiv.org/html/2606.11490#bib.bib30)\], asset tracking\[[33](https://arxiv.org/html/2606.11490#bib.bib31)\], emergency response\[[14](https://arxiv.org/html/2606.11490#bib.bib32)\], and intelligent building management\[[13](https://arxiv.org/html/2606.11490#bib.bib33)\]\. “Classical” methods such as those based on time of arrival \(which includes the popular Global Positioning System GPS and cellular 911 localization\), direction of arrival, and proximity sensing, have made substantial progress, but still face fundamental challenges in particular in indoor environments\. For these reasons, machine\-learning \(ML\) based techniques have gained popularity in particular for indoor localization, see the surveys\[[5](https://arxiv.org/html/2606.11490#bib.bib13),[45](https://arxiv.org/html/2606.11490#bib.bib3),[50](https://arxiv.org/html/2606.11490#bib.bib2),[23](https://arxiv.org/html/2606.11490#bib.bib1)\]and references therein\. However, this literature also shows the challenges in this approach: real deployments exhibit strong geometric diversity across environments, large variation in the number of detectable APs, and highly heterogeneous received signal strengths caused by different propagation conditions\[[3](https://arxiv.org/html/2606.11490#bib.bib28)\], blockage\[[9](https://arxiv.org/html/2606.11490#bib.bib21)\], and device\-environment interactions\[[52](https://arxiv.org/html/2606.11490#bib.bib34)\]\. These factors make it challenging for existing methods to achieve robust and transferable performance, especially in anchor\-free settings, where localization relies directly on wireless measurements without explicit infrastructure calibration\[[69](https://arxiv.org/html/2606.11490#bib.bib12),[51](https://arxiv.org/html/2606.11490#bib.bib15)\]\.
Meanwhile, recent advances in foundation models\[[70](https://arxiv.org/html/2606.11490#bib.bib35),[35](https://arxiv.org/html/2606.11490#bib.bib76),[36](https://arxiv.org/html/2606.11490#bib.bib16),[29](https://arxiv.org/html/2606.11490#bib.bib36),[44](https://arxiv.org/html/2606.11490#bib.bib5),[2](https://arxiv.org/html/2606.11490#bib.bib7),[7](https://arxiv.org/html/2606.11490#bib.bib6),[66](https://arxiv.org/html/2606.11490#bib.bib37)\], have demonstrated high potential for learning transferable representations from large\-scale and diverse data\. For instance, the pretrained transformer model\[[35](https://arxiv.org/html/2606.11490#bib.bib76)\]is capable of capturing spatiotemporal patterns and environmental propagation characteristics, thereby enabling highly accurate 5G localization\. Using the simulated DeepMIMO dataset\[[4](https://arxiv.org/html/2606.11490#bib.bib17)\],\[[36](https://arxiv.org/html/2606.11490#bib.bib16)\]demonstrated that a transformer\-based, self\-supervised foundation model tailored for wireless localization can achieve superior accuracy with minimal labeled data, while also exhibiting strong robustness to previously unseen base station configurations\. However, their direct application to wireless indoor localization from raw measurements remains largely underexplored\. Unlike conventional learning tasks, indoor localization demands not only effective modeling of heterogeneous wireless signals\[[78](https://arxiv.org/html/2606.11490#bib.bib39)\], but also the preservation of the underlying geometric relationships embedded within these observations\. This calls for a new framework that jointly captures measurement heterogeneity and geometric consistency while generalizing across diverse indoor environments\. The core contributions of this work includes:
- •We propose OmniLoc, an environment\-interactive foundation model for anchor\-free user equipment localization across diverse indoor environments\. To the best of our knowledge, OmniLoc is the first foundation\-model\-based approach built directly on wireless measurements, explicitly addressing core challenges such as geometric diversity, variable numbers of detectable APs, and heterogeneous received signal strengths\.
- •We introduce three key designs in OmniLoc: 1\) a unified input tokenization module that converts heterogeneous wireless measurements into asentence\-likerepresentation more amenable to learning; 2\) a geometry\-aware Transformer that performs AP\-aware feature extraction by emphasizing dominant APs while aggregating complementary evidence from others; and 3\) a geometry\-aware location estimation module that conditions regression on geometric embeddings to produce geometrically consistent UE location estimates\.
- •We conduct extensive case studies on both our collected dataset and a public benchmark dataset\. The results show that: 1\) OmniLoc achieves significant improvements over existing methods in large\-scale and diverse indoor environments; 2\) the proposed design components are flexible, readily integrate with existing methods, and consistently improve their performance; and 3\) OmniLoc demonstrates strong generalization in cross\-environment evaluations\.
The remainder of this paper is organized as follows\. Section II reviews the related work\. Section III introduces the problem formulation and the proposed method\. Section IV presents the case studies and corresponding analysis\. Finally, Section V concludes the paper\. To improve readability, we defer the key theoretical analysis and proofs to the appendix\.
## IIRelated works
### II\-AIndoor Localization without Anchors
Indoor localization has emerged as a critical enabler for location\-aware applications\[[73](https://arxiv.org/html/2606.11490#bib.bib23)\]\. Traditional anchor\-based systems rely on reference nodes with known location — such as Wi\-Fi access points \(APs\)\[[1](https://arxiv.org/html/2606.11490#bib.bib25)\], Bluetooth beacons\[[11](https://arxiv.org/html/2606.11490#bib.bib26)\], or Ultra\-Wideband \(UWB\) transceivers\[[15](https://arxiv.org/html/2606.11490#bib.bib24)\]— whose positions must be pre\-surveyed and maintained, resulting in high deployment costs and labor\-intensive calibration; furthermore, in numerous situations the locations of those nodes might not be easily known \(e\.g\., WiFi APs in private apartments\) or kept confidential for security reasons\[[78](https://arxiv.org/html/2606.11490#bib.bib39)\]\. Anchor\-free localization addresses these limitations by eliminating dependency on infrastructure with known locations, instead inferring spatial relationships directly from inter\-node measurements or environmental signals\[[39](https://arxiv.org/html/2606.11490#bib.bib49),[72](https://arxiv.org/html/2606.11490#bib.bib48),[43](https://arxiv.org/html/2606.11490#bib.bib46),[47](https://arxiv.org/html/2606.11490#bib.bib50),[80](https://arxiv.org/html/2606.11490#bib.bib47)\]\.
A substantial body of research has explored anchor\-free indoor localization using diverse sensing modalities and algorithmic frameworks\. Early work combined relative range measurements — obtained via Received Signal Strength Indicator \(RSSI\)\[[25](https://arxiv.org/html/2606.11490#bib.bib51)\]or time\-of\-flight \(ToF\)\[[60](https://arxiv.org/html/2606.11490#bib.bib52)\]— with multidimensional scaling \(MDS\)\[[38](https://arxiv.org/html/2606.11490#bib.bib53),[41](https://arxiv.org/html/2606.11490#bib.bib54)\]to reconstruct node configurations without fixed references\. Later studies incorporated Inertial Measurement Unit \(IMU\) data through Pedestrian Dead Reckoning \(PDR\)\[[22](https://arxiv.org/html/2606.11490#bib.bib55)\], fused with opportunistic signals such as geomagnetic fingerprints or barometric pressure to mitigate drift\. More recently, deep learning approaches — including Long Short\-Term Memory \(LSTM\) networks\[[27](https://arxiv.org/html/2606.11490#bib.bib56)\]for sequential motion modeling — and graph\-based Simultaneous Localization and Mapping \(SLAM\) optimization using loop\-closure constraints have further improved positioning accuracy and robustness\[[6](https://arxiv.org/html/2606.11490#bib.bib57)\]\. Collectively, these works reflect the growing maturity of anchor\-free methods, converging toward infrastructure\-independent solutions that combine signal processing, probabilistic inference, and data\-driven learning\.
### II\-BWireless Signal Modalities for Indoor Localization
Indoor localization has been explored with a wide range of wireless modalities\[[64](https://arxiv.org/html/2606.11490#bib.bib62),[10](https://arxiv.org/html/2606.11490#bib.bib58),[67](https://arxiv.org/html/2606.11490#bib.bib60),[73](https://arxiv.org/html/2606.11490#bib.bib23)\], each offering a different trade\-off among accuracy, coverage, deployment cost, and robustness\. Early systems primarily relied on RSSI and/or signal\-to\-noise ratio \(SNR\) or Ssignal\-to\-interference\-plus\-noise ratio \(SINR\) measurements derived from Wi\-Fi, Bluetooth, ZigBee, and cellular signals, since they are readily available in existing infrastructure and require minimal additional deployment\. This makes them attractive for scalable fingerprinting and lateration\-based systems\. However, RSSI is highly sensitive to multipath, temporal variation, device heterogeneity, and environmental dynamics, which often limits localization accuracy\. To overcome these limitations, later work\[[49](https://arxiv.org/html/2606.11490#bib.bib66),[21](https://arxiv.org/html/2606.11490#bib.bib64),[64](https://arxiv.org/html/2606.11490#bib.bib62),[71](https://arxiv.org/html/2606.11490#bib.bib59),[59](https://arxiv.org/html/2606.11490#bib.bib61)\]exploited richer physical\-layer measurements, including channel state information \(CSI\), time of arrival \(ToA\), time difference of arrival \(TDoA\), angle of arrival \(AoA\), phase, and Doppler features, which provide richer spatial information for more accurate modeling of indoor propagation\.
Despite this progress, UE localization in large\-scale, heterogeneous indoor environments remains difficult, largely because effective input representations are hard to design\[[30](https://arxiv.org/html/2606.11490#bib.bib68),[76](https://arxiv.org/html/2606.11490#bib.bib67),[31](https://arxiv.org/html/2606.11490#bib.bib71)\]\. Prior work often relies on Fourier\-domain representations, such as power delay profiles\[[55](https://arxiv.org/html/2606.11490#bib.bib81)\], angular power delay profiles\[[63](https://arxiv.org/html/2606.11490#bib.bib82)\], and Doppler features\[[49](https://arxiv.org/html/2606.11490#bib.bib66)\], or on channel\-charting techniques\[[46](https://arxiv.org/html/2606.11490#bib.bib79),[48](https://arxiv.org/html/2606.11490#bib.bib80)\]to capture fine\-grained signal structure\[[8](https://arxiv.org/html/2606.11490#bib.bib70),[62](https://arxiv.org/html/2606.11490#bib.bib73),[31](https://arxiv.org/html/2606.11490#bib.bib71),[56](https://arxiv.org/html/2606.11490#bib.bib69),[19](https://arxiv.org/html/2606.11490#bib.bib72)\]\. However, in large commercial or campus Wi\-Fi deployments, CSI phase measurements are often unstable and noisy due to the limited number of transmit and receive antennas, making them unreliable and prone to substantial error\[[69](https://arxiv.org/html/2606.11490#bib.bib12)\]\. Motivated by these limitations, we seek a unified representation that is both robust and expressive\. Inspired by interpretable sentence embedding methods\[[28](https://arxiv.org/html/2606.11490#bib.bib9)\], our design is tailored to the structure of wireless measurements, making it readily extensible and well suited to large\-scale indoor localization\.
### II\-CAdvanced ML Models for Indoor Localization
Machine learning has become an important approach to indoor localization\[[57](https://arxiv.org/html/2606.11490#bib.bib63),[58](https://arxiv.org/html/2606.11490#bib.bib65),[5](https://arxiv.org/html/2606.11490#bib.bib13)\]\. Early systems largely relied on classical models, such as extreme learning machines\[[76](https://arxiv.org/html/2606.11490#bib.bib67)\], k\-nearest neighbors\[[68](https://arxiv.org/html/2606.11490#bib.bib11)\], and support vector machines\[[53](https://arxiv.org/html/2606.11490#bib.bib10)\]\. More recent work has shifted toward deep neural networks\[[58](https://arxiv.org/html/2606.11490#bib.bib65)\], which learn directly from RSSI, CSI, and other wireless measurements\. In particular, methods based on convolutional neural networks \(CNNs\), LSTMs, and autoencoders outperform classical pipelines by capturing richer spatial and temporal structures in wireless fingerprints\.
More recently, researchers have explored more expressive architectures, including Transformers\[[32](https://arxiv.org/html/2606.11490#bib.bib74),[65](https://arxiv.org/html/2606.11490#bib.bib75),[36](https://arxiv.org/html/2606.11490#bib.bib16)\], self\-supervised pretraining\[[37](https://arxiv.org/html/2606.11490#bib.bib77),[35](https://arxiv.org/html/2606.11490#bib.bib76),[42](https://arxiv.org/html/2606.11490#bib.bib78)\], and geometry\-aware representation learning\[[42](https://arxiv.org/html/2606.11490#bib.bib78),[9](https://arxiv.org/html/2606.11490#bib.bib21)\]\. These approaches better capture complex dependencies among wireless observations and improve robustness under challenging conditions such as non\-line\-of\-sight propagation and sparse supervision\. At the same time, emerging studies have begun to investigate foundation\-model\-style solutions for wireless localization\. However, existing methods still depend heavily on synthetic data or single\-environment training, and they do not fully address anchor\-free localization across diverse indoor geometries and heterogeneous measurements\.
## IIIAnchor\-Free UE Localization: System Overview, Challenges, and Problem Formulation
### III\-ALocalization System
To investigate anchor\-free localization in large\-scale Wi\-Fi deployments, we conducted an extensive measurement campaign\[[78](https://arxiv.org/html/2606.11490#bib.bib39)\]at the University of Southern California \(USC\) University Park Campus\. The campaign spans 16 buildings and 180 corridors, covering a total length of 4,560 m and detecting 3,293 access points \(APs\)\. UE locations are sampled at a default spatial resolution of 1\.5 mm\. On the UE side, a Universal Software Radio Peripheral \(USRP\) is used to digitize and record signals across the full 100 MHz bandwidth of the 2\.4 GHz industrial, scientific, and medical \(ISM\) band\. The APs operate on different channels, and beacon reception is performed using a single antenna, with no transmission from the UE; consequently, multi\-antenna effects and AP\-side beamforming are not considered\. Each measurement is further annotated with 14 metadata attributes to capture relevant system parameters\. Additional details can be found in our recent dataset paper\[[78](https://arxiv.org/html/2606.11490#bib.bib39)\], and the dataset is publicly available on Wides website\. In this work, we use the CSI measured over 52 subcarriers, denoted by𝐂t∈ℝ52×K\\mathbf\{C\}\_\{t\}\\in\\mathbb\{R\}^\{52\\times K\}, whereKKis the number of APs observed at UE locationttand may vary across locations\. We also use the RSSI vector𝐫t∈ℝK\\mathbf\{r\}\_\{t\}\\in\\mathbb\{R\}^\{K\}, the signal\-to\-interference\-plus\-noise ratio \(SINR\) vector𝐬t∈ℝK\\mathbf\{s\}\_\{t\}\\in\\mathbb\{R\}^\{K\}, and the UE location at timestamptt, together with noise and interference measurements\. To encode AP availability, we introduce AP presence indicators at both local and global scales\. Specifically,𝐟t∈ℝN1\\mathbf\{f\}\_\{t\}\\in\\mathbb\{R\}^\{N\_\{1\}\}denotes the AP presence vector within the current building, whereas𝐠t∈ℝN2\\mathbf\{g\}\_\{t\}\\in\\mathbb\{R\}^\{N\_\{2\}\}represents AP presence over the union of APs across all buildings\. Here,N1N\_\{1\}denotesthe maximum AP dimension used within a building, corresponding to the total number of distinct APs observed across its floors\. These indicators explicitly specify whether each AP is visible at the current UE location and are therefore particularly useful for handling variable AP availability\. For instance, two nearby locations may observe 12 and 20 APs, respectively, with partial overlap between their visible AP sets\. To obtain a consistent representation, we pad each sample to the fixed dimensionN1N\_\{1\}and assign zeros to APs that are not observed at the current location\. In this way,𝐟t\\mathbf\{f\}\_\{t\}and𝐠t\\mathbf\{g\}\_\{t\}providealigned local and global AP visibility cues while preserving a fixed AP ordering\.
### III\-BChallenges
\(a\)AP Numbers
\(b\)CSI Magnitudes
Figure 1:Variable AP Length and Power VariationsIn this work, we develop our method based on the following challenges and opportunities\. Our extensive measurement campaign spans 16 buildings and collects data from highly diverse environments\. Moreover, even within a single environment, such as a floor, the measurements exhibit substantial heterogeneity, including a variable number of observed APs and large variations in received signal strength, as detailed below\.
#### III\-B1Diverse Geometry
Collecting Wi\-Fi measurements across 16 geometrically diverse buildings introduces substantial environmental heterogeneity\. Differences in floor plans, corridor widths, wall materials, and room density lead to distinct blockage patterns and multipath effects, causing signal observations to vary significantly across buildings\. As a result, representations learned in one building may not transfer reliably to another\. Similar heterogeneity also exists within a single building, where floor\-specific layouts and localized clutter further affect both AP visibility and received signal strength\. At the same time, this diversity is a key strength of the dataset: it captures the variability of large\-scale campus deployments, enables a rigorous evaluation of robustness and cross\-environment generalization, and motivates the design of OmniLoc for accurate and reliable anchor\-free indoor localization across diverse indoor settings\.
#### III\-B2Variable Length of Observed APs
Fig\.[1\(a\)](https://arxiv.org/html/2606.11490#S3.F1.sf1)reveals a fundamental challenge in Wi\-Fi\-based localization: the number of APs visible to the UE varies substantially across locations\. This leads to variable\-length observations and, in turn, a highly irregular input space, since different samples are associated with different sets of detectable APs\. As a result, the model cannot assume a fixed or spatially consistent measurement structure\. Moreover, AP missingness is often location\-dependent rather than random, implying that the visibility pattern itself contains useful spatial cues while also making the learning problem more difficult\. Such heterogeneity complicates both feature representation and model generalization, particularly across floors and buildings\. This observation motivates the need for a unified input representation, which we detail in Section II\.
#### III\-B3Varying Power of Observed APs
The plot of AP power variation \(Fig\.[1\(b\)](https://arxiv.org/html/2606.11490#S3.F1.sf2)\) highlights another central challenge in Wi\-Fi localization: even when the same AP is observed, its received signal strength can vary significantly across locations and environments\. Such variation arises from distance\-dependent path loss, blockage, shadowing, multipath fading, as well as differences in building geometry and material properties\. As a result, a fixed physical location may not correspond to a stable power signature, while similar RSSI levels may be observed at distinct locations\. This makes power\-based features inherently noisy and ambiguous, and thus difficult to use for learning robust location\-sensitive representations that generalize across floors and buildings\. These observations motivate the design of a robust feature extractor that can inherently account for such variability\.
### III\-CProblem Formulation
For notational simplicity, we omit the timestamp indexttand express the inputs in batched form\. The CSI input is denoted by𝐂∈ℝB×52×N1\\mathbf\{C\}\\in\\mathbb\{R\}^\{B\\times 52\\times N\_\{1\}\}, the RSSI input by𝐫∈ℝB×1×N1\\mathbf\{r\}\\in\\mathbb\{R\}^\{B\\times 1\\times N\_\{1\}\}, and the SINR input by𝐬∈ℝB×1×N1\\mathbf\{s\}\\in\\mathbb\{R\}^\{B\\times 1\\times N\_\{1\}\}, whereBBis the batch size\.
Given the input modalities, includingmagnitudes of CSI111In large commercial WiFi deployments, we empirically observe that CSI phase measurements are often unstable or effectively random, making them difficult to interpret and prone to introducing substantial errors\. Motivated by this observation, we focus on CSI magnitudes and seek a unified representation that is both robust and expressive\., RSSI, SINR, and AP presence indicators \(denoted by ID1 and ID2\), the anchor\-free UE localization problem is to learn a neural network that can jointly and reliably represent these measurements and map them to the UE location through a robust nonlinear function\. The target output is defined as\(x,y,flr,bld\)\(x,y,flr,bld\), where\(x,y\)\(x,y\)denotes the 2\-D coordinates pair; the origin is defined independently in each building, while the X/Y directions are kept consistent across all buildings and the outdoor coordinate system;flrflrandbldbldrepresent the corresponding floor and building indices\. The key objective is therefore to learn discriminative representations and an effective optimization strategy that together enable accurate localization across heterogeneous indoor environments\.
Figure 2:Overview of our OmniLoc\-based Anchor\-free UE Localization framework\.
## IVProposed Method
In this section, we present OmniLoc, as illustrated in Fig\.[2](https://arxiv.org/html/2606.11490#S3.F2)\. OmniLoc consists of three main components: \(i\) a unified input tokenization module for wireless signal measurements, \(ii\) a customized Transformer\-based feature extractor, and \(iii\) task\-specific output heads\.
### IV\-AUnified Input Tokenization
The unified input tokenization \(UIT\) module takes all available measurements as input and converts heterogeneous wireless observations, including CSI, RSSI, SINR, and associated identifiers, into an initial signal representation through carefully designed embeddings inspired by interpretable sentence embedding methods\[[28](https://arxiv.org/html/2606.11490#bib.bib9),[40](https://arxiv.org/html/2606.11490#bib.bib42)\]\. This design is deliberately simple yet effective: it maps heterogeneous wireless measurements into a shared representation space, allowing expressive backbones such as Transformers\[[54](https://arxiv.org/html/2606.11490#bib.bib43)\]to extract downstream features more effectively\. The module comprises two stages: input fusion and sequence construction\.
#### IV\-A1Input Fusion
As described in Sec\.[III\-A](https://arxiv.org/html/2606.11490#S3.SS1), our model takes five types of inputs: CSI, RSSI, SINR, and two AP presence indicators,𝐟\{\\bf f\}and𝐠\{\\bf g\}, which are denoted as ID1 and ID2 in Fig\.[2](https://arxiv.org/html/2606.11490#S3.F2)\. To preserve the AP\-wise structure of the measurements, we first concatenate the magnitudes of CSI \(𝐂∈ℝB×N1×52\\mathbf\{C\}\\in\\mathbb\{R\}^\{B\\times N\_\{1\}\\times 52\}\), RSSI \(𝐫∈ℝB×N1×1\\mathbf\{r\}\\in\\mathbb\{R\}^\{B\\times N\_\{1\}\\times 1\}\), and SINR \(𝐬∈ℝB×N1×1\\mathbf\{s\}\\in\\mathbb\{R\}^\{B\\times N\_\{1\}\\times 1\}\) along the feature axis for each AP:
𝐅=\[𝐂∣𝐫∣𝐬\]∈ℝB×N1×54,\\mathbf\{F\}=\\bigl\[\\,\\mathbf\{C\}\\mid\\mathbf\{r\}\\mid\\mathbf\{s\}\\,\\bigr\]\\;\\in\\;\\mathbb\{R\}^\{B\\times N\_\{1\}\\times 54\},\(1\)where∣\\middenotes concatenation along the feature dimension, and the per\-AP slice𝐅b,i,:∈ℝ54\\mathbf\{F\}\_\{b,i,:\}\\in\\mathbb\{R\}^\{54\}collects all measurements for APiiin samplebb\. This layout preserves per\-AP information while retaining CSI, RSSI, and SINR as distinct feature components\. These measurements are complementary: CSI characterizes the multipath frequency response of the channel over 52 subcarriers, while RSSI and SINR provide scalar summaries of signal strength and link quality\. By grouping them into a single per\-AP feature vector, the projection layer can learn an effective fusion of heterogeneous wireless measurements222We note that SINR can be regarded as an attribute reflecting the propagation conditions captured by the CSI\. Since CSI is inherently time\-varying, its behavior is independent of whether an explicit indicator such as SINR is included\. SINR may also be interpreted as aggregated information, for example representing AP\-wise variance, and therefore its incorporation does not introduce any fundamental concerns or materially affect the learning process\. Its inclusion is consistent with the role of learning in our framework, and we provide extensive case studies, including ablation analyses comparing settings with and without SINR\. Furthermore, SINR is not utilized in the pre\-trained models designed for cross\-dataset or cross\-environment generalization\. Finally, our primary objective is to demonstrate the advantages of large and diverse datasets, while SINR is employed only within the supervised learning setting\.\.
Each per\-AP feature vector is then projected to the model dimensiondd:
𝐙b,i=Wf𝐅b,i,:\+nf∈ℝd,\\mathbf\{Z\}\_\{b,i\}=W\_\{f\}\\,\\mathbf\{F\}\_\{b,i,:\}\+n\_\{f\}\\;\\in\\;\\mathbb\{R\}^\{d\},\(2\)whereWf∈ℝd×54W\_\{f\}\\in\\mathbb\{R\}^\{d\\times 54\}andnf∈ℝdn\_\{f\}\\in\\mathbb\{R\}^\{d\}\. This linear layer provides a learned, task\-specific embedding that maps the raw measurements into the transformer’s latent space\.
We further modulate each projected AP token using its corresponding presence flag𝐟b,i∈ℝ\{\\bf f\}\_\{b,i\}\\in\\mathbb\{R\}:
𝐓b,i=𝐙b,i⊙𝐟b,i∈ℝd,i=1,…,N1,\\mathbf\{T\}\_\{b,i\}=\\mathbf\{Z\}\_\{b,i\}\\;\\odot\\;\{\\bf f\}\_\{b,i\}\\;\\in\\;\\mathbb\{R\}^\{d\},\\quad i=1,\\ldots,N\_\{1\},\(3\)where⊙\\odotdenotes element\-wise multiplication\. This soft gating retains informative tokens for present APs while suppressing absent ones without forcing them to exactly zero, thereby preserving gradient propagation during training\. Specifically, this ensures the projection weightsWfW\_\{f\}continue to receive gradient updates from all AP positions, including absent\-AP slots, rather than being blocked by a hard zero as in a naive hard\-multiply formulation\.
#### IV\-A2Sequence Construction
The global AP signal vector𝐠∈ℝB×N2\\mathbf\{g\}\\in\\mathbb\{R\}^\{B\\times N\_\{2\}\}captures a coarse fingerprint of the entire AP database, independent of the subset of APs that are locally visible\. To preserve per\-AP identity, we encode each scalar entry𝐠b,j\{\\bf g\}\_\{b,j\}independently using a shared projection:
eb,j=ReLU\(We𝐠b,j\+be\)∈ℝd,j=1,…,N2,e\_\{b,j\}=\\mathrm\{ReLU\}\\\!\\left\(W\_\{e\}\\,\{\\bf g\}\_\{b,j\}\+b\_\{e\}\\right\)\\;\\in\\;\\mathbb\{R\}^\{d\},\\quad j=1,\\ldots,N\_\{2\},\(4\)whereWe∈ℝd×1W\_\{e\}\\in\\mathbb\{R\}^\{d\\times 1\}andbe∈ℝdb\_\{e\}\\in\\mathbb\{R\}^\{d\}\. Unlike a singleℝN2→d\\mathbb\{R\}^\{N\_\{2\}\\to d\}projection, this shared per\-element encoder applies the same transformation to every AP entry, reducing the tendency to overfit to AP index positions\.
We then aggregate theN2N\_\{2\}encoded vectors by mean pooling:
𝐠¯b=1N2∑j=1N2eb,j∈ℝd\.\\bar\{\\mathbf\{g\}\}\_\{b\}=\\frac\{1\}\{N\_\{2\}\}\\sum\_\{j=1\}^\{N\_\{2\}\}e\_\{b,j\}\\;\\in\\;\\mathbb\{R\}^\{d\}\.\(5\)
This yields a permutation\-invariant summary of the global AP database, which is appropriate because𝐚2\\mathbf\{a\}\_\{2\}has no natural ordering\. To distinguish this summary from the AP tokens in the subsequent sequence, we add a learned positional embedding to form a dedicated GLOBAL token:
𝐠b=𝐠¯b\+𝐩0∈ℝd,\\mathbf\{g\}\_\{b\}=\\bar\{\\mathbf\{g\}\}\_\{b\}\+\\mathbf\{p\}\_\{0\}\\;\\in\\;\\mathbb\{R\}^\{d\},\(6\)where𝐩0∈ℝd\\mathbf\{p\}\_\{0\}\\in\\mathbb\{R\}^\{d\}is applied only to the GLOBAL token at index 0\. AP tokens receive no positional encoding because their ordering within the sequence is arbitrary; assigning fixed position indices to unordered APs would introduce spurious structure that could mislead the transformer’s attention mechanism\. Finally, we concatenate the GLOBAL token with theN1N\_\{1\}gated AP tokens along the sequence dimension to form the transformer input:
𝐗=\[𝐠b⏟GLOBAL\|𝐓b,1⋯𝐓b,N1⏟APtokens\]∈ℝB×\(1\+N1\)×d\.\\mathbf\{X\}=\\Bigl\[\\underbrace\{\\mathbf\{g\}\_\{b\}\}\_\{\\mathrm\{GLOBAL\}\}\\;\\Big\|\\;\\underbrace\{\\mathbf\{T\}\_\{b,1\}\\;\\cdots\\;\\mathbf\{T\}\_\{b,N\_\{1\}\}\}\_\{\\mathrm\{AP\\ tokens\}\}\\Bigr\]\\in\\mathbb\{R\}^\{B\\times\(1\+N\_\{1\}\)\\times d\}\.\(7\)
### IV\-BFeature extraction
Built on top of the tokenization module, the customized Transformer serves as the feature extraction backbone\. It captures interactions among heterogeneous wireless signal components and their coupling with geometric information, enabling the network to learn environment\-aware representations directly from data\.
#### IV\-B1Geometry aware Transformer
We feed the resulting sequence into a stack ofLLstandard transformer encoder layers, each comprising multi\-head self\-attention and a position\-wise feed\-forward network, with residual connections and layer normalization\. The key\-padding mask \(KPM\), defined asKPM∈0,1B×L\\mathrm\{KPM\}\\in\{0,1\}^\{B\\times L\}, is derived from𝐟\\mathbf\{f\}by concatenating a degenerate no\-padding column for GLOBAL with the indicator of absent AP slots \(ID1\)\. It is applied at every attention layer to exclude padded AP slots from attention computation\. Formally,
𝐗enc=TransformerEncoderℓ\(𝐗,KPM\)∈ℝB×L×d\.\\mathbf\{X\}\_\{\\mathrm\{enc\}\}=\\mathrm\{TransformerEncoder\}\_\{\\ell\}\\\!\\left\(\\mathbf\{X\},\\;\\mathrm\{KPM\}\\right\)\\;\\in\\;\\mathbb\{R\}^\{B\\times L\\times d\}\.\(8\)The encoder preserves the sequence length and hidden dimension, yielding onedd\-dimensional output vector per token\. With masking, attention is restricted to valid AP tokens while padded positions are excluded from participation\. This allows the model to focus its capacity on meaningful AP representations without being affected by artificial padding\.
#### IV\-B2Multi\-Probe AP Aggregation
We consider three downstream tasks—building classification, floor classification, and coordinate regression—which require a fixed\-dimensional representation\. To this end, we propose Multi\-Probe AP Aggregation \(MPAA\), which compresses theLLencoder tokens into a single vector𝐡\\mathbf\{h\}via learned multi\-head attention pooling withMMheads\. Unlike mean pooling\[[26](https://arxiv.org/html/2606.11490#bib.bib44),[16](https://arxiv.org/html/2606.11490#bib.bib45)\], which assigns uniform weights to all tokens, MPAA enables each head to learn task\-adaptive soft weights over the sequence, selectively emphasizing informative tokens for localization\.
We begin by computing the pooling logits, obtained by linearly projecting each token representation intoMMscalars, one for each attention head:
𝐔b=𝐗enc,bWpool∈ℝL×M,\\mathbf\{U\}\_\{b\}=\\mathbf\{X\}\_\{\\mathrm\{enc\},b\}\\;W\_\{\\mathrm\{pool\}\}\\;\\in\\;\\mathbb\{R\}^\{L\\times M\},\(9\)whereWpool∈ℝd×MW\_\{\\mathrm\{pool\}\}\\in\\mathbb\{R\}^\{d\\times M\}\. Applied to the full batch, this gives𝐔=𝐗encWpool∈ℝB×L×M\.\\mathbf\{U\}=\\mathbf\{X\}\_\{\\mathrm\{enc\}\}\\;W\_\{\\mathrm\{pool\}\}\\;\\in\\;\\mathbb\{R\}^\{B\\times L\\times M\}\.Thus, each token receives one pooling logit per head\. Compared with query\-based cross\-attention, this formulation is more lightweight, introducing only the projection matrixWpoolW\_\{\\mathrm\{pool\}\}and no separate learned query\. We then apply softmax over the sequence dimensionLLindependently for each head, rather than across heads:
𝐖b,:,m∈ℝL=softmaxL\(𝐔b,:,m\),∑l=1LWb,l,m=1,\\mathbf\{W\}\_\{b,\\,:,\\,m\}\\in\\;\\mathbb\{R\}^\{L\}=\\mathrm\{softmax\}\_\{L\}\\\!\\left\(\\mathbf\{U\}\_\{b,\\,:,\\,m\}\\right\),\\sum\_\{l=1\}^\{L\}W\_\{b,l,m\}=1,\(10\)Thus, each head defines a probability distribution over theLLtokens\. This allows every head to perform a differentiable soft selection, ranging from near one\-hot focus on a single token to a more diffuse weighting over multiple tokens, including the uniform weighting of mean pooling\. Each pooling headmmcomputes a weighted combination of the encoded token representations:
𝐒b,m=∑l=1LWb,l,m𝐗enc,b,l,:∈ℝd\.\\mathbf\{S\}\_\{b,m\}=\\sum\_\{l=1\}^\{L\}W\_\{b,l,m\}\\;\\mathbf\{X\}\_\{\\mathrm\{enc\},b,l,:\}\\;\\in\\;\\mathbb\{R\}^\{d\}\.\(11\)This yields onedd\-dimensional summary vector per head and per sample\. Stacking the outputs of allMMheads gives𝐒∈ℝB×M×d\\mathbf\{S\}\\in\\;\\mathbb\{R\}^\{B\\times M\\times d\}\. The contraction is performed over the sequence dimensionLL, so each head aggregates information from the full token set using its learned attention weights\. Different heads can therefore specialize to different aspects of the environment, such as global database context or salient locally observed APs\.
Finally, we concatenate theMMhead\-specific summaries and project the result back to the model dimension:
𝐡=𝐒Wfuse⊤\+bfuse∈ℝB×d,\\mathbf\{h\}=\\mathbf\{S\}W\_\{\\mathrm\{fuse\}\}^\{\\top\}\+b\_\{\\mathrm\{fuse\}\}\\in\\mathbb\{R\}^\{B\\times d\},\(12\)whereWfuse∈ℝd×MdW\_\{\\mathrm\{fuse\}\}\\in\\mathbb\{R\}^\{d\\times Md\}andbfuse∈ℝdb\_\{\\mathrm\{fuse\}\}\\in\\mathbb\{R\}^\{d\}\. This fusion step allows the model to adaptively combine the complementary information captured by different heads into a single pooled representation\.
We note that, in indoor localization, a single strong nearby AP often dominates the location fingerprint\. Simple mean pooling can obscure this effect by averaging the dominant AP with weaker or less informative ones\. In contrast, MPAA allows one probe to focus on the dominant AP\(s\) while another aggregates complementary evidence from supporting APs, yielding a more expressive representation\. We further provide a theoretical analysis of the proposed MPAA to justify its strong empirical performance\. For brevity, the detailed analysis is deferred to Appendix[A](https://arxiv.org/html/2606.11490#A1)\.
### IV\-CGeometry\-aware Outputs
Finally, the output heads jointly predict the building index, floor index, and UE coordinates, yielding a hierarchical localization process: the model first identifies the building, then refines the prediction to the floor, and finally estimates the UE coordinates\. To improve coordinate estimation, we introduce a geometry\-aware localization \(GLO\) module that conditions regression on learned geometric embeddings derived from the classification outputs\. Specifically, GLO projects the building and floor logits into the model dimensiondd, fuses them with the aggregated feature𝐡\\mathbf\{h\}, and feeds the combined representation to a regression head\. By incorporating discrete spatial context \(building and floor identity\) as continuous conditioning signals, the module promotes spatial consistency and improves the robustness of UE localization\.
#### IV\-C1Outputs
Building Index\.Given the pooled representation𝐡∈ℝB×d\\mathbf\{h\}\\in\\mathbb\{R\}^\{B\\times d\}, we predict building labels using a two\-layer MLP:
𝐡bld\(1\)\\displaystyle\\mathbf\{h\}^\{\(1\)\}\_\{\\mathrm\{bld\}\}=ReLU\(Wbld,1𝐡⊤\+bbld,1\)∈ℝdff×B,\\displaystyle=\\mathrm\{ReLU\}\\\!\\left\(W\_\{\\mathrm\{bld\},1\}\\,\\mathbf\{h\}^\{\\top\}\+b\_\{\\mathrm\{bld\},1\}\\right\)\\;\\in\\;\\mathbb\{R\}^\{d\_\{\\mathrm\{ff\}\}\\times B\},\(13\)𝐲^bld\\displaystyle\\hat\{\\mathbf\{y\}\}\_\{\\mathrm\{bld\}\}=Wbld,2𝐡bld\(1\)\+bbld,2∈ℝCbld×B,\\displaystyle=W\_\{\\mathrm\{bld\},2\}\\,\\mathbf\{h\}^\{\(1\)\}\_\{\\mathrm\{bld\}\}\+b\_\{\\mathrm\{bld\},2\}\\;\\in\\;\\mathbb\{R\}^\{C\_\{\\mathrm\{bld\}\}\\times B\},\(14\)whereWbld,1∈ℝdff×dW\_\{\\mathrm\{bld\},1\}\\in\\mathbb\{R\}^\{d\_\{\\mathrm\{ff\}\}\\times d\},bbld,1∈ℝdffb\_\{\\mathrm\{bld\},1\}\\in\\mathbb\{R\}^\{d\_\{\\mathrm\{ff\}\}\},Wbld,2∈ℝCbld×dffW\_\{\\mathrm\{bld\},2\}\\in\\mathbb\{R\}^\{C\_\{\\mathrm\{bld\}\}\\times d\_\{\\mathrm\{ff\}\}\}, andbbld,2∈ℝCbldb\_\{\\mathrm\{bld\},2\}\\in\\mathbb\{R\}^\{C\_\{\\mathrm\{bld\}\}\}\. Equivalently, in batch\-first form,𝐲^bld∈ℝB×Cbld\\hat\{\\mathbf\{y\}\}\_\{\\mathrm\{bld\}\}\\in\\mathbb\{R\}^\{B\\times C\_\{\\mathrm\{bld\}\}\}\. We use a two\-layer Multi\-Layer Perceptron \(MLP\) rather than a single linear layer to provide sufficient nonlinear capacity while keeping the classification head lightweight relative to the transformer encoder\.
Floor Index\.Floor identity is building\-specific, e\.g\., floor 3 in building A is not comparable to floor 3 in building B\. Accordingly, we condition floor prediction on the building prediction\. To decouple the two objectives, we apply stop\-gradient to𝐲^bld\\hat\{\\mathbf\{y\}\}\_\{\\mathrm\{bld\}\}before feeding it to the floor head\. Without this design, the floor loss would back\-propagate into the building classifier through an additional path, potentially disrupting optimization of the building cross\-entropy loss\. The augmented floor input is:
𝐡flr=\[𝐡∥sg\(𝐲^bld\)\]∈ℝB×\(d\+Cbld\),\\mathbf\{h\}\_\{\\mathrm\{flr\}\}=\\bigl\[\\,\\mathbf\{h\}\\;\\\|\\;\\mathrm\{sg\}\\\!\\left\(\\hat\{\\mathbf\{y\}\}\_\{\\mathrm\{bld\}\}\\right\)\\bigr\]\\;\\in\\;\\mathbb\{R\}^\{B\\times\(d\+C\_\{\\mathrm\{bld\}\}\)\},\(15\)wheresg\(⋅\)\\mathrm\{sg\}\(\\cdot\)denotes stop\-gradient \(\.detach\(\)in PyTorch\) and∥\\\|denotes concatenation along the feature dimension\. The floor head maps this augmented input to floor logits:
𝐡flr\(1\)\\displaystyle\\mathbf\{h\}^\{\(1\)\}\_\{\\mathrm\{flr\}\}=ReLU\(Wflr,1𝐡flr⊤\+bflr,1\)∈ℝdff×B,\\displaystyle=\\mathrm\{ReLU\}\\\!\\left\(W\_\{\\mathrm\{flr\},1\}\\,\\mathbf\{h\}\_\{\\mathrm\{flr\}\}^\{\\top\}\+b\_\{\\mathrm\{flr\},1\}\\right\)\\;\\in\\;\\mathbb\{R\}^\{d\_\{\\mathrm\{ff\}\}\\times B\},\(16\)𝐲^flr\\displaystyle\\hat\{\\mathbf\{y\}\}\_\{\\mathrm\{flr\}\}=Wflr,2𝐡flr\(1\)\+bflr,2∈ℝCflr×B,\\displaystyle=W\_\{\\mathrm\{flr\},2\}\\,\\mathbf\{h\}^\{\(1\)\}\_\{\\mathrm\{flr\}\}\+b\_\{\\mathrm\{flr\},2\}\\;\\in\\;\\mathbb\{R\}^\{C\_\{\\mathrm\{flr\}\}\\times B\},\(17\)whereWflr,1∈ℝdff×\(d\+Cbld\)W\_\{\\mathrm\{flr\},1\}\\in\\mathbb\{R\}^\{d\_\{\\mathrm\{ff\}\}\\times\(d\+C\_\{\\mathrm\{bld\}\}\)\},bflr,1∈ℝdffb\_\{\\mathrm\{flr\},1\}\\in\\mathbb\{R\}^\{d\_\{\\mathrm\{ff\}\}\},Wflr,2∈ℝCflr×dffW\_\{\\mathrm\{flr\},2\}\\in\\mathbb\{R\}^\{C\_\{\\mathrm\{flr\}\}\\times d\_\{\\mathrm\{ff\}\}\},bflr,2∈ℝCflrb\_\{\\mathrm\{flr\},2\}\\in\\mathbb\{R\}^\{C\_\{\\mathrm\{flr\}\}\}\. Equivalently, in batch\-first form,𝐲^flr∈ℝB×Cflr\\hat\{\\mathbf\{y\}\}\_\{\\mathrm\{flr\}\}\\in\\mathbb\{R\}^\{B\\times C\_\{\\mathrm\{flr\}\}\}\. The stop\-gradient ensures that the floor loss updates only the floor head, while the building classifier remains supervised solely by its own cross\-entropy objective\. This avoids conflicting gradient signals, yet still provides the floor head with explicit building\-level context\.
Geometry\-Aware UE Coordinate Estimation\.The regression head predicts 2\-D coordinates conditioned on both classification outputs\. To make this conditioning differentiable, we project the building and floor logits into the model dimensionddusing two\-layer MLPs\. Both logit vectors are detached before projection, preventing the regression loss from back\-propagating into the classification heads through this conditioning path:
𝐞bld\\displaystyle\\mathbf\{e\}\_\{\\mathrm\{bld\}\}=Web,2ReLU\(Web,1sg\(𝐲^bld\)\+beb,1\)\+beb,2,\\displaystyle=W\_\{\\mathrm\{eb\},2\}\\;\\mathrm\{ReLU\}\\\!\\left\(W\_\{\\mathrm\{eb\},1\}\\;\\mathrm\{sg\}\\\!\\left\(\\hat\{\\mathbf\{y\}\}\_\{\\mathrm\{bld\}\}\\right\)\+b\_\{\\mathrm\{eb\},1\}\\right\)\+b\_\{\\mathrm\{eb\},2\}\\;,\(18\)𝐞flr\\displaystyle\\mathbf\{e\}\_\{\\mathrm\{flr\}\}=Wef,2ReLU\(Wef,1sg\(𝐲^flr\)\+bef,1\)\+bef,2,\\displaystyle=W\_\{\\mathrm\{ef\},2\}\\;\\mathrm\{ReLU\}\\\!\\left\(W\_\{\\mathrm\{ef\},1\}\\;\\mathrm\{sg\}\\\!\\left\(\\hat\{\\mathbf\{y\}\}\_\{\\mathrm\{flr\}\}\\right\)\+b\_\{\\mathrm\{ef\},1\}\\right\)\+b\_\{\\mathrm\{ef\},2\}\\;,\(19\)whereWeb,1∈ℝdff×CbldW\_\{\\mathrm\{eb\},1\}\\in\\mathbb\{R\}^\{d\_\{\\mathrm\{ff\}\}\\times C\_\{\\mathrm\{bld\}\}\},Web,2∈ℝd×dffW\_\{\\mathrm\{eb\},2\}\\in\\mathbb\{R\}^\{d\\times d\_\{\\mathrm\{ff\}\}\}, and analogously for the floor embedding\. Conditioning regression on these embeddings lets the model leverage the discrete structure of indoor localization\. Because coordinates are only interpretable within a specific building and floor, the resulting building\- and floor\-aware context vectors steer the regression head toward geometrically consistent predictions\.
The pooled representation and the two geometry embeddings are then concatenated along the feature dimension:
𝐮=\[𝐡∣𝐞bld∣𝐞flr\]∈ℝB×3d,\\mathbf\{u\}=\\bigl\[\\,\\mathbf\{h\}\\;\\mid\\mathbf\{e\}\_\{\\mathrm\{bld\}\}\\;\\mid\\mathbf\{e\}\_\{\\mathrm\{flr\}\}\\,\\bigr\]\\;\\in\\;\\mathbb\{R\}^\{B\\times 3d\},\(20\)and passed through a two\-layer regression MLP to produce the predicted 2\-D coordinates:
𝐮\(1\)\\displaystyle\\mathbf\{u\}^\{\(1\)\}=ReLU\(Wreg,1𝐮⊤\+breg,1\)∈ℝdff×B,\\displaystyle=\\mathrm\{ReLU\}\\\!\\left\(W\_\{\\mathrm\{reg\},1\}\\,\\mathbf\{u\}^\{\\top\}\+b\_\{\\mathrm\{reg\},1\}\\right\)\\;\\in\\;\\mathbb\{R\}^\{d\_\{\\mathrm\{ff\}\}\\times B\},\(21\)𝐩^\\displaystyle\\hat\{\\mathbf\{p\}\}=Wreg,2𝐮\(1\)\+breg,2∈ℝ2×B,\\displaystyle=W\_\{\\mathrm\{reg\},2\}\\,\\mathbf\{u\}^\{\(1\)\}\+b\_\{\\mathrm\{reg\},2\}\\;\\in\\;\\mathbb\{R\}^\{2\\times B\},\(22\)whereWreg,1∈ℝdff×3dW\_\{\\mathrm\{reg\},1\}\\in\\mathbb\{R\}^\{d\_\{\\mathrm\{ff\}\}\\times 3d\},breg,1∈ℝdffb\_\{\\mathrm\{reg\},1\}\\in\\mathbb\{R\}^\{d\_\{\\mathrm\{ff\}\}\},Wreg,2∈ℝ2×dffW\_\{\\mathrm\{reg\},2\}\\in\\mathbb\{R\}^\{2\\times d\_\{\\mathrm\{ff\}\}\},breg,2∈ℝ2b\_\{\\mathrm\{reg\},2\}\\in\\mathbb\{R\}^\{2\}\. Equivalently, in batch\-first form,𝐩^b∈ℝ2\\hat\{\\mathbf\{p\}\}\_\{b\}\\in\\mathbb\{R\}^\{2\}is the predicted\(x,y\)\(x,y\)coordinate for samplebb\. Concatenating𝐡\\mathbf\{h\}alongside the geometry embeddings ensures the regression head retains direct access to the full encoded scene representation, rather than depending solely on the \(potentially noisy, early\-training\) classification logits\.
### IV\-DLoss Functions and Optimization
The model is trained end\-to\-end by minimizing a weighted sum of three losses:
ℒ=λbldℒbld\+λflrℒflr\+λregℒreg,\\mathcal\{L\}=\\lambda\_\{\\mathrm\{bld\}\}\\,\\mathcal\{L\}\_\{\\mathrm\{bld\}\}\+\\lambda\_\{\\mathrm\{flr\}\}\\,\\mathcal\{L\}\_\{\\mathrm\{flr\}\}\+\\lambda\_\{\\mathrm\{reg\}\}\\,\\mathcal\{L\}\_\{\\mathrm\{reg\}\},\(23\)whereλbld,λflr,λreg\>0\\lambda\_\{\\mathrm\{bld\}\},\\lambda\_\{\\mathrm\{flr\}\},\\lambda\_\{\\mathrm\{reg\}\}\>0are task weights\. Both classification tasks use batch\-averaged cross\-entropy \(CE\):
ℒbld=1B∑b=1BCE\(𝐲^bld,b,ybld,b∗\),ℒflr=1B∑b=1BCE\(𝐲^flr,b,yflr,b∗\),\\small\\mathcal\{L\}\_\{\\mathrm\{bld\}\}=\\frac\{1\}\{B\}\\sum\_\{b=1\}^\{B\}\\mathrm\{CE\}\\\!\\left\(\\hat\{\\mathbf\{y\}\}\_\{\\mathrm\{bld\},b\},\\,y^\{\*\}\_\{\\mathrm\{bld\},b\}\\right\),\\quad\\mathcal\{L\}\_\{\\mathrm\{flr\}\}=\\frac\{1\}\{B\}\\sum\_\{b=1\}^\{B\}\\mathrm\{CE\}\\\!\\left\(\\hat\{\\mathbf\{y\}\}\_\{\\mathrm\{flr\},b\},\\,y^\{\*\}\_\{\\mathrm\{flr\},b\}\\right\),\(24\)whereybld,b∗y^\{\*\}\_\{\\mathrm\{bld\},b\}andyflr,b∗y^\{\*\}\_\{\\mathrm\{flr\},b\}are the ground\-truth building and floor labels for samplebb\. Lastly, UE’s coordinate regression uses mean squared error:
ℒreg=1B∑b=1B‖𝐩^b−𝐩b‖22,\\mathcal\{L\}\_\{\\mathrm\{reg\}\}=\\frac\{1\}\{B\}\\sum\_\{b=1\}^\{B\}\\left\\\|\\hat\{\\mathbf\{p\}\}\_\{b\}\-\\mathbf\{p\}\_\{b\}\\right\\\|\_\{2\}^\{2\},\(25\)where𝐩b=\(xb,yb\)∈ℝ2\\mathbf\{p\}\_\{b\}=\(x\_\{b\},y\_\{b\}\)\\in\\mathbb\{R\}^\{2\}is the ground\-truth coordinate\.
Optimization:We implement the proposed model in PyTorch and train it end\-to\-end on an NVIDIA GeForce RTX 5090 GPU with mini\-batch optimization\. Unless stated otherwise, all learnable parameters are randomly initialized and jointly optimized using AdamW\. Gradients are back\-propagated through the full network, except along explicitly detached paths used to decouple the classification and regression objectives\. During training, the Transformer backbone, aggregation module, and prediction heads are optimized jointly under the overall objective\.
## VCase Studies
We validate OmniLoc333The code and pretrained model are publicly availablehttps://github\.com/Leo\-Chu/OmniLocas a competitive universal localization framework by addressing the following questions:
- •Q1: How does OmniLoc compare to the State of the art \(SOTA\) localization in our large and diverse dataset?
- •Q2: Do the proposed design components also benefit other localization methods?
- •Q3: Can OmniLoc generalize effectively to unseen environments and adapt flexibly to other datasets in practice?
### V\-ADatasets and Performance Metrics
For evaluation, we mainly use the WiLoc dataset\. More details on WiLoc are provided in our recent dataset paper\[[78](https://arxiv.org/html/2606.11490#bib.bib39)\], and the dataset is publicly available\. In addition, we adopt the WILD dataset from Kagglefor cross\-environment testing\.
#### V\-A1Compared Methods
Many indoor localization methods have been proposed in the literature\. For a fair comparison, we focus only on representative approaches with publicly available code\. We adopt their network architectures directly from the official implementations, making only minor modifications where necessary to accommodate our input size\.
- •CNN444https://github\.com/sibrendebast/MaMIMO\-CSI\-positioning\-using\-CNNs:A CNN\-based indoor localization method\[[12](https://arxiv.org/html/2606.11490#bib.bib22)\]with 13 convolutional layers, similar to the architectures adopted in\[[17](https://arxiv.org/html/2606.11490#bib.bib18),[9](https://arxiv.org/html/2606.11490#bib.bib21)\]\.
- •BERT555https://github\.com/RS2002/CSI\-BERT?tab=readme\-ov\-file: A method employs a BERT\-based network\[[79](https://arxiv.org/html/2606.11490#bib.bib19)\]to extract informative features from wireless signals for wireless sensing tasks\.
- •LWM666https://github\.com/guangjinpan/LWLM:A large\-scale wireless model\[[36](https://arxiv.org/html/2606.11490#bib.bib16)\]is employed for indoor localization based on DeepMIMO dataset\.
#### V\-A2Performance Metrics
To evaluate positioning accuracy, we adopt four complementary metrics\. For each test sampleii, we first define the localization error as the Euclidean distance between the estimated position𝐩^i\\hat\{\\mathbf\{p\}\}\_\{i\}and the ground\-truth position𝐩i\\mathbf\{p\}\_\{i\}:
ei=‖𝐩^i−𝐩i‖2,i=1,…,N\.e\_\{i\}=\\left\\\|\\hat\{\\mathbf\{p\}\}\_\{i\}\-\\mathbf\{p\}\_\{i\}\\right\\\|\_\{2\},\\quad i=1,\\dots,N\.\(26\)Based oneie\_\{i\}, theMean Localization Error \(MLE\)andRoot Mean Squared Error \(RMSE\)are defined as
MLE=1N∑i=1Nei,RMSE=1N∑i=1Nei2\.\\text\{MLE\}=\\frac\{1\}\{N\}\\sum\_\{i=1\}^\{N\}e\_\{i\},\\qquad\\text\{RMSE\}=\\sqrt\{\\frac\{1\}\{N\}\\sum\_\{i=1\}^\{N\}e\_\{i\}^\{2\}\}\.\(27\)Compared with MLE, RMSE penalizes large localization errors more heavily and is therefore more sensitive to outliers\. We also report theCumulative Distribution Function \(CDF\)of the localization error, which characterizes the fraction of test samples whose error is below a given threshold\. Based on the CDF, we further use the90th Percentile Error \(P90\), defined as the error threshold below which 90% of the localization errors fall\. Together, these metrics provide a comprehensive evaluation of both the central tendency and the tail behavior of the localization error distribution\.
Figure 3:Qualitative comparisons with SOTA methods\.Figure 4:Building\-wise qualitative results\.Figure 5:Floor\-wise qualitative results\.
#### V\-A3Note on Neural Network Training
We consider two UE localization setups:same\-environment and cross\-environment\. In the same\-environment setting, we follow a standard supervised learning protocol, where the data organized in a floor\-wise manner and then are randomly split into training, validation, and test sets with a ratio of 7:1:2\. In this supervised learning setup, we employ floor\-wise stratified splitting\. However, due to the high density of the fingerprinting \(<0\.01<0\.01m spacing\) and the Wi\-Fi beacon interval of102\.4102\.4ms, residual spatial and temporal correlations likely persist between the training and testing sets, yieldingoptimisticperformance\.
For cross\-environment evaluation, we consider three challenging settings:Scenario I: leave\-one\-floor\-out,Scenario II: leave\-one\-building\-out, andScenario III: cross\-dataset evaluation\. InScenario I, the training and validation sets are constructed using all samples except those collected on the target floor, and the held\-out floor is used exclusively for testing\. Unless otherwise specified, we employ the Floor 1 in the Building 1 as the target floor\. InScenario II, the training and validation sets are formed using all samples except those collected in the target building, and the held\-out building is reserved for testing\. Unless otherwise specified, we choose Building 1 \(B1\) and Building 13 \(B13\) as the target buildings\. InScenario III, we evaluate cross\-dataset generalization on the widely used WILD dataset, which contains both RSSI and CSI measurements\. In all cross\-dataset setups, the neural network training is first conducted using the loss function defined in \([23](https://arxiv.org/html/2606.11490#S4.E23)\)\. To further study cross\-environment adaptation, we investigate parameter\-efficient fine\-tuning \(PEFT\) strategies\[[18](https://arxiv.org/html/2606.11490#bib.bib38)\], including Low\-Rank Adaptation \(LoRA\) and linear probing \(LP\)\. Specifically, LoRA updates only a subset of model parameters, including the query and value projection matrices in the Transformer as well as the regression head, whereas LP fine\-tunes only the regression head\. It is noted here that we use the zero\-shot result as a lower bound and the fully supervised result as an upper bound\. Here,zero\-shotrefers to directly applying the pretrained model to data from a new environment without any adaptation, whereas thefully supervised upper boundis obtained by training, validation, and testing on data collected from that target environment\.
### V\-BQualitative Comparisons
To addressQ1, we conduct a case study under thesame\-geometry settingand evaluate localization performance using the four metrics described above\. We compare OmniLoc against representative state\-of\-the\-art baselines, including CNN, LVM, and BERT\. As shown in Fig\.[3](https://arxiv.org/html/2606.11490#S5.F3), OmniLoc achieves the lowest error across all four metrics, demonstrating consistently superior localization accuracy\. Specifically, OmniLoc attains a median error of 0\.553 m, a mean error of 0\.743 m, a P90 error of 1\.418 m, and an RMSE of 0\.990 m, outperforming all competing methods by clear margins\. The gains are particularly pronounced on tail\-error metrics such as P90 and RMSE, indicating that OmniLoc not only improves average accuracy but also provides stronger robustness in challenging cases\. These results validate the effectiveness of OmniLoc and highlight the benefits of its customized input design and network architecture for reliable and precise indoor localization across diverse environments\.
We next examine localization performance at a finer spatial granularity by analyzing results at both the building and floor levels\. Figures[4](https://arxiv.org/html/2606.11490#S5.F4)and[5](https://arxiv.org/html/2606.11490#S5.F5)present the building\-wise and floor\-wise performance of CNN, LVM, BERT, and OmniLoc\. While all methods exhibit cross\-building variation—reflecting differences in geometry, layout, and propagation conditions—OmniLoc consistently achieves the lowest error in every building\. LVM consistently ranks as the second most competitive method in several cases and occasionally outperforms CNN and BERT, indicating its ability to capture certain signal structures under specific deployment conditions\. However, its performance is less stable across environments\. This variability likely stems from a mismatch between model inductive biases and wireless data characteristics: BERT is primarily optimized for classification tasks, whereas CNNs rely on spatial priors better suited to image\-like inputs than to heterogeneous wireless measurements\. Overall, the baseline methods remain sensitive to variations in building geometry, AP distribution, and propagation environments, whereas OmniLoc demonstrates stronger robustness across diverse settings due to its geometry\-aware design\. Fig\.[5](https://arxiv.org/html/2606.11490#S5.F5)further reports floor\-wise MLE across all five floors in Building 1\.
### V\-CGeneralization
#### V\-C1Generalizability of the Proposed Design Components
Figure 6:CDFs of localization errors for all compared methods\.Fig\.[6](https://arxiv.org/html/2606.11490#S5.F6)plots the CDFs of localization error for all methods, including the original baselines and their enhanced “\+” variants, which retain the original backbone while incorporating OmniLoc’s design components \(unified tokenization, customized feature extraction, and hierarchical prediction\)\. It is shown in Fig\.[6](https://arxiv.org/html/2606.11490#S5.F6)that the enhanced variants consistently shift the corresponding baseline curves upward and leftward, showing that our design yields systematic gains across different backbones\. This improvement is especially evident for CNN\+, LVM\+, and BERT\+, each of which outperforms its original version, confirming the general effectiveness and compatibility of the proposed design\. Still, OmniLoc achieves the best overall performance, suggesting that fully integrating all proposed design components is more effective than incrementally enhancing existing backbones\. These results demonstrate both the superiority of OmniLoc and the transferability of its design principles to other localization models, thereby answeringQ2\.
#### V\-C2Cross\-Environment Generalization
Figure 7:Test RMSE vs\. Label Ratio \(Scenario I\)\.Scenario I: leave\-one\-floor\-out\.Fig\.[7](https://arxiv.org/html/2606.11490#S5.F7)evaluates the data efficiency of LoRA and LP across three cross\-environment settings in Scenario I\. The plot depicts test RMSE against varying fractions of labeled training data, with thefully supervised upper boundprovided for reference\. In all instances, the evaluation and test datasets are kept untouched to maintain the integrity of the performance comparison\. We consider three pretrained models with different source\-data coverage\. In Case I, the model is pretrained using only data from the neighboring floor \(Floor 0\)\. In Case II, it is pretrained using data from all other floors in Building 1\. In Case III, it is pretrained using all available data except that from Floor 1 in Building 1\. For downstream adaptation, we evaluated two strategies: LoRA \(represented by solid lines\) and LP \(represented by dashed lines\)\.
Several key observations can be drawn from Fig\.[7](https://arxiv.org/html/2606.11490#S5.F7)\. First, adaptation difficulty varies across the three configurations, with Case III consistently achieving the lowest RMSE overall\. Case III tracks the fully supervised upper bound most closely as the labeled fraction increases, demonstrating the strongest transferability\. This suggests that pretraining on sufficiently diverse data allows the model to learn highly generalizable representations\. Second, a comparison between adaptation and supervised learning from scratch reveals a distinctcrossovereffect\. In the low\-label regime \(1%–10%\), PEFT methods provide a substantial performance advantage—maintaining RMSE values nearly an order of magnitude lower than the supervised\-from\-scratch baseline\. This highlights OmniLoc’s robustness in few\-shot scenarios, where it successfully leverages its diverse pretraining\. Conversely, as the labeled fraction exceeds 20%, the supervised\-from\-scratch model improves rapidly, eventually achieving the lowest overall RMSE at 100% data\. This indicates that while OmniLoc offers a superior starting point, the model can still successfully specialize when a large volume of environment\-specific data is available\. Third, both LoRA and LP remain highly competitive throughout the evaluation\. In Case III specifically, LoRA maintains a slight but consistent edge over LP, further validating the effectiveness of fine\-tuning low\-rank adapters for cross\-environment localization\. Overall, Fig\.[7](https://arxiv.org/html/2606.11490#S5.F7)demonstrates that OmniLoc facilitates effective adaptation and remains robust even when labeled data is extremely scarce\.
Scenario II: leave\-one\-building\-out\.Comparative performance under Scenario II is illustrated in Fig\.[8](https://arxiv.org/html/2606.11490#S5.F8), which plots test RMSE as a function of labeled training data\. We compare LoRA and LP against zero\-shot and fully supervised baselines across two representative buildings: B1 \(highest data volume\) and B13 \(largest number of floors\)\.
As shown in Fig\.[8](https://arxiv.org/html/2606.11490#S5.F8), both PEFT methods achieve substantial error reductions relative to zero\-shot transfer, with the steepest gains occurring between the 1% and 10% labeling regimes \(low data regime\)\. Notably, in this low data setting, PEFT methods outperform supervised learning from scratch, indicating that even limited supervision, when applied to pretrained representations, enables more effective cross\-dataset adaptation than purely supervised approaches\. This result further underscores the value of developing large\-scale localization models and the necessity of pretraining them on diverse datasets to learn transferable representations\. Across all labeling ratios, LoRA consistently surpasses LP, suggesting that adapting a small subset of internal parameters is more effective than restricting optimization to the output head\. This advantage is especially pronounced in the low\-label regime, where the ability to refine latent representations is crucial for capturing environment\-specific signal characteristics\.
Moreover, as the labeled fraction increases, the RMSE of both PEFT methods follows a power\-law decay, eventually approaching an asymptotic plateau that reflects diminishing returns from additional annotations\. Although the performance gap between PEFT methods and the fully supervised benchmark narrows substantially in data\-constrained regimes, a residual gap persists even at higher data fractions \(e\.g\.,≥\\geq10% in B1 and≥\\geq40% in B13\)\. This behavior suggests that Transformers trained on heterogeneous localization data may be susceptible to catastrophic forgetting\[[24](https://arxiv.org/html/2606.11490#bib.bib20)\], where the constraints imposed by parameter\-efficient updates limit the model’s ability to fully match the performance of end\-to\-end retraining\. Overall, Fig\.[8](https://arxiv.org/html/2606.11490#S5.F8)indicates that OmniLoc supports highly sample\-efficient adaptation under Scenario II, with LoRA emerging as the most effective strategy for balancing annotation cost and localization accuracy\.
Figure 8:Test RMSE vs\. Label Ratio \(Scenario II\)\.Scenario III: cross\-dataset evaluation\.Fig\.[9](https://arxiv.org/html/2606.11490#S5.F9)plots RMSE as a function of labeled\-data fraction in an even more challenging Scenario III on the WILD dataset, comparing LoRA, LP, and the fully supervised upper bound across two environments, ENV1 and ENV2\. Several trends emerge\. First, in both environments, localization error decreases sharply as supervision increases from extremely scarce labels to modest labeling ratios, indicating that even limited target\-domain annotation yields substantial adaptation gains\. Beyond this low\-label regime, improvements become more gradual, reflecting diminishing returns from additional labels\. One plausible explanation is that, under such challenging conditions, PEFT methods have limited capacity to further refine representations, as only a small subset of model parameters is updated during adaptation\.
Second, LoRA consistently outperforms LP across all labeling ratios in both ENV1 and ENV2, with the advantage most pronounced in the low\-label regime\. This result suggests that effective cross\-dataset adaptation requires not only tuning the final predictor, but also updating a small subset of internal model parameters to better align the learned representation with the target\-domain signal characteristics\. Third,adaptation difficulty differs across environments\. In ENV1, LoRA achieves low RMSE with limited supervision and remains close to thefully supervised upper boundthroughout\. In ENV2, both methods exhibit higher error, indicating a more severe domain shift; nevertheless, LoRA maintains a clear advantage over LP and steadily approaches the supervised upper bound as the labeled fraction increases\.
Figure 9:Test RMSE versus the percentage of labeled data \(Scenario III\)\.Overall, the results in Figs\. 7–10 show that, with appropriate fine\-tuning strategies, OmniLoc supports effective and data\-efficient cross\-dataset adaptation\. In particular, LoRA offers a favorable tradeoff between labeling cost and localization accuracy, achieving strong performance with limited supervision while consistently outperforming LP across all environments, providing a positive answer toQ3\.
### V\-DAblation Studies and Complexity
#### V\-D1Ablation Studies
TABLE I:Ablation study on different input combinations, network components, and loss terms\.Tab\.[I](https://arxiv.org/html/2606.11490#S5.T1)reports an ablation study on input modalities, architectural components, and loss design\. For the input settings, CSI alone achieves lower error than RSSI alone, reducing RMSE from 1\.787 to 1\.554 \(13\.0%\)\. This is reasonable because CSI retains fine\-grained spatial and frequency\-domain information across subcarriers, whereas RSSI is only a coarse aggregate measurement\. Adding SINR further improves both settings, but the gain is larger when CSI is used: RMSE decreases from 1\.554 to 1\.359 \(12\.5%\) for CSI, compared with a reduction from 1\.787 to 1\.662 \(7\.0%\) for RSSI\. This pattern suggests that SINR mainly acts as a quality indicator that complements feature\-rich measurements more effectively than coarse ones\. In other words, when the input already contains detailed signal structure, SINR helps the model judge how reliable that structure is; when the input is limited to RSSI, the benefit is necessarily smaller\. Combining CSI and RSSI yields only a marginal improvement over CSI alone, indicating that RSSI contributes little additional information beyond what is already encoded in CSI, likely because RSSI can be viewed as a heavily compressed summary of the same underlying signal\.
The component ablation further shows that every module contributes to the final performance\. Removing UIT increases RMSE to 1\.366, which is 16\.5% higher than that of the full model\. Removing MPAA increases RMSE to 1\.463, corresponding to a 24\.7% degradation, while removing GLO increases RMSE to 1\.325, or a 13\.0% degradation\. These results indicate that all three modules are beneficial, with MPAA contributing the largest performance gain\.
For the loss\-function ablation, every partial loss variant performs worse than the full objective\. Relative to the complete model, RMSE increases to 1\.374, 1\.291, and 1\.245, corresponding to degradations of 17\.1%, 10\.1%, and 6\.1%, respectively\. This consistent trend indicates that each loss term contributes complementary supervision, and removing any part weakens the training signal\. As a result, the full model, which jointly incorporates all inputs, components, and loss terms, achieves the best overall performance with the lowest RMSE of 0\.990\. Overall, these results confirm that the effectiveness of the framework comes not from any single design choice alone, but from the synergy among its components\.
#### V\-D2Complexity Analysis
TABLE II:Model efficiency comparison\. Params: total parameters; Train: trainable parameters; FLOPs: floating point operations; Inf: inference latency\.Tab\.[II](https://arxiv.org/html/2606.11490#S5.T2)compares the efficiency of different localization models in terms of total parameters, trainable parameters, FLOPs, and inference latency\. Among the baselines, CNN is the most lightweight, requiring only 23\.34 G FLOPs and 4\.71 ms latency, whereas BERT incurs the highest computational cost at 267\.32 G FLOPs and 17\.49 ms\. LVM and OmniLoc have the same model size and nearly identical complexity, each with 4\.456 MB parameters and 88\.55 G FLOPs, indicating that OmniLoc’s accuracy gains do not rely on increased model scale\.
PEFT methods further improve OmniLoc’s efficiency\. OmniLoc \(LoRA\) reduces the number of trainable parameters from 4\.456 MB to 0\.997 MB while keeping FLOPs nearly unchanged and slightly lowering inference latency\. OmniLoc \(LP\) is even more efficient, requiring only 0\.948 MB trainable parameters, 75\.08 G FLOPs, and 5\.31 ms latency\. These results show that OmniLoc not only achieves strong localization performance, but also supports efficient adaptation through lightweight fine\-tuning, making it well suited for deployment in resource\-constrained environments\.
## VIConclusions
In this paper, we presented OmniLoc, an environment\-interactive foundation model for anchor\-free indoor localization from heterogeneous wireless measurements\. To the best of our knowledge, OmniLoc is the first foundation\-model\-based framework tailored to this task\. By unifying diverse wireless signals with a shared tokenization scheme, modeling AP\-aware geometric structure with a geometry\-aware Transformer, and enforcing geometric consistency through a dedicated estimation head, OmniLoc achieves strong localization performance across diverse indoor environments\. Results on both a large\-scale in\-house dataset and a public benchmark show that OmniLoc consistently outperforms state\-of\-the\-art baselines\. Beyond the full framework, its key design components also transfer effectively to other localization backbones, suggesting that the gains arise from general and reusable principles\. OmniLoc further shows strong robustness under cross\-environment and cross\-dataset evaluation, demonstrating good generalization to unseen deployments\. Overall, these results highlight OmniLoc as a unified, accurate, and extensible solution for wireless indoor localization, and point to the promise of foundation\-model design for anchor\-free localization with widely available WiFi networks\.
Limitations:Our current design has several limitations\. First, it relies only on CSI magnitude and therefore does not exploit phase information, which may contain additional localization cues despite being noisy and difficult to calibrate in practice\. Better phase error modeling and correction\[[69](https://arxiv.org/html/2606.11490#bib.bib12),[20](https://arxiv.org/html/2606.11490#bib.bib14),[51](https://arxiv.org/html/2606.11490#bib.bib15)\]could further improve performance\. Second, OmniLoc currently uses only coarse\-grained geometric priors, such as floor and building indices, and does not yet incorporate fine\-grained environmental context\. Extending the framework with complementary modalities, such as LiDAR, IMU, or cameras, is a promising direction for enriching geometric awareness and further improving localization accuracy, potentially toward millimeter\-level precision\.
## Appendix ATHEORETICAL RESULTS and Proofs
Throughout this section, the transformer encoder output is𝐗≡𝐗enc∈ℝL×d\\mathbf\{X\}\\equiv\\mathbf\{X\}\_\{\\mathrm\{enc\}\}\\in\\mathbb\{R\}^\{L\\times d\}\(batch index suppressed\), whereL=1\+N1L=1\+N\_\{1\}andN1N\_\{1\}is the number of locally observed APs\. The scoring matrix isWp∈ℝd×MW\_\{p\}\\in\\mathbb\{R\}^\{d\\times M\}with columnswm∈ℝdw\_\{m\}\\in\\mathbb\{R\}^\{d\}\(m=1,…,Mm=1,\\ldots,M\)\. The attention weights are𝐖=softmaxL\(𝐗Wp\)∈ℝL×M\\mathbf\{W\}=\\mathrm\{softmax\}\_\{L\}\(\\mathbf\{X\}W\_\{p\}\)\\in\\mathbb\{R\}^\{L\\times M\}, wheresoftmaxL\\mathrm\{softmax\}\_\{L\}normalizes over the sequence dimension\. Themm\-th probe summary is𝐒m=𝐗⊤𝐖:,m∈ℝd\\mathbf\{S\}\_\{m\}=\\mathbf\{X\}^\{\\top\}\\mathbf\{W\}\_\{:,m\}\\in\\mathbb\{R\}^\{d\}, and the final pooled vector is𝐡=Wfvec\(𝐒\)\+bf∈ℝd\\mathbf\{h\}=W\_\{f\}\\,\\mathrm\{vec\}\(\\mathbf\{S\}\)\+b\_\{f\}\\in\\mathbb\{R\}^\{d\}, whereWf∈ℝd×MdW\_\{f\}\\in\\mathbb\{R\}^\{d\\times Md\}fuses all probe summaries\. The following analysis builds on the Deep Sets theorem\[[74](https://arxiv.org/html/2606.11490#bib.bib83)\], which characterizes all permutation\-invariant set functions\.
###### Theorem 1\(Deep Sets\[[74](https://arxiv.org/html/2606.11490#bib.bib83)\]\)\.
A functionf:𝒳\(L\)→ℝf:\\mathcal\{X\}^\{\(L\)\}\\to\\mathbb\{R\}on finite multisets is permutation\-invariant if and only if it decomposes as:
f\(\{x1,…,xL\}\)=ρ\(∑l=1Lϕ\(xl\)\),f\\\!\\left\(\\\{x\_\{1\},\\ldots,x\_\{L\}\\\}\\right\)=\\rho\\\!\\left\(\\sum\_\{l=1\}^\{L\}\\phi\(x\_\{l\}\)\\right\),\(28\)for suitableϕ:𝒳→ℝK\\phi:\\mathcal\{X\}\\to\\mathbb\{R\}^\{K\}andρ:ℝK→ℝ\\rho:\\mathbb\{R\}^\{K\}\\to\\mathbb\{R\}\.
###### Proof of Theorem[1](https://arxiv.org/html/2606.11490#Thmtheorem1)\(sketch\)\.
Sufficiency \(⇐\\Leftarrow\):Any function of the formρ\(∑lϕ\(xl\)\)\\rho\(\\sum\_\{l\}\\phi\(x\_\{l\}\)\)is permutation\-invariant because summation commutes with reordering\.
Necessity \(⇒\\Rightarrow\):For a countable𝒳\\mathcal\{X\}, one can construct an injectiveϕ\\phithat maps each element to a distinct basis vector, making the sum a count vector that encodes multiset membership\. The functionρ\\rhocan then recover any permutation\-invariantfffrom this representation\. See\[[74](https://arxiv.org/html/2606.11490#bib.bib83)\]for the full construction\. ∎
###### Proposition 1\(Mean pooling as a special case\)\.
WhenWp=𝟎d×MW\_\{p\}=\\mathbf\{0\}\_\{d\\times M\}, every probe of MPAA reduces to mean pooling:𝐒m=𝐗¯\\mathbf\{S\}\_\{m\}=\\bar\{\\mathbf\{X\}\}for allmm\.
###### Proof\.
𝐔:,m=𝐗0=𝟎L\\mathbf\{U\}\_\{:,m\}=\\mathbf\{X\}\\,\\mathbf\{0\}=\\mathbf\{0\}\_\{L\}\. By symmetry,softmax\(𝟎L\)l=e0/\(Le0\)=1/L\\mathrm\{softmax\}\(\\mathbf\{0\}\_\{L\}\)\_\{l\}=e^\{0\}/\(L\\,e^\{0\}\)=1/Lfor allll\. Therefore𝐒m=∑l\(1/L\)𝐗l,:=𝐗¯\\mathbf\{S\}\_\{m\}=\\sum\_\{l\}\(1/L\)\\,\\mathbf\{X\}\_\{l,:\}=\\bar\{\\mathbf\{X\}\}\. ∎
Proposition[1](https://arxiv.org/html/2606.11490#Thmproposition1)establishes that mean pooling is always reachable by MPAA \(by settingWp=𝟎W\_\{p\}=\\mathbf\{0\}\), soℱmean⊆ℱM\\mathcal\{F\}\_\{\\mathrm\{mean\}\}\\subseteq\\mathcal\{F\}\_\{M\}\. The following lemma shows the inclusion is strict: there exist functions computable by MPAA that no mean\-pooling MLP can represent\.
###### Lemma 1\(Strict enrichment over mean pooling\)\.
Letℱmean\\mathcal\{F\}\_\{\\mathrm\{mean\}\}be the function class of mean pooling followed by an MLP, andℱM\\mathcal\{F\}\_\{M\}the class ofMM\-head MPAA followed byWfW\_\{f\}\. ForM≥2M\\geq 2:
ℱmean⊊ℱM\.\\mathcal\{F\}\_\{\\mathrm\{mean\}\}\\subsetneq\\mathcal\{F\}\_\{M\}\.\(29\)
###### Proof\.
Containment\(ℱmean⊆ℱM\\mathcal\{F\}\_\{\\mathrm\{mean\}\}\\subseteq\\mathcal\{F\}\_\{M\}\): follows directly from Proposition[1](https://arxiv.org/html/2606.11490#Thmproposition1)\.
Strictness\(ℱmean⊊ℱM\\mathcal\{F\}\_\{\\mathrm\{mean\}\}\\subsetneq\\mathcal\{F\}\_\{M\}\): We exhibit a function inℱM∖ℱmean\\mathcal\{F\}\_\{M\}\\setminus\\mathcal\{F\}\_\{\\mathrm\{mean\}\}\. Letg\(𝐗\)=maxl𝐗l,1g\(\\mathbf\{X\}\)=\\max\_\{l\}\\,\\mathbf\{X\}\_\{l,1\}\(the maximum first\-coordinate value across all tokens\)\.
\(a\)g∉ℱmeang\\notin\\mathcal\{F\}\_\{\\mathrm\{mean\}\}:Mean pooling computes𝐗¯=1L∑l𝐗l,:\\bar\{\\mathbf\{X\}\}=\\frac\{1\}\{L\}\\sum\_\{l\}\\mathbf\{X\}\_\{l,:\}, which depends on𝐗l,1\\mathbf\{X\}\_\{l,1\}only through the averageX¯1=1L∑lXl,1\\bar\{X\}\_\{1\}=\\frac\{1\}\{L\}\\sum\_\{l\}X\_\{l,1\}\. Since the maximum and the mean of a sequence can differ arbitrarily, no MLP applied to𝐗¯\\bar\{\\mathbf\{X\}\}can computeggexactly\.
\(b\)g∈ℱMg\\in\\mathcal\{F\}\_\{M\}\(approximately\):Setw1=α𝐞1w\_\{1\}=\\alpha\\,\\mathbf\{e\}\_\{1\}for headm=1m=1, where𝐞1\\mathbf\{e\}\_\{1\}is the first standard basis vector andα\>0\\alpha\>0is a temperature parameter; the remaining heads are unconstrained\. The attention weight for tokenllin head 1 is:
Wl,1\(α\)=eαXl,1∑l′eαXl′,1\.W\_\{l,1\}\(\\alpha\)=\\frac\{e^\{\\alpha X\_\{l,1\}\}\}\{\\sum\_\{l^\{\\prime\}\}e^\{\\alpha X\_\{l^\{\\prime\},1\}\}\}\.\(30\)Asα→∞\\alpha\\to\\infty, the softmax concentrates on the token with the largest first coordinate:
𝐒1→α→∞𝐗l^,:,l^=argmaxlXl,1\.\\mathbf\{S\}\_\{1\}\\;\\xrightarrow\{\\;\\alpha\\to\\infty\\;\}\\mathbf\{X\}\_\{\\hat\{l\},:\},\\qquad\\hat\{l\}=\\arg\\max\_\{l\}\\,X\_\{l,1\}\.\(31\)The first component of𝐒1\\mathbf\{S\}\_\{1\}therefore converges tomaxlXl,1=g\(𝐗\)\\max\_\{l\}X\_\{l,1\}=g\(\\mathbf\{X\}\), which a linearWfW\_\{f\}can read off exactly\. Sinceα\\alphais a learnable parameter, the optimizer can approximateggto arbitrary precision, sog∈ℱMg\\in\\mathcal\{F\}\_\{M\}\. ∎
## References
- \[1\]\(2019\)WiDeep: WiFi\-based accurate and robust indoor localization system using deep learning\.InProc\. IEEE Int\. Conf\. Pervasive Comput\. Commun\. \(PerCom\),pp\. 1–10\.Cited by:[§II\-A](https://arxiv.org/html/2606.11490#S2.SS1.p1.1)\.
- \[2\]A\. Aboulfotouh, E\. Mohammed, and H\. Abou\-Zeid\(2025\)6G wavesfm: a foundation model for sensing, communication, and localization\.IEEE Open Journal of the Communications Society\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p2.1)\.
- \[3\]S\. Aditya, A\. F\. Molisch, and H\. M\. Behairy\(2018\)A survey on the impact of multipath on wideband time\-of\-arrival based localization\.Proc\. IEEE106\(7\),pp\. 1183–1203\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p1.1)\.
- \[4\]A\. Alkhateeb\(2019\)DeepMIMO: a generic deep learning dataset for millimeter wave and massive mimo applications\.arXiv preprint arXiv:1902\.06435\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p2.1)\.
- \[5\]D\. Burghal, A\. T\. Ravi, V\. Rao, A\. A\. Alghafis, and A\. F\. Molisch\(2020\)A comprehensive survey of machine learning based localization with wireless signals\.arXiv preprint arXiv:2012\.11171\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p1.1),[§II\-C](https://arxiv.org/html/2606.11490#S2.SS3.p1.1)\.
- \[6\]Y\. Chen, L\. Zhao, Y\. Zhang, S\. Huang, and G\. Dissanayake\(2021\)Anchor selection for SLAM based on graph topology and submodular optimization\.IEEE Trans\. Robot\.38\(1\),pp\. 329–350\.Cited by:[§II\-A](https://arxiv.org/html/2606.11490#S2.SS1.p2.1)\.
- \[7\]M\. Cheraghinia, E\. De Poorter, J\. Fontaine, M\. Debbah, and A\. Shahid\(2025\)A foundation model for wireless technology recognition and localization tasks\.IEEE Open Journal of the Communications Society6,pp\. 9879–9896\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p2.1)\.
- \[8\]K\. Chintalapudi, A\. Padmanabha Iyer, and V\. N\. Padmanabhan\(2010\)Indoor localization without the pain\.InProc\. ACM Int\. Conf\. Mobile Comput\. Netw\. \(MobiCom\),pp\. 173–184\.Cited by:[§II\-B](https://arxiv.org/html/2606.11490#S2.SS2.p2.1)\.
- \[9\]L\. Chu, A\. Alghafis, and A\. F\. Molisch\(2024\)Exploiting semantic localization in highly dynamic wireless networks using deep homoscedastic domain adaptation\.IEEE Trans\. Commun\.73\(3\),pp\. 2032–2046\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p1.1),[§II\-C](https://arxiv.org/html/2606.11490#S2.SS3.p2.1),[1st item](https://arxiv.org/html/2606.11490#S5.I2.i1.p1.1)\.
- \[10\]L\. Chu, X\. Guo, B\. Li, B\. Xu, Q\. Wan, and Y\. Shen\(2014\)A robust vector matching localization approach based on multiple channels SSD fingerprinting of ZigBee networks\.Prog\. Electromagn\. Res\.144,pp\. 133–140\.Cited by:[§II\-B](https://arxiv.org/html/2606.11490#S2.SS2.p1.1)\.
- \[11\]F\. S\. Daniş and A\. T\. Cemgil\(2017\)Model\-based localization and tracking using bluetooth low\-energy beacons\.Sensors17\(11\),pp\. 2484\.Cited by:[§II\-A](https://arxiv.org/html/2606.11490#S2.SS1.p1.1)\.
- \[12\]S\. De Bast, A\. P\. Guevara, and S\. Pollin\(2020\)CSI\-based positioning in massive MIMO systems using convolutional neural networks\.InProc\. IEEE Veh\. Technol\. Conf\. \(VTC\-Spring\),pp\. 1–5\.Cited by:[1st item](https://arxiv.org/html/2606.11490#S5.I2.i1.p1.1)\.
- \[13\]M\. Elbes, T\. Alrawashdeh, E\. Almaita, S\. AlZu’bi, and Y\. Jararweh\(2022\)A platform for power management based on indoor localization in smart buildings using long short\-term neural networks\.Trans\. Emerg\. Telecommun\. Technol\.33\(3\),pp\. e3867\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p1.1)\.
- \[14\]A\. F\. G\. Ferreira, D\. M\. A\. Fernandes, A\. P\. Catarino, and J\. L\. Monteiro\(2017\)Localization and positioning systems for emergency responders: a survey\.IEEE Commun\. Surveys Tuts\.19\(4\),pp\. 2836–2870\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p1.1)\.
- \[15\]S\. Gezici, Z\. Tian, G\. B\. Giannakis, H\. Kobayashi, A\. F\. Molisch, H\. V\. Poor, and Z\. Sahinoglu\(2005\)Localization via ultra\-wideband radios: a look at positioning aspects for future sensor networks\.IEEE Signal Process\. Mag\.22\(4\),pp\. 70–84\.Cited by:[§II\-A](https://arxiv.org/html/2606.11490#S2.SS1.p1.1)\.
- \[16\]H\. Gholamalinezhad and H\. Khosravi\(2020\)Pooling methods in deep neural networks: a review\.arXiv preprint arXiv:2009\.07485\.Cited by:[§IV\-B2](https://arxiv.org/html/2606.11490#S4.SS2.SSS2.p1.3)\.
- \[17\]F\. Hejazi, K\. Vuckovic, and N\. Rahnavard\(2021\)DyLoc: dynamic localization for massive MIMO using predictive recurrent neural networks\.InProc\. IEEE INFOCOM,pp\. 1–9\.Cited by:[1st item](https://arxiv.org/html/2606.11490#S5.I2.i1.p1.1)\.
- \[18\]E\. J\. Hu, Y\. Shen, P\. Wallis, Z\. Allen\-Zhu, Y\. Li, S\. Wang, L\. Wang, W\. Chen,et al\.\(2022\)LoRA: low\-rank adaptation of large language models\.InProc\. Int\. Conf\. Learn\. Represent\. \(ICLR\),Cited by:[§V\-A3](https://arxiv.org/html/2606.11490#S5.SS1.SSS3.p2.1)\.
- \[19\]Y\. Hu, X\. Fan, Z\. Yin, F\. Qian, Z\. Ji, Y\. Shu, Y\. Han, Q\. Xu, J\. Liu, and P\. Bahl\(2023\)The wisdom of 1,170 teams: lessons and experiences from a large indoor localization competition\.InProc\. ACM Int\. Conf\. Mobile Comput\. Netw\. \(MobiCom\),pp\. 1–15\.Cited by:[§II\-B](https://arxiv.org/html/2606.11490#S2.SS2.p2.1)\.
- \[20\]M\. Ibrahim, H\. Liu, M\. Jawahar, V\. Nguyen, M\. Gruteser, R\. Howard, B\. Yu, and F\. Bai\(2018\)Verification: accuracy evaluation of WiFi fine time measurements on an open platform\.InProc\. ACM Int\. Conf\. Mobile Comput\. Netw\. \(MobiCom\),pp\. 417–427\.Cited by:[§VI](https://arxiv.org/html/2606.11490#S6.p2.1)\.
- \[21\]S\. Jung, S\. Hann, and C\. Park\(2011\)TDOA\-based optical wireless indoor localization using LED ceiling lamps\.IEEE Trans\. Consum\. Electron\.57\(4\),pp\. 1592–1597\.Cited by:[§II\-B](https://arxiv.org/html/2606.11490#S2.SS2.p1.1)\.
- \[22\]W\. Kang and Y\. Han\(2014\)SmartPDR: smartphone\-based pedestrian dead reckoning for indoor localization\.IEEE Sensors J\.15\(5\),pp\. 2906–2916\.Cited by:[§II\-A](https://arxiv.org/html/2606.11490#S2.SS1.p2.1)\.
- \[23\]O\. Kerdjidj, Y\. Himeur, S\. S\. Sohail, A\. Amira, F\. Fadli, S\. Atalla, W\. Mansoor, A\. Copiaco, A\. Gawanmeh, S\. Miniaoui,et al\.\(2024\)Uncovering the potential of indoor localization: role of deep and transfer learning\.IEEE Access12,pp\. 73980–74010\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p1.1)\.
- \[24\]J\. Kirkpatrick, R\. Pascanu, N\. Rabinowitz, J\. Veness, G\. Desjardins, A\. A\. Rusu, K\. Milan, J\. Quan, T\. Ramalho, A\. Grabska\-Barwinska,et al\.\(2017\)Overcoming catastrophic forgetting in neural networks\.Proc\. Natl\. Acad\. Sci\. U\.S\.A\.114\(13\),pp\. 3521–3526\.Cited by:[§V\-C2](https://arxiv.org/html/2606.11490#S5.SS3.SSS2.p5.2)\.
- \[25\]D\. Konings, F\. Alam, F\. Noble, and E\. M\. K\. Lai\(2019\)SpringLoc: a device\-free localization technique for indoor positioning and tracking using adaptive RSSI spring relaxation\.IEEE Access7,pp\. 56960–56973\.Cited by:[§II\-A](https://arxiv.org/html/2606.11490#S2.SS1.p2.1)\.
- \[26\]J\. Lee, I\. Lee, and J\. Kang\(2019\)Self\-attention graph pooling\.InProc\. Int\. Conf\. Mach\. Learn\. \(ICML\),pp\. 3734–3743\.Cited by:[§IV\-B2](https://arxiv.org/html/2606.11490#S4.SS2.SSS2.p1.3)\.
- \[27\]A\. A\. Lehyeh, A\. Gharib, T\. Xia, D\. Huston, and S\. Wshah\(2025\)UBiGTLoc: a unified BiLSTM\-graph transformer localization framework for IoT sensor networks\.IEEE Internet Things J\.\.Cited by:[§II\-A](https://arxiv.org/html/2606.11490#S2.SS1.p2.1)\.
- \[28\]Z\. Lin, M\. Feng, C\. N\. dos Santos, M\. Yu, B\. Xiang, B\. Zhou, and Y\. Bengio\(2017\)A structured self\-attentive sentence embedding\.InProc\. Int\. Conf\. Learn\. Represent\. \(ICLR\),Cited by:[§II\-B](https://arxiv.org/html/2606.11490#S2.SS2.p2.1),[§IV\-A](https://arxiv.org/html/2606.11490#S4.SS1.p1.1)\.
- \[29\]B\. Liu, S\. Gao, X\. Liu, X\. Cheng, and L\. Yang\(2025\)WiFo: wireless foundation model for channel prediction\.Sci\. China Inf\. Sci\.68\(6\),pp\. 162302\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p2.1)\.
- \[30\]C\. Luo, H\. Hong, and M\. C\. Chan\(2014\)PiLoc: a self\-calibrating participatory indoor localization system\.InProc\. Int\. Symp\. Inf\. Process\. Sensor Netw\. \(IPSN\),pp\. 143–153\.Cited by:[§II\-B](https://arxiv.org/html/2606.11490#S2.SS2.p2.1)\.
- \[31\]D\. Lymberopoulos and J\. Liu\(2017\)The microsoft indoor localization competition: experiences and lessons learned\.IEEE Signal Process\. Mag\.34\(5\),pp\. 125–140\.Cited by:[§II\-B](https://arxiv.org/html/2606.11490#S2.SS2.p2.1)\.
- \[32\]S\. Masrur, J\. Cheng, A\. R\. Khamesi, and İ\. Güvenç\(2025\)Transforming indoor localization: advanced transformer architecture for NLOS\-dominated wireless environments with distributed sensors\.IEEE Trans\. Mach\. Learn\. Commun\. Netw\.4,pp\. 161–177\.Cited by:[§II\-C](https://arxiv.org/html/2606.11490#S2.SS3.p2.1)\.
- \[33\]P\. Mayer, M\. Magno, and L\. Benini\(2023\)Self\-sustaining ultrawideband positioning system for event\-driven indoor localization\.IEEE Internet Things J\.11\(1\),pp\. 1272–1284\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p1.1)\.
- \[34\]A\. F\. Molisch\(2022\)Wireless communications, 3rd\. ed\. \- from fundamentals to beyond 5g\.IEEE Press \- Wiley\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p1.1)\.
- \[35\]J\. Ott, J\. Pirkl, M\. Stahlke, T\. Feigl, and C\. Mutschler\(2024\)Radio foundation models: pre\-training transformers for 5G\-based indoor localization\.InProc\. Int\. Conf\. Indoor Positioning Indoor Navig\. \(IPIN\),pp\. 1–6\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p2.1),[§II\-C](https://arxiv.org/html/2606.11490#S2.SS3.p2.1)\.
- \[36\]G\. Pan, K\. Huang, H\. Chen, S\. Zhang, C\. Häger, and H\. Wymeersch\(2025\)Large wireless localization model \(LWLM\): a foundation model for positioning in 6G networks\.arXiv preprint arXiv:2505\.10134\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p2.1),[§II\-C](https://arxiv.org/html/2606.11490#S2.SS3.p2.1),[3rd item](https://arxiv.org/html/2606.11490#S5.I2.i3.p1.1)\.
- \[37\]J\. Paulavičius, S\. Jardak, R\. McConville, R\. Piechocki, and R\. Santos\-Rodriguez\(2022\)Temporal self\-supervised learning for RSSI\-based indoor localization\.InProc\. IEEE Int\. Conf\. Commun\. \(ICC\),pp\. 3046–3051\.Cited by:[§II\-C](https://arxiv.org/html/2606.11490#S2.SS3.p2.1)\.
- \[38\]Z\. Pei, Z\. Deng, S\. Xu, and X\. Xu\(2009\)Anchor\-free localization method for mobile targets in coal mine wireless sensor networks\.Sensors9\(4\),pp\. 2836–2850\.Cited by:[§II\-A](https://arxiv.org/html/2606.11490#S2.SS1.p2.1)\.
- \[39\]N\. B\. Priyantha, H\. Balakrishnan, E\. Demaine, and S\. Teller\(2003\)Anchor\-free distributed localization in sensor networks\.InProc\. ACM Conf\. Embedded Netw\. Sensor Syst\. \(SenSys\),pp\. 340–341\.Cited by:[§II\-A](https://arxiv.org/html/2606.11490#S2.SS1.p1.1)\.
- \[40\]N\. Reimers and I\. Gurevych\(2019\)Sentence\-BERT: sentence embeddings using siamese BERT\-networks\.InProc\. Conf\. Empir\. Methods Nat\. Lang\. Process\. Int\. Joint Conf\. Nat\. Lang\. Process\. \(EMNLP\-IJCNLP\),pp\. 3982–3992\.Cited by:[§IV\-A](https://arxiv.org/html/2606.11490#S4.SS1.p1.1)\.
- \[41\]N\. Saeed, H\. Nam, T\. Y\. Al\-Naffouri, and M\. Alouini\(2019\)A state\-of\-the\-art survey on multidimensional scaling\-based localization techniques\.IEEE Commun\. Surveys Tuts\.21\(4\),pp\. 3565–3583\.Cited by:[§II\-A](https://arxiv.org/html/2606.11490#S2.SS1.p2.1)\.
- \[42\]A\. Salihu, M\. Rupp, and S\. Schwarz\(2024\)Self\-supervised and invariant representations for wireless localization\.IEEE Trans\. Wireless Commun\.23\(8\),pp\. 8281–8296\.Cited by:[§II\-C](https://arxiv.org/html/2606.11490#S2.SS3.p2.1)\.
- \[43\]S\. Shioda and K\. Shimamura\(2013\)Anchor\-free localization: estimation of relative locations of sensors\.InProc\. IEEE Int\. Symp\. Pers\. Indoor Mobile Radio Commun\. \(PIMRC\),pp\. 2087–2092\.Cited by:[§II\-A](https://arxiv.org/html/2606.11490#S2.SS1.p1.1)\.
- \[44\]H\. Si, X\. Guo, G\. O\. Boateng, and H\. Xia\(2025\)Cross\-scenario foundation localization models: architecture, key technologies, and challenges\.IEEE Wireless Communications\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p2.1)\.
- \[45\]N\. Singh, S\. Choe, and R\. Punmiya\(2021\)Machine learning based indoor localization using wi\-fi rssi fingerprints: an overview\.IEEE access9,pp\. 127150–127174\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p1.1)\.
- \[46\]C\. Studer, S\. Medjkouh, E\. Gonultaş, T\. Goldstein, and O\. Tirkkonen\(2018\)Channel charting: locating users within the radio environment using channel state information\.IEEE Access6,pp\. 47682–47698\.Cited by:[§II\-B](https://arxiv.org/html/2606.11490#S2.SS2.p2.1)\.
- \[47\]G\. Tan, H\. Jiang, S\. Zhang, Z\. Yin, and A\. Kermarrec\(2013\)Connectivity\-based and anchor\-free localization in large\-scale 2D/3D sensor networks\.ACM Trans\. Sensor Netw\.10\(1\),pp\. 1–21\.Cited by:[§II\-A](https://arxiv.org/html/2606.11490#S2.SS1.p1.1)\.
- \[48\]S\. Taner, V\. Palhares, and C\. Studer\(2025\)Channel charting in real\-world coordinates with distributed MIMO\.IEEE Trans\. Wireless Commun\.\.Cited by:[§II\-B](https://arxiv.org/html/2606.11490#S2.SS2.p2.1)\.
- \[49\]T\. Thayaparan, L\. J\. Stanković, and I\. Djurović\(2008\)Micro\-doppler\-based target detection and feature extraction in indoor and outdoor environments\.J\. Franklin Inst\.345\(6\),pp\. 700–722\.Cited by:[§II\-B](https://arxiv.org/html/2606.11490#S2.SS2.p1.1),[§II\-B](https://arxiv.org/html/2606.11490#S2.SS2.p2.1)\.
- \[50\]S\. Tiku and S\. Pasricha\(2023\)An overview of indoor localization techniques\.Machine Learning for Indoor Localization and Navigation,pp\. 3–25\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p1.1)\.
- \[51\]W\. Tong, B\. Li, and J\. Qiao\(2026\)From error analysis to mitigation: a hybrid framework for enhancing Wi\-Fi FTM positioning in multipath\-prone indoor scenarios\.IEEE Trans\. Wireless Commun\.25,pp\. 9859–9874\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p1.1),[§VI](https://arxiv.org/html/2606.11490#S6.p2.1)\.
- \[52\]G\. Torsoli, M\. Z\. Win, and A\. Conti\(2023\)Blockage intelligence in complex environments for beyond 5G localization\.IEEE J\. Sel\. Areas Commun\.41\(6\),pp\. 1688–1701\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p1.1)\.
- \[53\]D\. A\. Tran and T\. Nguyen\(2008\)Localization in wireless sensor networks based on support vector machines\.IEEE Trans\. Parallel Distrib\. Syst\.19\(7\),pp\. 981–994\.Cited by:[§II\-C](https://arxiv.org/html/2606.11490#S2.SS3.p1.1)\.
- \[54\]A\. Vaswani, N\. Shazeer, N\. Parmar, J\. Uszkoreit, L\. Jones, A\. N\. Gomez, Ł\. Kaiser, and I\. Polosukhin\(2017\)Attention is all you need\.InAdv\. Neural Inf\. Process\. Syst\. \(NeurIPS\),Vol\.30\.Cited by:[§IV\-A](https://arxiv.org/html/2606.11490#S4.SS1.p1.1)\.
- \[55\]E\. Vinogradov, A\. Bamba, W\. Joseph, and C\. Oestges\(2017\)Physical\-statistical modeling of dynamic indoor power delay profiles\.IEEE Trans\. Wireless Commun\.16\(10\),pp\. 6493–6502\.Cited by:[§II\-B](https://arxiv.org/html/2606.11490#S2.SS2.p2.1)\.
- \[56\]C\. Wang, J\. Luo, X\. Liu, and X\. He\(2021\)Secure and reliable indoor localization based on multitask collaborative learning for large\-scale buildings\.IEEE Internet Things J\.9\(22\),pp\. 22291–22303\.Cited by:[§II\-B](https://arxiv.org/html/2606.11490#S2.SS2.p2.1)\.
- \[57\]X\. Wang, L\. Gao, S\. Mao, and S\. Pandey\(2016\)CSI\-based fingerprinting for indoor localization: a deep learning approach\.IEEE Trans\. Veh\. Technol\.66\(1\),pp\. 763–776\.Cited by:[§II\-C](https://arxiv.org/html/2606.11490#S2.SS3.p1.1)\.
- \[58\]X\. Wang, X\. Wang, and S\. Mao\(2018\)Deep convolutional neural networks for indoor localization with CSI images\.IEEE Trans\. Netw\. Sci\. Eng\.7\(1\),pp\. 316–327\.Cited by:[§II\-C](https://arxiv.org/html/2606.11490#S2.SS3.p1.1)\.
- \[59\]F\. Wen, P\. Liu, H\. Wei, Y\. Zhang, and R\. C\. Qiu\(2018\)Joint azimuth, elevation, and delay estimation for 3\-D indoor localization\.IEEE Trans\. Veh\. Technol\.67\(5\),pp\. 4248–4261\.Cited by:[§II\-B](https://arxiv.org/html/2606.11490#S2.SS2.p1.1)\.
- \[60\]J\. Wendeberg, F\. Höflinger, C\. Schindelhauer, and L\. Reindl\(2011\)Anchor\-free TDOA self\-localization\.InProc\. Int\. Conf\. Indoor Positioning Indoor Navig\. \(IPIN\),pp\. 1–10\.Cited by:[§II\-A](https://arxiv.org/html/2606.11490#S2.SS1.p2.1)\.
- \[61\]K\. Witrisal, P\. Meissner, E\. Leitinger, Y\. Shen, C\. Gustafson, F\. Tufvesson, K\. Haneda, D\. Dardari, A\. F\. Molisch, A\. Conti,et al\.\(2016\)High\-accuracy localization for assisted living: 5G systems will turn multipath channels from foe to friend\.IEEE Signal Process\. Mag\.33\(2\),pp\. 59–70\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p1.1)\.
- \[62\]C\. Wu, Z\. Yang, and Y\. Liu\(2014\)Smartphones based crowdsourcing for indoor localization\.IEEE Trans\. Mobile Comput\.14\(2\),pp\. 444–457\.Cited by:[§II\-B](https://arxiv.org/html/2606.11490#S2.SS2.p2.1)\.
- \[63\]C\. Wu, X\. Yi, W\. Wang, L\. You, Q\. Huang, X\. Gao, and Q\. Liu\(2021\)Learning to localize: a 3D CNN approach to user positioning in massive MIMO\-OFDM systems\.IEEE Trans\. Wireless Commun\.20\(7\),pp\. 4556–4570\.Cited by:[§II\-B](https://arxiv.org/html/2606.11490#S2.SS2.p2.1)\.
- \[64\]K\. Wu, J\. Xiao, Y\. Yi, D\. Chen, X\. Luo, and L\. M\. Ni\(2012\)CSI\-based indoor localization\.IEEE Trans\. Parallel Distrib\. Syst\.24\(7\),pp\. 1300–1309\.Cited by:[§II\-B](https://arxiv.org/html/2606.11490#S2.SS2.p1.1)\.
- \[65\]W\. Wu, D\. Zhou, L\. Shen, Z\. Zhao, C\. Li, and G\. Q\. Huang\(2025\)TransAoA: transformer\-based angle of arrival estimation for BLE indoor localization\.IEEE Trans\. Instrum\. Meas\.74,pp\. 1–12\.Cited by:[§II\-C](https://arxiv.org/html/2606.11490#S2.SS3.p2.1)\.
- \[66\]J\. Xiao, J\. Wang, K\. Cao, X\. Li, Z\. Chen, and C\. Yuen\(2026\)Wireless AI evolution: from statistical learners to electromagnetic\-guided foundation models\.IEEE Commun\. Mag\.\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p2.1)\.
- \[67\]J\. Xiao, Z\. Zhou, Y\. Yi, and L\. M\. Ni\(2016\)A survey on wireless indoor localization from the device perspective\.ACM Comput\. Surv\.49\(2\),pp\. 1–31\.Cited by:[§II\-B](https://arxiv.org/html/2606.11490#S2.SS2.p1.1)\.
- \[68\]Y\. Xie, Y\. Wang, A\. Nallanathan, and L\. Wang\(2016\)An improved k\-nearest\-neighbor indoor localization method based on spearman distance\.IEEE Signal Process\. Lett\.23\(3\),pp\. 351–355\.Cited by:[§II\-C](https://arxiv.org/html/2606.11490#S2.SS3.p1.1)\.
- \[69\]Y\. Xie, Z\. Li, and M\. Li\(2015\)Precise power delay profiling with commodity WiFi\.InProc\. ACM Int\. Conf\. Mobile Comput\. Netw\. \(MobiCom\),pp\. 53–64\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p1.1),[§II\-B](https://arxiv.org/html/2606.11490#S2.SS2.p2.1),[§VI](https://arxiv.org/html/2606.11490#S6.p2.1)\.
- \[70\]S\. Xu, C\. K\. Thomas, O\. Hashash, N\. Muralidhar, W\. Saad, and N\. Ramakrishnan\(2024\)Large multi\-modal models \(LMMs\) as universal foundation models for AI\-native wireless systems\.IEEE Netw\.38\(5\),pp\. 10–20\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p2.1)\.
- \[71\]A\. Yassin, Y\. Nasser, M\. Awad, A\. Al\-Dubai, R\. Liu, C\. Yuen, R\. Raulefs, and E\. Aboutanios\(2016\)Recent advances in indoor localization: a survey on theoretical approaches and applications\.IEEE Commun\. Surveys Tuts\.19\(2\),pp\. 1327–1346\.Cited by:[§II\-B](https://arxiv.org/html/2606.11490#S2.SS2.p1.1)\.
- \[72\]A\. Youssef, A\. Agrawala, and M\. Younis\(2005\)Accurate anchor\-free node localization in wireless sensor networks\.InProc\. IEEE Int\. Perform\. Comput\. Commun\. Conf\. \(IPCCC\),pp\. 465–470\.Cited by:[§II\-A](https://arxiv.org/html/2606.11490#S2.SS1.p1.1)\.
- \[73\]F\. Zafari, A\. Gkelias, and K\. K\. Leung\(2019\)A survey of indoor localization systems and technologies\.IEEE Commun\. Surveys Tuts\.21\(3\),pp\. 2568–2599\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p1.1),[§II\-A](https://arxiv.org/html/2606.11490#S2.SS1.p1.1),[§II\-B](https://arxiv.org/html/2606.11490#S2.SS2.p1.1)\.
- \[74\]M\. Zaheer, S\. Kottur, S\. Ravanbakhsh, B\. Poczos, R\. R\. Salakhutdinov, and A\. J\. Smola\(2017\)Deep sets\.InAdv\. Neural Inf\. Process\. Syst\. \(NeurIPS\),Vol\.30\.Cited by:[Appendix A](https://arxiv.org/html/2606.11490#A1.2.p2.5),[Appendix A](https://arxiv.org/html/2606.11490#A1.p1.12),[Theorem 1](https://arxiv.org/html/2606.11490#Thmtheorem1)\.
- \[75\]R\. Zekavat and R\. M\. Buehrer\(2019\)Handbook of position location: theory, practice, and advances\.John Wiley & Sons\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p1.1)\.
- \[76\]J\. Zhang, J\. Sun, H\. Wang, W\. Xiao, and L\. Tan\(2017\)Large\-scale WiFi indoor localization via extreme learning machine\.InProc\. Chin\. Control Conf\. \(CCC\),pp\. 4115–4120\.Cited by:[§II\-B](https://arxiv.org/html/2606.11490#S2.SS2.p2.1),[§II\-C](https://arxiv.org/html/2606.11490#S2.SS3.p1.1)\.
- \[77\]Y\. Zhang, W\. Rao, M\. Yuan, J\. Zeng, and P\. Hui\(2020\)Context\-aware telco outdoor localization\.IEEE Trans\. Mobile Comput\.21\(4\),pp\. 1211–1225\.Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p1.1)\.
- \[78\]Y\. Zhang, L\. Chu, O\. G\. Serbetci, J\. Gomez\-Ponce, and A\. F\. Molisch\(2026\)WiLoc: massive measured dataset of Wi\-Fi channel state information with application to machine\-learning based localization\.InProc\. IEEE INFOCOM,Cited by:[§I](https://arxiv.org/html/2606.11490#S1.p2.1),[§II\-A](https://arxiv.org/html/2606.11490#S2.SS1.p1.1),[§III\-A](https://arxiv.org/html/2606.11490#S3.SS1.p1.12),[§V\-A](https://arxiv.org/html/2606.11490#S5.SS1.p1.1)\.
- \[79\]Z\. Zhao, T\. Chen, F\. Meng, H\. Li, X\. Li, and G\. Zhu\(2024\)Finding the missing data: a BERT\-inspired approach against package loss in wireless sensing\.InProc\. IEEE INFOCOM Workshops,pp\. 1–6\.Cited by:[2nd item](https://arxiv.org/html/2606.11490#S5.I2.i2.p1.1)\.
- \[80\]B\. Zhou, M\. Tang, C\. Liu, X\. Zhong, H\. He, X\. Chen, J\. Song, Y\. Wang, X\. Zhang, and Q\. Li\(2025\)Cooperative indoor localization using mobile robot anchors via factor graph optimization\.IEEE Internet Things J\.\.Cited by:[§II\-A](https://arxiv.org/html/2606.11490#S2.SS1.p1.1)\.Similar Articles
Geometry-Aware Infrastructure-Anchored Denoiser for UWB Sensing and Work-Zone Reconstruction
This paper presents GAIA, a geometry-aware learning framework for UWB denoising and work-zone reconstruction that couples temporal range modeling with latent anchor-layout estimation. Evaluated on real-world outdoor data, GAIA reduces range MSE by 18.4% and improves polygon IoU by 15.5% over baselines, demonstrating effective boundary-level reconstruction under NLOS conditions.
Euclid-Omni : A Unified Neuro-Symbolic Framework for Plane Geometry
Euclid-Omni is a neuro-symbolic framework integrating LLMs, VLMs, and a symbolic solver to address plane geometry problems from calculations to Olympiad-level proofs, using synthetic data generation for training.
Real-Time Omni-Modal Interaction Driven Whole-Body Mobile Manipulation
Unitree releases UnifoLM-OminiA-0.3, a single AI model for whole-body mobile manipulation with real-time omni-modal interaction, enabling autonomous home-care and wellness tasks.
Vector Linking via Cross-Model Local Isometric Consistency
This paper introduces Vector Linking, a method for recovering correspondences between embeddings from different black-box encoders by leveraging local geometric consistency, proposing an iterative reference-based geometric embedding hashing approach using a small seed set of paired anchors.
Improving Relative Representations with Learned Anchors and Whitened Inner Products
This paper proposes improvements to Relative Representations by learning robust semantic anchors and using a geometry-aware similarity metric, enabling nearly lossless information transfer and stable zero-shot communication between independently trained models of varying architectures.