Eqs. (10)–(11) with Eq. (6): total correlation decomposes into interaction information and vanishes exactly under independence (corrected: k ≥ 2 in Eq. (10))
ProvedJakulinBratko.totalCorrelation_decompositionentropyinformation-theoryinteraction-informationp2o-correctedp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1total-correlation
Let be a finite set of attributes with finite alphabets, a joint law, and . Then:
- (decomposition, Eq. (11)) total correlation is the sum of the interaction informations of the subsets with at least two elements,
- (recursion, Eq. (10)) if and , then
- (sign, Eq. (6)) , and if and only if the attributes of are mutually independent: for every assignment of ,
Here is the average over the values of of the interaction information under the conditional law given . The paper has no labelled theorem, and these displays are its mathematical core: they say that the -way dependence measured by total correlation is a sum of -way interactions, , and that it measures dependence exactly.
Differences from the source are listed below. The first form of Eq. (10) and the first form of Eq. (11) are the definitions of and .
Differences from the source:
- correction: Eq. (10) for every X ∈ S and arbitrary k → the recursion under 2 ≤ |S|; reason: false at k = 1: for a fair bit X, I({X}) = -1 while I(∅|X) - I(∅) = 0; the paper's k-way interactions start at 2
- reading: I(S \ X|X), defined by the paper only through I(A; B|C) → the average condI P X (S.erase X) of I under the conditional laws; reason: the paper calls this quantity "expected" (p.7) and "average" (p.14); it equals Eq. (4) at |R| = 2
- generalization: the sign clause for pairs (p.4) and three attributes (pp.5–6) → the sign clause for every subset S; reason: Eq. (11) is called a decomposition of a k-way dependence, and |S| = 2, 3 give the printed cases
- encoding: a probability distribution on attributes {X_1, ..., X_n} → real weights with IsLaw on a Fintype index; P(x) is attrMarg, the marginal of Eq. (8) on the one-point subset read on the alphabet of X; a value of X with P(x) = 0 has weight 0 in condI; reason: Lean convention; same instances
Preamble
import Definitions.Def_JakulinBratko_IsLaw import Definitions.Def_JakulinBratko_I import Definitions.Def_JakulinBratko_C import Definitions.Def_JakulinBratko_attrMarg import Definitions.Def_JakulinBratko_condI
Formal statement
namespace JakulinBratko
/-- The goal: §2.4, Eqs. (10)–(11), p.8, with the sign clause of Eq. (6), pp.5–6 (Jakulin–Bratko, Quantifying and Visualizing Attribute Interactions, arXiv:cs/0308002v3).
For every finite family of finite attributes, every joint law and every subset `S`:
(a) total correlation is the sum of the interaction informations of the subsets with at least two
elements, Eq. (11);
(b) McGill's recursion, Eq. (10), for `2 ≤ |S|` (at `|S| = 1` the printed display is false);
(c) total correlation is nonnegative, and zero exactly when the attributes of `S` are mutually
independent, `P(𝐬) = ∏_{X ∈ S} P(s_X)` at every assignment `𝐬`. -/
theorem totalCorrelation_decomposition {ι : Type*} [Fintype ι] [DecidableEq ι] {α : ι → Type*}
[∀ i, Fintype (α i)] [∀ i, DecidableEq (α i)]
(P : (∀ i, α i) → ℝ) (hP : IsLaw P)
(S : Finset ι) :
C P S = ∑ T ∈ S.powerset with 2 ≤ T.card, I P T ∧
(2 ≤ S.card → ∀ X ∈ S, I P S = condI P X (S.erase X) - I P (S.erase X)) ∧
0 ≤ C P S ∧
(C P S = 0 ↔ ∀ s : (∀ i : S, α i), marg P S s = ∏ X : S, attrMarg P X (s X)) := by sorry
end JakulinBratko
Source
Jakulin–Bratko, Quantifying and Visualizing Attribute Interactions, arXiv:cs/0308002v3, §2.4, Eqs. (10)–(11), p.8; §2.3, Eq. (6), pp.5–6
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.