Skip to main content
Log in

Neighboring relation enhanced inductive knowledge graph link prediction via meta-learning

  • Published:
World Wide Web Aims and scope Submit manuscript

Abstract

Inductive link prediction over knowledge graphs(KGs) aims to perform inference over a new graph with unseen entities. In contrast to transductive link prediction, which learns a fixed set of known entities and cannot handle unseen entities, inductive link prediction is closer to real-world scenarios because of the evolving nature of KGs. The recently proposed methods utilize the enclosing subgraph of candidate triples to obtain inductive ability. However, these methods explicitly encode the local subgraph surrounding each node pair and neglect the entity-independent neighboring relation modeling, resulting in poor generalization to unseen entities and high time complexity. Inspired by the success of meta-learning on out-of-domain generalization, we propose a novel NeighbOring relatiOn enhanceD meta-LearnEr(NOODLE) for inductive link prediction. NOODLE sufficiently exploits the neighboring relations from two aspects: commonsense semantic features and topological correlation information. Moreover, NOODLE rapidly learns transferable relations-specific information via meta-learning and generalizes well to unseen entities. Extensive experiments show that NOODLE outperforms the state-of-the-art methods on commonly used benchmark datasets in terms of effectiveness, generalization, and efficiency.

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

Similar content being viewed by others

Data Availability

All datasets used for experiments of this article are available from the public data repository at the website of https://github.com/kkteru/grail/tree/master/data

Notes

  1. Source code is available at https://github.com/LB0828/NOODLE

  2. https://github.com/MIRALab-USTC/KG-TACT

  3. https://github.com/shuwen-liu-ox/INDIGO

  4. https://github.com/Tebmer/SNRI

