Higher-Order Common Information
The higher-order common information [Ostergaard24] measures how much statistical information survives a sequence of information bottlenecks, one per variable. Starting from a reference variable \(T_1 = X_i\), each stage processes another variable \(X_a\), keeping as much information about it as possible while passing on no more than \(T_\ell\) already shares with it:
\(T_{\ell+1}\) must also be target-minimal: it keeps only what is statistically relevant to \(X_a\). After \(n - 2\) stages, the final auxiliary variable is scored by the least it shares with any variable. Each reference takes its best ordering \(\pi\) of the other variables, and the worst reference is reported:
where the supremum runs over the chains of stage optimizers. Each stage is a
rate-constrained information bottleneck, computed with
information_bottleneck_rate().
For two variables it is the Mutual Information. In general it lies between the Gács–Körner common information and the least pairwise mutual information. That in turn is at most the CAEKL Mutual Information, since the total correlation among the \(k\) parts of a partition is a sum of \(k - 1\) mutual informations, each at least a pairwise one:
Unlike the Gács–Körner common information, it is positive for noisy copies of a common bit. For \(n\) copies with crossover \(q\) it is \(1 - h\left(\tfrac{1}{2}\left(1 - (1 - 2q)^{2^{n-1}}\right)\right)\):
In [1]: from dit.example_dists import noisy_copies
In [2]: from dit.multivariate import higher_order_common_information as HCI
In [3]: HCI(noisy_copies(0.1, 3), rng=0)
Out[3]: 0.12465631784305842
Like the Gács–Körner common information, it tells the dyadic distribution from the triadic one, which no Shannon measure does:
In [4]: from dit.example_dists import dyadic, triadic
In [5]: HCI(dyadic)
Out[5]: 0.0
In [6]: HCI(triadic)
Out[6]: 1.0
Each pair of dyadic variables shares a bit, but stage-wise optimality makes the first stage keep only the bit shared with the processed variable, which the remaining variable knows nothing about.
Caveats
The value counts processing stages rather than distinct variables, and it fails two of the properties of [CABE+15]:
It is not consistent: a duplicated variable is processed again and costs information. Let \(X_0 \in \{0, 1, 2\}\) have probabilities \((\tfrac{1}{2}, \tfrac{1}{4}, \tfrac{1}{4})\), and let \(X_1\) erase it with probability \(\tfrac{2}{5}\). Then \(\operatorname{HCI}[X_0 : X_1] = \I{X_0 : X_1} = \tfrac{9}{10}\), but \(\operatorname{HCI}[X_0 : X_1 : X_1] = \tfrac{27}{50}\).
It does not satisfy the data processing inequality: coarse-graining a variable can raise it. For independent fair bits \(A, B, C\), \(\operatorname{HCI}[A \wedge B : A \wedge C : BC] = 0\), but \(\operatorname{HCI}[A \wedge B : A \wedge C : B \wedge C] \approx 0.0088\). With reference \(BC\), every stage optimizer is a degraded \(B\) or \(C\), which is independent of the remaining conjunction.
Computation
When the Gács–Körner common information equals the least pairwise mutual information, that value is returned. Otherwise every ordering of every reference is searched, so the cost grows as \(n!\), though orderings that share a prefix share its stages. A stage whose relevant part is a deterministic function of the processed variable is solved exactly. The others are solved numerically, and then a second optimization breaks ties among the stage optimizers. It prefers the one sharing the most with the least related other variable. That choice is exact for three variables and a heuristic for more.
API
- higher_order_common_information(dist, rvs=None, niter=None, maxiter=None, rng=None)[source]
Compute the higher-order common information [Ostergaard24]:
\[\operatorname{HCI}[X_0 : \ldots : X_{n-1}] = \min_i \max_\pi \sup_{T_{n-1}} \min_j \I{T_{n-1} : X_j},\]where \(T_1 = X_i\) and each \(T_{\ell+1}\) maximizes \(\I{T_{\ell+1} : X_{\pi(\ell)}}\) among target-minimal \(T_{\ell+1} - T_\ell - X_{0:n}\) with \(\I{T_{\ell+1} : T_\ell} \leq \I{T_\ell : X_{\pi(\ell)}}\).
For two variables it is the mutual information, and in general
\[\K{X_0 : \ldots : X_{n-1}} \leq \operatorname{HCI}[X_0 : \ldots : X_{n-1}] \leq \min_{i \neq j} \I{X_i : X_j}.\]When the two bounds meet their common value is returned. Otherwise every ordering of every reference is searched, solving a rate-constrained information bottleneck at each stage, so the cost grows as \(n!\). Stages whose relevant part is a deterministic function of the processed variable are solved exactly; the rest are numerical. Ties among stage optimizers go to the one sharing the most with the least related other variable, which is exact for three variables and a heuristic for more.
- Parameters:
dist (Distribution) – The distribution of interest.
rvs (list of lists, None) – The variables \(X_0, \ldots, X_{n-1}\). If None, use every variable of
dist.niter (int, None) – The number of basin hops per optimization.
maxiter (int, None) – The number of iterations of the optimization subroutine.
rng (np.random.Generator, int, None) – Source of randomness for the optimizers.
- Returns:
hci – The higher-order common information.
- Return type: