Let $(\Omega,\mathcal{F},P)$ be a probability space, $\{\mathcal{F}\_n \subseteq \mathcal{F}\}\_{n \in \mathbb{N}}$ an increasing filtration, $S$ a finite set and $X: \Omega \rightarrow S$ a random variable. Denote $\mathcal{P}(\Omega)$ the space of probability measures on $(\Omega, \mathcal{F})$ and assume that $\{Q\_n: \Omega \rightarrow \mathcal{P}(\Omega)\}\_{n \in \mathbb{N}}$ are regular conditional probabilities corresponding to $\mathcal{F}\_n$. That is, for any $A \in \mathcal{F}$, $Q\_n(\omega)(A)$ is an $\mathcal{F}\_n$-measurable function of $\omega \in \Omega$ and for any $B \in \mathcal{F}\_n$


$$\int\_B Q\_n(\omega)(A) P(d\omega) = P(A \cap B)$$


For each $n \in \mathbb{N}$, define the *information gain* $I\_n: \Omega \rightarrow \mathbb{R} \sqcup \{+\infty\}$ by


$$I\_n(\omega):= D\_{KL}(X\_\* Q\_{n+1}(\omega) \mid\mid X\_\* Q\_{n}(\omega))$$


Here, $X\_\*$ denotes push-forward by $X$, i.e. $X\_\* Q\_{n}(\omega)$ is the probability measure on $S$ s.t. for any $A \subseteq S$


$$X\_\* Q\_{n}(\omega)(A) := Q\_n(\omega)(X^{-1}(A))$$


$D\_{KL}$ is the Kullback–Leibler divergence, i.e. given probability measures $\mu,\nu$ on $S$, regarded as functions from $S$ to $[0,1]$:


$$D\_{KL}(\mu \mid\mid \nu) := \sum\_{s \in S} \mu(s) \ln{\frac{\mu(s)}{\nu(s)}}$$ 



> 
> Is it true that $\sum\_{n=0}^\infty I\_n < \infty$ almost surely?
> 
> 
> 


If it helps, consider one or both of the following simplifying assumptions:


* $\Omega$ is standard.
* Each $\mathcal{F}\_n$ corresponds to a finite partition of $\Omega$ (that becomes finer as $n$ grows).



Sum of information gains is almost surely convergent?
Let me know if I'm talking nonsense but it looks like if you just consider the usual entropy $H(P)=\sum\_k P(k)\log P(k)$ for probability measures $P$ on $\mathbb N$, then 
$$
E[H(X\_\*Q\_{n+1})]-E[H(X\_\*Q\_{n})]= E I\_n
$$
simply because of the identity
$$
p\log p-q\log q=p\log \frac pq+(p-q)\log q
$$
(the linear in $p$ part just gets killed by the conditional expectation, as usual). Then the answer is that you are fine as long as the entropy of $X\_\*\mathcal P$ is finite (which is always the case when you have finite range) but not necessarily if it is not (there is a difference between the finiteness of the expectation and the finiteness a.e., of course, but you said that you have a counterexample for the infinite range yourself, so I'll not elaborate).


Does this make sense?


**Edit: a counterexample without finite range requirement**.


Let us take $[0,1]$ with the Borel $\sigma$-algebra and the Lebesgue measure for the probability space and the usual dyadic partitions as the filtration.
To create the distribution of $X\_\*P$, just split the integers into chunks of lengths $2^n$, assign some probability $c\_n$ to each chunk so that $\sum\_n c\_n=1$, $\sum\_n nc\_n=+\infty$. Now we need to construct $X$ itself. Start with the first chunk ($\{0,1}\}$ of length $2$) and assign the conditional probabilities so that $P(0)=2c\_1, P(1)=0$ on the left half, the reverse holds on the right half, and the rest is split equally. That gives the information gain $I\_1$ of $1\cdot c\_1\log 2$ uniformly throughout the whole interval. Now take the second chunk $\{2,3,4,5\}$ and first split so that $2,3$ go to the left and $4,5$ to the right, after which separate them again at the next level. Again, the corresponding gain $I\_2+I\_3$ will be spread uniformly and equal to $2\cdot c\_2\log 2$. Now take care of the third chunk and so on. Note that we do not have $X$ itself yet, but we have the martingales for $P(X=k|\omega\in I)$ for each dyadic $I$ and can lift the sum of gains to any level we want uniformly throughout the interval. The only little problem is that those martingales converge to some fractional values instead of $0,1$, so we do not get true set partitions. To compensate for that, we need to start making slightly non-even partitions now and then allowing the probability of every number whose fate we already decided (in the sense that once we know $I$, we know if it is either present on each further subinterval, or is absent on each further subinterval to spread or squeeze a bit. Just do it rarely enough and only once after you accumulate a uniform gain of $1$. This operation is fairly harmless because all it does to the tails is to multiply them by some positive numbers, which doesn't change the divergence of the series and, thereby, doesn't affect our gain accumulation abilities. However now, from the perspective of each integer, you start running a random walk for its conditional probability, so if your step is, say, half of the distance to the endpoint at least once in a while, then you'll end up with $0$ or $1$ almost surely and full measure will be honestly partitioned. 


