In a city street lined with tall buildings, a phone-grade satellite receiver can be off by tens of meters. The cause is that buildings block some satellites and reflect the signals of others, so measured distances to satellites come out too long. Driving and pedestrian-safety systems need something much more modest than full positioning, though. They need to know, with honest confidence, which side of the street and which lane the receiver is on. This proposal treats the reflections as evidence rather than noise. Given a 3D model of the surrounding buildings, the pattern of which satellites are blocked, attenuated, or delayed depends strongly on where you stand across the street. A physics simulator (a radio ray tracer) can reproduce that pattern for any candidate position. What it cannot give is a likelihood that can actually be computed: the probability of the observed measurements given a position requires integrating over multi-bounce paths, errors in the building model, and receiver effects.
We propose to learn the inverse of that simulator with neural posterior estimation. This is a likelihood-free or simulation-based inference method: a network is trained on millions of simulated (position, measurement) pairs so that it outputs a full probability distribution over position from one set of real measurements, in a single fast forward pass. The target is a calibrated, possibly multi-peaked posterior over cross-street position and lane identity, computed at receiver rate from single-frequency code measurements and a prebuilt building map. We make it robust to the simulator's inevitable errors with a tempered ("generalized Bayes") variant, and test it on the UrbanNav urban-canyon data against the strongest map-aided GNSS pipeline in the file.
Core Claim
Current urban-canyon GNSS methods use 3D maps for one of two things. The first is to exclude reflected signals, or to add geometric "virtual satellite" constraints, inside a Gaussian optimizer, as in 3D LiDAR Aided GNSS NLOS Mitigation for Reliable GNSS-RTK Positioning in Urban Canyons. The second is to fit hand-built mixture noise models inside a particle filter, as in Collaborative High-Accuracy Localization in Mobile Multipath Environments. Both discard or crudely approximate the most position-informative part of the signal: the joint, correlated pattern of blockage and delay across all visible satellites. Our claim is specific. An amortized posterior network trained on a ray tracer can recover lane identity from that pattern alone, and its lane probabilities stay calibrated on real data. Calibrated here means that when it says 80% it is right about 80% of the time. The network conditions on the measurements, the local map, and a robustness temperature. When its output is added as a single factor to a standard optimizer, it should also raise the fraction of epochs where carrier-phase ambiguities resolve. The research file reports no prior work applying neural posterior estimation to GNSS multipath or lane-level positioning, so the combination itself is open. The substantive question is whether the neural route beats an explicit ray-traced likelihood, and the design below is built to answer that.
Research Program
The unknown $\theta$ collects the receiver's 2D position within a roughly 60 m window around a coarse fix, together with nuisance quantities: receiver clock bias, a per-scene building-height error scale, and façade reflectivity. The observation $x$ is the set of visible satellites, each described by azimuth, elevation, carrier-to-noise ratio, and pseudorange residual relative to the coarse fix. The context $c$ is a rasterized local building-height patch derived offline from LiDAR. The forward simulator samples $\theta$, perturbs the map according to the nuisance parameters, and ray-traces each satellite with direct, specular-reflection, and diffraction paths. It then passes the result through a receiver model that includes tracking-loop biases for close-in reflections.
We train a conditional normalizing flow $q_\phi(\theta \mid x, c, \beta)$ with the multi-round proposal-free objective of Automatic Posterior Transformation for Likelihood-Free Inference. That work shows such estimators learn their own summaries from high-dimensional inputs, which here means a variable-size set of satellites. Training spans many street patches, so the network amortizes across locations rather than being refit per street. The lane probability for lane $\ell$ is then
$$P(\ell \mid x, c, \beta) = \int \mathbf{1}[\text{lateral}(\theta) \in \ell] \, q_\phi(\theta \mid x, c, \beta)\, d\theta,$$
estimated by sampling. Here $\text{lateral}(\theta)$ is the cross-street offset from the map's road centerline, and lanes are fixed-width bins of that offset.
Two choices come from the likelihood-free literature. First, we deliberately infer the nuisance parameters jointly and then marginalize them, rather than training a network that sees only a low-dimensional "position" summary. Improving the Accuracy of Marginal Approximations in Likelihood-Free Inference via Localization shows that ignoring nuisances whose values change the spread of the summaries produces spurious modes and distorted scales. An unmodeled building-height error would do exactly that to cross-street position. That paper constrains our design. We do not reuse its rejection-sampling machinery.
Second, the ray tracer will be wrong in ways we cannot enumerate: vegetation, buses, glass, and missing buildings. Amortized Simulation-Based Inference in Generalized Bayes via Neural Posterior Estimation conditions the flow on an inverse temperature $\beta$ that flattens the likelihood. This lets one sweep robustness at test time without retraining, and we reuse that mechanism. That paper also reports weight collapse for its importance-reweighting route at small $\beta$, so we train with the score-based route and restrict $\beta$ to a moderate range. We choose $\beta$ once, by coverage on a held-out real calibration street. The per-epoch posterior then enters a factor graph as a Gaussian-mixture factor. This keeps multiple peaks alive across epochs instead of forcing a single Gaussian, and it plugs into the same optimizer used by the baselines.
Baselines
The naive reference is the receiver's own least-squares code fix on the u-blox single-frequency data in UrbanNav. It shows how far the raw measurements are from lane-level. The file notes that conventional GNSS-RTK on UrbanNav Urban Canyon 1 drifts by over 3.5 m with a 14.01% fix rate (3D LiDAR Aided GNSS NLOS Mitigation).
The strongest existing method is 3D LiDAR-aided GNSS-RTK from the same paper. It uses the point-cloud map to identify reflected satellites, builds virtual-satellite constraints from building walls, and fuses carrier phase, Doppler, and IMU in factor-graph optimization. It reports a 3D mean error of 0.44 m and a fix rate of 31.37% on Urban Canyon 1. It is the strongest competitor because it uses the same map information we do and is evaluated on the same dataset.
We run it in two regimes for fairness. In the first, both methods get GNSS, IMU, and the prebuilt map only, with no online LiDAR. This is the operating point we target and the cheaper sensor setting. In the second, both get the full sensor suite, and our posterior is added as one extra factor to their graph. Beating it means lower lateral error and higher lane accuracy in the map-only regime. In the fused regime it means a fix rate above 31.37% or a 3D mean error below 0.44 m on Urban Canyon 1, with the same streets, ground truth (NovAtel SPAN-CPT RTK/INS), and tuning effort.
The ablation that isolates our key ingredient replaces the network with an explicit likelihood built from the same ray tracer. We run a particle filter in which each particle's weight uses per-satellite predicted blockage and a hand-set delay mixture, in the style of the soft-weighting approach in Collaborative High-Accuracy Localization. Both get equal simulator calls and the same map. A second ablation trains the network on a simulator with Gaussian errors and no multipath. If that version matches the full one, the multipath-as-signal claim fails.
For context only, cooperative pseudorange double differencing reaches 3.19 m mean error on a 3 m baseline (A GPS Pseudorange Based Cooperative Vehicular Distance Measurement Technique). That was measured on a different dataset and is not a direct comparison.
Why not just…?
Why not just use the ray tracer to write down an explicit likelihood and run a particle filter? This is the real threat, and it is exactly the ablation above. An explicit per-satellite likelihood must assume satellites are conditionally independent given position. It must also fix a delay distribution for reflected signals and treat building-model error through a hand-tuned inflation. The simulator produces correlated effects on neighboring satellites, for example when one façade reflects several of them. The learned posterior can exploit that correlation, and the explicit likelihood cannot. If the particle filter matches our lane accuracy and calibration at comparable compute, we would report that the value lies in the simulator rather than the neural inverse. The remaining contribution would then be speed, since the particle filter needs many ray-trace queries per epoch while our network needs one forward pass.
Why not just train a regressor on real UrbanNav data with RTK labels? Real labeled urban-canyon data covers a handful of streets, so a regressor would largely memorize those streets' geometry. It would also output a point estimate with no calibrated lane probability. We include a real-data regressor, and a variant of our network fine-tuned on real data, and evaluate both on a held-out canyon. If the regressor wins on the held-out street, simulation adds little. We expect simulation's advantage to show precisely on unseen geometry.
Why not just use the 3D-map-aided factor graph and exclude reflected satellites? Excluding them throws away information and leaves few satellites, often clustered overhead. That geometry is weak in the cross-street direction, and the file notes that poor satellite geometry is what removes cross-street constraints in canyons. The fused-regime experiment tests directly whether adding our posterior factor improves on 0.44 m and 31.37%. If it does not, the reflections carry less usable position information than we claim.
Why not just use classical approximate Bayesian computation with hand-made summaries? Rejection sampling needs fresh simulations for every epoch. It is hopeless at 10 Hz, and BayesSim (BayesSim: Adaptive Domain Randomization Via Probabilistic Inference for Robotics Simulators) reports that it gives more diffuse posteriors than learned mixture estimators. We include it only on a subset of epochs as a correctness check on posterior shape.
Proposed Experiments
Training uses simulated scenes built from LiDAR maps of streets disjoint from the test streets. Testing uses UrbanNav Urban Canyon 1 and 2, whose streets are withheld from training, with a separate calibration street used only to pick $\beta$. Lanes are defined from the map's road centerline and a standard lane width, since UrbanNav has no lane labels. We report the ground-truth lane by the same rule.
Metrics are cross-street error, along-street error, and lane-identification accuracy. We also report the Brier score and a reliability curve for lane probabilities, empirical coverage of 50% and 90% credible regions, and in the fused regime the fix rate and 3D mean error. Timing per epoch is reported against the particle filter.
Three checks decide the outcome. First, the full network must beat the explicit ray-traced particle filter in lane Brier score on held-out streets at matched simulator budget. Otherwise the neural inverse is not earning its place. Second, the no-multipath ablation must lose clearly in cross-street error, which confirms that reflections carry position information. Third, coverage of the 90% region on real data must sit near 90% at the chosen $\beta$ and fall well below it at $\beta = 1$. That would show both that plain simulation-based inference is overconfident here and that tempering repairs it. We also report the case where the posterior is bimodal across the street. Honestly flagging "left or right side, unsure" is the behavior that would cut false alarms in the pedestrian-safety setting of Implementation and Evaluation of a Cooperative Vehicle-to-Pedestrian Safety Application.
References
- 3D LiDAR Aided GNSS NLOS Mitigation for Reliable GNSS-RTK Positioning in Urban Canyons
- Collaborative High Accuracy Localization in Mobile Multipath Environments
- Automatic Posterior Transformation for Likelihood-Free Inference
- Improving the Accuracy of Marginal Approximations in Likelihood-Free Inference via Localization
- Amortized Simulation-Based Inference in Generalized Bayes via Neural Posterior Estimation
- A GPS Pseudorange Based Cooperative Vehicular Distance Measurement Technique
- BayesSim: adaptive domain randomization via probabilistic inference for robotics simulators
- Implementation and Evaluation of a Cooperative Vehicle-to-Pedestrian Safety Application