In probability theory, statistics, and machine learning, recursive Bayesian estimation, also known as a Bayes filter, is a general probabilistic approach for estimating an unknown probability density function (PDF) recursively over time using incoming measurements and a mathematical process model. The process relies heavily upon mathematical concepts and models that are theorized within a study of prior and posterior probabilities known as Bayesian statistics.
A Bayes filter is an algorithm used in computer science for calculating the probabilities of multiple beliefs to allow a robot to infer its position and orientation. Essentially, Bayes filters allow robots to continuously update their most likely position within a coordinate system, based on the most recently acquired sensor data. This is a recursive algorithm. It consists of two parts: prediction and innovation. If the variables are normally distributed and the transitions are linear, the Bayes filter becomes equal to the Kalman filter.
In a simple example, a robot moving throughout a grid may have several different sensors that provide it with information about its surroundings. The robot may start out with certainty that it is at position (0,0). However, as it moves farther and farther from its original position, the robot has continuously less certainty about its position; using a Bayes filter, a probability can be assigned to the robot's belief about its current position, and that probability can be continuously updated from additional sensor information.
The measurements
z
x
Because of the Markov assumption, the probability of the current true state given the immediately previous one is conditionally independent of the other earlier states.
p(bf{x}k|bf{x}k-1,bf{x}k-2,...,bf{x}0)=p(bf{x}k|bf{x}k-1)
Similarly, the measurement at the k-th timestep is dependent only upon the current state, so is conditionally independent of all other states given the current state.
p(bf{z}k|bf{x}k,bf{x}k-1,...,bf{x}0)=p(bf{z}k|bf{x}k)
Using these assumptions the probability distribution over all states of the HMM can be written simply as
p(bf{x}0,...,bf{x}k,bf{z}1,...,bf{z}k)=p(bf{x}0)\prod
k | |
i=1 |
p(bf{z}i|bf{x}i)p(bf{x}i|bf{x}i-1).
However, when using the Kalman filter to estimate the state x, the probability distribution of interest is associated with the current states conditioned on the measurements up to the current timestep. (This is achieved by marginalising out the previous states and dividing by the probability of the measurement set.)
This leads to the predict and update steps of the Kalman filter written probabilistically. The probability distribution associated with the predicted state is the sum (integral) of the products of the probability distribution associated with the transition from the (k - 1)-th timestep to the k-th and the probability distribution associated with the previous state, over all possible
xk-1
p(bf{x}k|bf{z}1:k-1)=\intp(bf{x}k|bf{x}k-1)p(bf{x}k-1|bf{z}1:k-1)dbf{x}k-1
The probability distribution of update is proportional to the product of the measurement likelihood and the predicted state.
p(bf{x}k|bf{z}1:k)=
p(bf{z | |
k|bf{x} |
k)p(bf{x}k|bf{z}1:k-1)}{p(bf{z}k|bf{z}1:k-1)}\proptop(bf{z}k|bf{x}k)p(bf{x}k|bf{z}1:k-1)
The denominator
p(bf{z}k|bf{z}1:k-1)=\intp(bf{z}k|bf{x}k)p(bf{x}k|bf{z}1:k-1)dbf{x}k
x
\alpha
Sequential Bayesian filtering is the extension of the Bayesian estimation for the case when the observed value changes in time. It is a method to estimate the real value of an observed variable that evolves in time.
There are several variations:
The notion of Sequential Bayesian filtering is extensively used in control and robotics.