arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2004.08532cs.DC
收藏

DGL-KE:大规模培训知识图谱嵌入

DGL-KE: Training Knowledge Graph Embeddings at Scale

Da Zheng, Xiang Song, Chao Ma, Zeyuan Tan, Zihao Ye, Jin Dong, Hao Xiong, Zheng Zhang, George Karypis

摘要:

知识图谱已经成为组织不同领域信息的关键抽象,其嵌入越来越多地用于在各种信息检索和机器学习任务中利用其信息。然而,不断增长的知识图谱的大小需要能够扩展到具有数百万个节点和数十亿条边的图的计算高效的算法。本文介绍了DGL-KE,一个开源软件包,有效地计算知识图谱嵌入。DGL-KE引入了各种新颖的优化,这些优化使用多处理、多GPU和分布式并行来加速具有数百万节点和数十亿条边的知识图谱的训练。这些优化旨在提高数据局部性,减少通信开销,重叠计算与内存访问,并实现高操作效率。在由86 M节点和338 M边组成的知识图谱上的实验表明,DGL-KE在一个8 GPU的EC2实例上可以在100分钟内完成嵌入,在一个4台48核的EC2集群上可以在30分钟内完成嵌入。这些结果代表了最好的竞争方法的2倍~ 5倍的加速比。DGL-KE可在https://github.com/awslabs/dgl-ke上获得。

英文摘要:

Knowledge graphs have emerged as a key abstraction for organizing information in diverse domains and their embeddings are increasingly used to harness their information in various information retrieval and machine learning tasks. However, the ever growing size of knowledge graphs requires computationally efficient algorithms capable of scaling to graphs with millions of nodes and billions of edges. This paper presents DGL-KE, an open-source package to efficiently compute knowledge graph embeddings. DGL-KE introduces various novel optimizations that accelerate training on knowledge graphs with millions of nodes and billions of edges using multi-processing, multi-GPU, and distributed parallelism. These optimizations are designed to increase data locality, reduce communication overhead, overlap computations with memory accesses, and achieve high operation efficiency. Experiments on knowledge graphs consisting of over 86M nodes and 338M edges show that DGL-KE can compute embeddings in 100 minutes on an EC2 instance with 8 GPUs and 30 minutes on an EC2 cluster with 4 machines with 48 cores/machine. These results represent a 2x~5x speedup over the best competing approaches. DGL-KE is available on https://github.com/awslabs/dgl-ke.

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

↑