11 Nov 2026 · 6 min read · EN
Reading a city's shape from cell signals
A cellular network already covers the city. Every call is a measurement of the space between an antenna and a phone: the signal arrives attenuated by distance, and shadowed by whatever buildings stand in the way. If that shadow carries information, then the network is an unlabelled sensor array, and the city’s shape can be recovered from it.
That is the premise of this project: an inverse problem that takes signal measurements at the periphery of a city and reconstructs the building mass inside.
The idea, forward first
Inverse problems are easier to trust when the forward direction is explicit. So the project builds the physics in one direction and then inverts it:
- Take a small or mid-size city on a plain, so orography does not absorb the signal and the residual can be attributed to buildings.
- Get real building footprints from open data and rasterise them into a coarse occupancy grid — the ground truth.
- Place an array of known transmitters and sample points around the grid.
- For every transmitter–sample link, compute free-space path loss plus the shadow integrated along the ray through the occupancy grid. That produces a synthetic pattern of attenuation.
- Invert that pattern to recover the occupancy grid. The inversion never sees the answer — only the measured attenuation.
The data
Building footprints come from Microsoft Global ML Building Footprints (CDLA-Permissive-2.0, 55,623 polygons in the Santa Rosa tile alone), rasterised at 8 m and downsampled to a 105 × 140 grid. Santa Rosa (La Pampa) is the reference case: flat terrain, a compact urban core, and a footprint distribution that is neither trivial nor pathological.
The thermal case is honest about its shortcuts, listed at the end: tower positions are synthetic, on a grid, and only 2D footprints are modelled — no heights.
The inversion
For a grid of 14,700 cells and 18,144 links, the link-to-cell sensitivity is a sparse matrix:
- Tikhonov regularisation solved with LSQR. Smoothing keeps the solution stable where the geometry leaves cells unconstrained.
- Backprojection as a cheap baseline — useful as a sanity check, but it produced a normalisation artefact (mean absolute error in the tens of dB), so it is reported as a failure of that baseline rather than as a comparator.
- ISTA with an L1 penalty, to see whether sparsity suits a mask that is mostly empty. It stayed numerically stable and came out slightly worse than Tikhonov at the chosen regularisation strength.
What it recovers
For Santa Rosa, Tikhonov recovers the layout with R² = 0.886, mean absolute error 0.173 dB/cell and IoU 0.65 on the binarised mask.

A single city proves little, so the same solver — same λ, no tuning — ran over six cities of the Pampas plain:
| City | MAE (dB/cell) | IoU | R² |
|---|---|---|---|
| Santa Rosa | 0.173 | 0.651 | 0.886 |
| General Pico | 0.190 | 0.674 | 0.836 |
| Rafaela | 0.213 | 0.719 | 0.853 |
| San Nicolás | 0.175 | 0.651 | 0.909 |
| Realicó | 0.102 | 0.200 | 0.737 |
| Trenque Lauquen | 0.138 | 0.544 | 0.870 |
R² between 0.74 and 0.91 with no per-city retraining is the useful part: the operator is physical, so it does not need to learn each city separately.
Does the calibration travel?
A calibrated threshold that only works where it was calibrated is a fragile result. So the binarisation threshold was fitted on five cities and applied to the sixth, leave-one-city-out. The mean IoU penalty was +0.017 — essentially nothing, with the worst case (Realicó, the city with the fewest buildings) at +0.065.
The result that came out negative
The obvious next step is to replace the hand-built operator with a learned one: train a model to map measurements directly to the layout. It works — inside the city it was trained on:
| Method | R² within city (70/30 split) |
|---|---|
| Classical (Tikhonov) | 0.695 |
| Learned linear (Ridge) | 1.000 |
| Learned + physical prior (MLP refinement) | 0.984 |
Near-perfect. And then, evaluated on a city it has never seen — leave-one-city-out across the six — the same models fall apart:
| Method | R² (transfer) | IoU | MAE |
|---|---|---|---|
| Classical | 0.693 | 0.740 | 0.091 |
| Learned linear | −1.177 | 0.126 | 0.254 |
| Learned MLP | −0.749 | 0.141 | 0.245 |
| Learned + Tikhonov/backprojection prior | −0.249 | 0.141 | 0.224 |
Negative R² means worse than predicting the mean. The interpretation is the interesting part: for a fixed geometry, the inverse operator is essentially linear, so a learned model has plenty of capacity to memorise it — and it memorises the geometry, the arrangement of towers and sample points, not the physics. Change the city and the operator it learned no longer applies. The classical inversion, which learns nothing, transfers.
This is a negative result, and it is reported as one: naive learned inversion of building layout from cellular measurements does not transfer across cities. Making it transfer is an open problem — more cities, or architectures that take the tower geometry as an explicit input, or physics-informed training.
What would make it wrong
The threats to validity are written down rather than hidden:
- Additive noise of 0.8 dB per link on the free-space baseline. Real measurement noise is not necessarily Gaussian, and not necessarily zero-mean.
- No building heights. A 2D footprint mask cannot distinguish a kiosk from a ten-storey block; everything that makes a city vertical is missing.
- Synthetic tower positions on a regular grid. Real deployments are irregular and sectorised.
- The Microsoft dataset has gaps in coverage, which shows up as cities with unrealistically few buildings.
Next steps follow directly: real tower positions from open data, then field measurements to replace the synthetic ground truth with something measured.
Why this is worth writing down
Radio-map inversion is not a new algorithm — the literature already estimates signal maps from sparse measurements. What is thinner is the opposite direction: recovering the explicit building layout from infrastructure that already exists, and doing it with a controlled, multi-city benchmark where the ground truth comes from satellite footprints. The value of this project is the design — reproducibility, a fixed operator, and a negative result that is measured instead of guessed.
What it demonstrates
- Building an inverse problem end to end: forward model, sparse operator, regularisation, evaluation.
- Separating fits the data from generalises — the two tables above are the whole lesson.
- Reporting a method that failed, with numbers, instead of quietly dropping it.
- Sparse linear algebra at a size that is uncomfortable but tractable, on one CPU.