mlsanityData to 14 Oct 2026

Plug-and-Play Knowledge Injection for Pre-trained Language Models

arXiv 2305.17691 ↗First posted 28 May 2023cs.CLcited by 6

Not on the map. Why?

Abstract (arXiv)

Injecting external knowledge can improve the performance of pre-trained language models (PLMs) on various downstream NLP tasks. However, massive retraining is required to deploy new knowledge injection methods or knowledge bases for downstream tasks. In this work, we are the first to study how to improve the flexibility and efficiency of knowledge injection by reusing existing downstream models. To this end, we explore a new paradigm plug-and-play knowledge injection, where knowledge bases are injected into frozen existing downstream models by a knowledge plugin. Correspondingly, we propose a plug-and-play injection method map-tuning, which trains a mapping of knowledge embeddings to enrich model inputs with mapped embeddings while keeping model parameters frozen. Experimental results on three knowledge-driven NLP tasks show that existing injection methods are not suitable for the new paradigm, while map-tuning effectively improves the performance of downstream models. Moreover, we show that a frozen downstream model can be well adapted to different domains with different mapping networks of domain knowledge. Our code and models are available at https://github.com/THUNLP/Knowledge-Plugin.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 43 of its 63 references that are in the map. First posted on arXiv 28 May 2023.

Builds on

43 of 63 references.

References · 43

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  6. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  7. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  8. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
  9. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
  10. 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,245
  11. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
  12. 2019ERNIE: Enhanced Language Representation with Informative Entitiescited by 528
31 more
  1. 2019COMET: Commonsense Transformers for Automatic Knowledge Graph Constructioncited by 450
  2. 2021QA-GNN: Reasoning with Language Models and Knowledge Graphs for Question Answeringcited by 388
  3. 2019KEPLER: A Unified Model for Knowledge Embedding and Pre-trained Language Representationcited by 356
  4. 2020LUKE: Deep Contextualized Entity Representations with Entity-aware Self-attentioncited by 326
  5. 2020K-Adapter: Infusing Knowledge into Pre-Trained Models with Adapterscited by 319
  6. 2019K-BERT: Enabling Language Representation with Knowledge Graphcited by 304
  7. 2019Knowledge Enhanced Contextual Word Representationscited by 296
  8. 2018FewRel: A Large-Scale Supervised Few-Shot Relation Classification Dataset with State-of-the-Art Evaluationcited by 254
  9. 2019KagNet: Knowledge-Aware Graph Networks for Commonsense Reasoningcited by 216
  10. 2022Delta Tuning: A Comprehensive Study of Parameter Efficient Methods for Pre-trained Language Modelscited by 180
  11. 2021Simple Entity-Centric Questions Challenge Dense Retrieverscited by 140
  12. 2020A Knowledge-Enhanced Pretraining Model for Commonsense Story Generationcited by 116
  13. 2019Fine-grained Fact Verification with Kernel Graph Attention Networkcited by 105
  14. 2019Pretrained Encyclopedia: Weakly Supervised Knowledge-Pretrained Language Modelcited by 102
  15. 2019GEAR: Graph-based Evidence Aggregating and Reasoning for Fact Verificationcited by 100
  16. 2021Sustainable Modular Debiasing of Language Modelscited by 100
  17. 2019E-BERT: Efficient-Yet-Effective Entity Embeddings for BERTcited by 96
  18. 2019FewRel 2.0: Towards More Challenging Few-Shot Relation Classificationcited by 94
  19. 2020CoLAKE: Contextualized Language and Knowledge Embeddingcited by 86
  20. 2019SenseBERT: Driving Some Sense into BERTcited by 73
  21. 2020ERICA: Improving Entity and Relation Understanding for Pre-trained Language Models via Contrastive Learningcited by 72
  22. 2023Can LMs Learn New Entities from Descriptions? Challenges in Propagating Injected Knowledgecited by 67
  23. 2019OpenNRE: An Open and Extensible Toolkit for Neural Relation Extractioncited by 62
  24. 2021UnitedQA: A Hybrid Approach for Open Domain Question Answeringcited by 42
  25. 2023Small Models are Valuable Plug-ins for Large Language Modelscited by 42
  26. 2021Efficient Hierarchical Domain Adaptation for Pretrained Language Modelscited by 32
  27. 2022A Survey of Knowledge-Intensive NLP with Pre-Trained Language Modelscited by 30
  28. 2022KALA: Knowledge-Augmented Language Model Adaptationcited by 21
  29. 2021K-PLUG: Knowledge-injected Pre-trained Language Model for Natural Language Understanding and Generation in E-Commercecited by 12
  30. 2021Manual Evaluation Matters: Reviewing Test Protocols of Distantly Supervised Relation Extractioncited by 12
  31. 2022A Simple but Effective Pluggable Entity Lookup Table for Pre-trained Language Modelscited by 5

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 2; 2025: 3.

6 papers.