Shiyu Zhang, Zhao Zhang, Fuzhen Zhuang, Zhiping Shi, Xu Han
{"title":"Compressing Knowledge Graph Embedding with Relational Graph Auto-encoder","authors":"Shiyu Zhang, Zhao Zhang, Fuzhen Zhuang, Zhiping Shi, Xu Han","doi":"10.1109/ICEIEC49280.2020.9152323","DOIUrl":null,"url":null,"abstract":"Knowledge graphs (KGs) are extremely useful resources for varieties of applications. However, with the large and steadily growing sizes of modern KGs, knowledge graph embeddings (KGE), which represent entities and relations in KGs into 32-bit floating-point vectors, become more and more expensive in terms of memory. To this end, in this paper, we propose a general framework to compress the embeddings from real-valued vectors to binary ones while preserving the inherent information of KGs. Specifically, the proposed framework utilizes relational graph auto-encoders as well as the Gumbel-Softmax trick to obtain the compressed representations. Our framework can be applied to a number of existing KGE models. Particularly, we extend state-of-the-art models TransE, DistMult, and ConvE in this paper. Finally, extensive experiments show that the proposed method successfully reduces the memory size of the embeddings by 92% while only leading to a loss of no more than 5% in the knowledge graph completion task.","PeriodicalId":352285,"journal":{"name":"2020 IEEE 10th International Conference on Electronics Information and Emergency Communication (ICEIEC)","volume":"52 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 IEEE 10th International Conference on Electronics Information and Emergency Communication (ICEIEC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICEIEC49280.2020.9152323","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Knowledge graphs (KGs) are extremely useful resources for varieties of applications. However, with the large and steadily growing sizes of modern KGs, knowledge graph embeddings (KGE), which represent entities and relations in KGs into 32-bit floating-point vectors, become more and more expensive in terms of memory. To this end, in this paper, we propose a general framework to compress the embeddings from real-valued vectors to binary ones while preserving the inherent information of KGs. Specifically, the proposed framework utilizes relational graph auto-encoders as well as the Gumbel-Softmax trick to obtain the compressed representations. Our framework can be applied to a number of existing KGE models. Particularly, we extend state-of-the-art models TransE, DistMult, and ConvE in this paper. Finally, extensive experiments show that the proposed method successfully reduces the memory size of the embeddings by 92% while only leading to a loss of no more than 5% in the knowledge graph completion task.