Abstract
Few-shot knowledge graph completion aims to infer unknown triple facts with only a small number of reference triples. Existing methods have shown a strong capability on this problem by combining knowledge representation learning and meta learning. They ignore prior knowledge in the few-shot scenario, while prior knowledge can boost useful information to handle the challenges brought by limited referenced instances. To address the above issue, we propose a few-shot knowledge graph completion model PiTI-Fs, with entity type information as prior knowledge in a two-module learning framework. In the prior knowledge learning module, we propose to extract a metagraph for capturing prior type information by entity clustering where entities in the same cluster are considered to have the same attribute. We pre-train the metagraph to learn the prior knowledge features and fuse them into the embeddings of entities. In the meta learning module, we introduce a transformer-based relation learner to model the interactions within reference entity pairs and implement an optimization-based meta learning paradigm to train our model. Our method outperforms most of baseline models for the few-shot knowledge graph completion task. The experimental results demonstrate the effectiveness of the proposed modules.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Bollacker, K., Bollacker, K., Evans, C., Paritosh, P., Sturge, T., Taylor, J.: Freebase: a collaboratively created graph database for structuring human knowledge. In: SIGMOD Conference (2008)
Bordes, A., Usunier, N., Garcia-Duran, A., Weston, J., Yakhnenko, O.: Translating embeddings for modeling multi-relational data. In: Advances in Neural Information Processing Systems (NIPS) (2013)
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 (AAAI) (2010)
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), pp. 4216–4225 (2019)
Chung, C., Whang, J.J.: Knowledge graph embedding via metagraph learning. In: Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR), pp. 2212–2216 (2021)
Dettmers, T., Minervini, P., Stenetorp, P., Riedel, S.: Convolutional 2D knowledge graph embeddings. In: Proceedings of the AAAI Conference on Artificial Intelligence (AAAI) (2018)
Dietz, L., Kotov, A., Meij, E.: Utilizing knowledge graphs for text-centric information retrieval. In: The 41st International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR), pp. 1387–1390 (2018)
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, pp. 1126–1135. International Conference on Learning Representation (ICLR) (2017)
Guo, X., Gao, H., An, Y., Zou, Z.: Diversified top-k querying in knowledge graphs. In: Web and Big Data - 4th International Joint Conference, APWeb-WAIM, pp. 319–336 (2020)
Ji, Y., Li, B., Liu, Y., Zhang, Y., Cai, K.: Multi-space knowledge enhanced question answering over knowledge graph. In: Web and Big Data - 5th International Joint Conference, APWeb-WAIM, pp. 135–140 (2021)
Jiang, Z., Gao, J., Lv, X.: MetaP: meta pattern learning for one-shot knowledge graph completion. In: Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR), pp. 2232–2236 (2021)
Kingma, D.P., Ba, J.L.: Adam: a method for stochastic optimization. In: 3rd International Conference on Learning Representations (ICLR) (2015)
Liang, S., Shao, J., Zhang, D., Zhang, J., Cui, B.: DRGI: deep relational graph infomax for knowledge graph completion. IEEE Trans. Knowl. Data Eng. (TKDE) (2021)
Lin, Q., et al.: Incorporating context graph with logical reasoning for inductive relation prediction. In: The 45th International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR), pp. 893–903 (2022)
Lin, Q., et al.: Contrastive graph representations for logical formulas embedding. IEEE Trans. Knowl. Data Eng. (TKDE) (2021)
Lin, Y., Liu, Z., Sun, M., Liu, Y.: Learning entity and relation embeddings for knowledge graph completion. In: AAAI (2015)
Liu, B., Wang, X., Liu, P., Li, S., Wang, X.: PAIRPQ: an efficient path index for regular path queries on knowledge graphs. In: Web and Big Data - 5th International Joint Conference, APWeb-WAIM, pp. 106–120 (2021)
Nguyen, D.Q., Nguyen, T.D., Nguyen, D.Q., Phung, D.: A novel embedding model for knowledge base completion based on convolutional neural network. In: NAACL-HLT, pp. 327–333. Association for Computational Linguistics (2018)
Niu, G., et al.: Relational learning with gated and attentive neighbor aggregator for few-shot knowledge graph completion. In: Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR), pp. 213–222 (2021)
Sheng, J., et al.: Adaptive attentional network for few-shot knowledge graph completion. In: Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 1681–1691 (2020)
Sun, Z., Deng, Z.H., Nie, J.Y., Tang, J.: RotatE: Knowledge graph embedding by relational rotation in complex space. In: International Conference on Learning Representations (ICLR) (2019)
Trouillon, T., Welbl, J., Riedel, S., Gaussier, E., Bouchard, G.: Complex embeddings for simple link prediction. In: Proceedings of The 33rd International Conference on Machine Learning (ICML), pp. 2071–2080 (2016)
Vaswani, A., et al.: Attention is all you need. In: Advances in Neural Information Processing Systems (NIPS) (2017)
Vrandecic, D., Krötzsch, M.: Wikidata: a free collaborative knowledgebase. Commun. ACM 57, 78–85 (2014)
Wang, B., Shen, T., Long, G., Zhou, T., Chang, Y.: Structure-augmented text representation learning for efficient knowledge graph completion. In: WWW (2021)
Wang, Z., Zhang, J., Feng, J., Chen, Z.: Knowledge graph embedding by translating on hyperplanes. In: Proceedings of the AAAI Conference on Artificial Intelligence (AAAI) (2014)
Xiong, W., Yu, M., Chang, S., Guo, X., Wang, W.Y.: One-shot relational learning for knowledge graphs. In: Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 1980–1990 (2018)
Xu, F., Liu, J., Lin, Q., Pan, Y., Zhang, L.: Logiformer: a two-branch graph transformer network for interpretable logical reasoning. In: Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR), pp. 1055–1065 (2022)
Yang, B., Yih, W.t., He, X., Gao, J., Deng, L.: Embedding entities and relations for learning and inference in knowledge bases. In: International Conference on Learning Representations (ICLR) (2015)
Zhang, C., Yao, H., Huang, C., Jiang, M., Li, Z., Chawla, N.V.: Few-shot knowledge graph completion. In: Proceedings of the AAAI Conference on Artificial Intelligence (AAAI), pp. 3041–3048 (2020)
Zhang, F., Yuan, N.J., Lian, D., Xie, X., Ma, W.Y.: Collaborative knowledge base embedding for recommender systems. In: KDD (2016)
Zhang, Y., Li, B., Gao, H., Ji, Y., Chen, W.: Fine-grained evaluation of knowledge graph embedding model in multiple types of downstream tasks. Big Data Res. 25, 100218 (2021)
Acknowledgments
This work was supported by National Key Research and Development Program of China (2020AAA0108800), National Natural Science Foundation of China (62137002, 61937001, 62192781, 62176209, 62176207, 62106190, and 62250009), Innovative Research Group of the National Natural Science Foundation of China (61721002), Innovation Research Team of Ministry of Education (IRT_17R86), Consulting research project of Chinese academy of engineering “The Online and Offline Mixed Educational Service System for ‘The Belt and Road’ Training in MOOC China”, “LENOVO-XJTU” Intelligent Industry Joint Laboratory Project, CCF-Lenovo Blue Ocean Research Fund, Project of China Knowledge Centre for Engineering Science and Technology, Foundation of Key National Defense Science and Technology Laboratory (6142101210201), the Fundamental Research Funds for the Central Universities (xhj032021013-02, xzy022021048, xpt012022033).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Yao, S., Zhao, T., Xu, F., Liu, J. (2023). Incorporating Prior Type Information for Few-Shot Knowledge Graph Completion. In: Li, B., Yue, L., Tao, C., Han, X., Calvanese, D., Amagasa, T. (eds) Web and Big Data. APWeb-WAIM 2022. Lecture Notes in Computer Science, vol 13422. Springer, Cham. https://doi.org/10.1007/978-3-031-25198-6_21
Download citation
DOI: https://doi.org/10.1007/978-3-031-25198-6_21
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-25197-9
Online ISBN: 978-3-031-25198-6
eBook Packages: Computer ScienceComputer Science (R0)