Plug-and-Play Document Modules for Pre-trained Models
Not on the map. Why?
Abstract (arXiv)
Large-scale pre-trained models (PTMs) have been widely used in document-oriented NLP tasks, such as question answering. However, the encoding-task coupling requirement results in the repeated encoding of the same documents for different tasks and queries, which is highly computationally inefficient. To this end, we target to decouple document encoding from downstream tasks, and propose to represent each document as a plug-and-play document module, i.e., a document plugin, for PTMs (PlugD). By inserting document plugins into the backbone PTM for downstream tasks, we can encode a document one time to handle multiple tasks, which is more efficient than conventional encoding-task coupling methods that simultaneously encode documents and input queries using task-specific encoders. Extensive experiments on 8 datasets of 4 typical NLP tasks show that PlugD enables models to encode documents once and for all across different scenarios. Especially, PlugD can save 69% computational costs while achieving comparable performance to state-of-the-art encoding-task coupling methods. Additionally, we show that PlugD can serve as an effective post-processing way to inject knowledge into task-specific models, improving model performance without any additional model training.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 62 of its 73 references that are in the map. First posted on arXiv 28 May 2023.
Builds on
62 of 73 references.
References · 62
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
38 more
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2018Deep contextualized word representationscited by 2,285
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
- 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,362
- 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,234
- 2019How Can We Know What Language Models Know?cited by 953
- 2020A Primer in BERTology: What we know about how BERT workscited by 807
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 793
- 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 786
- 2020Efficient Transformers: A Surveycited by 784
- 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 780
- 2017Reading Wikipedia to Answer Open-Domain Questionscited by 777
- 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
- 2021Knowledge Neurons in Pretrained Transformerscited by 590
- 2020KILT: a Benchmark for Knowledge Intensive Language Taskscited by 571
- 2019ELI5: Long Form Question Answeringcited by 567
- 2018Wizard of Wikipedia: Knowledge-Powered Conversational agentscited by 530
- 2019ERNIE: Enhanced Language Representation with Informative Entitiescited by 525
- 2021Fast Model Editing at Scalecited by 491
- 2019COMET: Commonsense Transformers for Automatic Knowledge Graph Constructioncited by 450
- 2020MAD-X: An Adapter-Based Framework for Multi-Task Cross-Lingual Transfercited by 443
- 2017Supervised Learning of Universal Sentence Representations from Natural Language Inference Datacited by 428
- 2017Zero-Shot Relation Extraction via Reading Comprehensioncited by 425
- 2015Skip-Thought Vectorscited by 321
- 2021Pre-Trained Models: Past, Present and Futurecited by 319
- 2020K-Adapter: Infusing Knowledge into Pre-Trained Models with Adapterscited by 318
- 2022Long Range Language Modeling via Gated State Spacescited by 265
- 2022Delta Tuning: A Comprehensive Study of Parameter Efficient Methods for Pre-trained Language Modelscited by 179
50 most cited of 62 All 62 (JSON)
Built on by
Citing papers per year: 2024: 2; 2025: 4.
6 papers.
- 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 74
- 2024Diff-Plugin: Revitalizing Details for Diffusion-based Low-level Taskscited by 47
- 2025Parametric Retrieval Augmented Generationcited by 38
- 2025Training Plug-n-Play Knowledge Modules with Deep Context Distillationcited by 22
- 2025Fine-Grained Emotion Recognition via In-Context Learningcited by 2
- 2024E-ICL: Enhancing Fine-Grained Emotion Recognition through the Lens of Prototype Theorycited by 1
- 2025Fine-Grained Emotion Recognition via In-Context Learning8 Oct 2025
- 2025Cartridges: Lightweight and general-purpose long context representations via self-study6 Jun 2025
- 2025Training Plug-n-Play Knowledge Modules with Deep Context Distillation11 Mar 2025
- 2025Parametric Retrieval Augmented Generation27 Jan 2025
- 2024E-ICL: Enhancing Fine-Grained Emotion Recognition through the Lens of Prototype Theory4 Jun 2024
- 2024Diff-Plugin: Revitalizing Details for Diffusion-based Low-level Tasks1 Mar 2024