Metraipolis › archive › dc_fe054208555a

Scaling Graph Neural Networks for Friend Recommendation: Multi-Hash User Embeddings and Temporal Neighbor Sampling — arXiv:2608.27413

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.27413
License (as archived)
CC0-1.0
Archived
2026-10-17T15:52:19.861Z
SHA-256 of the archived text
d7cbc92a87b46b486447b3bc717ba76b5080ba690ac044db80ad5df59b5e28ae
Stable URL of this page
https://metraipolis.com/documento/dc_fe054208555a

How to cite

Scaling Graph Neural Networks for Friend Recommendation: Multi-Hash User Embeddings and Temporal Neighbor Sampling — arXiv:2608.27413 — arXiv (en), https://arxiv.org/abs/2608.27413 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_fe054208555a (Metraipolis archive dc_fe054208555a, sha256 d7cbc92a87b46b486447b3bc717ba76b5080ba690ac044db80ad5df59b5e28ae)
BibTeX
@misc{dcfe054208555a,
  title = {Scaling Graph Neural Networks for Friend Recommendation: Multi-Hash User Embeddings and Temporal Neighbor Sampling — arXiv:2608.27413},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.27413},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_fe054208555a; sha256 d7cbc92a87b46b486447b3bc717ba76b5080ba690ac044db80ad5df59b5e28ae},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.27413. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Friend recommendation is inherently graph-structured: the relevance of a potential connection depends on multi-hop social context rather than user attributes alone. However, deploying message-passing GNNs on a production-scale social graph with hundreds of millions of users and tens of billions of edges requires addressing numerous modeling and systems challenges. We present a scalable end-to-end GNN ranking system for production social graphs, focusing on two design choices that are critical in this setting: multi-hash ID embeddings and temporal neighbor sampling. Multi-hash embeddings are common for high-cardinality features, but industrial GNN systems typically either ignore trainable IDs or accept full embedding tables, exceeding 200 GB for our graph. We integrate multi-hash as the primary node representation, reducing the ID-embedding table size by more than 98 percent while preserving ranking quality. Temporal neighbor sampling is well understood in principle, but existing implementations scan full adjacency lists, which is a non-starter for users with tens of thousands of friends. We implement timestamp-sorted CSR storage with binary search, reducing the per-node temporal sampling cost from $O(deg(v) + k)$ to $O(\log(deg(v)) + k)$. Beyond these components, we show that this combination scales and yields measurable production impact. On a graph with 194M users and 28B edges, offline ablations isolate each design choice's contribution. In an online A/B test, our system increases friend additions from recommendations by 16 percent and unique friend adders by 11.5 percent over a strong production baseline. We release our framework for distributed training and inference on large temporal graphs.

Tema degli esploratori: governance digitale e beni comuni (retro-catalogo arXiv: annunci del 2026-08-28 in cs.SI).
Categorie arXiv: Information Retrieval (cs.IR) ; Machine Learning (cs.LG); Social and Information Networks (cs.SI).
Pagina del lavoro: https://arxiv.org/abs/2608.27413 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-17T15:30:58.253Z dalla pagina https://arxiv.org/catchup/cs.SI/2026-08-28?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).