Open Knowledge Graphs Canonicalization using Variational Autoencoders

Sarthak Dash, Gaetano Rossiello, Nandana Mihindukulasooriya, Sugato Bagchi, Alfio Gliozzo

Abstract

Open Information Extraction (OpenIE) allows for the automated construction of Knowledge Graphs (KGs) from unstructured text. However, these graphs often contain redundant nodes and edges due to the use of diverse surface forms for the same underlying entities and relations. We present CUVA (Canonicalizing Using Variational Autoencoders), a framework that performs canonicalization by jointly learning mention representations and cluster assignments. CUVA utilizes a Mixture of Gaussians latent space within a VAE architecture and incorporates structural Knowledge Graph Embeddings (KGE) to achieve state-of-the-art results on multiple benchmarks.

Introduction

The proliferation of unstructured data has made Open Information Extraction (OpenIE) a vital technique for building large-scale Knowledge Graphs. Unlike traditional IE, which relies on fixed schemas, OpenIE extracts triples directly from text. This flexibility comes at a cost: the resulting graphs are often "messy," containing many-to-one mappings between surface forms and real-world entities. For instance, "NYC" and "New York City" might appear as distinct nodes. Canonicalization—the task of grouping these synonymous noun phrases (NPs) and relation phrases (RPs)—is essential for reducing redundancy and improving the utility of the KG.

Existing methods typically employ a two-stage pipeline: first, they generate embeddings for mentions, and then they apply a clustering algorithm. This disjointed approach prevents the clustering process from influencing the representation learning. We introduce CUVA, which addresses this limitation through a joint neural architecture.

The CUVA Framework

CUVA treats canonicalization as a generative process, modeled using a Variational Autoencoder (VAE). The core innovation lies in the latent space, which is modeled as a Mixture of Gaussians (MoG). Each Gaussian component corresponds to a latent cluster (an entity or relation type).

The CUVA architecture jointly learns latent representations and cluster assignments for entity and relation phrases.

The model consists of several key components:

  • Joint Learning: Gradients flow through both the encoder and the clustering module, ensuring that learned embeddings are optimized for grouping.
  • Mixture of Gaussians (MoG): This allows for "soft clustering," which is more robust to polysemy than traditional hard-clustering methods.
  • Knowledge Graph Embedding (KGE): By integrating the HolE algorithm, CUVA captures the structural context of the graph. Entities that appear in similar relational contexts are more likely to be clustered together.
  • Side Information Loss: External knowledge from sources like Wikipedia or PPDB is used as a weighted constraint, helping the model align with known linguistic and entity-linking patterns.

Experimental Results

CUVA was evaluated on four benchmarks: Base, Ambiguous, ReVerb45K, and a new dataset, CANONICNELL. The model consistently outperformed the previous state-of-the-art (CESI) and surpassed methods based on large-scale pretrained language models like BERT.

On the ReVerb45K dataset, CUVA achieved a Mean F1 of 0.803. On the newly introduced CANONICNELL dataset, it reached a Macro F1 of 0.775. These results demonstrate the effectiveness of combining structural graph information with joint generative modeling.

Qualitative Analysis

An examination of the predicted clusters reveals the model's strengths and weaknesses.

Examples of predicted clusters for the ReVerb45K dataset, showing both successful groupings and common error patterns.

As shown in the figure above, CUVA successfully groups variations of entity names like "Samuel Alito" and "UTC." However, it occasionally struggles with semantic opposites (e.g., "rank below" vs. "rank above") because they often share identical structural contexts. It also faces challenges with common names like "Bill," where distinct individuals might be merged into a single cluster.

Conclusion

CUVA provides a powerful, end-to-end framework for Open Knowledge Graph canonicalization. By moving beyond pipeline-based approaches and integrating structural context with a generative MoG latent space, it sets a new standard for the field. Future work will focus on incorporating entity type information and improving the handling of semantic negations to further refine cluster accuracy.

Summary updated

BibTeX
@inproceedings{dash2021open,
  author = {Sarthak Dash and Gaetano Rossiello and Nandana Mihindukulasooriya and Sugato Bagchi and Alfio Gliozzo},
  title = {{Open Knowledge Graphs Canonicalization using Variational Autoencoders}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.811},
}
Figure