Context Tuning for Retrieval Augmented Generation
On the map: Retrieval-augmented generation → RAG pipeline design and evaluation
Abstract (arXiv)
Large language models (LLMs) have the remarkable ability to solve new tasks with just a few examples, but they need access to the right tools. Retrieval Augmented Generation (RAG) addresses this problem by retrieving a list of relevant tools for a given task. However, RAG's tool retrieval step requires all the required information to be explicitly present in the query. This is a limitation, as semantic search, the widely adopted tool retrieval method, can fail when the query is incomplete or lacks context. To address this limitation, we propose Context Tuning for RAG, which employs a smart context retrieval system to fetch relevant information that improves both tool retrieval and plan generation. Our lightweight context retrieval model uses numerical, categorical, and habitual usage signals to retrieve and rank context items. Our empirical results demonstrate that context tuning significantly enhances semantic search, achieving a 3.5-fold and 1.5-fold improvement in Recall@K for context retrieval and tool retrieval tasks respectively, and resulting in an 11.6% increase in LLM-based planner accuracy. Additionally, we show that our proposed lightweight model using Reciprocal Rank Fusion (RRF) with LambdaMART outperforms GPT-4 based retrieval. Moreover, we observe context augmentation at plan generation, even after tool retrieval, reduces hallucination.
Key facts. Cited by 6 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 10 of its 35 references that are in the map. First posted on arXiv 9 Dec 2023.
Builds on
10 of 35 references.
References · 10
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2022Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agentscited by 1,029
- 2023In-Context Retrieval-Augmented Language Modelscited by 694
- 2021Large Dual Encoders Are Generalizable Retrieverscited by 454
- 2023Large Language Models are Effective Text Rankers with Pairwise Ranking Promptingcited by 302
- 2022QUILL: Query Intent with Large Language Models using Retrieval Augmentation and Multi-stage Distillationcited by 21
Built on by
Citing papers per year: 2023: 1; 2024: 3; 2025: 1; 2026: 1.
6 papers.
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,185
- 2024Financial Report Chunking for Effective Retrieval Augmented Generationcited by 46
- 2024Modular RAG: Transforming RAG Systems into LEGO-like Reconfigurable Frameworkscited by 41
- 2024Enhancing Embedding Performance through Large Language Model-based Text Enrichment and Rewritingcited by 6
- 2025A Systematic Framework for Enterprise Knowledge Retrieval: Leveraging LLM-Generated Metadata to Enhance RAG Systemscited by 3
- 2026Tape: A Cellular Automata Benchmark for Evaluating Rule-Shift Generalization in Reinforcement Learningcited by 0
- 2026Tape: A Cellular Automata Benchmark for Evaluating Rule-Shift Generalization in Reinforcement Learning8 Jan 2026
- 2025A Systematic Framework for Enterprise Knowledge Retrieval: Leveraging LLM-Generated Metadata to Enhance RAG Systems5 Dec 2025
- 2024Modular RAG: Transforming RAG Systems into LEGO-like Reconfigurable Frameworks26 Jul 2024
- 2024Enhancing Embedding Performance through Large Language Model-based Text Enrichment and Rewriting18 Apr 2024
- 2024Financial Report Chunking for Effective Retrieval Augmented Generation5 Feb 2024
- 2023Retrieval-Augmented Generation for Large Language Models: A Survey18 Dec 2023
Similar, not cited
Close in wording, no citation either way
- 2025Enhancing Retrieval-Augmented Generation: A Study of Best Practices
- 2026Mapping the RAG Landscape: A Four Axis Taxonomy of Efficiency, Defense, Interactivity, and Reasoning
- 2025Dynamic and Parametric Retrieval-Augmented Generation
- 2024Towards Optimizing a Retrieval Augmented Generation using Large Language Model on Academic Data
- 2025Dynamic Context Tuning for Retrieval-Augmented Generation: Enhancing Multi-Turn Planning and Tool Adaptation
- 2024Retrieval Augmented Generation (RAG) and Beyond: A Comprehensive Survey on How to Make your LLMs use External Data More Wisely
- 2025Dynamic Context Selection for Retrieval-Augmented Generation: Mitigating Distractors and Positional Bias
- 2024Long-Context LLMs Meet RAG: Overcoming Challenges for Long Inputs in RAG