[Paper Review] The Extended Kalman Filter is a Natural Gradient Descent in Trajectory Space
This paper establishes that the extended Kalman filter (EKF) is mathematically equivalent to online natural gradient descent in the space of system trajectories. By treating each trajectory as a parameter of a statistical model for observations, natural gradient descent—preconditioned by the Fisher information matrix—exactly recovers the EKF equations under the canonical choice of process noise proportional to posterior covariance.
The extended Kalman filter is perhaps the most standard tool to estimate in real time the state of a dynamical system from noisy measurements of some function of the system, with extensive practical applications (such as position tracking via GPS). While the plain Kalman filter for linear systems is well-understood, the extended Kalman filter relies on linearizations which have been debated. We recover the exact extended Kalman filter equations from first principles in statistical learning: the extended Kalman filter is equal to Amari's online natural gradient, applied in the space of trajectories of the system. Namely, each possible trajectory of the dynamical system defines a probability law over possible observations. In principle this makes it possible to treat the underlying trajectory as the parameter of a statistical model of the observations. Then the parameter can be learned by gradient ascent on the log-likelihood of observations, as they become available. Using Amari's natural gradient from information geometry (a gradient descent preconditioned with the Fisher matrix, which provides parameterization-invariance) exactly recovers the extended Kalman filter. This applies only to a particular choice of process noise in the Kalman filter, namely, taking noise proportional to the posterior covariance - a canonical choice in the absence of specific model information.
Motivation & Objective
- To establish a deep theoretical connection between the extended Kalman filter and online natural gradient descent in statistical learning.
- To resolve longstanding ambiguity in the EKF's reliance on linearization by showing it arises naturally from information geometry principles.
- To demonstrate that the EKF's behavior is invariant under parameterization when process noise is proportional to posterior covariance.
- To unify two major paradigms: state estimation via filtering and parameter estimation via online learning, by treating trajectories as model parameters.
- To provide a principled derivation of the EKF from first principles using natural gradient theory, rather than heuristic linearization.
Proposed method
- Treat each possible trajectory of the dynamical system as a parameter in a statistical model for noisy observations.
- Model observations as conditionally Gaussian given a trajectory, with observation noise covariance $ R $.
- Apply online natural gradient descent to maximize the log-likelihood of incoming observations with respect to the trajectory parameter.
- Use Amari’s natural gradient, which preconditions the standard gradient using the inverse Fisher information matrix for parameterization invariance.
- Derive the Fisher information matrix in trajectory space, showing it corresponds to the posterior covariance of the state.
- Show that the resulting update rule matches the extended Kalman filter equations under the specific choice $ Q_t \propto P_{t|t-1} $.
Experimental results
Research questions
- RQ1Can the extended Kalman filter be derived from first principles in statistical learning, rather than through heuristic linearization?
- RQ2What is the geometric interpretation of the EKF in terms of information geometry and parameter space structure?
- RQ3Why does the EKF perform robustly in practice despite its reliance on linear approximations?
- RQ4Under what conditions is the EKF equivalent to natural gradient descent in trajectory space?
- RQ5How does the choice of process noise $ Q $ affect the equivalence between the EKF and natural gradient methods?
Key findings
- The extended Kalman filter is exactly equivalent to online natural gradient descent in the space of trajectories when process noise is proportional to the posterior covariance matrix.
- This equivalence holds in both discrete and continuous time, extending to the extended Kalman–Bucy filter.
- The natural gradient formulation provides a principled, parameterization-invariant derivation of the EKF, resolving ambiguity in its linearization-based construction.
- The canonical choice $ Q \propto P_{t|t-1} $ ensures basis-invariance, aligning with the natural gradient’s invariance to reparameterization.
- The Fisher information matrix in trajectory space is the inverse of the posterior covariance, which justifies the preconditioning in the natural gradient update.
- The result generalizes a prior finding that the Kalman filter is equivalent to natural gradient descent when the system state is static ($ f = \text{Id} $), now extending it to general nonlinear dynamics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.