ArticleslgStudy

science

Iterated filtering

Iterated filtering is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Iterated filtering rather than just read about it. In short: Iterated filtering algorithms are a tool for maximum likelihood inference on partially observed dynamical systems. Stochastic perturbations to the unknown parameters are used to explore the parameter space.

Key takeaways

  • Iterated filtering belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Iterated filtering to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Iterated filtering from memory before moving on to harder problems.

Reference excerpt

Iterated filtering algorithms are a tool for maximum likelihood inference on partially observed dynamical systems. Stochastic perturbations to the unknown parameters are used to explore the parameter space. Applying sequential Monte Carlo (the particle filter) to this extended model results in the selection of the parameter values that are more consistent with the data. Appropriately constructed procedures, iterating with successively diminished perturbations, converge to the maximum likelihood estimate. Iterated filtering methods have so far been used most extensively to study infectious disease transmission dynamics. Case studies include cholera, Ebola virus, influenza, malaria, HIV, pertussis, poliovirus and measles. Other areas which have been proposed to be suitable for these methods include ecological dynamics and finance. The perturbations to the parameter space play several different roles. Firstly, they smooth out the likelihood surface, enabling the algorithm to overcome small-scale features of the likelihood during early stages of the global search. Secondly, Monte Carlo variation allows the search to escape from local minima. Thirdly, the iterated filtering update uses the perturbed parameter values to construct an approximation to the derivative of the log likelihood even though this quantity is not typically available in closed form. Fourthly, the parameter perturbations help to overcome numerical difficulties that can arise during sequential Monte Carlo.

Overview The data are a time series y1,…,yN collected at times t1<t2<⋯<tN. The dynamic system is modeled by a Markov process X(t) which is generated by a function f(x,s,t,θ,W) in the sense that

X(tn)=f(X(tn−1),tn−1,tn,θ,W) where θ is a vector of unknown parameters and W is some random quantity that is drawn independently each time f(.) is evaluated. An initial condition X(t0) at some time t0<t1 is specified by an initialization function, X(t0)=h(θ). A measurement density g(yn|Xn,tn,θ) completes the specification of a partially observed Markov process. We present a basic iterated filtering algorithm (IF1) followed by an iterated filtering algorithm implementing an iterated, perturbed Bayes map (IF2).

Procedure: Iterated filtering (IF1) Input: A partially observed Markov model specified as above; Monte Carlo sample size J; number of iterations M; cooling parameters 0<a<1 and b; covariance matrix Φ; initial parameter vector θ(1) for m=1 to M draw ΘF(t0,j)∼Normal(θ(m),bam−1Φ) for j=1,…,J set XF(t0,j)=h(ΘF(t0,j)) for j=1,…,J set θ¯(t0)=θ(m) for n=1 to N draw ΘP(tn,j)∼Normal(ΘF(tn−1,j),am−1Φ) for j=1,…,J set XP(tn,j)=f(XF(tn−1,j),tn−1,tn,ΘP(tn,j),W) for j=1,…,J set w(n,j)=g(yn|XP(tn,j),tn,ΘP(tn,j)) for j=1,…,J draw k1,…,kJ such that P(kj=i)=w(n,i)/∑ℓw(n,ℓ) set XF(tn,j)=XP(tn,kj) and ΘF(tn,j)=ΘP(tn,kj) for j=1,…,J set θ¯i(tn) to the sample mean of {ΘF,i(tn,j),j=1,…,J}, where the vector ΘF has components {ΘF,i} set Vi(tn) to the sample variance of {ΘP,i(tn,j),j=1,…,J} set θi(m+1)=θi(m)+Vi(t1)∑n=1NVi−1(tn)(θ¯i(tn)−θ¯i(tn−1)) Output: Maximum likelihood estimate θ̂=θ(M+1)

Variations For IF1, parameters which enter the model only in the specification of the initial condition, X(t0), warrant some special algorithmic attention since information about them in the data may be concentrated in a small part of the time series. Theoretically, any distribution with the requisite mean and variance could be used in place of the normal distribution. It is standard to use the normal distribution and to reparameterise to remove constraints on the possible values of the parameters. Modifications to the IF1 algorithm have been proposed to give superior asymptotic performance.

Procedure: Iterated filtering (IF2) Input: A partially observed Markov model specified as above; Monte Carlo sample size J; number of iterations M; cooling parameter 0<a<1; covariance matrix Φ; initial parameter vectors {Θj,j=1,…,J} for m=1 to M set ΘF(t0,j)∼Normal(Θj,am−1Φ) for j=1,…,J set XF(t0,j)=h(ΘF(t0,j)) for j=1,…,J for n=1 to N draw ΘP(tn,j)∼Normal(ΘF(tn−1,kj),am−1Φ) for j=1,…,J set XP(tn,j)=f(XF(tn−1,j),tn−1,tn,ΘP(tn,j),W) for j=1,…,J set w(n,j)=g(yn|XP(tn,j),tn,ΘP(tn,j)) for j=1,…,J draw k1,…,kJ such that P(kj=i)=w(n,i)/∑ℓw(n,ℓ) set XF(tn,j)=XP(tn,kj) and ΘF(tn,j)=ΘP(tn,kj) for j=1,…,J set Θj=ΘF(tN,j) for j=1,…,J Output: Parameter vectors approximating the maximum likelihood estimate, {Θj,j=1,…,J}

Software "pomp: statistical inference for partially-observed Markov processes" : R package.

References

Worked examples

Example 1 — a first encounter with Iterated filtering

Start with the simplest possible case. Write down what Iterated filtering claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Iterated filtering before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Iterated filtering ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Iterated filtering

In research
Iterated filtering appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Iterated filtering in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Iterated filtering is common in secondary-school and first-year university syllabi. It links to neighbouring topics Dynamical systems, Monte Carlo methods, Nonlinear filters, so understanding it makes those chapters shorter.
In everyday life
Look for Iterated filtering outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Iterated filtering” →

How to study Iterated filtering in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Iterated filtering means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Iterated filtering out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Iterated filtering in simple terms?

Iterated filtering algorithms are a tool for maximum likelihood inference on partially observed dynamical systems. Stochastic perturbations to the unknown parameters are used to explore the parameter space.

Why does Iterated filtering matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Iterated filtering?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Iterated filtering.

Tags

  • Dynamical systems
  • Monte Carlo methods
  • Nonlinear filters

Keep exploring