The linear and quasi-linear approaches proposed by Kalman can be used for problems in which the state is Gaussian or approximately Gaussian with a unimodal distribution: the state estimate at time is a direct function of the single state estimate at time
and of the covariance of that estimate.
When it is necessary to obtain the non-Gaussian probability distribution of the system state
at time
as a function of the inputs and observations, Kalman-type approaches are no longer adequate.
Grid-based approaches are suitable for problems, which are uncommon in practice, in which the state is finite and discretizable. Histogram Filters/Occupancy Grid Methods apply to a broader class of problems, but because of the uniform sampling of the state, they scale very poorly as the dimensionality increases.
Consider again the result expressed by equation (2.4): to extract a generic statistic (for example, the mean or variance) from a probability distribution
, the expression
Given the samples generated in this way, the Monte Carlo estimate of
is
Monte Carlo methods do not solve every problem, nor do they indicate how to obtain random samples efficiently.
The problem becomes significant in multidimensional cases, where the regions in which the probability takes significant values are extremely small. The objective of Importance Sampling (IS) is precisely to sample the distribution in “important” regions in order to maximize computational efficiency.
The idea behind Importance Sampling is to use a simpler distribution (importance density) in place of the true distribution
, which is normally difficult to sample from (or reproduce), making the substitution
By using 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, for example by choosing a uniform or Gaussian distribution.
Given knowledge of Bayesian filters and Monte Carlo techniques, it is possible to develop the theory of particle filters.
The state at time is represented by a set of samples (particles), and each sample is a hypothesis of the state to be evaluated.
One can consider a set of particles obtained a priori to the observation by applying equation (3.43) to the state-evolution function.
By applying Bayesian theory directly to samples from the estimated distribution, it is possible to modify the weights associated with the samples using both the system and perception models (Sequential Importance Sampling):
When possible, it is convenient to use the a priori distribution as the importance density
| (3.46) |
The problem with the SIS approach is that, after a few iterations, only a few particles have a non-negligible weight factor (weight degeneracy).