RankGraph-2: Lifecycle Co-Design for Billion-Node Graph Learning in Recommendation

Renzhi Wu, Zikun Cui, Junjie Yang, Tai Guo, Hong Li +8 more
6/16/2026
cs.IRcs.AI

No confident code implementation found for this paper.

Abstract

Graph-based retrieval at billion-node scale requires jointly solving three tightly coupled problems -- graph construction, representation learning, and real-time serving -- yet existing work addresses each in isolation. We present RankGraph-2, a framework deployed at Meta that co-designs all three lifecycle stages for similarity-based retrieval (U2U2I and U2I2I), where each stage's requirements shape the others.

Show full abstract

Serving requires a co-learned cluster index to avoid expensive online KNN -- this pushes index co-training into the training objective. Training benefits from the observation that similarity-based retrieval tolerates pre-computed neighborhoods, eliminating online graph infrastructure -- this requires construction to produce self-contained data. Construction must also support hour-level refresh for item coverage. Acting on these cascading requirements, RankGraph-2 reduces hundreds of trillions of edges to hundreds of billions via subsampling with popularity bias correction, pre-computes multi-hop neighborhoods via personalized PageRank, and co-learns a residual-quantization cluster index that reduces serving computational cost by 83%. This lifecycle co-design enables a simple architecture to achieve 3.8 x higher recall than a GAT + Deep Graph Infomax model on a bipartite graph and 2.1 x higher than PyTorch-BigGraph on item retrieval. RankGraph-2 delivers up to +0.96% CTR and +2.75% CVR, and has powered 20+ retrieval launches across major surfaces.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wu2026rankgraph,
  title  = {RankGraph-2: Lifecycle Co-Design for Billion-Node Graph Learning in Recommendation},
  author = {Renzhi Wu and Zikun Cui and Junjie Yang and Tai Guo and Hong Li and Xian Chen and Li Yu and Ke Pan and Sri Reddy and Mahesh Srinivasan and Nipun Mathur and Haomin Yu and Hong Yan},
  year   = {2026},
  eprint = {2606.18379},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.18379v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.18379.svg)](https://codeofpaper.com/paper/2606.18379)

Discussion