An inner product decoder reconstructs graph connectivity from latent node representations. It scores node pairs by their inner product, rescales each score with sigmoid, and interprets the result as an edge probability. section 5.5.2
Use the decoder as a short link-prediction pipeline:
- Take the latent representation produced for each node. section 5.5.2
- Select node pairs through the graph’s passed edge index and calculate their inner products. section 5.5.2
- Apply the sigmoid function to convert scores into a matrix of edge probabilities. section 5.5.2
Link prediction
Given latent positions for nodes, decode each selected pair into a probability that an edge exists, thereby reconstructing the adjacency structure. section 5.5.2
Figure 5.17 Overall steps for training our model for link prediction
Use the training-pipeline figure to trace latent representations through decoding and link prediction. section 5.5.2
