The final weight for a word node depends on its connection to other words (W-W graph) and other sentences (W-S graph); similarly, the weight for a sentence node is dependent on its connection to other sentences (S-S graph) and other words (S-W graph).
where u and v are the weight vectors for sentence and word nodes respectively, U, V, W,Ŵ represent the S-S, W-W, S-W, and W-S connections.