Abstract
Knowledge graph completion (KGC) aims at complementing missing entities and relations in a knowledge graph (KG). Popular KGC approaches based on KG embedding are typically limited to the transductive setting, i.e., all entities must be seen during training, which is impractical for real-world KGs where new entities are emerging daily. Recent inductive KG embedding approaches propose to train a neighborhood aggregator in conjunction with entity and relation embeddings, which helps to embed unseen entities via existing neighbors. However, existing methods do not fully take advantage of the structural information of neighbors and are unable to handle triplets involving unseen relations. In this paper, we work further and propose a novel and unified inductive KGC model, namely structure-aware attention network (SAAN), which can efficiently generate embeddings of unseen entities and relations by aggregating neighbors with structure-aware attention weights. Unlike conventional embedding-based attention methods, SAAN can naturally learn importance weights by modeling structural correlations between nodes in an embedding-independent manner and can be applied to any existing KG embedding model. Experimental results on both transductive and inductive KGC tasks show that our model significantly outperforms state-of-the-art methods.
Graphical abstract
Similar content being viewed by others
Data Availibility Statement
Data will be made available on reasonable request
References
Zhang Y, Yao Q, Kwok JT (2023) Bilinear scoring function search for knowledge graph learning. IEEE Trans Pattern Anal Mach Int 45(2):1458–1473
Li Q, Wang D, Feng S, Niu C, Zhang Y (2022) Global graph attention embedding network for relation prediction in knowledge graphs. IEEE Trans Neural Netw Learning Syst 33(11):6712–6725
Li Q, Peng H, Li J, Xia C, Yang R, Sun L, Yu PS, He L (2022) A survey on text classification: From traditional to deep learning. ACM Trans Int Syst Technol 13(2):1–41
Cui H, Peng T, Xiao F, Han J, Han R, Liu L (2023) Incorporating anticipation embedding into reinforcement learning framework for multi-hop knowledge graph question answering. Inf Sci 619:745–761
Suissa O, Zhitomirsky-Geffet M, Elmalech A (2023) Question answering with deep neural networks for semi-structured heterogeneous genealogical knowledge graphs. Semantic Web 14(2):209–237
Wang C, Huang Z, Wan Y, Wei J, Zhao J, Wang P (2023) Fualign: Crosslingual entity alignment via multi-view representation learning of fused knowledge graphs. Inf Fusion 89:41–52
Oh B, Seo S, Hwang J, Lee D, Lee K-H (2022) Open-world knowledge graph completion for unseen entities and relations via attentive feature aggregation. Inf Sci 586:468–484
Bordes A, Usunier N, Garcia-Duran A, Weston J, Akhnenko OY (2013) Translating embeddings for modeling multi-relational data. In: Proceedings of the 27th Conference on Neural Information Processing Systems, pp 2787–2795
Hu B, Ye Y, Zhong Y, Pan J, Hu M (2022) Transmkr: Translation-based knowledge graph enhanced multi-task point-of-interest recommendation. Neurocomputing 474:107–114
Xie R, Liu Z, Jia J, Luan H, Sun M (2016) Representation learning of knowledge graphs with entity descriptions. In: Proceedings of the Thirtieth AAAI Conference on Artificial Intelligence, pp 2659–2665
Zhou X, Li S, Li Z, Li W (2021) Information diffusion across cyber-physicalsocial systems in smart city: A survey. Neurocomputing 444:203–213
Yu X, Li W, Yang B, Li X, Chen J, Fu G (2023) Deviation distance entropy: A method for quantifying the dynamic features of biomedical time series. Chaos Solition Fractals 168:113157
Shi B, Weninger T (2018) Open-world knowledge graph completion. In: Proceedings of the 32th AAAI Conference on Artificial Intelligence, pp 1957–1964
Zhang J, Huang J, Gao J, Han R, Zhou C (2022) Knowledge graph embedding by logical-default attention graph convolution neural network for link prediction. Inf Sci 593:201–215
Omran PG, Taylor K, Méndez SJR, Haller A (2022) Active knowledge graph completion. Inf Sci 604:267–279
Chen P, Wang Y, Yu X, Feng R (2022) Qlogice: Quantum logic empowered embedding for knowledge graph completion. Knowl Based Syst 239:107963
Le T, Le N, Le B (2023) Knowledge graph embedding by relational rotation and complex convolution for link prediction. Expert Syst Appl 214:119122
Huang X, Tang J, Tan Z, Zeng W, Wang J, Zha X (2021) Knowledge graph embedding by relational and entity rotation. Knowl Based Syst 229:107310
Sun Z, Deng Z-H, Nie J, Tang J (2019) Rotate: Knowledge graph embedding by relational rotation in complex space. In: Proceedings of the 7th International Conference on Learning Representations, pp 1–18
Tang Y, Huang J, Wang G, He X, Zhou B (2020) Orthogonal relation transforms with graph context modeling for knowledge graph embedding. In: Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp 2713–2722
Zhang Z, Cai J, Zhang Y, Wang J (2020) Learning hierarchy-aware knowledge graph embeddings for link prediction. In: Proceedings of the 35th AAAI Conference on Artificial Intelligence, pp 3065–3072
Cao Z, Xu Q, Yang Z, Cao X, Huang Q (2021) Dual quaternion knowledge graph embeddings. In: Proceedings of the 35th AAAI Conference on Artificial Intelligence, pp 6894–6902
Nickel M, Tresp V, Kriegel H-P (2011) A three-way model for collective learning on multi-relational data. In: Proceedings of the 28th International Conference on Machine Learning, pp 809–816
Yang B, Yih W-t, He X, Gao J, Deng L (2015) Embedding entities and relations for learning and inference in knowledge bases. In: Proceedings of the 3rd International Conference on Learning Representations
Nickel M, Tresp V, Kriegel H-P (2018) Simple embedding for link prediction in knowledge graphs. In: Proceedings of the Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, pp 4289–4300
Xu Y, Zhuang Z, Li W, Zhou X (2018) Effective community division based on improved spectral clustering. Neurocomputing 279:54–62
Li W, Li Z, Luvembe AM, Yang C (2021) Influence maximization algorithm based on gaussian propagation model. Inf Sci 568:386–402
Nickel M, Rosasco L, Poggio TA (2016) Holographic embeddings of knowledge graphs. In: Proceedings of the Thirtieth AAAI Conference on Artificial Intelligence, pp 1955–1961
Zhang Z, Li Z, Liu H, Xiong NN (2022) Multi-scale dynamic convolutional network for knowledge graph embedding. IEEE Trans Knowl Data Eng 34(5):2335–2347
Li W, Ni L, Wang J, Wang C (2022) Collaborative representation learning for nodes and relations via heterogeneous graph neural network. Knowl Based Syst 255:109673
Zhang C, Li W, Wei D, Liu Y, Li Z (2022) Network dynamic gcn influence maximization algorithm with leader fake labeling mechanism. IEEE Trans Comput Social Syst 1–9
Schlichtkrull MS, Kipf TN, Bloem P, van den Berg R, Titov I, Welling M (2018) Modeling relational data with graph convolutional networks. In: Proceedings of the 15th International Conference on The Semantic Web, pp 593–607
Huang Z, Li X, Ye Y, Zhang B, Xu G, Gan W (2023) Multi-view knowledge graph fusion via knowledge-aware attentional graph neural network. App Int 53(4):3652–3671
Hu W, Li W, Zhou X, Kawai A, Fueda K, Qian Q, Wang J (2022) Spatio-temporal graph convolutional networks via view fusion for trajectory data analytics. IEEE Transactions on Intelligent Transportation Systems
Ravindra NG, Sehanobish A, Pappalardo JL, Hafler DA, van Dijk D (2020) Disease state prediction from single-cell data using graph attention networks. In: Proceedings of ACM Conference on Health, Inference, and Learning, pp 121–130
Shanthamallu US, Thiagarajan JJ, Spanias A (2020) A regularized attention mechanism for graph attention networks. In: Proceedings of IEEE International Conference on Acoustics, Speech and Signal Processing, pp 3372–3376
Nathani D, Chauhan J, Sharma C, Kaul M (2020) Learning attention-based embeddings for relation prediction in knowledge graphs. In: Proceedings of the 57th Conference of the Association for Computational Linguistics, pp 4710–4723
Dettmers T, Minervini P, Stenetorp P, Riedel S (2018) Convolutional 2d knowledge graph embeddings. In: Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, pp 1811–1818
Zhou Z, Wang C, Feng Y, Chen D (2022) Jointe: Jointly utilizing 1d and 2d convolution for knowledge graph embedding. Knowl Based Syst 240:108100
Ren J, Jin W, Wu Y, Sun Z (2023) A grouping-attention convolutional neural network for performance degradation estimation of high-speed train lateral damper. Appl Int 53(1):658–682
Yao S, Pi D, Chen J, Xu Y (2022) Gckg: Novel gated convolutional embedding model for knowledge graphs. Expert Syst Appl 208:118142
Li W, Li Y, Liu W, Wang C (2022) An influence maximization method based on crowd emotion under an emotion-based attribute social network. Inf Process Manag 59(2):102818
Oh B, Seo S, Hwang J, Lee D, Lee K-H (2022) Open-world knowledge graph completion for unseen entities and relations via attentive feature aggregation. Inf Sci 586:468–484
Chen X, Jia S, Ding L, Shen H, Xiang Y (2020) Sdt: An integrated model for open-world knowledge graph reasoning. Expert Systems with Applications 162:113889
Niu L, Fu C, Yang Q, Li Z, Chen Z, Liu Q, Zheng K (2021) Open-world knowledge graph completion with multiple interaction attention. World Wide Web 24(1):419–439
Shah H, Villmow J, Ulges A, Schwanecke U, Shafait F (2019) An openworld extension to knowledge graph completion models. In: Proceedings of the 33th AAAI Conference on Artificial Intelligence, pp 3044–3051
Hamaguchi T, Oiwa H, Shimbo M, Matsumoto Y (2017) Knowledge transfer for out-of-knowledge-base entities: A graph neural network approach. In: Proceedings of the 26th International Joint Conference on Artificial Intelligence, pp 1802–1808
Wang P, Han J, Li C, Pan R (2019) Logic attention based neighborhood aggregation for inductive knowledge graph embedding. In: Proceedings of the 33th AAAI Conference on Artificial Intelligence, pp 7152–7159
Teru KK, Denis EG, Hamilton WL (2020) Inductive relation prediction by subgraph reasoning. In: Proceedings of the 37th International Conference on Machine Learning, pp 9448–9457
Chen J, He H, Wu F, Wang J (2021) Topology-aware correlations between relations for inductive link prediction in knowledge graphs. In: Proceedings of the 35th AAAI Conference on Artificial Intelligence, pp 6271–6278
Xu X, Zhang P, He Y, Chao C, Yan C (2022) Subgraph neighboring relations infomax for inductive link prediction on knowledge graphs. In: Proceedings of the 31th International Joint Conference on Artificial Intelligence, pp 2341–2347
Butt S, Bakhtyar M, Noor W, Baber J, Ullah I, Ahmed A, Basit A, Kakar MSH (2022) Semantic similarity based food entities recognition using wordnet. J Int Fuzzy Syst 43(2):2069–2078
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflicts of interest
The authors declare that they have no conflicts of interest
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
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.
About this article
Cite this article
Wang, J., Li, W., Liu, W. et al. Enabling inductive knowledge graph completion via structure-aware attention network. Appl Intell 53, 25003–25027 (2023). https://doi.org/10.1007/s10489-023-04768-1
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10489-023-04768-1