Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.72 KB

Graph Convolutional Neural Networks for Web-Scale Recommender Systems - PinSage.md

File metadata and controls

21 lines (16 loc) · 1.72 KB

Key points

  • GCN - PinSage which combines efficient random walks and graph convolutions to generate embeddings of user-item pairs
  • Embeddings incorportage graph structure as well as node feature information
  • Trained using pairwaise ranking loss function and able to handle sparsity by using negative sampling.
    • Negative sampling is used to generate negative examples for the pairwise ranking loss function.
    • These examples are generated by randomly sampling items that are not connected to the user in the graph structure of the data.
  • Pairwise ranking loss function:
    • 2 parts - positive: loss for the correct ordering of the items
    • 2 parts - negative: loss for the incorrect ordering of the items
    • Total loss: sum of both losses
  • Trained on 3 billion nodes representing pins and boards and 18 billion edges - according to A/B tests, PinSage generates higher quality reccomendations than other DL alternatives.

Screenshot 2022-07-17 at 22 52 44

  • Importance pooling: feature information is aggregated from local neighborhoods in the graph - but we introduce a method to weigh the importance of node features, based upon random-walk similarty measures.

Screenshot 2022-07-17 at 23 02 11

Loss: Screenshot 2022-07-17 at 23 03 52