Lune

ACL2023顶会

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

Zhengyan Zhang, Zhiyuan Zeng, Yankai Lin, Huadong Wang, Deming Ye, Chaojun Xiao, Xu Han, Zhiyuan Liu, Peng Li, Maosong Sun, Jie Zhou

摘要

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 plugand-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 maptuning 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 .

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • What Will My Model Forget? Forecasting Forgotten Examples in Language Model Refinement 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • Bidirectional LMs are Better Knowledge Memorizers? A Benchmark for Real-world Knowledge Injection 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • Cartridges: Lightweight and general-purpose long context representations via self-study 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • Cartridges: Lightweight and general-purpose long context representations via self-study 引用了 Plug-and-Play Document Modules for Pre-trained Models
  • Plug-and-Play Document Modules for Pre-trained Models 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • Plug-and-Play Document Modules for Pre-trained Models 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • Plug-and-Play Document Modules for Pre-trained Models 引用了 Flamingo: a Visual Language Model for Few-Shot Learning
  • Augmentation-Adapted Retriever Improves Generalization of Language Models as Generic Plug-In 引用了 Plug-and-Play Document Modules for Pre-trained Models
  • Augmentation-Adapted Retriever Improves Generalization of Language Models as Generic Plug-In 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. Cartridges: Lightweight and general-purpose long context representations via self-studySabri Eyuboglu, Ryan Ehrlich, Simran Arora, Neel Guha 等ICLR 2026 · 74 次引用
  2. Augmentation-Adapted Retriever Improves Generalization of Language Models as Generic Plug-InZichun Yu, Chenyan Xiong, Shi Yu, Zhiyuan LiuACL 2023 · 15 次引用
  3. What Will My Model Forget? Forecasting Forgotten Examples in Language Model RefinementXisen Jin, Xiang RenICML 2024 · 8 次引用
  4. Bidirectional LMs are Better Knowledge Memorizers? A Benchmark for Real-world Knowledge InjectionYuwei Zhang, Wenhao Yu, Shangbin Feng, Yifan Zhu 等ACL 2026 · 7 次引用
  5. Plug-and-Play Document Modules for Pre-trained ModelsChaojun Xiao, Zhengyan Zhang, Xu Han, Chi-Min Chan 等ACL 2023 · 5 次引用

它引用的 Paper21

  1. Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni 等NeurIPS 2020 · 19,162 次引用
  2. LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
  3. Flamingo: a Visual Language Model for Few-Shot LearningJean-Baptiste Alayrac, Jeff Donahue, Pauline Luc, Antoine Miech 等NeurIPS 2022 · 6,707 次引用
  4. Plug and Play Language Models: A Simple Approach to Controlled Text GenerationSumanth Dathathri, Andrea Madotto, Janice Lan, Jane Hung 等ICLR 2020 · 1,166 次引用
  5. LUKE: Deep Contextualized Entity Representations with Entity-aware Self-attentionIkuya Yamada, Akari Asai, Hiroyuki Shindo, Hideaki Takeda 等EMNLP 2020 · 562 次引用

相关 Paper

  1. Unfreeze with Care: Space-Efficient Fine-Tuning of Semantic Parsing ModelsWeiqi Sun, Haidar Khan, Nicolas Guenon des Mesnards, Melanie Rubino 等WWW 2022 · 5 次引用
  2. Knowledge Rumination for Pre-trained Language ModelsYunzhi Yao, Peng Wang, Shengyu Mao, Chuanqi Tan 等EMNLP 2023 · 2 次引用
  3. Decouple knowledge from paramters for plug-and-play language modelingXin Cheng, Yankai Lin, Xiuying Chen, Dongyan Zhao 等ACL Findings 2023 · 4 次引用
  4. KILM: Knowledge Injection into Encoder-Decoder Language ModelsYan Xu, Mahdi Namazifar, Devamanyu Hazarika, Aishwarya Padmakumar 等ACL 2023 · 16 次引用
  5. Bridging Subword Gaps in Pretrain-Finetune Paradigm for Natural Language GenerationXin Liu, Baosong Yang, Dayiheng Liu, Haibo Zhang 等ACL 2021
黄昏的海面,两侧是细线勾勒的悬崖