Step 1 – Marginal (evidence) for a candidate design

Integrate the parameter out:

p(y∣ξ)=∫p(y∣θ,ξ) p(θ) dθp(y\mid\xi)=\int p(y\mid\theta,\xi)\,p(\theta)\,d\theta

This is the predictive distribution of the not-yet-observed outcome. It’s the only place the prior enters, and it’s what makes EIG computable before running the experiment.

Step 2 – Posterior you would get, for a hypothetical yy

p(θ∣y,ξ)=p(y∣θ,ξ) p(θ)p(y∣ξ)p(\theta\mid y,\xi)=\frac{p(y\mid\theta,\xi)\,p(\theta)}{p(y\mid\xi)}

Step 3 – Information gain for that one outcome

IG(ξ,y)=DKL ⁣(p(θ∣y,ξ) ∥ p(θ))=∫p(θ∣y,ξ)log⁡p(θ∣y,ξ)p(θ)dθ\mathrm{IG}(\xi,y)=D_{\mathrm{KL}}\!\big(p(\theta\mid y,\xi)\,\|\,p(\theta)\big)=\int p(\theta\mid y,\xi)\log\frac{p(\theta\mid y,\xi)}{p(\theta)}d\theta

Careful point worth having in your back pocket: the “entropy reduction” form H[p(θ)]−H[p(θ∣y,ξ)]H[p(\theta)]-H[p(\theta\mid y,\xi)] is not equal to this KL for a single yy – a surprising outcome can even increase posterior entropy. They coincide only after averaging over yy (Step 4).

Step 4 – Average over outcomes you haven’t seen yet

  EIG(ξ)=Ep(y∣ξ)[DKL(p(θ∣y,ξ)∥p(θ))]  \;\mathrm{EIG}(\xi)=\mathbb{E}_{p(y\mid\xi)}\big[D_{\mathrm{KL}}(p(\theta\mid y,\xi)\|p(\theta))\big]\;

Substituting Bayes’ rule and swapping the order of integration gives the three equivalent forms you can quote on the slide:

EIG(ξ)=Ep(θ)p(y∣θ,ξ) ⁣[log⁡p(y∣θ,ξ)p(y∣ξ)]undefinedlikelihood form – the one you actually compute=H[p(y∣ξ)]−Ep(θ)H[p(y∣θ,ξ)]undefinedpredictive entropy−noise entropy=I(θ;y∣ξ)undefinedmutual information\mathrm{EIG}(\xi)=\underbrace{\mathbb{E}_{p(\theta)p(y\mid\theta,\xi)}\!\left[\log\frac{p(y\mid\theta,\xi)}{p(y\mid\xi)}\right]}_{\text{likelihood form -- the one you actually compute}}=\underbrace{H[p(y\mid\xi)]-\mathbb{E}_{p(\theta)}H[p(y\mid\theta,\xi)]}_{\text{predictive entropy} - \text{noise entropy}}=\underbrace{I(\theta;y\mid\xi)}_{\text{mutual information}}

So EIG is the mutual information between parameters and outcome under the design. The middle form is the useful intuition: pick the experiment whose outcome you are most uncertain about overall, minus the part of that uncertainty that is just measurement noise. Ambiguity is good; noise is not.

The design step is then ξ⋆=arg⁡max⁡ξEIG(ξ)\xi^\star=\arg\max_\xi \mathrm{EIG}(\xi).

Step 5 – Actually evaluating it

p(y∣ξ)p(y\mid\xi) is an intractable integral, so this is a nested expectation. Standard estimator (nested Monte Carlo):

EIG^=1N∑n=1N[log⁡p(yn∣θn,ξ)−log⁡1M∑m=1Mp(yn∣θn,m,ξ)]\hat{\mathrm{EIG}}=\frac{1}{N}\sum_{n=1}^{N}\left[\log p(y_n\mid\theta_n,\xi)-\log\frac{1}{M}\sum_{m=1}^{M}p(y_n\mid\theta_{n,m},\xi)\right]

with θn∼p(θ)\theta_n\sim p(\theta), yn∼p(y∣θn,ξ)y_n\sim p(y\mid\theta_n,\xi), and inner contrastive draws θn,m∼p(θ)\theta_{n,m}\sim p(\theta).

The formula here works like this,