Learning Translation-Based Knowledge Graph Embeddings by N-Pair Translation Loss
Source abstract
Abstract
Translation-based knowledge graph embeddings learn vector representations of entities and relations by treating relations as translation operators over the entities in an embedding space. Since the translation is represented through a score function, translation-based embeddings are trained in general by minimizing a margin-based ranking loss, which assigns a low score to positive triples and a high score to negative triples. However, this type of embedding suffers from slow convergence and poor local optima because the loss adopts only one pair of a positive and a negative triple at a single update of learning parameters. Therefore, this paper proposes the N-pair translation loss that considers multiple negative triples at one update. The N-pair translation loss employs multiple negative triples as well as one positive triple and allows the positive triple to be compared against the multiple negative triples at each parameter update. As a result, it becomes possible to obtain better vector representations rapidly. The experimental results on link prediction prove that the proposed loss helps to quickly converge toward good optima at the early stage of training.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Advanced Graph Neural Networks · Topic Modeling · Bayesian Modeling and Causal Inference
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Information Technology, Jeonbuk National University, Jeonju 54896, Korea
School of Computer Science and Engineering, Kyungpook National University, Daegu 41566, Korea
Department of Computer Science and Engineering, Kyung Hee University, Youngin 17104, Korea
References (37)
Show source-provided references
1. Bordes, A., Weston, J., Collobert, R., and Bengio, Y. (2011, January 7–11). Learning Structured Embeddings of Knowledge Bases. Proceedings of the Twenty-Fifth AAAI Conference on Artificial Intelligence, San Francisco, CA, USA.10.1609/aaai.v25i1.7917 ↗
2. A Review of Relational Machine Learning for Knowledge Graphs10.1109/JPROC.2015.2483592 ↗
3. Knowledge Graph Embedding: A Survey of Approaches and Applications10.1109/TKDE.2017.2754499 ↗
4. Huang, H., Heck, L., and Ji, H. (2015). Leveraging deep neural networks and knowledge graphs for entity disambiguation. arXiv.
5. Riedel, S., Yao, L., McCallum, A., and Marlin, B.M. (2013, January 9–15). Relation Extraction with Matrix Factorization and Universal Schemas. Proceedings of the 2013 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Atlanta, GA, USA.
6. Weston, J., Bordes, A., Yakhnenko, O., and Usunier, N. (2013, January 18–21). Connecting Language and Knowledge Bases with Embedding Models for Relation Extraction. Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, Washington, DC, USA.
7. Bordes, A., Chopra, S., and Weston, J. (2014, January 25–29). Question Answering with Subgraph Embeddings. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing, Doha, Qatar.10.3115/v1/D14-1067 ↗
8. KBQA: Learning Question Answering over QA Corpora and Knowledge Bases10.14778/3055540.3055549 ↗
9. Bordes, A., Usunier, N., Garcia-Duran, A., Weston, J., and Yakhnenko, O. (2013, January 5–8). Translating Embeddings for Modeling Multi-relational Data. Proceedings of the Advances in Neural Information Processing Systems 26, Lake Tahoe, NV, USA.
10. Ji, G., He, S., Xu, L., Liu, K., and Zhao, J. (2015, January 26–31). Knowledge Graph Embedding via Dynamic Mapping Matrix. Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing, Beijing, China.10.3115/v1/P15-1067 ↗
11. Jia, Y., Wang, Y., Lin, H., Jin, X., and Cheng, X. (2016, January 12–17). Locally Adaptive Translation for Knowledge Graph Embedding. Proceedings of the Thirtieth AAAI Conference on Artificial Intelligence, Phoenix, AZ, USA.10.1609/aaai.v30i1.10091 ↗
12. Lin, Y., Liu, Z., Sun, M., Liu, Y., and Zhu, X. (2015, January 25–30). Learning Entity and Relation Embeddings for Knowledge Graph Completion. Proceedings of the Twenty-Ninth AAAI Conference on Artificial Intelligence, Austin, TX, USA.10.1609/aaai.v29i1.9491 ↗
13. Wang, Z., Zhang, J., Feng, J., and Chen, Z. (2014, January 27–31). Knowledge Graph Embedding by Translating on Hyperplanes. Proceedings of the Twenty-Eighth AAAI Conference on Artificial Intelligence, Quebec City, QC, Canada.10.1609/aaai.v28i1.8870 ↗
14. Xiao, H., Huang, M., and Zhu, X. (2016, January 7–12). TransG: A Generative Model for Knowledge Graph Embedding. Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics, Berlin, Germany.10.18653/v1/P16-1219 ↗
15. Cai, L., and Wang, W.Y. (2018, January 1–6). KBGAN: Adversarial Learning for Knowledge Graph Embeddings. Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, New Orleans, LA, USA.10.18653/v1/N18-1133 ↗
16. Wang, P., Li, S., and Pan, R. (2018, January 2–7). Incorporating GAN for Negative Sampling in Knowledge Representation Learning. Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, New Orleans, LA, USA.10.1609/aaai.v32i1.11536 ↗
17. Zhang, Y., Yao, Q., Shao, Y., and Chen, L. (2019, January 8–12). NSCaching: Simple and Efficient Negative Sampling for Knowledge Graph Embedding. Proceedings of the 2019 IEEE 35th International Conference on Data Engineering, Macau, China.10.1109/ICDE.2019.00061 ↗
18. Dash, S., and Gliozzo, A. (2019). Distributional Negative Sampling for Knowledge Base Completion. arXiv.
19. Goodfellow, I.J., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., Courville, A., and Bengio, Y. (2014, January 8–13). Generative Adversarial Nets. Proceedings of the Advances in Neural Information Processing Systems, Montreal, QC, Canada.
20. Sohn, K. (2016, January 5–10). Improved Deep Metric Learning with Multi-class N-pair Loss Objective. Proceedings of the Advances in Neural Information Processing Systems, Barcelona, Spain.
21. Bollacker, K., Evans, C., Paritosh, P., Sturge, T., and Taylor, J. (2008, January 14–16). Freebase: A Collaboratively Created Graph Database for Structuring Human Knowledge. Proceedings of the 2008 ACM SIGMOD International Conference on Management of Data, Wuhan, China.10.1145/1376616.1376746 ↗
22. Dong, X., Gabrilovich, E., Heitz, G., Horn, W., Lao, N., Murphy, K., Strohmann, T., Sun, S., and Zhang, W. (2014, January 24–27). Knowledge vault: A web-scale approach to probabilistic knowledge fusion. Proceedings of the 20th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, New York, NY, USA.10.1145/2623330.2623623 ↗
23. Fader, A., Soderland, S., and Etzioni, O. (2011, January 27–31). Identifying Relations for Open Information Extraction. Proceedings of the 2011 Conference on Empirical Methods in Natural Language Processing, Scotland, UK.
24. Mitchell, T., Cohen, W., Hruschka, E.R., Talukdar, P.P., Betteridge, J., Carlson, A., Mishra, B.D., Gardner, M., Kisiel, B., and Krishnamurthy, J. (2015, January 25–30). Never Ending Learning. Proceedings of the Twenty-Ninth AAAI Conference on Artificial Intelligence, Austin, TX, USA.10.1609/aaai.v29i1.9498 ↗
25. Nguyen, D.Q., Sirts, K., Qu, L., and Johnson, M. (2016, January 12–17). STransE: A novel embedding model of entities and relationships in knowledge bases. Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, San Diego, CA, USA.10.18653/v1/N16-1054 ↗
26. Zhou, X., Zhu, Q., Liu, P., and Guo, L. (2017, January 6–10). Learning Knowledge Embeddings by Combining Limit-Based Scoring Loss. Proceedings of the 2017 ACM on Conference on Information and Knowledge Management, Singapore.10.1145/3132847.3132939 ↗
27. Qian, W., Fu, C., Zhu, Y., Cai, D., and He, X. (2018, January 13–19). Translating Embeddings for Knowledge Graph Completion with Relation Attention Mechanism. Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence, Stockholm, Sweden.10.24963/ijcai.2018/596 ↗
28. Generalized Translation-Based Embedding of Knowledge Graph10.1109/TKDE.2019.2893920 ↗
29. A neural translating general hyperplane for knowledge graph embedding10.1016/j.jocs.2018.11.004 ↗
30. Adversarial Knowledge Representation Learning Without External Model10.1109/ACCESS.2018.2889481 ↗
31. Han, X., Cao, S., Lv, X., Lin, Y., Liu, Z., Sun, M., and Li, J. (November, January 31). OpenKE: An Open Toolkit for Knowledge Embedding. Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, Brussels, Belgium.10.18653/v1/D18-2024 ↗
32. Zhang, D., Li, M., Jia, Y., Wang, Y., and Cheng, X. (2017, January 23–26). Efficient Parallel Translating Embedding for Knowledge Graphs. Proceedings of the International Conference on Web Intelligence, Leipzig, Germany.10.1145/3106426.3106447 ↗
33. WordNet: A lexical database for English10.1145/219717.219748 ↗
34. Toutanova, K., and Chen, D. (2015, January 31). Observed versus latent features for knowledge base and text inference. Proceedings of the 3rd Workshop on Continuous Vector Space Models and Their Compositionality, Beijing, China.10.18653/v1/W15-4007 ↗
35. Kingma, D.P., and Ba, J. (2015, January 7–9). Adam: A Method for Stochastic Optimization. Proceedings of the International Conference on Learning Representations, San Diego, CA, USA.
36. Glorot, X., and Bengio, Y. (2010, January 13–15). Understanding the difficulty of training deep feedforward neural networks. Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics, Sardinia, Italy.
37. Trouillon, T., Welbl, J., Riedel, S., Gaussier, É., and Bouchard, G. (2016, January 19–24). Complex embeddings for simple link prediction. Proceedings of the 33th International Conference on Machine Learning, New York, NY, USA.