Plug-and-Play Knowledge Injection for Pre-trained Language Models
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
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
- 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,245
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
- 2019ERNIE: Enhanced Language Representation with Informative Entitiescited by 528
31 more
- 2019COMET: Commonsense Transformers for Automatic Knowledge Graph Constructioncited by 450
- 2021QA-GNN: Reasoning with Language Models and Knowledge Graphs for Question Answeringcited by 388
- 2019KEPLER: A Unified Model for Knowledge Embedding and Pre-trained Language Representationcited by 356
- 2020LUKE: Deep Contextualized Entity Representations with Entity-aware Self-attentioncited by 326
- 2020K-Adapter: Infusing Knowledge into Pre-Trained Models with Adapterscited by 319
- 2019K-BERT: Enabling Language Representation with Knowledge Graphcited by 304
- 2019Knowledge Enhanced Contextual Word Representationscited by 296
- 2018FewRel: A Large-Scale Supervised Few-Shot Relation Classification Dataset with State-of-the-Art Evaluationcited by 254
- 2019KagNet: Knowledge-Aware Graph Networks for Commonsense Reasoningcited by 216
- 2022Delta Tuning: A Comprehensive Study of Parameter Efficient Methods for Pre-trained Language Modelscited by 180
- 2021Simple Entity-Centric Questions Challenge Dense Retrieverscited by 140
- 2020A Knowledge-Enhanced Pretraining Model for Commonsense Story Generationcited by 116
- 2019Fine-grained Fact Verification with Kernel Graph Attention Networkcited by 105
- 2019Pretrained Encyclopedia: Weakly Supervised Knowledge-Pretrained Language Modelcited by 102
- 2019GEAR: Graph-based Evidence Aggregating and Reasoning for Fact Verificationcited by 100
- 2021Sustainable Modular Debiasing of Language Modelscited by 100
- 2019E-BERT: Efficient-Yet-Effective Entity Embeddings for BERTcited by 96
- 2019FewRel 2.0: Towards More Challenging Few-Shot Relation Classificationcited by 94
- 2020CoLAKE: Contextualized Language and Knowledge Embeddingcited by 86
- 2019SenseBERT: Driving Some Sense into BERTcited by 73
- 2020ERICA: Improving Entity and Relation Understanding for Pre-trained Language Models via Contrastive Learningcited by 72
- 2023Can LMs Learn New Entities from Descriptions? Challenges in Propagating Injected Knowledgecited by 67
- 2019OpenNRE: An Open and Extensible Toolkit for Neural Relation Extractioncited by 62
- 2021UnitedQA: A Hybrid Approach for Open Domain Question Answeringcited by 42
- 2023Small Models are Valuable Plug-ins for Large Language Modelscited by 42
- 2021Efficient Hierarchical Domain Adaptation for Pretrained Language Modelscited by 32
- 2022A Survey of Knowledge-Intensive NLP with Pre-Trained Language Modelscited by 30
- 2022KALA: Knowledge-Augmented Language Model Adaptationcited by 21
- 2021K-PLUG: Knowledge-injected Pre-trained Language Model for Natural Language Understanding and Generation in E-Commercecited by 12
- 2021Manual Evaluation Matters: Reviewing Test Protocols of Distantly Supervised Relation Extractioncited by 12
- 2022A Simple but Effective Pluggable Entity Lookup Table for Pre-trained Language Modelscited by 5
Built on by
Citing papers per year: 2023: 1; 2024: 2; 2025: 3.
6 papers.
- 2023A Survey of Large Language Models for Healthcare: from Data, Technology, and Applications to Accountability and Ethicscited by 163
- 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 86
- 2025Training Plug-n-Play Knowledge Modules with Deep Context Distillationcited by 24
- 2024What Will My Model Forget? Forecasting Forgotten Examples in Language Model Refinementcited by 9
- 2025Bidirectional LMs are Better Knowledge Memorizers? A Benchmark for Real-world Knowledge Injectioncited by 7
- 2024Latent Paraphrasing: Perturbation on Layers Improves Knowledge Injection in Language Modelscited by 3
- 2025Cartridges: Lightweight and general-purpose long context representations via self-study6 Jun 2025
- 2025Bidirectional LMs are Better Knowledge Memorizers? A Benchmark for Real-world Knowledge Injection18 May 2025
- 2025Training Plug-n-Play Knowledge Modules with Deep Context Distillation11 Mar 2025
- 2024Latent Paraphrasing: Perturbation on Layers Improves Knowledge Injection in Language Models1 Nov 2024
- 2024What Will My Model Forget? Forecasting Forgotten Examples in Language Model Refinement2 Feb 2024
- 2023A Survey of Large Language Models for Healthcare: from Data, Technology, and Applications to Accountability and Ethics9 Oct 2023