K-Adapter: Infusing Knowledge into Pre-Trained Models with Adapters

By Ruize Wang, Duyu Tang, Nan Duan, Zhongyu Wei, Xuanjing Huang, Jianshu Ji, Guihong Cao, Daxin Jiang, Ming Zhou. 2020

629 citations recorded by the source corpus.

We study the problem of injecting knowledge into large pre-trained models like BERT and RoBERTa. Existing methods typically update the original parameters of pre-trained models when injecting knowledge. However, when multiple kinds of knowledge are injected, they may suffer from catastrophic forgetting. To address this, we propose K-Adapter, which remains the original parameters of the pre-trained model fixed and supports continual knowledge infusion. Taking RoBERTa as the pre-trained model, K-Adapter has a neural adapter for each kind of infused knowledge, like a plug-in connected to RoBERTa. There is no information flow between different adapters, thus different adapters are efficiently trained in a distributed way. We inject two kinds of knowledge, including factual knowledge obtained from automatically aligned text-triplets on Wikipedia and Wikidata, and linguistic knowledge obtained from dependency parsing. Results on three knowledge-driven tasks (total six datasets) including relation classification, entity typing and question answering demonstrate that each adapter improves the performance, and the combination of both adapters brings further improvements. Probing experiments further indicate that K-Adapter captures richer factual and commonsense knowledge than RoBERTa.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Natural Language Processing, Efficiency & Compression

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Jianfeng Gao
  2. Mohit Bansal
  3. Luke S. Zettlemoyer
  4. Yejin Choi
  5. Graham Neubig
  6. Percy Liang
  7. Zhe Gan
  8. Noah A. Smith

In Computer Vision and Pattern Recognition

  1. Dacheng Tao
  2. Luc Van Gool
  3. Jianfeng Gao
  4. Trevor Darrell
  5. Xiaogang Wang
  6. Ming-Hsuan Yang
  7. Cordelia Schmid
  8. Jitendra Malik

In Natural Language Processing

  1. Mohit Bansal
  2. Jianfeng Gao
  3. Iryna Gurevych
  4. Luke S. Zettlemoyer
  5. Graham Neubig
  6. Yejin Choi
  7. Ivan Vulic
  8. Hinrich Schütze

In Efficiency & Compression

  1. Kurt Keutzer
  2. Zhe Gan
  3. Sheng Shen
  4. Mohit Bansal
  5. Minjoon Seo
  6. Sohee Yang
  7. Dimitris Papailiopoulos
  8. Jianfeng Gao

Citations in the corpus