The setting
Send a uniformly chosen spin from the root of a tree down its edges through a symmetric three-state channel with parameter , and observe the spins at depth . The root posterior given the depth- observation defines a likelihood message, three times the posterior, and passing from depth to depth transforms the law of this message by combining independent child messages transmitted across one edge. The library, the OpenAI (OAI) results, develops this recursion in two separate parts, OAI.ThreeState and OAI.ThreeState.TreeClauses: the first part tests the density evolution operator against continuous functions for every noise parameter in the admissible range , while the second part iterates a version of the operator that preserves balanced symmetric laws of messages (defined below) for to obtain the depth- message laws of regular and ordered trees.
Posterior messages
In both parts, a spin is an element of , corresponding to the states , , of the preprint, and a real noise parameter is admissible when . In the first part, for and spins , the channel matrix entry is (1)✦ When is admissible, the entries (1) are nonnegative and sum to over , defining the channel kernel on from each spin .✦
The uniform spin prior assigns probability to each spin in . Given a family of discrete probability distributions on an observation space , the marginal observation law is the mixture of under , with mass at .✦ For an observation , the posterior probability of spin under is (2)✦
For a vector indexed by , its coordinate average is .✦ The message space is the set of vectors with for every and , equivalently ; in the second part, this is the message set. The uninformative message is .
In the first part, for a family of discrete distributions on , the likelihood message of an observation is the vector with coordinates given by (2).✦ Pushing the marginal observation law forward by gives the likelihood message law , a probability measure on . In the second part, for a family of discrete distributions on , the discrete marginal law is likewise the mixture under the uniform spin law on , giving each the averaged discrete weight , and pushing this marginal law forward by the map sending an observation to its likelihood message gives the discrete message law on . In the second part, the message of a discrete observation is its likelihood message: three times the posterior law of the spin given , when the spin is uniform and the observation given spin has law . The coordinate of the likelihood message of is divided by the average of whenever this average is positive.
The density evolution operator preserves balanced probability measures on together with permutation symmetry. A probability measure on is balanced when for every spin . For each permutation of , permuting coordinates sends to with . In the second part, a balanced symmetric law is a probability measure on that is balanced and preserved by for every permutation of .✦
Density evolution
For , the radial edge map is the map of to itself that sends a vector to the vector with coordinates for .✦ When is admissible, the radial edge map preserves and sends to . Given messages , the product weight at spin and its normalizer are (3) In the first part, for admissible , the combined message from (3) has coordinates when , and equals when . In the second part, applying the radial edge map to child messages gives the edge messages whose coordinatewise product weight has normalizer ; dividing by gives the normalized product vector, which for defines the branch output message .
For a probability measure on and , let denote the -fold product probability measure on .✦ In the first part, for admissible , the degree- input measure on has density relative to ✦, and its pushforward under is the degree- output measure on .✦ Given an offspring distribution on , the density evolution measure is (4)✦ To test (4) against a continuous function , the weighted test function on is , and integrating it against gives the degree- test integral (5)✦
In the second part, for a balanced symmetric law , , and , the degree- input measure on has the same density relative to as in (5).✦ When , the fixed-degree- probability measure on of a balanced symmetric law is the law of the message received by a vertex with children whose messages have law : the branch output message of the child messages, under the degree- input measure , the product of copies of tilted by the normalizer. The fixed-degree- law of is this probability measure, which is a balanced symmetric law. For a balanced symmetric law , write for the underlying probability measure on . For any distribution on and sequence of balanced symmetric laws, the mixture probability measure gives the balanced symmetric mixture law. For an offspring distribution on , a balanced symmetric law , and , the offspring mixture law is (6)✦
Tree models
In the first part, given a family of discrete distributions on and an admissible , the edge law at spin draws an intermediate spin and then an observation from .✦ Given also an offspring distribution on , the composed offspring law at spin draws a degree and pairs it with an -tuple of independent draws from .✦
In the second part, for a branching number , a regular observation of depth is a spin in , and one of depth is a -tuple of depth- regular observations.✦ For admissible , the depth- regular tree law at root spin is the point mass , and draws independent child observations, each by passing through and drawing from .✦ Let be the -th coordinate unit vector of . Iterating the fixed-degree- law from the depth- root law , a balanced symmetric law, defines the regular posterior law for , with .
An ordered observation of depth is a spin in , and one of depth is a child count paired with an -tuple of depth- ordered observations, retaining sibling order.✦ Retaining sibling order in the depth observation leaves the distribution of the root posterior unchanged. Given an offspring distribution on and an admissible , the depth- ordered tree law at root spin is , and draws and pairs it with independent child observations, each obtained by passing through and drawing from .✦ Iterating the offspring mixture law (6) from the same depth- root law defines the offspring posterior law for , with .
The claim
Proposition. In the first part, let be an offspring distribution on , let be a family of discrete distributions on an observation space indexed by , let be an admissible noise parameter, and let be a continuous function. Then the likelihood message law of the composed offspring law satisfies (7)✦ In the same part, for every balanced probability measure on and any , admissible , and continuous as in (7), the density evolution measure satisfies (8)✦ In the second part, let , which is admissible, and let . For every branching number , the regular posterior law and the regular tree law satisfy (9)✦ For every offspring distribution on , the offspring posterior law and the ordered tree law satisfy (10)✦
In the paper, the result reads: for a random offspring count with law and coordinate unit vectors (), the marginal likelihood laws satisfy starting from , where with the edge applied to each sample, each conditional integral has mass one, and the operator preserves balanced laws and permutation symmetry. The library states this recursion across its two parts: the first part establishes the one-step test identities (7) and (8) for continuous functions and every admissible , while the second part defines the balanced symmetric operator (6) for and matches its depth- iterates from the root law to the regular and ordered tree message laws in (9) and (10).
What is checked
In the first part (OAI.ThreeState), (7) and (8) are stated over an offspring distribution on , an admissible noise parameter , a continuous test function , and either a family of discrete distributions on an observation space or a balanced probability measure on . In the second part (OAI.ThreeState.TreeClauses), (6), (9), and (10) are stated over (with admissible in (9) and (10)), a depth in (9) and (10), and either a balanced symmetric law with an offspring distribution on in (6), a branching number in (9), or an offspring distribution on in (10).
Beyond the claim, the second part establishes properties of the underlying constructions: for any balanced symmetric law , , and , the degree- input measure is a probability measure, and the fixed-degree- probability measure is both balanced✦ and invariant under every coordinate permutation of .