For the sequential lattice with binary mask, it is: Here, C is the softmax normalization term that ensures that exponentiated similarities sum up to 1.
the lattice with duplication results in a doubled influence of v a : The probabilistic approach yields the same result as the binary approach for the sequential lattice (Equation 11).