Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Predict the Retrieval! Test time adaptation for Retrieval Augmented Generation

About

Retrieval-Augmented Generation (RAG) has emerged as a powerful approach for enhancing large language models' question-answering capabilities through the integration of external knowledge. However, when adapting RAG systems to specialized domains, challenges arise from distribution shifts, resulting in suboptimal generalization performance. In this work, we propose TTARAG, a test-time adaptation method that dynamically updates the language model's parameters during inference to improve RAG system performance in specialized domains. Our method introduces a simple yet effective approach where the model learns to predict retrieved content, enabling automatic parameter adjustment to the target domain. Through extensive experiments across six specialized domains, we demonstrate that TTARAG achieves substantial performance improvements over baseline RAG systems. Code available at https://github.com/sunxin000/TTARAG.

Xin Sun, Zhongqi Chen, Qiang Liu, Shu Wu, Bowen Song, Weiqiang Wang, Zilei Wang, Liang Wang• 2026

Related benchmarks

TaskDatasetResultRank
Question AnsweringPubMedQA
Accuracy57.4
145
Question AnsweringBioASQ
Accuracy75
57
Question AnsweringCRAG
Finance Score20.1
12
Retrieval-Augmented GenerationPubMedQA
Accuracy54
8
Retrieval-Augmented GenerationCRAG
Finance Accuracy16.4
5
Retrieval-Augmented GenerationBioASQ
Accuracy71.8
5
Showing 6 of 6 rows

Other info

Follow for update