One Token Can Help! Learning Scalable and Pluggable Virtual Tokens for Retrieval-Augmented Large Language Models
On the map: Retrieval-augmented generation → RAG pipeline design and evaluation
Abstract (arXiv)
Retrieval-augmented generation (RAG) is a promising way to improve large language models (LLMs) for generating more factual, accurate, and up-to-date content. Existing methods either optimize prompts to guide LLMs in leveraging retrieved information or directly fine-tune LLMs to adapt to RAG scenarios. Although fine-tuning can yield better performance, it often compromises the LLMs' general generation capabilities by modifying their parameters. This limitation poses challenges in practical applications, especially when LLMs are already deployed, as parameter adjustments may affect their original functionality. To address this, we propose a novel method that involves learning scalable and pluggable virtual tokens for RAG. By maintaining the LLMs' original parameters and fine-tuning only the embeddings of these pluggable tokens, our approach not only enhances LLMs' performance but also preserves their general generation capabilities. Furthermore, we design several training strategies to improve the scalability, flexibility, and generalizability of our method. Comprehensive experiments across 12 question-answering tasks demonstrate the superiority of our approach.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 51 of its 65 references that are in the map. First posted on arXiv 30 May 2024.
Builds on
51 of 65 references.
References · 51
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
38 more
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
- 2021Improving language models by retrieving from trillions of tokenscited by 1,278
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
- 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,216
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
- 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,103
- 2021CLIP-Adapter: Better Vision-Language Models with Feature Adapterscited by 1,021
- 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 940
- 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 786
- 2023LLaMA-Adapter: Efficient Fine-tuning of Language Models with Zero-init Attentioncited by 776
- 2021GPT Understands, Toocited by 715
- 2023In-Context Retrieval-Augmented Language Modelscited by 694
- 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 686
- 2018CoQA: A Conversational Question Answering Challengecited by 674
- 2020KILT: a Benchmark for Knowledge Intensive Language Taskscited by 571
- 2022Vision Transformer Adapter for Dense Predictionscited by 564
- 2017Learning multiple visual domains with residual adapterscited by 553
- 2020UnifiedQA: Crossing Format Boundaries With a Single QA Systemcited by 475
- 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 376
- 2023Making Retrieval-Augmented Language Models Robust to Irrelevant Contextcited by 364
- 2023Large Language Models for Information Retrieval: A Surveycited by 331
- 2023RA-DIT: Retrieval-Augmented Dual Instruction Tuningcited by 194
- 2023Efficient Large Language Models: A Surveycited by 183
- 2020Exploring Versatile Generative Language Model Via Parameter-Efficient Transfer Learningcited by 139
- 2023Learning to Filter Context for Retrieval-Augmented Generationcited by 82
- 2024Small Models, Big Insights: Leveraging Slim Proxy Models To Decide When and What to Retrieve for LLMscited by 34
- 2024BIDER: Bridging Knowledge Inconsistency for Efficient Retrieval-Augmented LLMs via Key Supporting Evidencecited by 28
50 most cited of 51 All 51 (JSON)
Built on by
Citing papers per year: 2024: 3; 2025: 0; 2026: 1.
4 papers.
- 20241.5-Pints Technical Report: Pretraining in Days, Not Months -- Your Language Model Thrives on Quality Datacited by 6
- 2024From Pixels to Tokens: Revisiting Object Hallucinations in Large Vision-Language Modelscited by 5
- 2024OrthoDoc: Multimodal Large Language Model for Assisting Diagnosis in Computed Tomographycited by 3
- 2026ReToken: One Token to Improve Vision-Language Models for Visual Retrievalcited by 0
- 2026ReToken: One Token to Improve Vision-Language Models for Visual Retrieval30 Jul 2026
- 2024From Pixels to Tokens: Revisiting Object Hallucinations in Large Vision-Language Models9 Oct 2024
- 2024OrthoDoc: Multimodal Large Language Model for Assisting Diagnosis in Computed Tomography30 Aug 2024
- 20241.5-Pints Technical Report: Pretraining in Days, Not Months -- Your Language Model Thrives on Quality Data7 Aug 2024
Similar, not cited
Close in wording, no citation either way
- 2024Semantic Tokens in Retrieval Augmented Generation
- 2024A Survey on Retrieval-Augmented Text Generation for Large Language Models
- 2024Long-Context LLMs Meet RAG: Overcoming Challenges for Long Inputs in RAG
- 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Models
- 2025Stronger Baselines for Retrieval-Augmented Generation with Long-Context Language Models
- 2025Retrieval-Augmented Generation: A Comprehensive Survey of Architectures, Enhancements, and Robustness Frontiers
- 2025When Retrieval Succeeds and Fails: Rethinking Retrieval-Augmented Generation for LLMs
- 2023Retrieval-Augmented Generation for Large Language Models: A Survey