Bayesian Expandable Ambient Magnetic Mapping: Continual Learning with a Physics-Constrained Bayesian Neural Network
This paper introduces BEAMM, a physics-constrained Bayesian neural network framework for modeling and interpolation of indoor magnetic fields. By embedding Maxwell's curl-free equations as a hard constraint and using a maximum a posteriori centered prior with fan-in variance, the method supports continual learning through a replay buffer while maintaining low variance and computational cost. Code, videos, and datasets are available at https://beamm-map.github.io.
arXiv:2612.01925v1 Announce Type: new Abstract: Leveraging anomalies and features in magnetic fields offers a passive, high-precision methodology for GNSS-denied navigation in contested environments requiring accurate prior maps. Mapping magnetic fields and their anomalies is challenging to achieve with precision. We introduce Bayesian Expandable Ambient Magnetic Mapping (BEAMM), a physics-constrained Bayesian neural network framework for modeling and interpolation of indoor magnetic fields. By explicitly embedding Maxwell's curl-free equations as a hard constraint into the network and deploying a maximum a posteriori centered prior with fan-in variance, the presented method supports continual learning through a replay buffer while sacrificing minimal variance and incurring only a fraction of the computational cost of traditional BNN sampling approaches. The framework is validated for accuracy using simulated datasets and physically validated on a ground robot equipped with quantum magnetometers for high-precision mapping, demonstrating smooth domain expansion and real-time evaluation in $55~\mathrm{s}$, achieving a $13.6\times$ speedup. BEAMM shows lower MSE than tiled domain expansion, with an average MSE reduction of $\approx42\%$. Code, videos, and datasets are available at https://beamm-map.github.io.