Skip to main content

Advertisement

Log in

GLANet: temporal knowledge graph completion based on global and local information-aware network

  • Published:
Applied Intelligence Aims and scope Submit manuscript

Abstract

Knowledge graph completion (KGC) has been widely explored, but the task of temporal knowledge graph completion (TKGC) for predicting future events is far from perfection. Some embedding-based approaches have achieved significant results on the TKGC task by modeling the structural information of each temporal snapshot and the evolution between temporal snapshots. However, due to the uneven distribution of data in knowledge graphs (KGs), models that only utilize local structure and time series information suffer from information sparsity, resulting in some entities failing to obtain a better embedding representation due to less available information. Moreover, existing methods usually do not distinguish between the time span and frequency of historical information, which reduces the performance of link prediction. For this reason, we propose the G lobal and L ocal Information-A ware Net work (GL-ANet) to capture both global and local information. In particular, to model global information, we capture global structural information of entities across time using a global neighborhood aggregator to enrich the representation of entities; global historical information is obtained based on the frequency and time span of historical facts, focusing on recent and frequent events rather than all historical events to suggest the performance of link prediction; to model local information, we propose a two-layer attention network to capture local structural information at each timestamp, using a gating mechanism and GRU to capture local evolution information. Extensive experiments demonstrate the effectiveness of our model, achieving significant improvements and outperforming state-of-the-art models on five benchmark datasets.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

References

  1. Li M, Sun Z, Zhang W et al (2022) Leveraging semantic property for temporal knowledge graph completion. Appl Intell:1–14

  2. Leblay J, Chekol MW (2018) Deriving validity time in knowledge graph. In: Companion proceedings of the the web conference 2018, pp 1771–1776

  3. Lacroix T, Obozinski G, Usunier N (2020) Tensor decompositions for temporal knowledge base completion. arXiv:200404926

  4. García-Durán A, Dumaňcić S, Niepert M (2018) Learning sequence encoders for temporal knowledge graph completion. arXiv:180903202

  5. Zhu C, Chen M, Fan C et al (2021) Learning from history: modeling temporal knowledge graphs with sequential copy-generation networks. In: Proceedings of the AAAI conference on artificial intelligence, pp 4732–4740

  6. Li Z, Guan S, Jin X et al (2022) Complex evolutional pattern learning for temporal knowledge graph reasoning. arXiv:220307782

  7. Sun H, Zhong J, Ma Y et al (2021) Timetraveler: reinforcement learning for temporal knowledge graph forecasting. arXiv:210904101

  8. Park N, Liu F, Mehta P et al (2022) Evokg: jointly modeling event time and network structure for reasoning over temporal knowledge graphs. In: Proceedings of the fifteenth ACM international conference on web search and data mining, pp 794–803

  9. Jin W, Qu M, Jin X et al (2019) Recurrent event network: autoregressive structure inference over temporal knowledge graphs. arXiv:190405530

  10. Li Z, Jin X, Li W et al (2021) Temporal knowledge graph reasoning based on evolutional representation learning. In: Proceedings of the 44th international ACM SIGIR conference on research and development in information retrieval, pp 408–417

  11. Cho K, Van Merriënboer B, Gulcehre C et al (2014) Learning phrase representations using rnn encoder-decoder for statistical machine translation. arXiv:14061078

  12. Bordes A, Usunier N, Garcia-Duran A et al (2013) Translating embeddings for modeling multi-relational data. Adv Neural Inf Process Syst, vol 26

  13. Lin Y, Liu Z, Sun M et al (2015) Learning entity and relation embeddings for knowledge graph completion. In: Twenty-ninth AAAI conference on artificial intelligence

  14. Ji G, He S, Xu L et al (2015) Knowledge graph embedding via dynamic mapping matrix. In: Proceedings of the 53rd annual meeting of the association for computational linguistics and the 7th international joint conference on natural language processing (volume 1: long papers), pp 687–696

  15. Wang Z, Zhang J, Feng J et al (2014) Knowledge graph embedding by translating on hyperplanes. In: Proceedings of the AAAI conference on artificial intelligence

  16. Zhao Y, Zhang A, Feng H et al (2020) Knowledge graph entity typing via learning connecting embeddings. Knowl-Based Syst 196:105–808

    Article  Google Scholar 

  17. Yang B, Yih Wt, He X et al (2014) Embedding entities and relations for learning and inference in knowledge bases. arXiv:14126575

  18. Trouillon T, Welbl J, Riedel S et al (2016) Complex embeddings for simple link prediction. In: International conference on machine learning, PMLR, pp 2071–2080

  19. Kazemi SM, Poole D (2018) Simple embedding for link prediction in knowledge graphs. Adv Neural Inf Process Syst, vol 31

  20. Zhang S, Tay Y, Yao L et al (2019) Quaternion knowledge graph embeddings. Adv Neural Inf Process Syst, vol 32

  21. Balažević I, Allen C, Hospedales TM (2019) Tucker: tensor factorization for knowledge graph completion. arXiv:190109590

  22. Kipf TN, Welling M (2016) Semi-supervised classification with graph convolutional networks. arXiv:160902907

  23. Veličković P, Cucurull G, Casanova A et al (2017) Graph attention networks. arXiv:171010903

  24. Schlichtkrull M, Kipf TN, Bloem P et al (2018) Modeling relational data with graph convolutional networks. In: European semantic web conference. Springer, pp 593–607

  25. Vashishth S, Sanyal S, Nitin V et al (2019) Composition-based multi-relational graph convolutional networks. arXiv:191103082

  26. Huang J, Lu T, Zhu J et al (2022) Multi-relational knowledge graph completion method with local information fusion. Appl Intell 52(7):7985–7994

    Article  Google Scholar 

  27. Zhang Z, Zhuang F, Zhu H et al (2020) Relational graph neural network with hierarchical attention for knowledge graph completion. In: Proceedings of the AAAI conference on artificial intelligence, pp 9612–9619

  28. Wang Y, Wang H, He J et al (2021) agat: type-aware graph attention networks for reasoning over knowledge graphs. Knowl-Based Syst 233:107–500

    Article  Google Scholar 

  29. Kou X, Lin Y, Li Y et al (2020a) Disene: disentangling knowledge graph embeddings. arXiv:201014730

  30. Kou X, Lin Y, Liu S et al (2020b) Disentangle-based continual graph representation learning. arXiv:201002565

  31. Wu J, Shi W, Cao X et al (2021) Disenkgat: knowledge graph embedding with disentangled graph attention network. In: Proceedings of the 30th ACM international conference on information & knowledge management, pp 2140–2149

  32. Dettmers T, Minervini P, Stenetorp P et al (2018) Convolutional 2d knowledge graph embeddings. In: Proceedings of the AAAI conference on artificial intelligence

  33. Vashishth S, Sanyal S, Nitin V et al (2020) Interacte: improving convolution-based knowledge graph embeddings by increasing feature interactions. In: Proceedings of the AAAI conference on artificial intelligence, pp 3009–3016

  34. Dasgupta SS, Ray SN, Talukdar P (2018) Hyte: hyperplane-based temporally aware knowledge graph embedding. In: Proceedings of the 2018 conference on empirical methods in natural language processing, pp 2001–2011

  35. Wu J, Cao M, Cheung JCK et al (2020) Temp: temporal message passing for temporal knowledge graph completion. arXiv:201003526

  36. Jung J, Jung J, Kang U (2020) T-gap: learning to walk across time for temporal knowledge graph completion. arXiv:201210595

  37. Yu M, Guo J, Yu J et al (2022) Tbdri: block decomposition based on relational interaction for temporal knowledge graph completion. Appl Intell:1–13

  38. Liu Y, Ma Y, Hildebrandt M et al (2022) Tlogic: temporal logical rules for explainable link forecasting on temporal knowledge graphs. In: Proceedings of the AAAI conference on artificial intelligence, pp 4120–4127

  39. Garg S, Sharma N, Jin W et al (2020) Temporal attribute prediction via joint modeling of multi-relational structure evolution. arXiv:200303919

  40. Dey R, Salem FM (2017) Gate-variants of gated recurrent unit (gru) neural networks. In: 2017 IEEE 60th international midwest symposium on circuits and systems (MWSCAS). IEEE, pp 1597–1600

  41. Shang C, Tang Y, Huang J et al (2019) End-to-end structure-aware convolutional networks for knowledge base completion. In: Proceedings of the AAAI conference on artificial intelligence, pp 3060–3067

  42. Trivedi R, Dai H, Wang Y et al (2017) Know-evolve: deep temporal reasoning for dynamic knowledge graphs. In: International conference on machine learning. PMLR, pp 3462–3471

  43. Boschee E, Lautenschlager J, O’Brien S et al (2015) Icews coded event data. Harvard Dataverse, vol 12

  44. Vrandečić D, Krötzsch M (2014) Wikidata: a free collaborative knowledgebase. Commun ACM 57(10):78–85

    Article  Google Scholar 

  45. Mahdisoltani F, Biega J, Suchanek F (2014) Yago3: a knowledge base from multilingual wikipedias. In: 7th Biennial conference on innovative data systems research, CIDR conference

  46. Van Der Maaten L, Hinton G (2008) Visualizing data using t-sne. J Mach Learn Res, vol 9(11)

