arXiv:2608.27413v1 cs.IR

친구 추천을 위한 그래프 신경망 확장: 다중 해시 사용자 임베딩과 시간적 이웃 샘플링

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

Maksim Utushkin, Andrei Ovsiannikov, Alexander D'yakonov

제출 2026-08-27

한국어 초록

친구 추천은 본질적으로 그래프 구조를 갖는다. 잠재적 연결의 관련성은 사용자 속성만이 아니라 다중 홉(multi-hop) 소셜 문맥에 달려 있다. 그러나 수억 명의 사용자와 수백억 개의 엣지를 갖는 프로덕션 규모 소셜 그래프에 메시지 전달(message-passing) GNN을 배포하려면 수많은 모델링 및 시스템 과제를 해결해야 한다. 우리는 프로덕션 소셜 그래프를 위한 확장 가능한 종단간 GNN 랭킹 시스템을 제안하며, 이 설정에서 핵심적인 두 가지 설계 선택—다중 해시 ID 임베딩과 시간적 이웃 샘플링—에 초점을 맞춘다. 다중 해시 임베딩은 고카디널리티(high-cardinality) 특성에 흔히 쓰이지만, 산업용 GNN 시스템은 보통 학습 가능한 ID를 무시하거나 전체 임베딩 테이블을 수용하는데, 우리 그래프에서는 이 테이블이 200GB를 넘는다. 우리는 다중 해시를 주요 노드 표현으로 통합하여 랭킹 품질을 유지하면서 ID 임베딩 테이블 크기를 98% 이상 줄였다. 시간적 이웃 샘플링은 원리상 잘 알려져 있으나, 기존 구현은 전체 인접 리스트를 스캔하여 수만 명의 친구를 둔 사용자에게는 실용적이지 않다. 우리는 이진 탐색을 갖춘 타임스탬프 정렬 CSR 저장소를 구현하여 노드당 시간적 샘플링 비용을 $O(deg(v) + k)$에서 $O(\log(deg(v)) + k)$로 줄였다. 이러한 구성요소 외에도, 이 조합이 확장되며 측정 가능한 프로덕션 영향을 낸다는 것을 보인다. 1억 9,400만 사용자와 280억 엣지 그래프에서 오프라인 ablation으로 각 설계 선택의 기여를 분리했다. 온라인 A/B 테스트에서 우리 시스템은 강력한 프로덕션 기준선 대비 추천을 통한 친구 추가를 16%, 고유 친구 추가 사용자 수를 11.5% 증가시켰다. 대규모 시간 그래프에서의 분산 학습 및 추론을 위한 프레임워크를 공개한다.

원문 초록

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.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2608.27413v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.