Skip to Content
BayesiaLabKey ConceptsInformation Gain

Information Gain

Definition

The Information Gain for evidence EE is the Log-Loss under an independent baseline network UU minus the Log-Loss under the reference network BB. The baseline uses the same marginal probabilities as BB and treats the nodes as marginally independent.

IGB(E)=log⁡2(PB(e1,…,en)∏i=1nPB(ei))=LLU(E)−LLB(E)\mathrm{IG}_B(E) = \log_2\left(\frac{P_B(e_1,\ldots,e_n)}{\prod_{i=1}^{n} P_B(e_i)}\right) = \mathrm{LL}_U(E) - \mathrm{LL}_B(E)

In earlier versions of BayesiaLab, Information Gain was named Consistency.

Interpretation

The Log-Loss measures the encoding cost of evidence EE in bits. Lower probabilities give higher Log-Loss.

Positive Information Gain means that the reference network BB assigns the observation a higher probability and incurs lower Log-Loss than the independent baseline UU. Negative Information Gain means that BB assigns it a lower probability and incurs higher Log-Loss. BayesiaLab calls this a conflict.

Loading SVG...

Two binary variables are each 0 or 1 with equal probability. The independent baseline gives every pair a 25% probability. For each observed pair, information gain is the base-2 logarithm of its reference probability divided by 25%.

Mean Information Gain on a dataset measures the average difference in Log-Loss between the two models, in bits per observation. A positive mean indicates that the reference network incurs lower Log-Loss on average for that dataset.