Lune

ACL Findings2021

MLMLM: Link Prediction with Mean Likelihood Masked Language Model

Louis Clouâtre, Philippe Trempe, Amal Zouaq, Sarath Chandar

Abstract

Knowledge Bases (KBs) are easy to query, verifiable, and interpretable. They however scale with man-hours and high-quality data. Masked Language Models (MLMs), such as BERT, scale with computing power as well as unstructured raw text data. The knowledge contained within these models is however not directly interpretable. We propose to perform link prediction with MLMs to address both the KBs scalability issues and the MLMs interpretability issues. By committing the knowledge embedded in MLMs to a KB, it becomes interpretable. To do that we introduce MLMLM, Mean Likelihood Masked Language Model, an approach comparing the mean likelihood of generating the different entities to perform link prediction in a tractable manner. We obtain State of the Art (SotA) results on the WN18RR dataset and SotA results on the Precision@1 metric on the WikidataM5 inductive and transductive setting. We also obtain convincing results on link prediction on previously unseen entities, making MLMLM a suitable approach to introducing new entities to a KB.

Ask Lune

Ask anything. The answer quotes the paper.

Lune reads all of it and the papers around it, then shows you the passages behind every answer.

Questions to start from

Lune answers from

the full paper · 7 top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Cited by top-tier papers7

  1. Sequence-to-Sequence Knowledge Graph Completion and Question AnsweringApoorv Saxena, Adrian Kochsiek, Rainer GemullaACL 2022 · 183 citations
  2. NodePiece: Compositional and Parameter-Efficient Representations of Large Knowledge GraphsMikhail Galkin, Etienne G. Denis, Jiapeng Wu, William L. HamiltonICLR 2022 · 114 citations
  3. Knowledge Graph Error Detection with Contrastive Confidence AdaptionXiangyu Liu, Yang Liu, Wei HuAAAI 2024 · 16 citations
  4. Why is Winoground Hard? Investigating Failures in Visuolinguistic CompositionalityAnuj Diwan, Layne Berry, Eunsol Choi, David Harwath et al.EMNLP 2022 · 15 citations
  5. A Framework for Adapting Pre-Trained Language Models to Knowledge Graph CompletionJustin Lovelace, Carolyn P. RoséEMNLP 2022 · 9 citations

Builds on3

  1. Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni et al.NeurIPS 2020 · 19,162 citations
  2. Masked Language Model ScoringJulian Salazar, Davis Liang, Toan Q. Nguyen, Katrin KirchhoffACL 2020 · 167 citations
  3. Inductive Entity Representations from Text via Link PredictionDaniel Daza, Michael Cochez, Paul GrothWWW 2021 · 129 citations

Related papers

  1. Inductive Relation Prediction by BERTHanwen Zha, Zhiyu Chen, Xifeng YanAAAI 2022 · 69 citations
  2. Knowledgeable or Educated Guess? Revisiting Language Models as Knowledge BasesBoxi Cao, Hongyu Lin, Xianpei Han, Le Sun et al.ACL 2021
  3. Probing Pre-trained Language Models for Semantic Attributes and their ValuesMeriem Beloucif, Chris BiemannEMNLP Findings 2021 · 9 citations
  4. Prix-LM: Pretraining for Multilingual Knowledge Base ConstructionWenxuan Zhou, Fangyu Liu, Ivan Vulic, Nigel Collier et al.ACL 2022 · 21 citations
  5. Incorporating Structured Sentences with Time-enhanced BERT for Fully-inductive Temporal Relation PredictionZhongwu Chen, Chengjin Xu, Fenglong Su, Zhen Huang et al.SIGIR 2023 · 10 citations
Dusk over the sea between two cliffs drawn in fine vertical lines