Without loss of generality, we assume the network is directed, as an undirected edge can be considered as two directed edges with opposite directions and equal weights.
the structure-based objective aims to measure the log-likelihood of a directed edge using the structure-based embeddings as Following LINE (Tang et al., 2015), we define the conditional probability of v generated by u in Eq.