Text-Graph Enhanced Knowledge Graph Representation Learning

Linmei Hu, Mengmei Zhang, Shaohua Li, Jinghan Shi, Chuan Shi, Cheng Yang, Zhiyuan Liu

Introduction

Knowledge Graphs (KGs) such as Freebase and WordNet are fundamental for structured information retrieval, storing data as (head entity, relation, tail entity) triplets. However, these graphs often suffer from significant sparsity, where many entities participate in very few relations. This sparsity hinders the ability of traditional embedding models to learn robust representations. To address this, researchers have introduced Teger, a framework that leverages auxiliary text descriptions through a global heterogeneous text-graph to enhance KG embeddings.

The Sparsity Problem in Knowledge Graphs

Traditional KG embedding methods like TransE or ConvE rely solely on structural information. When an entity has few connections, its learned vector is poorly defined. While previous attempts to incorporate text descriptions used local sequence models like LSTMs or CNNs, these methods fail to capture global semantic relationships across the entire corpus. If two entities share semantic similarities in their descriptions but are not directly linked in the KG, local models often miss this latent connection.

The Teger Framework

The Teger (Text-Graph Enhanced KG representation learning) framework overcomes these limitations by integrating three core components:

1. Triplet Embedding

Teger utilizes standard structural embedding models (e.g., TransE, ConvE) to map KG triplets into a low-dimensional vector space, capturing the explicit relational structure.

2. Auxiliary Text Encoding via Text-Graphs

Unlike previous methods that treat entity descriptions as isolated strings, Teger constructs a massive heterogeneous Text-Graph. In this graph, both entities and words serve as nodes. Edges are established between entities and the words in their descriptions, and between words based on semantic similarity (derived from Word2Vec).

The Text-Graph construction process, mapping entity descriptions to a heterogeneous graph of words and entities.

A multi-layer Graph Convolutional Network (GCN) is then applied to this graph. This allows information to propagate globally: an entity node "learns" not just from its own description, but from related words and other entities across the entire dataset, effectively bridging the structural gaps in the KG.

3. KG Representation Fusion

To combine structural and textual information, Teger employs a learnable gating mechanism. This mechanism dynamically weights the structural embedding and the textual embedding for each entity.

The Teger architecture showing the fusion of GCN-based text encodings with structural triplet embeddings via a gating mechanism.

This fusion ensures that if an entity's description is vague or short, the model can rely more heavily on the KG structure, and vice versa, resulting in a more robust final representation.

Experimental Results

The model was evaluated on the FB15K and WN18 benchmarks. Key findings include:

  • Performance Gains: On FB15K, Teger improved the Hits@10 metric for TransE from 47.1% to 76.3%. Using ConvE as a base, it achieved 85.1%.
  • Triplet Classification: Teger reached an accuracy of 98.1% on WN18, outperforming existing text-enhanced models.
  • Handling Complex Relations: The framework showed particular strength in resolving "N-to-N" and "1-to-N" relationships, where structural data alone is often ambiguous.

Conclusion and Future Directions

Teger demonstrates that modeling text as a global graph significantly alleviates the sparsity problem in KGs. While highly effective, the approach's complexity increases with the size of the word vocabulary. Future work may involve using Graph Attention Networks (GATs) to better filter textual noise and extending the framework to complex-vector spaces to capture more nuanced relational patterns.

Summary updated

BibTeX
@article{hu2021text,
  author = {Linmei Hu and Mengmei Zhang and Shaohua Li and Jinghan Shi and Chuan Shi and Cheng Yang and Zhiyuan Liu},
  title = {{Text-Graph Enhanced Knowledge Graph Representation Learning}},
  journal = {Frontiers Artif. Intell.},
  year = {2021},
  doi = {10.3389/frai.2021.697856},
}
Figure