Improved Representation Learning for Predicting Commonsense Ontologies

Xiang Li, Luke Vilnis, Andrew McCallumarXiv 2017

Abstract

Recent work in learning ontologies (hierarchical and partially-ordered structures) has leveraged the intrinsic geometry of spaces of learned representations to make predictions that automatically obey complex structural constraints. We explore two extensions of one such model, the order-embedding model for hierarchical relation learning, with an aim towards improved performance on text data for commonsense knowledge representation. Our first model jointly learns ordering relations and non-hierarchical knowledge in the form of raw text. Our second extension exploits the partial order structure of the training data to find long-distance triplet constraints among embeddings which are poorly enforced by the pairwise training procedure. We find that both incorporating free text and augmented training constraints improve over the original order-embedding model and other strong baselines.

Introduction

Representing commonsense knowledge—the everyday facts humans take for granted—remains a significant challenge in artificial intelligence. While Knowledge Graphs (KGs) like WordNet or ConceptNet provide structured data, standard machine learning models often treat facts as isolated triplets. This approach frequently lacks internal consistency; for instance, a model might recognize that "A is a B" and "B is a C" but fail to infer that "A is a C."

To address this, researchers have turned to order embeddings, a geometric approach where hierarchical relationships are baked directly into the vector space. In this model, if $x$ is a subcategory of $y$, then $x$ is "contained" within a geometric cone defined by $y$.

Geometric representation of order embeddings where hierarchical relations are mapped to containment in a vector space.

However, original order embeddings face two primary limitations: they rely exclusively on structured supervised data, ignoring the wealth of knowledge in unstructured text, and they are trained on pairs, which can fail to capture the global, long-range structure of complex ontologies.

Proposed Methods

The authors introduce two extensions to the baseline order embedding model to enhance its robustness and consistency.

1. Joint Text and Order Embedding

This model combines hierarchical loss with a modified Continuous Bag-of-Words (CBOW) objective. To maintain compatibility with the non-negative requirements of order embeddings, the authors replace the standard dot-product similarity used in Word2Vec with $L_1$ distance. This allows the model to leverage distributional patterns in raw text (e.g., Wikipedia) while simultaneously satisfying hierarchical constraints.

2. Long-Range Join and Meet Constraints

By treating the ontology as a lattice, the researchers enforce more complex structural properties. In a lattice, any two elements have a "join" (the most specific common ancestor) and a "meet" (the most general common descendant). The model calculates the pointwise maximum (join) and minimum (meet) of embeddings and forces them to align with known entities. This provides "global" supervision that simple pairwise training often misses.

Evaluation and Results

The study utilized major knowledge bases including ConceptNet, the Microsoft Concept Graph (MCG), and WordNet, alongside the WaCkypedia corpus for unstructured text.

Key Results

  • Joint Training Gains: On a combined commonsense dataset (ConceptNet and MCG), the joint model (Order Embedding + CBOW) achieved 93.0% accuracy, significantly outperforming the standalone order embedding model (92.0%) and bilinear classifiers.
  • Structural Integrity: Adding join and meet constraints to WordNet training improved accuracy from 90.6% to 91.3%. While the numerical increase is modest, it represents a superior ability to maintain structural integrity over long distances compared to transitive closure methods (88.2%).
  • Data Efficiency: The incorporation of unstructured text provided the largest relative gains when labeled hierarchical data was sparse, acting as a valuable "anchor" for entity positioning.
Performance comparison of joint training models on commonsense datasets.

Conclusion

This work demonstrates that the geometric logic of order embeddings can be significantly improved by integrating unstructured text and global lattice constraints. While the current model uses simple averaging for multi-word phrases and focuses primarily on "IS-A" relations, it sets the stage for more complex compositional models. Future research may explore alternative geometries, such as Poincaré embeddings, which are naturally suited for tree-like hierarchical structures.

Summary updated

BibTeX
@misc{li2017improved,
  author = {Xiang Li and Luke Vilnis and Andrew McCallum},
  title = {{Improved Representation Learning for Predicting Commonsense Ontologies}},
  year = {2017},
  eprint = {1708.00549},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1708.00549},
}
Figure