ACL Findings2023
Decouple knowledge from paramters for plug-and-play language modeling
Xin Cheng, Yankai Lin, Xiuying Chen, Dongyan Zhao, Rui Yan
Abstract
Pre-trained language models (PLM) have made impressive results in various NLP tasks. It has been revealed that one of the key factors to their success is the parameters of these models implicitly learn all kinds of knowledge during pre-training. However, encoding knowledge implicitly in the model parameters has two fundamental drawbacks. First, the knowledge is neither editable nor scalable once the model is trained, which is especially problematic in that knowledge is consistently evolving. Second, it lacks interpretability and prevents humans from understanding which knowledge PLM requires for a certain problem. In this paper, we introduce PlugLM, a pre-training model with differentiable plug-in memory (DPM). The key intuition is to decouple the knowledge storage from model parameters with an editable and scalable key-value memory and leverage knowledge in an explainable manner by knowledge retrieval in the DPM. To justify this design choice, we conduct evaluations in three settings including: (1) domain adaptation. PlugLM obtains 3.95 F1 improvements across four domains on average without any in-domain pre-training.
(2) knowledge update. PlugLM could absorb new knowledge in a training-free way after pretraining is done. (3) in-task knowledge learning. PlugLM could be further improved by incorporating training samples into DPM with knowledge prompting 1 .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Locating and Editing Factual Associations in GPT cites Language Models are Few-Shot Learners
- How Do Large Language Models Capture the Ever-changing World Knowledge? A Review of Recent Advances cites Language Models are Few-Shot Learners
- How Do Large Language Models Capture the Ever-changing World Knowledge? A Review of Recent Advances cites Training language models to follow instructions with human feedback
- How Do Large Language Models Capture the Ever-changing World Knowledge? A Review of Recent Advances cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- How Do Large Language Models Capture the Ever-changing World Knowledge? A Review of Recent Advances cites Retrieval Augmented Language Model Pre-Training
- Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models cites Locating and Editing Factual Associations in GPT
- Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models cites Lift Yourself Up: Retrieval-augmented Text Generation with Self-Memory
- Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models cites Retrieval Augmented Language Model Pre-Training
- Language Models are Few-Shot Learners cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- L2MAC: Large Language Model Automatic Computer for Extensive Code Generation cites Language Models are Few-Shot Learners
- L2MAC: Large Language Model Automatic Computer for Extensive Code Generation cites Training language models to follow instructions with human feedback
- Lift Yourself Up: Retrieval-augmented Text Generation with Self-Memory cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Lift Yourself Up: Retrieval-augmented Text Generation with Self-Memory cites Retrieval Augmented Language Model Pre-Training
- Training language models to follow instructions with human feedback cites Language Models are Few-Shot Learners
Cited by top-tier papers7
- Lift Yourself Up: Retrieval-augmented Text Generation with Self-MemoryXin Cheng, Di Luo, Xiuying Chen, Lemao Liu et al.NeurIPS 2023 · 177 citations
- Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language ModelsXin Cheng, Wangding Zeng, Damai Dai, Qinyu Chen et al.ACL 2026 · 57 citations
- L2MAC: Large Language Model Automatic Computer for Extensive Code GenerationSamuel Holt, Max Ruiz Luyten, Mihaela van der SchaarICLR 2024 · 29 citations
- Memory-Space Visual Prompting for Efficient Vision-Language Fine-TuningShibo Jie, Yehui Tang, Ning Ding, Zhi-Hong Deng et al.ICML 2024 · 24 citations
- How Do Large Language Models Capture the Ever-changing World Knowledge? A Review of Recent AdvancesZihan Zhang, Meng Fang, Ling Chen, Mohammad-Reza Namazi-Rad et al.EMNLP 2023 · 22 citations
Builds on25
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
- Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni et al.NeurIPS 2020 · 19,162 citations
- Locating and Editing Factual Associations in GPTKevin Meng, David Bau, Alex Andonian, Yonatan BelinkovNeurIPS 2022 · 3,415 citations
- Retrieval Augmented Language Model Pre-TrainingKelvin Guu, Kenton Lee, Zora Tung, Panupong Pasupat et al.ICML 2020 · 2,937 citations
Related papers
- Memory Decoder: A Pretrained, Plug-and-Play Memory for Large Language ModelsJiaqi Cao, Jiarui Wang, Rubin Wei, Qipeng Guo et al.NeurIPS 2025 · 14 citations
- Large Product Key Memory for Pre-trained Language ModelsGyuwan Kim, Tae-Hwan JungEMNLP Findings 2020 · 1 citation
- Plug-and-Play Knowledge Injection for Pre-trained Language ModelsZhengyan Zhang, Zhiyuan Zeng, Yankai Lin, Huadong Wang et al.ACL 2023 · 10 citations
- Mixture-of-Domain-Adapters: Decoupling and Injecting Domain Knowledge to Pre-trained Language Models' MemoriesShizhe Diao, Tianyang Xu, Ruijia Xu, Jiawei Wang et al.ACL 2023 · 17 citations
- Knowledge Rumination for Pre-trained Language ModelsYunzhi Yao, Peng Wang, Shengyu Mao, Chuanqi Tan et al.EMNLP 2023 · 2 citations
