Commonsense Knowledge Base Completion

Xiang Li, Aynaz Taheri, Lifu Tu, Kevin GimpelACL 2016

Abstract

This paper explores the expansion of commonsense knowledge bases like ConceptNet by framing the problem as a Knowledge Base Completion (KBC) task. Unlike traditional KBC which focuses on fixed entities, commonsense knowledge involves an unbounded set of natural language phrases. By employing neural network models to represent these phrases as vectors, the authors demonstrate that simple architectures can effectively distinguish true commonsense facts from false ones, matching the reliability of human-curated entries.

The Challenge of Commonsense Sparsity

Most Knowledge Base Completion (KBC) research focuses on structured databases like Freebase, which link a fixed set of entities (e.g., "Paris" is the capital of "France"). However, human "common sense" is not easily boxed into fixed entities; it consists of relationships between an unbounded set of natural language phrases, such as "soaking in a hotspring" leading to "getting pruny skin."

The primary resource for this data is ConceptNet, a curated collection of tuples. While ConceptNet is high-quality, it suffers from a "sparsity" problem—it doesn't cover every possible variation of a concept. If an AI application encounters a phrase slightly different from what's in the database, it might fail to find the relevant knowledge. The authors aim to build models that can score the plausibility of any arbitrary phrase-based tuple, effectively allowing for "on-the-fly" knowledge base completion.

Model Architectures and Methods

The authors developed and compared two main families of neural network models to score tuples $(t_1, R, t_2)$:

  1. Bilinear Models: These use a relation-specific matrix ($M_R$) to model the interaction between the vectors of the two terms ($v_1^T M_R v_2$).
  2. Deep Neural Networks (DNNs): These concatenate the term vectors and a relation vector, passing them through a non-linear hidden layer to produce a score.

To turn phrases into vectors, they tested two "composition functions":

  • AVG: A simple average of the word embeddings in the phrase.
  • LSTM: A bidirectional Long Short-Term Memory network designed to capture sequence and structure.

Crucially, they also experimented with Negative Sampling strategies. Since ConceptNet only contains "true" facts, the models need "false" examples to learn. They compared random sampling (swapping a term with a random one) against "max sampling" (finding the "hardest" negative example that the current model thinks is true).

Experimental Setup

The models were trained and evaluated using several key resources:

  • ConceptNet 5 (OMCS): The primary source of truth, specifically the Open Mind Common Sense (OMCS) subset.
  • Custom Benchmarks: Specific splits (DEV1, DEV2, TEST) were created based on the confidence scores provided by ConceptNet to ensure testing against high-quality data.
  • Wikipedia: Used as a source of raw text to extract "novel" tuples for manual evaluation, testing the model's ability to generalize beyond the training distribution.
  • CN-Trained Embeddings: The authors generated their own word embeddings by training word2vec on the original sentences from which ConceptNet tuples were extracted, ensuring the embeddings captured the specific "flavor" of commonsense knowledge.

Results and Analysis

The experimental results revealed several key insights into the nature of commonsense modeling. Surprisingly, simple word averaging (AVG) models performed as well as, or better than, the complex LSTMs. This is likely because most ConceptNet terms are very short (averaging 2.3 words), meaning complex sequence modeling provides little additional benefit. Furthermore, embeddings trained specifically on the sentences underlying ConceptNet significantly outperformed general-purpose embeddings like GloVe, suggesting that "commonsense" context is distinct from general web or news context.

Model performance on DEV2 and TEST datasets showing high accuracy for neural models.

As shown in the performance table above, the best models achieved over 92% accuracy in distinguishing true held-out ConceptNet tuples from randomly generated false ones. In manual evaluations, the model's top-ranked "novel" tuples (facts not in the original database) received an average quality score of 3.20/4.0. For context, human-curated "medium-confidence" tuples in ConceptNet score around 3.14/4.0.

Qualitative Evaluation and Generalization

The model successfully assigned high scores to plausible facts extracted from Wikipedia, demonstrating its utility for real-world NLP applications. For example, it correctly identified locations and capabilities for the concept "bus" that were not explicitly in the training set.

Plausible facts extracted and scored by the model for the concept "bus".

Conclusion and Future Work

This work demonstrates that neural models can effectively bridge the gap in commonsense knowledge bases. While successful, limitations remain. The current models are word-based and struggle with out-of-vocabulary terms; future work may explore character-based models to handle open vocabularies. Additionally, the model currently scores tuples in isolation. Future research could investigate ensuring logical consistency across sets of predicted facts (e.g., transitive causal relationships).

Summary updated

BibTeX
@inproceedings{li2016commonsense,
  author = {Xiang Li and Aynaz Taheri and Lifu Tu and Kevin Gimpel},
  title = {{Commonsense Knowledge Base Completion}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2016},
  doi = {10.18653/v1/p16-1137},
}
Figure