Auxiliary particle filter explained

The auxiliary particle filter is a particle filtering algorithm introduced by Pitt and Shephard in 1999 to improve some deficiencies of the sequential importance resampling (SIR) algorithm when dealing with tailed observation densities.

Motivation

Particle filters approximate continuous random variable by

M

particles with discrete probability mass

\pit

, say

1/M

for uniform distribution. The random sampled particles can be used to approximate the probability density function of the continuous random variable if the value

M → infin

.

The empirical prediction density is produced as the weighted summation of these particles:[1]

\widehat{f}(\alphat+1|Yt)=\sum

Mf(\alpha
t+1
j
|\alpha
t
, and we can view it as the "prior" density. Note that the particles are assumed to have the same weight
j=1
M
\pi
t
.

Combining the prior density

\widehat{f}(\alphat+1|Yt)

and the likelihood

f(yt+1|\alphat+1)

, the empirical filtering density can be produced as:

\widehat{f}(\alphat+1|Yt+1)=

f(yt+1|\alphat+1)\widehat{f
(\alpha

t+1|Yt)}{f(yt+1|Yt)}\proptof(yt+1|\alphat+1)

Mf(\alpha
\sum
t+1
j
|\alpha
t
, where

f(yt+1|Yt)=\intf(yt+1|\alphat+1)dF(\alphat+1|Yt)

.

On the other hand, the true filtering density which we want to estimate is

f(\alphat+1|Yt+1)=

f(yt+1|\alphat+1)f(\alphat+1|Yt)
f(yt+1|Yt)
.

The prior density

\widehat{f}(\alphat+1|Yt)

can be used to approximate the true filtering density

f(\alphat+1|Yt+1)

:

R

samples from the prior density

\widehat{f}(\alphat+1|Yt)

. Each sample are drawn with equal probability.
\pi
j=\omegaj
R\omega
\sum
i
j)
,\omega
j=f(y|\alpha
. The weights represent the likelihood function

f(yt+1|\alphat+1)

.

R → infin

, than the samples converge to the desired true filtering density.

R

particles are resampled to

M

particles with the weight

\pij

.

The weakness of the particle filters includes:

R

must be large enough for the samples to approximate the empirical filtering density. In other words, while the weight is widely distributed, the SIR method will be imprecise and the adaption is difficult.

Therefore, the auxiliary particle filter is proposed to solve this problem.

Auxiliary particle filter

Auxiliary variable

Comparing with the empirical filtering density which has

\widehat{f}(\alphat+1|Yt+1)\proptof(yt+1|\alphat+1)

Mf(\alpha
\sum
t+1
j
|\alpha
t
,

we now define

\widehat{f}(\alphat+1,k|Yt+1)\proptof(yt+1|\alphat+1)f(\alphat+1

k)\pi
|\alpha
t

k

, where

k=1,...,M

.

Being aware that

\widehat{f}(\alphat+1|Yt+1)

is formed by the summation of

M

particles, the auxiliary variable

k

represents one specific particle. With the aid of

k

, we can form a set of samples which has the distribution

g(\alphat+1,k|Yt+1)

. Then, we draw from these sample set

g(\alphat+1,k|Yt+1)

instead of directly from

\widehat{f}(\alphat+1|Yt+1)

. In other words, the samples are drawn from

\widehat{f}(\alphat+1|Yt+1)

with different probability. The samples are ultimately utilized to approximate

f(\alphat+1|Yt+1)

.

Take the SIR method for example:

R

samples from

g(\alphat+1,k|Yt+1)

.
\pi
j=\omegaj
R\omega
\sum
i

,

\omega
j=
f(y
k)
|\alpha
t
t+1
j,k
g(\alpha
j|Y
t+1
)
t+1
.

yt+1

and
k
\alpha
t
, the weights are adjusted to be even.

R

particles are resampled to

M

particles with the weight

\pij

.

The original particle filters draw samples from the prior density, while the auxiliary filters draw from the joint distribution of the prior density and the likelihood. In other words, the auxiliary particle filters avoid the circumstance which the particles are generated in the regions with low likelihood. As a result, the samples can approximate

f(\alphat+1|Yt+1)

more precisely.

Selection of the auxiliary variable

The selection of the auxiliary variable affects

g(\alphat+1,k|Yt+1)

and controls the distribution of the samples. A possible selection of

g(\alphat+1,k|Yt+1)

can be:

g(\alphat+1,k|Yt+1)\proptof(yt+1

k)
|\mu
t+1

f(\alphat+1

k)\pi
|\alpha
t

k

, where

k=1,...,M

and
k
\mu
t+1
is the mean.

We sample from

g(\alphat+1,k|Yt+1)

to approximate

f(\alphat+1|Yt+1)

by the following procedure:

f(\alphat+1

k)
|\alpha
t
. We named these probabilities as the first-stage weights

λk

, which are proportional to

g(k|Yt+1)\propto

kf(y
\pi
t+1
k)
|\mu
t+1
.

R

samples from

f(\alphat+1

k)
|\alpha
t
with the weighted indexes. By doing so, we are actually drawing the samples from

g(\alphat+1,k|Yt+1)

.
\pi
j=\omegaj
R\omega
\sum
i
as the probabilities of the

R

samples, where
\omega
j=
f(y
j)
|\alpha
t+1
t+1
f(y
j)
|\mu
t+1
t+1
. The weights are aim to compensate the effect of
k
\mu
t+1
.

R

particles are resampled to

M

particles with the weights

\pij

.

Following the procedure, we draw the

R

samples from

g(\alphat+1,k|Yt+1)

. Since

g(\alphat+1,k|Yt+1)

is closely related to the mean
k
\mu
t+1
, it has high conditional likelihood. As a result, the sampling procedure is more efficient and the value

R

can be reduced.

Other point of view

Assume that the filtered posterior is described by the following M weighted samples:

p(xt|z1:t)

M
\sum
i=1
(i)
\omega
t

\delta\left(xt-

(i)
x
t

\right).

Then, each step in the algorithm consists of first drawing a sample of the particle index

k

which will be propagated from

t-1

into the new step

t

. These indexes are auxiliary variables only used as an intermediary step, hence the name of the algorithm. The indexes are drawn according to the likelihood of some reference point
(i)
\mu
t
which in some way is related to the transition model

xt|xt-1

(for example, the mean, a sample, etc.):

k(i)\simP(i=k|zt)\propto

(i)
\omega
t

p(zt|

(i)
\mu
t

)

This is repeated for

i=1,2,...,M

, and using these indexes we can now draw the conditional samples:
(i)
x
t

\simp(x|

k(i)
x
t-1

).

Finally, the weights are updated to account for the mismatch between the likelihood at the actual sample and the predicted point

k(i)
\mu
t
:
(i)
\omega
t

\propto

p(zt|
(i)
x
t)
p(zt|
k(i)
\mu
t)

.

Sources

Notes and References

  1. Michael K. . Pitt. Neil. Shephard. Filtering Via Simulation: Auxiliary Particle Filters. Journal of the American Statistical Association.