skip to main content
10.1145/3447548.3467247acmconferencesArticle/Chapter ViewAbstractPublication PageskddConference Proceedingsconference-collections
research-article
Public Access

Relational Message Passing for Knowledge Graph Completion

Published:14 August 2021Publication History

ABSTRACT

Knowledge graph completion aims to predict missing relations between entities in a knowledge graph. In this work, we propose a relational message passing method for knowledge graph completion. Different from existing embedding-based methods, relational message passing only considers edge features (i.e., relation types) without entity IDs in the knowledge graph, and passes relational messages among edges iteratively to aggregate neighborhood information. Specifically, two kinds of neighborhood topology are modeled for a given entity pair under the relational message passing framework: (1) Relational context, which captures the relation types of edges adjacent to the given entity pair; (2) Relational paths, which characterize the relative position between the given two entities in the knowledge graph. The two message passing modules are combined together for relation prediction. Experimental results on knowledge graph benchmarks as well as our newly proposed dataset show that, our method PathCon outperforms state-of-the-art knowledge graph completion methods by a large margin. PathCon is also shown applicable to inductive settings where entities are not seen in training stage, and it is able to provide interpretable explanations for the predicted results. The code and all datasets are available at https://github.com/hwwang55/PathCon.

References

  1. Monica Bianchini, Marco Gori, and Franco Scarselli. 2001. Processing directed acyclic graphs with recursive neural networks. IEEE Transactions on Neural Networks, Vol. 12, 6 (2001), 1464--1470.Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Kurt Bollacker, Colin Evans, Praveen Paritosh, Tim Sturge, and Jamie Taylor. 2008. Freebase: a collaboratively created graph database for structuring human knowledge. In SIGMOD. 1247--1250.Google ScholarGoogle Scholar
  3. Antoine Bordes, Nicolas Usunier, Alberto Garcia-Duran, Jason Weston, and Oksana Yakhnenko. 2013. Translating embeddings for modeling multi-relational data. In NeurIPS. 2787--2795.Google ScholarGoogle Scholar
  4. Antoine Bordes, Jason Weston, Ronan Collobert, and Yoshua Bengio. 2011. Learning structured embeddings of knowledge bases. In AAAI. 301--306.Google ScholarGoogle Scholar
  5. Andrew Carlson, Justin Betteridge, Bryan Kisiel, Burr Settles, Estevam R Hruschka, and Tom M Mitchell. 2010. Toward an architecture for never-ending language learning. In AAAI. 1306--1313.Google ScholarGoogle Scholar
  6. Tim Dettmers, Pasquale Minervini, Pontus Stenetorp, and Sebastian Riedel. 2018. Convolutional 2d knowledge graph embeddings. In AAAI. 1811--1818.Google ScholarGoogle Scholar
  7. Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2018. Bert: pre-training of deep bidirectional transformers for language understanding. arXiv preprint (2018).Google ScholarGoogle Scholar
  8. David K Duvenaud, Dougal Maclaurin, Jorge Iparraguirre, Rafael Bombarell, Timothy Hirzel, Alán Aspuru-Guzik, and Ryan P Adams. 2015. Convolutional networks on graphs for learning molecular fingerprints. In NeurIPS. 2224--2232.Google ScholarGoogle Scholar
  9. Luis Galárraga, Christina Teflioudi, Katja Hose, and Fabian M Suchanek. 2015. Fast rule mining in ontological knowledge bases with amie. The VLDB Journal, Vol. 24, 6 (2015), 707--730.Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Justin Gilmer, Samuel S Schoenholz, Patrick F Riley, Oriol Vinyals, and George E Dahl. 2017. Neural message passing for quantum chemistry. In ICML. 1263--1272.Google ScholarGoogle Scholar
  11. Will Hamilton, Zhitao Ying, and Jure Leskovec. 2017. Inductive representation learning on large graphs. In NeurIPS. 1024--1034.Google ScholarGoogle Scholar
  12. Vinh Thinh Ho, Daria Stepanova, Mohamed H Gad-Elrab, Evgeny Kharlamov, and Gerhard Weikum. 2018. Rule learning from knowledge graphs guided by embedding models. In International Semantic Web Conference. Springer, 72--90.Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Seyed Mehran Kazemi and David Poole. 2018. Simple embedding for link prediction in knowledge graphs. In NeurIPS. 4284--4295.Google ScholarGoogle Scholar
  14. Diederik P Kingma and Jimmy Ba. 2015. Adam: a method for stochastic optimization. In ICLR.Google ScholarGoogle Scholar
  15. Thomas N Kipf and Max Welling. 2017. Semi-supervised classification with graph convolutional networks. In ICLR.Google ScholarGoogle Scholar
  16. Pan Li, Yanbang Wang, Hongwei Wang, and Jure Leskovec. 2020. Distance Encoding: Design Provably More Powerful Neural Networks for Graph Representation Learning. In NeurIPS.Google ScholarGoogle Scholar
  17. Yujia Li, Daniel Tarlow, Marc Brockschmidt, and Richard Zemel. 2016. Gated graph sequence neural networks. In ICLR.Google ScholarGoogle Scholar
  18. George A Miller. 1995. Wordnet: a lexical database for English. Commun. ACM, Vol. 38, 11 (1995), 39--41.Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Ali Sadeghian, Mohammadreza Armandpour, Patrick Ding, and Daisy Zhe Wang. 2019. Drum: end-to-end differentiable rule mining on knowledge graphs. In NeurIPS. 15321--15331.Google ScholarGoogle Scholar
  20. Michael Schlichtkrull, Thomas N Kipf, Peter Bloem, Rianne Van Den Berg, Ivan Titov, and Max Welling. 2018. Modeling relational data with graph convolutional networks. In European Semantic Web Conference. Springer, 593--607.Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Richard Socher, Danqi Chen, Christopher D Manning, and Andrew Ng. 2013. Reasoning with neural tensor networks for knowledge base completion. In NeurIPS. 926--934.Google ScholarGoogle Scholar
  22. Zhiqing Sun, Zhi-Hong Deng, Jian-Yun Nie, and Jian Tang. 2019. Rotate: knowledge graph embedding by relational rotation in complex space. In ICLR.Google ScholarGoogle Scholar
  23. Kristina Toutanova and Danqi Chen. 2015. Observed versus latent features for knowledge base and text inference. In Workshop on Continuous Vector Space Models and their Compositionality. 57--66.Google ScholarGoogle ScholarCross RefCross Ref
  24. Théo Trouillon, Johannes Welbl, Sebastian Riedel, Éric Gaussier, and Guillaume Bouchard. 2016. Complex embeddings for simple link prediction. In ICML.Google ScholarGoogle Scholar
  25. Hongwei Wang and Jure Leskovec. 2020. Unifying graph convolutional neural networks and label propagation. arXiv preprint (2020).Google ScholarGoogle Scholar
  26. Hongwei Wang, Fuzheng Zhang, Min Hou, Xing Xie, Minyi Guo, and Qi Liu. 2018a. Shine: Signed heterogeneous information network embedding for sentiment link prediction. In WSDM. 592--600.Google ScholarGoogle Scholar
  27. Hongwei Wang, Fuzheng Zhang, Jialin Wang, Miao Zhao, Wenjie Li, Xing Xie, and Minyi Guo. 2018b. Ripplenet: Propagating user preferences on the knowledge graph for recommender systems. In CIKM. 417--426.Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. Hongwei Wang, Fuzheng Zhang, Jialin Wang, Miao Zhao, Wenjie Li, Xing Xie, and Minyi Guo. 2019 a. Exploring high-order user preference on the knowledge graph for recommender systems. ACM Transactions on Information Systems, Vol. 37, 3 (2019), 1--26.Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. Hongwei Wang, Fuzheng Zhang, Xing Xie, and Minyi Guo. 2018c. DKN: Deep knowledge-aware network for news recommendation. In WWW. 1835--1844.Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. Hongwei Wang, Fuzheng Zhang, Mengdi Zhang, Jure Leskovec, Miao Zhao, Wenjie Li, and Zhongyuan Wang. 2019 b. Knowledge-aware graph neural networks with label smoothness regularization for recommender systems. In KDD. 968--977.Google ScholarGoogle Scholar
  31. Hongwei Wang, Fuzheng Zhang, Miao Zhao, Wenjie Li, Xing Xie, and Minyi Guo. 2019 c. Multi-task feature learning for knowledge graph enhanced recommendation. In WWW. 2000--2010.Google ScholarGoogle Scholar
  32. Hongwei Wang, Miao Zhao, Xing Xie, Wenjie Li, and Minyi Guo. 2019 d. Knowledge graph convolutional networks for recommender systems. In WWW.Google ScholarGoogle Scholar
  33. Wenhan Xiong, Thien Hoang, and William Yang Wang. 2017. Deeppath: a reinforcement learning method for knowledge graph reasoning. In EMNLP. 564--573.Google ScholarGoogle Scholar
  34. Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. 2019. How powerful are graph neural networks?. In ICLR.Google ScholarGoogle Scholar
  35. Bishan Yang, Wen-tau Yih, Xiaodong He, Jianfeng Gao, and Li Deng. 2015. Embedding entities and relations for learning and inference in knowledge bases. In ICLR.Google ScholarGoogle Scholar
  36. Fan Yang, Zhilin Yang, and William W Cohen. 2017. Differentiable learning of logical rules for knowledge base reasoning. In NeurIPS. 2319--2328.Google ScholarGoogle Scholar
  37. Jonathan S Yedidia, William T Freeman, and Yair Weiss. 2003. Understanding belief propagation and its generalizations. Exploring artificial intelligence in the new millennium, Vol. 8 (2003), 236--239.Google ScholarGoogle ScholarDigital LibraryDigital Library
  38. Muhan Zhang and Yixin Chen. 2018. Link prediction based on graph neural networks. In NeurIPS. 5165--5175.Google ScholarGoogle Scholar
  39. Shuai Zhang, Yi Tay, Lina Yao, and Qi Liu. 2019 b. Quaternion knowledge graph embeddings. In NeurIPS. 2731--2741.Google ScholarGoogle Scholar
  40. Wen Zhang, Bibek Paudel, Liang Wang, Jiaoyan Chen, Hai Zhu, Wei Zhang, Abraham Bernstein, and Huajun Chen. 2019 a. Iteratively learning embeddings and rules for knowledge graph reasoning. In WWW. 2366--2377.Google ScholarGoogle Scholar

Index Terms

  1. Relational Message Passing for Knowledge Graph Completion

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          KDD '21: Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining
          August 2021
          4259 pages
          ISBN:9781450383325
          DOI:10.1145/3447548

          Copyright © 2021 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 14 August 2021

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          Overall Acceptance Rate1,133of8,635submissions,13%

          Upcoming Conference

          KDD '24

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader