The Effectiveness of Masked Language Modeling and Adapters for Factual Knowledge Injection

Sondre Wold
10/3/2022
cs.CL

Official code: swjobb/adapters-mlm-injection (4 stars, Python, last commit 2022-10-04).

Abstract

This paper studies the problem of injecting factual knowledge into large pre-trained language models. We train adapter modules on parts of the ConceptNet knowledge graph using the masked language modeling objective and evaluate the success of the method by a series of probing experiments on the LAMA probe.

Show full abstract

Mean P@K curves for different configurations indicate that the technique is effective, increasing the performance on subsets of the LAMA probe for large values of k by adding as little as 2.1% additional parameters to the original models.

View on arXivView PDF

Code Implementations(1)

Repository for the paper "The Effectiveness of Masked Language Modeling and Adapters for Factual Knowledge Injection"

40Python, ShellSep 5, 20224 years ago

Similar Papers

Cite this paper

@article{wold2022effectiveness,
  title  = {The Effectiveness of Masked Language Modeling and Adapters for Factual Knowledge Injection},
  author = {Sondre Wold},
  year   = {2022},
  eprint = {2210.00907},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.00907}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.00907.svg)](https://codeofpaper.com/paper/2210.00907)

Discussion