Active Perception, Dual Control, and Exploration › Information Gain and Uncertainty Reduction
World Models HandbookAll chapters Active Perception, Dual Control, and Exploration › Information Gain and Uncertainty ReductionOne section · Sections in this chapter3 / 10 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
Information gain is the expected reduction in uncertainty about a specified random variable that results from taking an action and observing its outcome. We will define it in the Shannon sense, derive its connection to the belief-MDP, and then compute it. Standard continuity, symmetry, and composition axioms single out Shannon entropy up to a choice of scale. Other uncertainty and risk measures remain useful under different objectives, so the information target and decision criterion must always be named.
Entropy as a measure of uncertainty
For a discrete belief over a fixed finite state set, the entropy is
where:
- : the belief probability assigned to state , with and
- : the natural logarithm, so entropy is measured in nats
- the sum runs over all states in the state space
with the convention . Entropy is nonnegative, zero exactly when the belief is a point mass, and maximized by the uniform distribution. It is measured in nats (natural logs) or bits (base-2 logs); the choice of base rescales entropy and information gain by a constant.
For a dynamic hidden state, the prior used for the next observation is not generally the current belief. After action , the predictive belief over the next state is
The observation-conditioned posterior is . Its entropy is
where is again the Bayesian update. The expected posterior entropy after taking action is the average over possible observations weighted by their predictive probability:
This expression averages over what the observation could turn out to be. On the right, the sum weights each possible posterior entropy by the probability that the corresponding observation occurs. Once you have seen the observation, the posterior is deterministic, so there is no residual averaging inside a given branch; the averaging is entirely over which branch you land in.
Defining information gain
The information gain about the next state from action is the mutual information between and , conditional on the current belief and action:
where:
- : the entropy of the action-conditioned predictive prior over
- : the predictive probability of observing after taking action from belief
- : the entropy of the posterior over after observing
- : the Bayesian posterior update
- : the expected information gain, in nats, about the named target
For a static hidden target or parameter , action does not transition , so the predictive prior equals the current prior. The worked example later uses exactly this special case: is the identity of the rewarded target and .
This quantity has three equivalent interpretations that are worth stating, because different literatures emphasize different ones:
- Entropy reduction: how much, on average, the observation reduces uncertainty about the named latent variable.
- Mutual information: , the dependence between predictive next state and observation for the chosen action.
- Expected posterior-to-predictive-prior KL: .
The third form is useful for Bayesian-surprise methods. Other curiosity bonuses introduced later are only surrogates for this quantity.
Deriving the KL form
Write the expected KL from predictive prior to posterior. Expanding the KL gives
Substitute and rearrange:
This is the standard mutual-information identity for the joint distribution induced by the predictive prior and observation channel. The prior and posterior must concern the same random variable; comparing a posterior over with a pre-action belief over is not meaningful in general.
Reading the algebra backward is useful, with one qualification. Maximizing expected posterior-to-predictive-prior KL maximizes information gain about the named variable. Minimizing expected posterior entropy is equivalent only when predictive-prior entropy is fixed across the actions being compared. Bayesian-surprise methods use this identity directly; count bonuses, prediction error, RND, and ensemble disagreement are different surrogates and need not estimate the same quantity.
The information gain cannot be negative
A useful sanity property: for every belief and action, with equality if and only if and are conditionally independent for that . This follows directly from . A negative numerical estimate therefore reflects approximation, sampling, or floating-point error rather than negative exact mutual information.
Information gain is also invariant to relabeling of the observations: it is built from posterior entropies, which do not depend on the symbols assigned to those posteriors. If you permute the observation symbols and the observation model consistently, information gain does not move. An action that reliably reveals "not A" is just as informative as one that reliably reveals "A": what matters is how sharply the observation is correlated with the latent state, not which symbol encodes it.
How information gain interacts with the belief-MDP
Look back at the belief-MDP recursion. The term is the branch probability, and the downstream value depends on the posterior. Information gain measures the expected posterior-to-predictive-prior KL induced by these branches. The weight converts information into objective units, but it cannot by itself determine whether the information changes a useful decision.
Not all information is equally valuable. The quantity relevant to control is not entropy in general but entropy that affects the optimal action. If two states are equally good under every action, distinguishing them has no value. This is the "value of information" perspective. It motivates a refinement of plain entropy.
For a static one-step sensing problem, fix a probe and let denote the later task decision. The net value of sample information is
where is the probe cost. If the probe also changes the physical state, immediate reward must be replaced by a time-consistent continuation value under the post-probe state distribution.
Information gain and VOI have different units: nats versus reward. Neither universally upper-bounds the other without assumptions linking information to a bounded utility scale. Information can be positive while VOI is zero, and rescaling rewards changes VOI without changing information gain.
The inner maximum chooses the best task decision after seeing , whereas entropy-based information gain does not ask whether the posterior changes a useful choice. Resolving an irrelevant distinction changes the belief but leaves the maximum unchanged. This mismatch reappears in curiosity, where surprise-driven objectives can chase irrelevant novelty, and in safety, where useful probes may be inadmissible.
Estimating information gain in practice
For continuous latent states, the exact belief is rarely available. Differential entropy depends on coordinates and may be negative or divergent; mutual information, when well defined, is invariant under smooth invertible reparameterizations. Practical systems therefore estimate mutual information directly or use a calibrated parametric or ensemble surrogate.
For a nonsingular Gaussian belief over a -dimensional continuous latent state, with positive-definite covariance , the differential entropy is
where:
- : the dimension of the latent state
- : the mean of the Gaussian belief
- : the covariance matrix encoding the belief's uncertainty
- : the determinant of the covariance; is proportional to the volume scale of a fixed Mahalanobis-radius ellipsoid
- : Euler's number, arising from the maximum-entropy property of the Gaussian
Three implementations recur throughout this book:
- Ensemble disagreement: train diverse models and use their predictive spread as an epistemic proxy. That interpretation requires posterior-like diversity, calibration, and a separate representation of aleatoric output noise. Shared data alone does not make disagreement epistemic. PETS, for example, combines ensemble variation with probabilistic member outputs.
- Parametric differential entropy: for nonsingular Gaussian predictive and posterior beliefs, In a linear-Gaussian update the posterior covariance is independent of the realized observation, so this simplifies to one half the log-determinant ratio.
- Variational information estimates: optimize a learned lower or upper bound on the expected log density ratio, often through a conditional density or contrastive classifier. A raw target-class probability is not itself mutual information.
These are useful approximations, but the executable example below deliberately uses an exact two-state categorical belief so every posterior and information value can be checked directly. First, we sharpen the notion of curiosity, which is the motivational layer on top of information gain.