References

  1. Bollacker, K., Evans, C., Paritosh, P., Sturge, T., Taylor, J.: Freebase a collaboratively created graph database for structuring human knowledge. In: Proceedings of the 2008 ACM SIGMOD International Conference on Management of Data, pp. 1247–1250. (2008)

  2. Carlson, A., Betteridge, J., Kisiel, B., Settles, B., Hruschka, E.R., Mitchell, T.M.: Toward an architecture for never-ending language learning. In: Twenty-Fourth AAAI Conference on Artificial Intelligence, (2010)

  3. Lehmann, J., Isele, R., Jakob, M., Jentzsch, A., Kontokostas, D., Mendes, P.N., Hellmann, S., Morsey, M., Van Kleef, P., Auer, S., et al.: Dbpedia-a large-scale, multilingual knowledge base extracted from wikipedia. Semantic Web. 6(2), 167–195 (2015)

    Article  Google Scholar 

  4. Chen, Z., Chen, J., Geng, Y., Pan, J.Z., Yuan, Z., Chen, H.: Zero-shot visual question answering using knowledge graph. In: The Semantic Web - ISWC 2021 - 20th International Semantic Web Conference, ISWC 2021. Lecture Notes in Computer Science, vol. 12922, pp. 146–162. Springer, (2021)

  5. Liu, P., Wang, X., Fu, Q., Yang, Y., Li, Y., Zhang, Q.: KGVQL a knowledge graph visual query language with bidirectional transformations. Knowl. Based Syst. 250, 108870 (2022)

    Article  Google Scholar 

  6. Yasunaga, M., Ren, H., Bosselut, A., Liang, P., Leskovec, J.: QA-GNN: reasoning with language models and knowledge graphs for question answering. In: Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2021, pp. 535–546. Association for Computational Linguistics, (2021)

  7. Song, X., Li, J., Cai, T., Yang, S., Yang, T., Liu, C.: A survey on deep learning based knowledge tracing. Knowl. Based Syst. 258, 110036 (2022)

    Article  Google Scholar 

  8. Tuan, Y., Beygi, S., Fazel-Zarandi, M., Gao, Q., Cervone, A., Wang, W.Y.: Towards large-scale interpretable knowledge graph reasoning for dialogue systems. In: Findings of the Association for Computational Linguistics: ACL 2022, pp. 383–395. Association for Computational Linguistics, (2022)

  9. Welivita, A., Pu, P.:HEAL: A knowledge graph for distress management conversations. In: Thirty-Sixth AAAI Conference on Artificial Intelligence, AAAI 2022, pp. 11459–11467. AAAI Press, (2022)

  10. Wang, J., Shi, Y., Li, D., Zhang, K., Chen, Z., Li, H.: Mcha a multistage clustering-based hierarchical attention model for knowledge graph-aware recommendation. World Wide Web. 25(3), 1103–1127 (2022). https://doi.org/10.1007/s11280-022-01022-5

    Article  Google Scholar 

  11. Huang, Y., Zhao, F., Gui, X., Jin, H.: Path-enhanced explainable recommendation with knowledge graphs. World Wide Web. 24(5), 1769–1789 (2021). https://doi.org/10.1007/s11280-021-00912-4

    Article  Google Scholar 

  12. Rossi, A., Barbosa, D., Firmani, D., Matinata, A., Merialdo, P.: Knowledge graph embedding for link prediction: A comparative analysis. ACM Transactions on Knowledge Discovery from Data (TKDD). 15(2), 1–49 (2021)

    Article  Google Scholar 

  13. Bordes, A., Usunier, N., Garcia-Duran, A., Weston, J., Yakhnenko, O.: Translating embeddings for modeling multi-relational data. Advances in neural information processing systems. 26 (2013)

  14. Trouillon, T., Welbl, J., Riedel, S., Gaussier, É., Bouchard, G.: Complex embeddings for simple link prediction. In: Proceedings of the 33nd International Conference on Machine Learning, ICML 2016, vol. 48, pp. 2071–2080. JMLR.org, (2016)

  15. Schlichtkrull, M.S., Kipf, T.N., Bloem, P., van den Berg, R., Titov, I., Welling, M.: Modeling relational data with graph convolutional networks. In: The Semantic Web - 15th International Conference,ESWC 2018, vol. 10843, pp. 593–607. Springer, (2018)

  16. Vashishth, S., Sanyal, S., Nitin, V., Talukdar, P.P.: Composition-based multi-relational graph convolutional networks. In: 8th International Conference on Learning Representations,ICLR 2020. OpenReview.net, (2020)

  17. Meilicke, C., Fink, M., Wang, Y., Ruffinelli, D., Gemulla, R., Stuckenschmidt, H.: Fine-grained evaluation of rule- and embedding-based systems for knowledge graph completion. In: The Semantic Web - ISWC 2018 - 17th International Semantic Web Conference, vol. 11136, pp. 3–20. Springer, (2018)

  18. Sadeghian, A., Armandpour, M., Ding, P., Wang, D.Z.: DRUM: end-to-end differentiable rule mining on knowledge graphs. In: Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019,pp. 15321–15331 Vancouver, BC, Canada (2019)

  19. Xie, R., Liu, Z., Luan, H., Sun, M.: Image-embodied knowledge representation learning. In: Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence, IJCAI 2017, pp. 3140–3146. ijcai.org, (2017)

  20. Hao, Y., Cao, X., Fang, Y., Xie, X., Wang, S.: Inductive link prediction for nodes having only attribute information. In: Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence, IJCAI 2020, pp. 1209–1215. ijcai.org, (2020)

  21. Daza, D., Cochez, M., Groth, P.: Inductive entity representations from text via link prediction. In: WWW ’21: The Web Conference 2021, pp. 798–808. ACM / IW3C2, (2021)

  22. Wang, L., Zhao, W., Wei, Z., Liu, J.: Simkgc Simple contrastive knowledge graph completion with pre-trained language models. In: Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, ACL 2022, pp. 4281–4294. Association for Computational Linguistics, (2022)

  23. Teru, K.K., Denis, E.G., Hamilton, W.L.: Inductive relation prediction by subgraph reasoning. In: Proceedings of the 37th International Conference on Machine Learning, ICML 2020, vol. 119, pp. 9448–9457. PMLR, (2020)

  24. Mai, S., Zheng, S., Yang, Y., Hu, H.: Communicative message passing for inductive relation reasoning. In: Thirty-Fifth AAAI Conference on Artificial Intelligence, AAAI 2021, pp. 4294–4302. AAAI Press, (2021)

  25. Chen, J., He, H., Wu, F., Wang, J.: Topology-aware correlations between relations for inductive link prediction in knowledge graphs. In: Thirty-Fifth AAAI Conference on Artificial Intelligence, AAAI 2021, pp. 6271–6278. AAAI Press, (2021)

  26. Lin, Y., Liu, Z., Sun, M., Liu, Y., Zhu, X.: Learning entity and relation embeddings for knowledge graph completion. In: Proceedings of the Twenty-Ninth AAAI Conference on Artificial Intelligence, pp. 2181–2187. AAAI Press, (2015)

  27. Ji, G., He, S., Xu, L., Liu, K., Zhao, J.: Knowledge graph embedding via dynamic mapping matrix. In: Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics, ACL 2015, pp. 687–696. The Association for Computer Linguistics, (2015)

  28. Sun, Z., Deng, Z., Nie, J., Tang, J.: Rotate: Knowledge graph embedding by relational rotation in complex space. In: 7th International Conference on Learning Representations, ICLR 2019. OpenReview.net, (2019)

  29. Lv, X., Hou, L., Li, J., Liu, Z.: Differentiating concepts and instances for knowledge graph embedding. In: Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 1971–1979. Association for Computational Linguistics, (2018)

  30. Kazemi, S.M., Poole, D.: Simple embedding for link prediction in knowledge graphs. In: Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, December 3-8, 2018, pp. 4289–4300 Montréal, Canada (2018)

  31. Li, Z., Liu, X., Wang, X., Liu, P., Shen, Y.: Transo: a knowledge-driven representation learning method with ontology information constraints. World Wide Web. 1–23 (2022)

  32. Nickel, M., Tresp, V., Kriegel, H.: A three-way model for collective learning on multi-relational data. In: Proceedings of the 28th International Conference on Machine Learning, ICML 2011, pp. 809–816. Omnipress, (2011)

  33. Yang, B., Yih, W., He, X., Gao, J., Deng, L.: Embedding entities and relations for learning and inference in knowledge bases. In: 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings (2015)

  34. Nickel, M., Rosasco, L., Poggio, T.A.: Holographic embeddings of knowledge graphs. In: Proceedings of the Thirtieth AAAI Conference on Artificial Intelligence, pp. 1955–1961. AAAI Press, (2016)

  35. Balazevic, I., Allen, C., Hospedales, T.M.: Tucker: Tensor factorization for knowledge graph completion. In: Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing, EMNLP-IJCNLP 2019, pp. 5184–5193. Association for Computational Linguistics, (2019)

  36. Dettmers, T., Minervini, P., Stenetorp, P., Riedel, S.: Convolutional 2d knowledge graph embeddings. In: Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, AAAI-18, pp. 1811–1818. AAAI Press, (2018)

  37. Nguyen, D.Q., Nguyen, T.D., Nguyen, D.Q., Phung, D.Q.: A novel embedding model for knowledge base completion based on convolutional neural network. In: Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT, pp. 327–333. Association for Computational Linguistics, (2018)

  38. Vashishth, S., Sanyal, S., Nitin, V., Agrawal, N., Talukdar, P.P.: Interacte: Improving convolution-based knowledge graph embeddings by increasing feature interactions. In: The Thirty-Fourth AAAI Conference on Artificial Intelligence, AAAI 2020, pp. 3009–3016. AAAI Press, (2020)

  39. Fang, U., Li, J., Akhtar, N., Li, M., Jia, Y.: Gomic: Multi-view image clustering via self-supervised contrastive heterogeneous graph co-learning. World Wide Web. 1–17 (2022)

  40. Yang, S., Cai, B., Cai, T., Song, X., Jiang, J., Li, B., Li, J.: Robust cross-network node classification via constrained graph mutual information. Knowl. Based Syst. 257, 109852 (2022)

    Article  Google Scholar 

  41. Fang, U., Li, J., Lu, X., Mian, A., Gu, Z.: Robust image clustering via context-aware contrastive graph learning. Pattern Recognition. 109340 (2023)

  42. Zhang, Z., Zhuang, F., Zhu, H., Shi, Z., Xiong, H., He, Q.: Relational graph neural network with hierarchical attention for knowledge graph completion. In: The Thirty-Fourth AAAI Conference on Artificial Intelligence, AAAI 2020, pp. 9612–9619. AAAI Press, (2020)

  43. Li, Z., Wang, X., Li, J., Zhang, Q.: Deep attributed network representation learning of complex coupling and interaction. Knowl. Based Syst. 212, 106618 (2021)

    Article  Google Scholar 

  44. Yang, F., Yang, Z., Cohen, W.W.: Differentiable learning of logical rules for knowledge base reasoning. In: Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, pp. 2319–2328 Long. Beach, CA, USA (2017)

  45. Wang, W.Y., Mazaitis, K., Cohen, W.W.: Structure learning via parameter learning. In: Proceedings of the 23rd ACM International Conference on Conference on Information and Knowledge Management, CIKM 2014, pp. 1199–1208. ACM, (2014)

  46. Chen, Z., Wang, X., Wang, C., Li, J.: Explainable link prediction in knowledge hypergraphs. In: Proceedings of the 31st ACM International Conference on Information & Knowledge Management, CIKM 2022, pp. 262–271. ACM, (2022)

  47. Albooyeh, M., Goel, R., Kazemi, S.M.: Out-of-sample representation learning for knowledge graphs. In: Findings of the Association for Computational Linguistics: EMNLP 2020, vol. EMNLP 2020, pp. 2657–2666. Association for Computational Linguistics, (2020)

  48. Liu, S., Grau, B.C., Horrocks, I., Kostylev, E.V.: INDIGO: gnn-based inductive knowledge graph completion using pair-wise encoding. In: Advances in Neural Information Processing Systems 34: Annual Conference on Neural Information Processing Systems 2021, NeurIPS 2021, December 6-14, 2021, Virtual, pp. 2034–2045 (2021)

  49. Xu, X., Zhang, P., He, Y., Chao, C., Yan, C.: Subgraph neighboring relations infomax for inductive link prediction on knowledge graphs. In: Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence, IJCAI 2022, pp. 2341–2347. ijcai.org, (2022)

  50. Finn, C., Abbeel, P., Levine, S.: Model-agnostic meta-learning for fast adaptation of deep networks. In: Proceedings of the 34th International Conference on Machine Learning, ICML 2017, vol. 70, pp. 1126–1135. PMLR, (2017)

  51. Ding, K., Wang, J., Li, J., Shu, K., Liu, C., Liu, H.: Graph prototypical networks for few-shot learning on attributed networks. In: CIKM ’20: The 29th ACM International Conference on Information and Knowledge Management, pp. 295–304. ACM, (2020)

  52. Sheng, J., Guo, S., Chen, Z., Yue, J., Wang, L., Liu, T., Xu, H.: Adaptive attentional network for few-shot knowledge graph completion. In: Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, EMNLP 2020, pp. 1681–1691. Association for Computational Linguistics, (2020)

  53. Zhang, C., Yao, H., Huang, C., Jiang, M., Li, Z., Chawla, N.V.: Few-shot knowledge graph completion. In: The Thirty-Fourth AAAI Conference on Artificial Intelligence, AAAI 2020, pp. 3041–3048. AAAI Press, (2020)

  54. Chen, M., Zhang, W., Zhang, W., Chen, Q., Chen, H.: Meta relational learning for few-shot link prediction in knowledge graphs. In: Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing, EMNLP-IJCNLP 2019, pp. 4216–4225. Association for Computational Linguistics, (2019)

  55. Baek, J., Lee, D.B., Hwang, S.J.: Learning to extrapolate knowledge: Transductive few-shot out-of-graph link prediction. In: Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, Virtual (2020)

  56. Chen, M., Zhang, W., Yao, Z., Chen, X., Ding, M., Huang, F., Chen, H.: Meta-learning based knowledge extrapolation for knowledge graphs in the federated setting. In: Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence, IJCAI 2022, pp. 1966–1972. ijcai.org, (2022)

  57. Perozzi, B., Al-Rfou, R., Skiena, S.: Deepwalk: online learning of social representations. In: The 20th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD ’14, pp. 701–710. ACM, (2014)

  58. Toutanova, K., Chen, D., Pantel, P., Poon, H., Choudhury, P., Gamon, M.: Representing text for joint embedding of text and knowledge bases. In: Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, EMNLP 2015, pp. 1499–1509. The Association for Computational Linguistics, (2015)

  59. Xiong, W., Hoang, T., Wang, W.Y.: Deeppath: A reinforcement learning method for knowledge graph reasoning. In: Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, EMNLP 2017, pp. 564–573. Association for Computational Linguistics, (2017)

  60. Fey, M., Lenssen, J.E.: Fast graph representation learning with PyTorch Geometric. In: ICLR Workshop on Representation Learning on Graphs and Manifolds, (2019)