Download references

Acknowledgements

This work was supported by the Natural Science Foundation of Fujian, China(No. 2021J01619), the National Natural Science Foundation of China(No.61672159).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kun Guo.

Ethics declarations

Competing interests

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Appendix A: Datasets with different splitting ratios

Appendix A: Datasets with different splitting ratios

The dataset is further split into \(\mathcal {E}_{\text {train}}\), \(\mathcal {E}_{\text {valid}}\), and \(\mathcal {E}_{\text {test}}\) with a 70%, 10%, and 20% and 60%, 10%, and 30% ratio, respectively, and the other experimental settings are consistent with Tables 3 and 4 in Section 4.2. Tables 7 and 8 show the results of the link prediction experiments for datasets split at 70%, 10%, and 20%. Tables 9 and 10 show the results of the link prediction experiments for the datasets split at 60%, 10%, and 30%. The results show that With different split ratios, GLANet w.GT produces good results in all datasets, proving the effectiveness of our method.

Table 7 Results of link prediction under 70%, 10% and 20% proportional division of the datasets
Table 8 Results of link prediction under 70%, 10% and 20% proportional division of the datasets
Table 9 Results of link prediction under 60%, 10% and 30% proportional division of the datasets
Table 10 Results of link prediction under 60%, 10% and 30% proportional division of the datasets

Furthermore, the 20% or 30% scale test set requires longer-term prediction of facts than the 10% scale test set, so the experimental results of both the model in this paper and the baseline model on the 20% or 30% scale test set show a small decrease compared to the 10% results (Tables 3 and 4 in Section 4.2), but the relative performance between the algorithms remains generally unchanged.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Wang, J., Lin, X., Huang, H. et al. GLANet: temporal knowledge graph completion based on global and local information-aware network. Appl Intell 53, 19285–19301 (2023). https://doi.org/10.1007/s10489-023-04481-z

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10489-023-04481-z

Keywords

Navigation