The linear and quasi-linear approaches proposed by Kalman can be used for problems in which the state is Gaussian or nearly Gaussian, with a unimodal distribution: the state estimate at time is a direct function of the single state estimate at time
and its covariance.
When the non-Gaussian probability distribution of the system state
at time
must be determined as a function of the inputs and observations, Kalman-type approaches are no longer adequate.
Grid-based approaches are suitable for the relatively uncommon problems in which the state is finite and can be discretized. Histogram Filters/Occupancy Grid Methods apply to a broader class of problems, but scale very poorly as dimensionality increases because they sample the state uniformly.
Consider again the result given by Equation (2.4): to extract a general statistic (for example, the mean or variance) from a probability distribution
, we use the expression
Given the samples generated in this way, the Monte Carlo estimate of
is
Monte Carlo does not solve every problem, nor does it suggest how to obtain random samples efficiently.
The problem becomes significant in high-dimensional cases, where the regions in which the probability takes appreciable values are extremely small. The goal of Importance Sampling (IS) is to sample the distribution in “important” regions to maximize computational efficiency.
The idea behind Importance Sampling is to use a simpler distribution (importance density) instead of the true distribution
, which is usually difficult to sample (or reproduce), making the substitution
With suitable weights, Equation (3.42) can therefore be rewritten as
| (3.44) |
The closer the distribution is to
in the regions of highest probability, the lower the variance of the weights and the more efficient the estimate.
On the other hand, the distribution
must be very easy to sample from; the uniform or Gaussian distribution, for example, may be used.
Bayesian filtering and Monte Carlo techniques provide the basis for particle filter theory.
The state at time is represented by a set of samples (particles), each of which is a hypothesis about the state to be evaluated.
The particles can be viewed as a set of prior samples, obtained by applying Equation (3.43) to the state evolution function.
By applying Bayesian theory directly to samples from the estimated distribution, the weights associated with the samples can be updated using both the system and perception models (Sequential Importance Sampling):
When possible, it is convenient to use the prior distribution as the importance density:
| (3.46) |
The problem with the SIS approach is that, after a few iterations, only a small number of particles have non-negligible weights (weight degeneracy).