Formula

Encoder for Node-Level Latent Representations in VGAEs

Given an adjacency matrix A\mathbf{A} and node features X\mathbf{X}, an encoder for node-level latent representations in a Variational Graph Autoencoder (VGAE) uses two separate Graph Neural Networks (GNNs) to generate mean (μZ\mu_Z) and variance (σZ\sigma_Z) parameters:

μZ=GNNμ(A,X)\mu_Z = \text{GNN}_{\mu}(\mathbf{A}, \mathbf{X})

logσZ=GNNσ(A,X)\log\sigma_Z = \text{GNN}_\sigma(\mathbf{A}, \mathbf{X})

where μZ\mu_Z and logσZ\log\sigma_Z are V×d|V| \times d-dimensional matrices specifying the mean and variance embeddings for each node in the input graph, respectively. After computing μZ\mu_Z and logσZ\log\sigma_Z, a set of latent node embeddings is sampled using the reparameterization trick:

Z=ϵexp(log(σZ))+μZZ = \epsilon \circ \exp(\log(\sigma_Z)) + \mu_Z

0

1

Updated 2026-06-13

Tags

Data Science