Joint Open Knowledge Base Canonicalization and Linking

Yinan Liu, Wei Shen, Yuanfei Wang, Jianyong Wang, Zhenglu Yang, Xiaojie Yuan

TL;DR

Researchers have developed JOCL, a novel framework that simultaneously cleans up "Open" Knowledge Bases and links them to curated ones (like DBpedia). By treating canonicalization (grouping similar phrases) and linking (mapping to a master ID) as a joint problem using a Factor Graph Model, the system allows both tasks to reinforce each other, significantly outperforming traditional step-by-step pipelines.

What Problem Does This Paper Address?

Open Information Extraction (OIE) tools can scan billions of web pages to extract facts in the form of triples: (noun phrase, relation phrase, noun phrase). For example: (UMD, be a member of, Universitas 21).

The problem? These "Open" Knowledge Bases (OKBs) are incredibly messy. You might have "UMD," "University of Maryland," and "U. of Maryland" all referring to the same entity. Similarly, "is a member of" and "joined" might mean the same thing. This leads to two critical tasks:

  1. Canonicalization: Grouping "UMD" and "University of Maryland" into one cluster.
  2. Linking: Mapping that cluster to a unique ID in a Curated Knowledge Base (CKB) like DBpedia.

Historically, these tasks were handled in isolation or as a pipeline (first group them, then link them). However, pipelines suffer from error propagation: if you group "UMD" with "University of Miami" by mistake, the linking step has no chance of fixing it.

Methods

The authors propose JOCL (Joint Open Knowledge Base Canonicalization and Linking). The core engine is a Factor Graph Model, a type of probabilistic graphical model that excels at representing complex dependencies.

The Secret Sauce: Joint Reinforcement

JOCL operates on two key assumptions:

  • Assumption 1: If two phrases link to the same entity in DBpedia, they probably belong in the same canonical group.
  • Assumption 2: If two phrases are in the same canonical group, they should probably link to the same entity.

How it Works:

  • Variable Nodes: The graph contains nodes representing whether two phrases are "the same" (canonicalization) and which CKB entity a phrase refers to (linking).
  • Factor Nodes: these act as "opinionated" signals. JOCL incorporates a wide variety of signals:
  • Textual: IDF token overlap and word embeddings (FastText).
  • Relational: AMIE (rule mining) and KBP (Knowledge Base Population) signals for relations.
  • Structural: Transitive relations (if A=B and B=C, then A=C) and "Fact Inclusion" (does this triple already exist in the curated KB?).
  • Consistency Factors: These are the bridges. They penalize the model if the canonicalization and linking results disagree.
  • Inference: The model uses Loopy Belief Propagation (LBP) to pass messages across the graph until it reaches a consensus on the most likely labels.

Datasets

The framework was evaluated on two large-scale benchmarks:

  1. ReVerb45K: Contains 45,000 triples extracted by the ReVerb system, with noun phrases pre-annotated with Freebase entities.
  2. NYTimes2018: A newer dataset with 34,000 triples. Unlike ReVerb45K, this is not pre-annotated, so the authors manually labeled samples to create a ground truth for evaluation.

Key Insights and Ideas

  • The Power of "Jointness": The biggest "aha" moment is that linking provides a "global" anchor that helps local grouping. If the text is ambiguous, the fact that a specific entity exists in a curated KB provides the necessary hint to group the phrases correctly.
  • Flexibility: Because it uses a factor graph, JOCL is "plug-and-play." If a researcher discovers a new signal (e.g., a new type of visual embedding for entities), they can simply add a new factor node without redesigning the entire architecture.
  • Heuristic Conflict Resolution: Even with joint modeling, tiny conflicts can remain. The authors found that simply choosing the label of the larger group in a conflict (an "intuitive" fix) was highly effective for the final output.

Key Results

JOCL consistently outperformed state-of-the-art baselines (like SIST and CESI) across both tasks:

  • NP Canonicalization: On the NYTimes2018 dataset, JOCL achieved an Average F1 of 0.805, a significant jump over the previous best (SIST) at 0.776.
  • Entity Linking: JOCL reached 0.761 accuracy on ReVerb45K, outperforming popular tools like DBpedia Spotlight (0.716) and specialized joint linkers like Falcon (0.541).
  • Ablation Studies: The authors proved that the "Joint" part matters. When they removed the consistency factors (making the tasks run separately), performance dropped across the board.

Limitations and Future Work

  • Computational Complexity: While the authors mention the possibility of a distributed version using graph segmentation, factor graphs with Loopy Belief Propagation can be computationally expensive on truly massive, billion-triple datasets.
  • Source Text Dependency: Some baselines (like SIST) use "side information" from the original source documents. JOCL currently focuses primarily on the triples themselves. Integrating more document-level context could further boost accuracy.
  • Conflict Handling: The final step still relies on a heuristic to resolve remaining conflicts between linking and canonicalization, suggesting there is room for a more mathematically integrated "final" inference step.

Summary updated

BibTeX
@inproceedings{liu2021joint,
  author = {Yinan Liu and Wei Shen and Yuanfei Wang and Jianyong Wang and Zhenglu Yang and Xiaojie Yuan},
  title = {{Joint Open Knowledge Base Canonicalization and Linking}},
  booktitle = {SIGMOD},
  year = {2021},
  doi = {10.1145/3448016.3452776},
}
Figure