mlsanityData to 7 Oct 2026

Context Tuning for Retrieval Augmented Generation

arXiv 2312.05708 ↗First posted 9 Dec 2023cs.IR cs.AI cs.LGcited by 6

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

  1. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  3. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  4. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  5. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
  6. 2022Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agentscited by 1,029
  7. 2023In-Context Retrieval-Augmented Language Modelscited by 694
  8. 2021Large Dual Encoders Are Generalizable Retrieverscited by 454
  9. 2023Large Language Models are Effective Text Rankers with Pairwise Ranking Promptingcited by 302
  10. 2022QUILL: Query Intent with Large Language Models using Retrieval Augmentation and Multi-stage Distillationcited by 21

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 3; 2025: 1; 2026: 1.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Enhancing Retrieval-Augmented Generation: A Study of Best Practices
  2. 2026Mapping the RAG Landscape: A Four Axis Taxonomy of Efficiency, Defense, Interactivity, and Reasoning
  3. 2025Dynamic and Parametric Retrieval-Augmented Generation
  4. 2024Towards Optimizing a Retrieval Augmented Generation using Large Language Model on Academic Data
  5. 2025Dynamic Context Tuning for Retrieval-Augmented Generation: Enhancing Multi-Turn Planning and Tool Adaptation
  6. 2024Retrieval Augmented Generation (RAG) and Beyond: A Comprehensive Survey on How to Make your LLMs use External Data More Wisely
  7. 2025Dynamic Context Selection for Retrieval-Augmented Generation: Mitigating Distractors and Positional Bias
  8. 2024Long-Context LLMs Meet RAG: Overcoming Challenges for Long Inputs in RAG