Learning Multi-faceted Knowledge Graph Embeddings for Natural Language Processing

Muhao Chen, Carlo Zaniolo

Introduction

Knowledge Graphs (KGs) serve as structured repositories of human knowledge, encoding facts as triples in the form of (head entity, relation, tail entity). While these graphs are invaluable for downstream AI applications, their discrete nature makes them difficult to integrate directly into machine learning pipelines. To bridge this gap, researchers utilize Knowledge Graph Embeddings (KGEs) to map entities and relations into continuous vector spaces.

However, traditional KGE methods often suffer from two significant limitations: the Multilingual Gap, where knowledge is siloed within specific languages, and the Structural Gap, where complex logical properties like transitivity and hierarchy are poorly represented. This paper introduces a multi-faceted framework comprising two models—MTransE and On2Vec—designed to address these shortcomings and enhance the utility of KGs in Natural Language Processing (NLP).

Addressing the Multilingual Gap: MTransE

Knowledge is not confined to a single language; for instance, the English and French versions of Wikipedia contain overlapping yet distinct information. Most embedding models treat these as isolated graphs. MTransE (Multilingual Transitions) is proposed to synchronize these disparate spaces through a joint learning approach.

The MTransE Architecture

MTransE operates via two primary components:

  1. Knowledge Model: This component establishes a dedicated embedding space for each language. It utilizes the TransE objective ($h + r \approx t$), where the relation is treated as a translation vector between the head and tail entities within a single language's graph.
  2. Alignment Model: This serves as the cross-lingual bridge. It learns to transform vectors from one language space to another (e.g., mapping "Paris" in English to "Paris" in French). The model employs techniques such as linear transformations or translation vectors to ensure that equivalent entities across languages occupy proximal positions in the latent space.

By learning structure and alignment simultaneously, MTransE produces representations that are more robust than those derived from text-based word embeddings alone.

Solving Structural Conflicts: On2Vec

Real-world relations often possess logical properties that standard KGE models cannot represent mathematically. For example, in a symmetric relation (A is married to B), the TransE formula $h + r \approx t$ and $t + r \approx h$ would force the relation vector $r$ to be zero, effectively losing all relational information. Similarly, transitive and hierarchical relations (e.g., "is-a" hierarchies) create mathematical "clashes" in low-dimensional spaces.

The On2Vec Architecture

On2Vec (Ontology-to-Vector) introduces two specialized models to handle these complexities:

  • Component-specific Model: Unlike standard models that use a single projection for a relation, On2Vec utilizes two distinct projections ($f_{1,r}$ for the head and $f_{2,r}$ for the tail). This dual-projection method allows the model to represent symmetric and transitive relations without collapsing the vector space.
  • Hierarchy Model: This component treats hierarchical relations as "refine" operators. It ensures that fine-grained entities (e.g., "Golden Retriever") are clustered tightly within the neighborhood of their parent entities (e.g., "Dog"), preserving the taxonomic structure of the ontology.

Experimental Evaluation

The researchers evaluated MTransE and On2Vec using large-scale datasets including ConceptNet, Yago3, and various Wikipedia-derived graphs.

Key Findings

  • Cross-Lingual Superiority: MTransE significantly outperformed traditional multilingual word embeddings in alignment tasks. The results suggest that the structural context provided by KGs is a more reliable signal for alignment than raw text.
  • Relational Accuracy: On2Vec demonstrated substantial improvements in relation extraction. This is particularly notable given that approximately 60% of triples in ConceptNet involve hierarchical or transitive properties, which On2Vec is specifically designed to handle.
  • Semantic Relatedness: By aggregating KG embeddings to represent entire documents, the authors achieved high Pearson correlation scores with human judgment in Semantic Relatedness Analysis (SRA) tasks, proving the embeddings' utility beyond simple graph completion.

Applications and Future Directions

Beyond improving KG completion, this research demonstrates that multi-faceted embeddings can serve as powerful features for broader NLP tasks, such as Sentiment Analysis and Open Information Extraction (OpenIE). By providing a "knowledge-aware" input, these embeddings allow models to understand the underlying logic and cross-lingual context of the data.

Future work aims to address the alignment bottleneck, as currently only a small fraction of entities are typically aligned across languages. Additionally, the authors suggest integrating these embeddings with deep neural architectures, such as Convolutional Neural Networks (CNNs), to further enhance performance in complex downstream reasoning tasks.

Summary updated

BibTeX
@inproceedings{chen2017learning,
  author = {Muhao Chen and Carlo Zaniolo},
  title = {{Learning Multi-faceted Knowledge Graph Embeddings for Natural Language Processing}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.24963/ijcai.2017/744},
}
Figure