arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.15054cs.LG
收藏

GiGL:Snapchat 的大规模图神经网络

GiGL: Large-Scale Graph Neural Networks at Snapchat

Snap Inc.(Snap公司)
Tong Zhao, Yozen Liu, Matthew Kolodner, Kyle Montemayor, Elham Ghazizadeh, Ankit Batra, Zihao Fan, Xiaobin Gao, Xuan Guo, Jiwen Ren, Serim Park, Peicheng Yu, Ju… 展开作者

Tong Zhao, Yozen Liu, Matthew Kolodner, Kyle Montemayor, Elham Ghazizadeh, Ankit Batra, Zihao Fan, Xiaobin Gao, Xuan Guo, Jiwen Ren, Serim Park, Peicheng Yu, Jun Yu, Shubham Vij, Neil Shah

AI总结:

本文介绍 Snapchat 开发的开源库 GiGL,用于大规模分布式图神经网络训练与推理,已在多个业务场景部署,支持超 35 次发布。

摘要:

近年来,随着图神经网络(GNNs)的引入,图机器学习(ML)的进展使得将这些方法大规模应用于业务场景引起了广泛兴趣。GNNs 能够根据图结构进行可微分的端到端(E2E)模型参数学习,从而针对流行的节点、边(链接)和图级任务进行优化。尽管新 GNN 层和训练策略的研究创新进展迅速,但由于大规模图机器学习问题带来的独特规模挑战,GNNs 的工业应用和实用性明显滞后。在这项工作中,我们分享了在 Snapchat 进行 GNN 训练、推理和利用的方法。为此,我们提出了 GiGL(Gigantic Graph Learning),一个开源库,旨在为研究人员、机器学习工程师和实践者提供大规模分布式图机器学习支持。我们在 Snapchat 内部使用 GiGL 来管理 GNN 工作流的繁重任务,包括从关系数据库进行图数据预处理、子图采样、分布式训练、推理和编排。GiGL 旨在与学术界流行的开源 GNN 建模库(如 PyTorch Geometric(PyG))无缝对接,同时处理扩展和生产化挑战,使内部实践者更容易专注于建模。GiGL 已用于多个生产环境,在过去两年中支持了超过 35 次跨多个业务领域的发布,涉及好友推荐、内容推荐和广告。这项工作详细介绍了库提供的高层设计和工具、扩展特性、不同业务场景下行业规模图表的案例研究,以及在大规模社交数据上应用图机器学习时获得的关键经验教训。GiGL 已在 https://github.com/Snapchat/GiGL 开源。

英文摘要:

Recent advances in graph machine learning (ML) with the introduction of Graph Neural Networks (GNNs) have led to a widespread interest in applying these approaches to business applications at scale. GNNs enable differentiable end-to-end (E2E) learning of model parameters given graph structure which enables optimization towards popular node, edge (link) and graph-level tasks. While the research innovation in new GNN layers and training strategies has been rapid, industrial adoption and utility of GNNs has lagged considerably due to the unique scale challenges that large-scale graph ML problems create. In this work, we share our approach to training, inference, and utilization of GNNs at Snapchat. To this end, we present GiGL (Gigantic Graph Learning), an open-source library to enable large-scale distributed graph ML to the benefit of researchers, ML engineers, and practitioners. We use GiGL internally at Snapchat to manage the heavy lifting of GNN workflows, including graph data preprocessing from relational DBs, subgraph sampling, distributed training, inference, and orchestration. GiGL is designed to interface cleanly with open-source GNN modeling libraries prominent in academia like PyTorch Geometric (PyG), while handling scaling and productionization challenges that make it easier for internal practitioners to focus on modeling. GiGL is used in multiple production settings, and has powered over 35 launches across multiple business domains in the last 2 years in the contexts of friend recommendation, content recommendation and advertising. This work details high-level design and tools the library provides, scaling properties, case studies in diverse business settings with industry-scale graphs, and several key lessons learned in employing graph ML at scale on large social data. GiGL is open-sourced at https://github.com/Snapchat/GiGL.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