Conventional representation learning algorithms for knowledge graphs (KG) map each entity to a unique embedding vector, ignoring the rich information contained in the neighborhood. We propose a method named StarGraph, which gives a novel way to utilize the neighborhood information for large-scale knowledge graphs to obtain entity representations. An incomplete two-hop neighborhood subgraph for each target node is at first generated, then processed by a modified self-attention network to obtain the entity representation, which is used to replace the entity embedding in conventional methods. We achieved SOTA performance on ogbl-wikikg2 and got competitive results on fb15k-237. The experimental results proves that StarGraph is efficient in parameters, and the improvement made on ogbl-wikikg2 demonstrates its great effectiveness of representation learning on large-scale knowledge graphs. The code is now available at \url{https://github.com/hzli-ucas/StarGraph}.
翻译:知识图表(KG)的常规学习算法将每个实体映射成一个独特的嵌入矢量,而忽略了周围的丰富信息。我们提出了一个名为StarGraph的方法,它为利用周边信息进行大规模知识图以获得实体代表提供了新的方法。最初为每个目标节点制作了一个不完整的双光区分图,然后由一个经过修改的自我注意网络处理,以获得实体代表,用来取代嵌入常规方法的实体。我们在ogbl-wikikkkg2上实现了SOTA的性能,并在fb15k-237上取得了竞争性结果。实验结果证明StarGraph在参数上是有效的,在ogbl-wikikg2上所作的改进显示了其在大规模知识图上代表学习的巨大效果。该代码现在可在以下https://github.com/hzli-ucas/StarGraph}查阅。