Skip to main content
QUICK REVIEW

[Paper Review] Modeling and interpolation of the ambient magnetic field by Gaussian processes

Arno Solin, Manon Kok|arXiv (Cornell University)|Sep 15, 2015
Gaussian Processes and Bayesian InferenceComputer Science5 citations
TL;DR

This paper proposes a Bayesian non-parametric method for modeling and interpolating the ambient magnetic field using Gaussian processes (GPs) with a physically grounded prior based on Maxwell’s equations. By modeling the magnetic field through a latent scalar potential function and leveraging a Hilbert space representation, the approach enables efficient, scalable, and computationally tractable interpolation and online updating, demonstrating strong performance in real-world indoor mapping using smartphones and mobile robots.

ABSTRACT

Anomalies in the ambient magnetic field can be used as features in indoor positioning and navigation. By using Maxwell's equations, we derive and present a Bayesian non-parametric probabilistic modeling approach for interpolation and extrapolation of the magnetic field. We model the magnetic field components jointly by imposing a Gaussian process (GP) prior on the latent scalar potential of the magnetic field. By rewriting the GP model in terms of a Hilbert space representation, we circumvent the computational pitfalls associated with GP modeling and provide a computationally efficient and physically justified modeling tool for the ambient magnetic field. The model allows for sequential updating of the estimate and time-dependent changes in the magnetic field. The model is shown to work well in practice in different applications: we demonstrate mapping of the magnetic field both with an inexpensive Raspberry Pi powered robot and on foot using a standard smartphone.

Motivation & Objective

  • To develop a physically principled, probabilistic model for interpolating and extrapolating indoor magnetic fields using Bayesian non-parametric methods.
  • To incorporate physical constraints from Maxwell’s equations—specifically, the curl-free nature of magnetostatic fields—into a Gaussian process framework.
  • To enable computationally efficient inference for large-scale magnetic field mapping by reformulating the GP in a Hilbert space using an eigenbasis of the Laplace operator.
  • To support sequential, online estimation of the magnetic field to handle time-varying disturbances such as moving furniture.
  • To validate the method in real-world scenarios using low-cost sensors like smartphones and wheeled robots.

Proposed method

  • A Gaussian process prior is imposed on a latent scalar potential function, ensuring the resulting magnetic field is curl-free and consistent with Maxwell’s equations for magnetostatics.
  • The model is reformulated in a Hilbert space using the eigenfunctions of the Laplace operator, enabling linear computational complexity with respect to the number of observations.
  • The method explicitly accounts for the Earth’s magnetic field by modeling it as a bias term in the GP framework.
  • A sequential inference scheme is employed, allowing real-time updates and adaptation to temporal changes in the magnetic field.
  • The approach supports both batch and online estimation, with uncertainty quantification via marginal variances visualized as transparency in field maps.
  • The framework is extended to compare different GP priors: independent, shared hyperparameters, and curl-free (scalar potential) models.

Experimental results

Research questions

  • RQ1Can a physically motivated Gaussian process prior based on Maxwell’s equations improve interpolation accuracy of indoor magnetic fields?
  • RQ2How does incorporating a latent scalar potential function enhance the modeling of vector field components compared to independent or shared GP priors?
  • RQ3Can the Hilbert space reformulation of the GP model achieve linear computational complexity while preserving accuracy in magnetic field mapping?
  • RQ4To what extent can the method support online, sequential estimation of time-varying magnetic fields in real-world environments?
  • RQ5How does the proposed method compare to baseline approaches in terms of accuracy and robustness on real sensor data from smartphones and mobile robots?

Key findings

  • The scalar potential-based GP model significantly outperforms independent and shared hyperparameter GP models in interpolation accuracy, especially when physical constraints are respected.
  • The Hilbert space-based inference scheme achieves linear computational complexity O(N), making it scalable to large datasets from dense magnetic field measurements.
  • The method successfully maps indoor magnetic fields using a smartphone on foot, achieving accurate spatial interpolation with uncertainty quantification.
  • An online mapping system using a wheeled robot demonstrates real-time, sequential updating of the magnetic field estimate with minimal latency.
  • The model effectively captures baseline field variations and adapts to time-dependent changes, such as those caused by moving furniture or equipment.
  • Simulation results confirm that incorporating physical knowledge (curl-free field) improves extrapolation performance and reduces uncertainty in unmeasured regions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.