Histogram Filter
Histogram filters decompose the state space into finitely many regions and represent the cumulative posterior for each region by a single probability value. When applied to finite spaces, they are called discrete Bayes filters; when applied to continuous spaces, they are known as histogram filters.
Discrete Bayes Filter
We use discrete Bayes filter when the problem has finite state spaces, where random variable Xt can take on finitely many values, like a door is open or closed. Let the variables xi and xk denote individual states, of which there may only be finitely many. The belief at time t is an assignment of a probability to each state xk, denoted pk,t.
The input to the algorithm is a discrete probability distribution pk,t, along with the most recent control ut and measurement zt. The first step is to calculate the prediction, the belief for the new state based on the control alone. The second step is to incorporate the measurement and update the new belief. This is exactly identical to the Bayes filter except that the integral has been replaced by a discrete sum.
Histogram Filter
We want to use discrete Bayes filters as an approximate inference tool for continuous state spaces, this brings us to the histogram filter. Histogram filter decomposes a continuous state space into finitely many bins or regions.
Here Xt is the familiar random variable describing the state of the robot at time t. The function dom(Xt) denotes the state space, which is the universe of possible values that Xt might assume. A straightforward decomposition of a continuous state space is a multi-dimensional grid, where each xk,t is a grid cell.
If the state is truly discrete, the conditional probabilities are well-defined, and the algorithm can be implemented as equation (1). In continuous state space, one is usually given the densities p(xt∣ut,xt−1) and p(zt∣xt) which are defined for individual states and not for the regions in the state space. We need to perform an approximation for the region by taking the mean state in xk,t.
Now we have it.
Decomposition Techniques
Decomposition techniques of continuous state spaces come in two basic flavors, static and dynamic. State technique rely on a fixed decomposition that is chosen in advance. Dynamic technique adapt the decomposition to the specific shape of the posterior distribution. State techniques are usually easier to implement, but they can be wasteful with regards to computational resource.
Last updated