SAGE: SLO-Aware Adaptive Retrieval for Production RAG Systems

Muhammad Faizan Raza, Shuo, Yang, Satish Mahadevan Srinivasan
8/8/2026
cs.LGcs.CLcs.DC
rag

No confident code implementation found for this paper.

Abstract

Retrieval-Augmented Generation (RAG) systems in production operate under strict service level objectives (SLOs) on tail latency and infrastructure cost. However, standard retrieval pipelines rely on fixed retrieval budgets that ignore query difficulty, over-retrieving for easy queries and under-serving hard ones, forcing operators to trade answer quality against SLO compliance.

Show full abstract

This paper proposes SAGE, a learned SLO-aware adaptive retrieval policy that dynamically selects the number of passages k per query. SAGE uses lightweight features derived from initial retrieval (e.g., score distributions, rank gaps, lexical signals) and is trained offline via imitation learning from an oracle that approximates optimal latency-quality trade-offs. At inference, it adds no LLM calls and minimal overhead. On Natural Questions, under a 5s P95 latency SLO, SAGE achieves 95% SLO compliance versus 30% for the best static baseline (k=20), reduces P95 latency by 36% and retrieval cost by 51% with only 2 percentage points Exact Match (EM) loss. A single policy trained on Natural Questions generalizes across HotpotQA, UnSeenTimeQA, and four LLM families (Llama, Qwen, Mistral, Gemma), consistently yielding +45-52 point SLO improvements without quality degradation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{raza2026sage,
  title  = {SAGE: SLO-Aware Adaptive Retrieval for Production RAG Systems},
  author = {Muhammad Faizan Raza and Shuo and Yang and Satish Mahadevan Srinivasan},
  year   = {2026},
  eprint = {2608.08237},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.08237v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.08237.svg)](https://codeofpaper.com/paper/2608.08237)

Discussion