Given a tree T , this allows us to calculate up the tree, even though it is through a downwards pointing conditional model, so the ith element of p can be predicted by: It is important to note that here c 1 , c 2 and p are binary sampled values, not their probabilities or averages, whereas the resulting probabilities are distributions.
used as a mean-field approximation, Equation 12is essentially the same as that of the RNN.