atlas

Research map / Large language models / Retrieval and knowledge

One Token Can Help! Learning Scalable and Pluggable Virtual Tokens for Retrieval-Augmented Large Language Models

AAAI 2025 · Large language models › Retrieval and knowledge · approach: RAG robustness and evaluation · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes SPRING, a frozen-LLM tuning method that learns a small set of pluggable virtual token embeddings placed between retrieved passages and the question, scalable to any number of tokens and robust to retrievers and passage counts.

Problem

Fine-tuning LLMs for retrieval-augmented generation improves RAG performance but degrades general generation abilities in non-RAG settings and causes prompt overfitting, which is problematic for already-deployed LLMs.

Approach

Freeze the LLM and train only embeddings of n virtual tokens inserted between retrieved passages and the question; a random-prefix training scheme (using first k tokens) makes the number of tokens adjustable at inference, and the tokens can be removed for non-RAG queries.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add 50 trainable virtual tokens instead of using a manually crafted promptMistral-7b-instruct · 12 QA datasets, with retrievalEM: 19.80 -> 28.40Helped
Add 50 trainable virtual tokens instead of using a manually crafted promptMistral-7b-instruct · 12 QA datasets, with retrievalF1: 51.30 -> 60.15Helped
Use SPRING rather than LoRA for RAG fine-tuningMistral-7b-instruct · 12 QA datasets, with retrievalEM: 30.78 -> 28.40Hurt
Use SPRING rather than LoRA for RAG fine-tuningMistral-7b-instruct · GSM8K, 8-shotaccuracy: 17.33 -> 31.89Helped
Move virtual tokens from between retrieved passages and question to the beginning (ablation)SPRING · Average on nine QA datasetsEM: 34.35 -> 6.53Hurt
Move virtual tokens from between retrieved passages and question to the end (ablation)SPRING · Average on nine QA datasetsF1: 65.00 -> 63.97Hurt
Train on a mixture of QA datasets rather than only TQA (ablation)SPRING · Average on nine QA datasetsEM: 26.66 -> 34.35Helped
Train on a mixture of QA datasets rather than only NQ (ablation)SPRING · Average on nine QA datasetsF1: 61.40 -> 65.00Helped
Evaluate the E5-large-trained virtual tokens with BM25 rather than E5-large retrieval (ablation)SPRING · Average on nine QA datasetsEM: 34.35 -> 30.94Hurt
Fine-tune LoRA for RAG rather than use SPRING tokensMistral-7b-instruct · 12 QA datasets, without retrievalEM: 16.32 -> 0.02Hurt

Surprising findings

Limitations

Experimental setup

Datasets: TriviaQA Natural Questions HotpotQA SQuAD 1.1 Web Questions 2WikiMultiHopQA CoQA MS MARCO PopQA Fermi Musique Bamboogle

Benchmarks: TriviaQA Natural Questions HotpotQA SQuAD 1.1 Web Questions 2WikiMultiHopQA CoQA MS MARCO PopQA Fermi Musique Bamboogle

Metrics: exact match F1

Baselines: Concat Prompt Prefix-tuning LoRA AAR LongLLMLingua RECOMP Self-RAG

Builds on: prefix-tuning LoRA prompt tuning

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy