The Bellman filter is a recursive algorithm for estimating a sequence of unobserved (latent) states in a state-space model from noisy observations. It is typically formulated for models with a linear–Gaussian state transition and a possibly nonlinear and/or non-Gaussian observation density, and it updates the state by solving a per-time-step optimisation problem involving logp(yt|xt). Under linear–Gaussian observation models, it reduces to the standard Kalman filter update. From a dynamic-programming perspective, the Bellman filter applies Bellman's principle of optimality to a mode-estimation problem, yielding a recursion for an (online) maximisation objective whose maximiser is a filtered state estimate. In contrast with grid-based maximisation (as in the Viterbi algorithm for models with discrete states), the Bellman filter keeps the state space continuous and replaces the exact Bellman value functions by parametric (typically quadratic) function-space approximations, which makes the recursion computationally feasible in moderate to high dimensions.
Background In a discrete-time state-space model, an unobserved state vector evolves over time and generates observations. The linear–Gaussian case admits an optimal recursive solution via the Kalman filter, and standard econometric treatments include the monographs by Harvey and by Durbin & Koopman. For nonlinear and/or non-Gaussian observation models, exact filtering generally becomes intractable and practical methods rely on approximation (e.g. extended/iterated Kalman filtering) or simulation (e.g. particle filters). The Bellman filter can be presented as a dynamic-programming-based alternative using function-space approximations of the value function at each time step.
Model and notation Although the approach is more generally applicable, a commonly used specification keeps the classic linear–Gaussian state transition while allowing a general observation density. For t=1,…,n:
Observation equation: yt∼p(yt|xt)
State-transition equation: xt=c+Txt−1+Rηt where ηt∼i.i.d. 𝒩(0,Q). The filter maintains predicted quantities x̂t∣t−1, Pt∣t−1 and filtered quantities x̂t∣t, Pt∣t.
Fisher information For the observation model, Fisher information is defined as: I(x):=∫[−∇2logp(y|x)]p(y|x)dy, where ∇2 operates on x.
Algorithm
Prediction step x̂t∣t−1=c+Tx̂t−1∣t−1, Pt∣t−1=TPt−1∣t−1T⊤+RQR⊤. This is identical to the prediction step in the Kalman filter.
Updating step x̂t∣t=argmaxx∈ℝd{logp(yt|x)−12(x−x̂t∣t−1)⊤Pt∣t−1−1(x−x̂t∣t−1)}, Pt∣t=(Pt∣t−1−1+I(x̂t∣t))−1. The update step is well defined if logp(yt|x) is concave in x or if Pt∣t−1−1 is sufficiently large. In some cases, I(x̂t∣t) in the formula for Pt∣t can be replaced by the realised negative Hessian −∇2logp(yt|x̂t∣t). The maximisation can be interpreted as a maximum a posteriori (MAP) estimate of xt: it combines the log-likelihood term logp(yt|xt) with a quadratic log-prior coming from the Gaussian prediction xt|y1:t−1∼𝒩(x̂t∣t−1,Pt∣t−1). Equivalently, the update solves a regularised likelihood problem: it chooses the state that best explains yt while penalising deviation from the predicted mean x̂t∣t−1 according to the precision Pt∣t−1−1.
Special cases and relationships
Linear–Gaussian observation equation If yt=d+Zxt+εt where εt∼i.i.d. 𝒩(0,H), then the level update x̂t∣t and covariance update Pt∣t reduce to the usual Kalman filter update.
Iterated (extended) Kalman filtering For a nonlinear observation equation with additive Gaussian noise, yt=h(xt)+εt, with εt∼𝒩(0,H), the Bellman update objective is proportional to the (negative) nonlinear least-squares criterion 12(yt−h(x))⊤H−1(yt−h(x))+12(x−x̂t∣t−1)⊤Pt∣t−1−1(x−x̂t∣t−1). Applying a Gauss–Newton method to this problem yields the iterated extended Kalman filter (see article on the Extended Kalman filter). Bell and Cathey show that this iterated update is a Gauss–Newton method for the corresponding maximum-likelihood problem. Equivalently, this is the special case of the Bellman filter update with logp(yt|x) given by the Gaussian log-likelihood −12(yt−h(x))⊤H−1(yt−h(x)) (up to an additive constant).
Nonlinear/non-Gaussian state-transition equation Although the exposition above assumes a linear–Gaussian state transition (so that the prediction step has closed form), Bellman's recursive approach applies also to state-space models with a general transition density p(xt|xt−1). In this more general setting, solving Bellman's equation involves a joint maximisation over (xt,xt−1). In this setting, degenerate state dynamics can be handled by equating some elements of xt to those of xt−1 and optimising only over the free components.
Smoothing With a linear–Gaussian state transition, the (fixed-interval) Rauch–Tung–Striebel (RTS) smoother can be applied to the filtered output to obtain smoothed estimates x̂t∣n and Pt∣n. Define the smoothing gain Jt:=Pt∣tT⊤Pt+1∣t−1. Initialise at t=n with x̂n∣n and Pn∣n. Then for t=n−1,…,1: x̂t∣n=x̂t∣t+Jt(x̂t+1∣n−x̂t+1∣t), Pt∣n=Pt∣t+Jt(Pt+1∣n−Pt+1∣t)Jt⊤. In the Bellman-filter setting (linear–Gaussian state transition with a general observation density), these RTS recursions still apply to the (possibly approximate) filtered quantities produced by the Bellman filter.
Parameter estimation In many applications the model depends on unknown static parameters ψ (for example, coefficients in the observation density p(yt|xt), or elements of c,T,R,Q). These can be estimated by fitting ψ to the observed data, typically by running the Bellman filter for each candidate ψ and then maximising an (approximate) log-likelihood objective with a numerical optimiser, subject to any required constraints (e.g. positive definiteness of covariance matrices). A simple estimator of this type is: ψ̂:=argmaxψ∑t=1n[logp(yt|x̂t∣t)−12logdet(Pt∣t−1)det(Pt∣t)−12(x̂t∣t−x̂t∣t−1)⊤Pt∣t−1−1(x̂t∣t−x̂t∣t−1)]. The first term logp(yt|x̂t∣t) measures how well the Bellman-filtered (mode) estimate explains the observation yt. The remaining terms form a nonnegative regularisation penalty that discourages overfitting by penalising large adjustments from x̂t∣t−1 to x̂t∣t, with the determinant ratio reflecting the reduction in (approximate) state uncertainty after incorporating yt. In the linear–Gaussian observation case this coincides with the maximum likelihood estimator; otherwise it can be interpreted as maximising a second-order approximation to the usual prediction-error decomposition.
References
… excerpt ends here. Continue reading the full article.