Dynamic Strategies for High Performance Training of Knowledge Graph Embeddings

被引:0
|
作者
Panda, Anwesh [1 ]
Vadhiyar, Sathish [1 ]
机构
[1] Indian Inst Sci, Dept Computat & Data, Bangalore, India
来源
51ST INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, ICPP 2022 | 2022年
关键词
Knowledge graph embeddings; communication minimization; gradient quantization; selection of gradient vectors;
D O I
10.1145/3545008.3545075
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Knowledge graph embeddings (KGEs) are the low dimensional representations of entities and relations between the entities. They can be used for various downstream tasks such as triple classification, link prediction, knowledge base completion, etc. Training these embeddings for a large dataset takes a huge amount of time. This work proposes strategies to make the training of KGEs faster in a distributed memory parallel environment. The first strategy is to choose between either an all-gather or an all-reduce operation based on the sparsity of the gradient matrix. The second strategy focuses on selecting those gradient vectors which significantly contribute to the reduction in the loss. The third strategy employs gradient quantization to reduce the number of bits to be communicated. The fourth strategy proposes to split the knowledge graph triples based on relations so that inter-node communication for the gradient matrix corresponding to the relation embedding matrix is eliminated. The fifth and last strategy is to select the negative triple which the model finds difficult to classify. All the strategies are combined and this allows us to train the ComplEx Knowledge Graph Embedding (KGE) model on the FB250K dataset in 6 hours with 16 nodes when compared to 11.5 hours taken to train on the same number of nodes without applying any of the above optimizations. This reduction in training time is also accompanied by a significant improvement in Mean Reciprocal Rank (MRR) and Triple Classification Accuracy (TCA).
引用
收藏
页数:10
相关论文
共 43 条
  • [1] DGL-KE: Training Knowledge Graph Embeddings at Scale
    Zheng, Da
    Song, Xiang
    Ma, Chao
    Tan, Zeyuan
    Ye, Zihao
    Dong, Jin
    Xiong, Hao
    Zhang, Zheng
    Karypis, George
    PROCEEDINGS OF THE 43RD INTERNATIONAL ACM SIGIR CONFERENCE ON RESEARCH AND DEVELOPMENT IN INFORMATION RETRIEVAL (SIGIR '20), 2020, : 739 - 748
  • [2] Ultrahyperbolic Knowledge Graph Embeddings
    Xiong, Bo
    Zhu, Shichao
    Nayyeri, Mojtaba
    Xu, Chengjin
    Pan, Shirui
    Zhou, Chuan
    Staab, Steffen
    PROCEEDINGS OF THE 28TH ACM SIGKDD CONFERENCE ON KNOWLEDGE DISCOVERY AND DATA MINING, KDD 2022, 2022, : 2130 - 2139
  • [3] A Semantic Partitioning Method for Large-Scale Training of Knowledge Graph Embeddings
    Bai, Yuhe
    Naacke, Hubert
    Constantin, Camelia
    COMPANION OF THE WORLD WIDE WEB CONFERENCE, WWW 2023, 2023, : 573 - 577
  • [4] PyKEEN 1.0: A Python']Python Library for Training and Evaluating Knowledge Graph Embeddings
    Ali, Mehdi
    Berrendorf, Max
    Hoyt, Charles Tapley
    Vermue, Laurent
    Sharifzadeh, Sahand
    Tresp, Volker
    Lehmann, Jens
    JOURNAL OF MACHINE LEARNING RESEARCH, 2021, 22
  • [5] Hyperbolic Knowledge Graph Embeddings for Knowledge Base Completion
    Kolyvakis, Prodromos
    Kalousis, Alexandros
    Kiritsis, Dimitris
    SEMANTIC WEB (ESWC 2020), 2020, 12123 : 199 - 214
  • [6] Unsupervised Customer Segmentation with Knowledge Graph Embeddings
    Pai, Sumit
    Brennan, Fiona
    Janik, Adrianna
    Correia, Teutly
    Costabello, Luca
    COMPANION PROCEEDINGS OF THE WEB CONFERENCE 2022, WWW 2022 COMPANION, 2022, : 157 - 161
  • [7] Language Model Guided Knowledge Graph Embeddings
    Alam, Mirza Mohtashim
    Rony, Md Rashad Al Hasan
    Nayyeri, Mojtaba
    Mohiuddin, Karishma
    Akter, M. S. T. Mahfuja
    Vahdati, Sahar
    Lehmann, Jens
    IEEE ACCESS, 2022, 10 : 76008 - 76020
  • [8] Knowledge Graph Embeddings for ICU readmission prediction
    Carvalho, Ricardo M. S.
    Oliveira, Daniela
    Pesquita, Catia
    BMC MEDICAL INFORMATICS AND DECISION MAKING, 2023, 23 (01)
  • [9] Knowledge Graph Embeddings for ICU readmission prediction
    Ricardo M. S. Carvalho
    Daniela Oliveira
    Catia Pesquita
    BMC Medical Informatics and Decision Making, 23
  • [10] Fast and Accurate Learning of Knowledge Graph Embeddings at Scale
    Gupta, Udit
    Vadhiyar, Sathish
    2019 IEEE 26TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING, DATA, AND ANALYTICS (HIPC), 2019, : 173 - 182