OctoInform Beta

OpenAI preprint, September 2026 · §2. Posterior experiments and reductions · §2

§2 (setting): the edge operation and the combination of branches: How likelihood vectors transform across an edge with parameter λ\lambda and combine across nn branches by normalized coordinatewise multiplication

Edge propagation and branch combination for messages.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

Consider a symmetric three-state broadcast process on a rooted tree: the root spin is uniform on three states, and each edge transmits its parent spin independently through a symmetric noisy channel. Given the observations in the subtrees below the children of a vertex, each child carries a posterior distribution for its own spin. The density evolution recursion builds the vertex’s posterior from those child posteriors in two steps: propagating each child posterior upward across one edge, and combining the resulting edge messages across the branches at the vertex.

The broadcast channel

A three-state spin is an element i∈{0,1,2}i \in \{0, 1, 2\}.✦ For a real noise parameter λ\lambda, the symmetric three-state channel keeps a spin with probability (1+2λ)/3(1 + 2\lambda)/3 and moves it to each other spin with probability (1−λ)/3(1 - \lambda)/3. The library has two parts that do not import each other, OAI.ThreeState and OAI.ThreeState.TreeClauses, and each states the results in its own way. In OAI.ThreeState, a real parameter λ\lambda is admissible when −1/2≤λ≤1-1/2 \le \lambda \le 1.✦

Posterior messages

A vector in ℝ3\mathbb{R}^3 in OAI.ThreeState.TreeClauses is a real triple w=(w0,w1,w2)w = (w_0, w_1, w_2) indexed by {0,1,2}\{0, 1, 2\}✦, and its coordinate average is ⟨w⟩=(w0+w1+w2)/3\langle w \rangle = (w_0 + w_1 + w_2)/3✦.

The message set ℳ⊂ℝ3\mathcal{M} \subset \mathbb{R}^3 in OAI.ThreeState.TreeClauses is the set of vectors m∈ℝ3m \in \mathbb{R}^3 with mi≥0m_i \ge 0 for each i∈{0,1,2}i \in \{0, 1, 2\} and ⟨m⟩=1\langle m \rangle = 1✦, and a message in that part is an element of ℳ\mathcal{M}✦. In OAI.ThreeState, a message is a real vector mm indexed by {0,1,2}\{0, 1, 2\} with mi≥0m_i \ge 0 for each spin ii and ∑i=02mi=3\sum_{i=0}^2 m_i = 3; such a vector is the likelihood vector of a posterior on {0,1,2}\{0, 1, 2\}.✦ The uninformative message in OAI.ThreeState is the constant vector (1,1,1)∈ℳ(1, 1, 1) \in \mathcal{M}.✦

Vector operations

For a real parameter tt and a vector w∈ℝ3w \in \mathbb{R}^3, the radial edge map in OAI.ThreeState.TreeClauses sends ww to the vector Et(w)∈ℝ3E_t(w) \in \mathbb{R}^3 with coordinates Et(w)i=1+t(wi−1)E_t(w)_i = 1 + t(w_i - 1) for i∈{0,1,2}i \in \{0, 1, 2\}.✦

For a finite family a=(aj)j∈Ia = (a_j)_{j \in I} of vectors in ℝ3\mathbb{R}^3, the coordinatewise branch product in OAI.ThreeState.TreeClauses is the vector P(a)∈ℝ3P(a) \in \mathbb{R}^3 with coordinates P(a)i=∏j∈Iaj,iP(a)_i = \prod_{j \in I} a_{j,i} for i∈{0,1,2}i \in \{0, 1, 2\}✦, its branch product normalizer is N(a)=⟨P(a)⟩N(a) = \langle P(a) \rangle✦, and its normalized product vector is Pˆ(a)∈ℝ3\widehat{P}(a) \in \mathbb{R}^3 with coordinates Pˆ(a)i=P(a)i/N(a)\widehat{P}(a)_i = P(a)_i / N(a)✦.

The definition