Download references

Acknowledgements

This work is supported by the National Key Research and Development Program of China(2021ZD0113304), the General Program of Natural Science Foundation of China (NSFC)(62072346), and the Key Research and Development Project of Hubei Province (2021BBA099, 2021BBA029).

Funding

not applicable

Author information

Authors and Affiliations

Authors

Contributions

Ben Liu proposed the conceptualization and methodology, conducted the experiment, and wrote the original draft. Miao Peng performed data curation, prepared the figures, and performed review and editing. Wenjie Xu performed related work investigation, and performed review and editing. Min Peng proposed the research problem, supervised the whole research work, and performed review and editing.

Corresponding author

Correspondence to Min Peng.

Ethics declarations

Ethical Approval

not applicable

Competing Interests

not applicable

Additional information

Publisher's Note

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

Liu et al. contibuted equally to this work.

This article belongs to the Topical Collection: Special Issue on Knowledge-Graph-Enabled Methods and Applications for the Future Web

Guest Editors: Xin Wang, Jeff Pan, Qingpeng Zhang, Yuan-Fang Li

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

Liu, B., Peng, M., Xu, W. et al. Neighboring relation enhanced inductive knowledge graph link prediction via meta-learning. World Wide Web 26, 2909–2930 (2023). https://doi.org/10.1007/s11280-023-01168-w

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11280-023-01168-w

Keywords

Navigation