[Paper Review] Learning New Facts From Knowledge Bases With Neural Tensor Networks and Semantic Word Vectors
This paper proposes a Neural Tensor Network (NTN) model that predicts new relationships in knowledge bases by learning entity representations from existing relational data, using bilinear interactions between entity vectors via a tensor-based scoring function. When initialized with unsupervised word vectors, the model achieves 75.8% accuracy in classifying unseen WordNet relations and 20.9% recall@100 in ranking, outperforming prior models like the similarity and Hadamard models.
Knowledge bases provide applications with the benefit of easily accessible, systematic relational knowledge but often suffer in practice from their incompleteness and lack of knowledge of new entities and relations. Much work has focused on building or extending them by finding patterns in large unannotated text corpora. In contrast, here we mainly aim to complete a knowledge base by predicting additional true relationships between entities, based on generalizations that can be discerned in the given knowledgebase. We introduce a neural tensor network (NTN) model which predicts new relationship entries that can be added to the database. This model can be improved by initializing entity representations with word vectors learned in an unsupervised fashion from text, and when doing this, existing relations can even be queried for entities that were not present in the database. Our model generalizes and outperforms existing models for this problem, and can classify unseen relationships in WordNet with an accuracy of 75.8%.
Motivation & Objective
- To address the incompleteness of knowledge bases by predicting new, true relationships between entities using only the existing knowledge base.
- To improve generalization to unseen entities and relations by leveraging distributed word vectors learned from large text corpora.
- To develop a more expressive relational model than prior linear or Hadamard-based approaches for knowledge base completion.
- To evaluate the model’s performance on both classification and ranking tasks for unseen relations in WordNet.
Proposed method
- The model uses a Neural Tensor Network (NTN) that computes a score for a triplet (e₁, R, e₂) via a bilinear interaction between entity vectors e₁ and e₂ using a tensor W^{[i]}.
- The scoring function g(e₁, R, e₂) is defined as Uᵀ tanh( e₁ᵀW^{[i]}e₂ + V_R [e₁; e₂] + b_R ), where the tensor captures direct interactions between entities.
- Entity representations are initialized using pre-trained 100-dimensional word vectors from an unsupervised model on Wikipedia, which capture syntactic and semantic information.
- For multi-word entity names, word vectors are averaged to form a single entity representation, enabling generalization to unseen entities.
- The model is trained using a contrastive max-margin objective to optimize for correct triplets while pushing incorrect ones down in score.
- Evaluation includes both classification (accuracy) and ranking (recall@100), with negative examples created by shuffling entities and relations in true triplets.
Experimental results
Research questions
- RQ1Can a neural tensor network with bilinear interactions between entity vectors outperform linear models in predicting new knowledge base facts?
- RQ2To what extent can unsupervised word vectors improve generalization to unseen entities and relations in knowledge base completion?
- RQ3How well can the model rank correct entities among tens of thousands of candidates for a given relation and head entity?
- RQ4Does the model maintain high performance when predicting relations for entities not present in the original knowledge base?
Key findings
- The NTN model achieves 75.8% classification accuracy on unseen WordNet relations when initialized with semantic word vectors, significantly outperforming the similarity model (66.7%) and the Hadamard model (71.9%).
- With semantic initialization, the model attains a recall@100 of 20.9%, more than double the 10.6% of the similarity model and triple the 7.4% of the Hadamard model.
- When initialized with random vectors instead of semantic word vectors, the NTN’s performance drops to 70.0% accuracy and 16.9% recall@100, showing the critical role of pre-trained embeddings.
- The model can infer relationships for entities not present in the original knowledge base by using their word vector representations, enabling zero-shot generalization.
- The use of word vector averaging for multi-word entity names improves statistical strength and enables generalization across entity names.
- The model’s bilinear tensor interaction mechanism provides a more expressive relational function than linear or Hadamard-based alternatives, leading to superior performance on both ranking and classification tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.