TL;DR
Imagine sketching the floor plan of a darkened room just by listening to how a radio's volume drops as you walk behind obstacles. This paper tackles the challenge of inferring indoor wall layouts from sparse 5G signal strength measurements—requiring zero extra hardware. In doing so, the authors uncover a fascinating blind spot in Transformer architectures when given sparse spatial data, and introduce a clever two-stage training curriculum to rescue them.
What Problem Does This Paper Address?
Mapping indoor environments is crucial for 5G beam management, base-station placement, and building digital twins. Conventional tools like LiDAR or RGB-D cameras get the job done, but they are expensive, labor-intensive, and raise privacy concerns.
Ambient 5G signals offer a zero-cost alternative. Every smartphone measures the Received Signal Strength Indicator (RSSI)—essentially a single scalar number representing signal power. Because walls cast radio "shadows" on top of normal free-space path loss, a scattered handful of RSSI readings holds hidden clues about a room's geometry. Unlike richer radar-like radio metrics (such as Channel State Information, or CSI) that require specialized multi-antenna arrays, RSSI is available on standard commodity devices. However, working backward from a few scattered volume drops to crisp, 2D wall boundaries is a brutally nonlinear inverse problem. When you train deep learning models directly on such sparse spatial inputs, gradients starve early on, and training often fails.
Methods
To map sparse points to 2D $64 \times 64$ wall grids, the authors first package each measurement (receiver coordinates, RSSI value, and known transmitter position) into a 5D token. A learned "spatial scatter" layer uses attention to softly assign these tokens onto a $4 \times 4$ spatial grid, which feeds into either a Transformer or a Convolutional Neural Network (CNN) U-Net encoder.
Instead of forcing the network to guess thin walls from scratch, the authors propose a two-stage training protocol:
- Stage 1 (The Pretext Task): Train the encoder and a lightweight decoder to reconstruct the entire, dense RSSI heatmap of the room. Because radio fields are smooth and continuous, this gives the encoder rich, propagation-aware spatial features.
- Stage 2 (Wall Decoding & Fine-Tuning): Freeze the encoder and train a separate decoder solely to predict the binary wall occupancy map. Once converged, unfreeze everything and jointly fine-tune end-to-end using a composite loss combining both heatmap and wall errors.
Datasets
Because no standard dataset existed for this inverse problem, the authors introduced the first RSSI-to-wall benchmark dataset. Using the physically validated Sionna RT ray-tracing simulator at 3.5 GHz, they generated 20,000 indoor scenes ($10 \times 10\text{ m}$ rooms) across seven wall topologies—from simple single partitions to complex T-shapes and crosses. Each scene features a randomly placed transmitter and 600 uniformly scattered receiver samples. They also built a realistic 200-scene test set where $N = 48$ samples follow a continuous random-walk trajectory, mimicking someone casually walking through a room with a smartphone.
Key Insights and Ideas
- Transformers suffer catastrophic collapse without a warmup; CNNs don't: When trained directly on wall maps (single-stage), the Transformer encoder irreversibly collapses, outputting a useless constant prediction regardless of whether you give it 10 or 400 measurements. Sparse inputs and sparse binary wall targets starve self-attention of gradient diversity. CNNs completely bypass this failure because convolutional filters bake in local spatial coherence from day one.
- Dense intermediate tasks stabilize latent spaces: Forcing the Transformer to first imagine the smooth, continuous radio propagation field acts like scaffolding, preventing rank and attention-entropy collapse before introducing the harsh, sparse supervision of thin walls.
- Inductive biases trade places depending on data density: Under extreme sparsity ($N = 30$), the Transformer's $4 \times 4$ spatial scatter grid outperforms the CNN. Yet at high density ($N = 400$), a Transformer without the scatter grid (using global mean pooling instead) slightly beats the grid-based Transformer—showing that a helpful coarse prior in low-data regimes eventually becomes a resolution bottleneck when data is plentiful.
Key Results
Performance is primarily measured via Wall $F_1$ score (balancing false walls against missed walls on a 0-to-1 scale):
- Single-Stage vs. Two-Stage: At $N = 400$ random observations, single-stage Transformer 1S flatlines at $F_1 = 0.166$. Adding the two-stage protocol rescues it to 0.792 (and 0.817 without the $4 \times 4$ scatter bottleneck). Meanwhile, CNN U-Net thrives in a single stage, hitting the highest overall score of 0.879 (vs. 0.854 in two-stage).
- Extreme Sparsity: At just $N = 30$ observations, qualitative tests across Cross, Parallel, and T-shape rooms show Two-Stage Transformer consistently beating Two-Stage CNN U-Net, posting $F_1$ gains of 0.44, 0.16, and 0.10, respectively.
- Speed & Realism: Inference takes just 9 to 18 ms on an NVIDIA A100 GPU—well under the 100 ms budget for near-real-time mapping. However, on the realistic smartphone random-walk test ($N = 48$), performance drops sharply across the board, with the best model averaging $F_1 \approx 0.24$.
Limitations and Future Work
First, the study is purely simulation-based; real rooms contain furniture clutter and human bodies that scatter signals unpredictably, meaning real-world deployment will require sim-to-real domain adaptation. Second, the sharp drop in accuracy during single-trajectory "walk" tests happens because a single path leaves 50%–70% of the room unobserved. Future work aims to fuse multiple walking trajectories, use finer spatial grids, scale outputs beyond $15\text{ m}$ rooms to 3D multi-floor buildings, and validate the system on live 5G testbeds.
Summary updated