Definition. In OAI.ThreeState, for an admissible parameter λ\lambda and a message m∈ℳm \in \mathcal{M}, the edge message is the message Tλ(m)∈ℳT_\lambda(m) \in \mathcal{M} with coordinates Tλ(m)i=1+λ(mi−1),i∈{0,1,2}.T_\lambda(m)_i = 1 + \lambda(m_i - 1), \qquad i \in \{0, 1, 2\}.(1)✦ Given an admissible parameter λ\lambda and nn messages m1,…,mn∈ℳm_1, \dots, m_n \in \mathcal{M}, the product weight at spin i∈{0,1,2}i \in \{0, 1, 2\} is Wi=∏j=1nTλ(mj)iW_i = \prod_{j=1}^n T_\lambda(m_j)_i✦ and its normalizer is Z=13∑i=02WiZ = \frac{1}{3}\sum_{i=0}^2 W_i✦. The combined message is the message Cλ(m1,…,mn)∈ℳC_\lambda(m_1, \dots, m_n) \in \mathcal{M} given by Cλ(m1,…,mn)={(1,1,1),Z=0,(W0/Z,W1/Z,W2/Z),Z≠0.C_\lambda(m_1, \dots, m_n) = \begin{cases} (1, 1, 1), & Z = 0, \\ (W_0/Z, W_1/Z, W_2/Z), & Z \ne 0. \end{cases}(2)✦ In OAI.ThreeState.TreeClauses, for any real parameter λ\lambda and a message m∈ℳm \in \mathcal{M}, the vector-form edge message is the vector eλ(m)∈ℝ3e_\lambda(m) \in \mathbb{R}^3 given by eλ(m)=Eλ(m).e_\lambda(m) = E_\lambda(m).(3)✦ Given 0≤λ<10 \le \lambda < 1 and nn messages m1,…,mn∈ℳm_1, \dots, m_n \in \mathcal{M}, the branch edge vectors are the nn-tuple aλ(m1,…,mn)=(eλ(m1),…,eλ(mn))a_\lambda(m_1, \dots, m_n) = \bigl(e_\lambda(m_1), \dots, e_\lambda(m_n)\bigr) in (ℝ3)n(\mathbb{R}^3)^n, and the normalized branch output is the message Oλ(m1,…,mn)∈ℳO_\lambda(m_1, \dots, m_n) \in \mathcal{M} given by Oλ(m1,…,mn)=Pˆ(aλ(m1,…,mn)).O_\lambda(m_1, \dots, m_n) = \widehat{P}\bigl(a_\lambda(m_1, \dots, m_n)\bigr).(4)✦

In the paper, the result reads: through one edge a child message mm becomes me=1+λ(m−1)m_e = 1 + \lambda(m - 1), and for nn conditionally independent branches with edge messages having coordinates mi,jm_{i,j}, one sets Wi=∏j=1nmi,jW_i = \prod_{j=1}^n m_{i,j}, Z=⟨W⟩Z = \langle W \rangle, and mout=W/Zm^{\mathrm{out}} = W / Z with mout=(1,1,1)m^{\mathrm{out}} = (1, 1, 1) where Z=0Z = 0, where Tλ(m)T_\lambda(m) and eλ(m)e_\lambda(m) stand for mem_e, and CλC_\lambda and OλO_\lambda stand for moutm^{\mathrm{out}}.

What is checked

In OAI.ThreeState, the edge message (1) and combined message (2) are stated over three-state spins, admissible parameters −1/2≤λ≤1-1/2 \le \lambda \le 1, and nn-tuples of messages in ℳ\mathcal{M} via the product weights, their normalizer, and the uninformative message (1,1,1)(1, 1, 1); in OAI.ThreeState.TreeClauses, the vector-form edge message (3) is stated over real parameters λ\lambda and messages in ℳ\mathcal{M} via the radial edge map on ℝ3\mathbb{R}^3, and the normalized branch output (4) is stated over 0≤λ<10 \le \lambda < 1 and nn-tuples of messages in ℳ\mathcal{M} via the branch edge vectors, the coordinatewise branch product, its normalizer, and the normalized product vector.