VoiceAgentRAG: Solving the RAG Latency Bottleneck in Real-Time Voice Agents Using Dual-Agent Architectures

Jielin Qiu, Jianguo Zhang, Zixiang Chen, Liangwei Yang, Ming Zhu, Juntao Tan, Haolin Chen, Wenting Zhao, Rithesh Murthy, Roshan Ram, Akshara Prabhakar, Shelby Heinecke, Caiming Xiong, Silvio Savarese, Huan WangarXiv 2026

TL;DR

VoiceAgentRAG introduces an open-source, dual-agent architecture that eliminates the retrieval latency bottleneck in real-time voice AI assistants. By decoupling knowledge retrieval from response generation using a background "Slow Thinker" agent and a foreground "Fast Talker" agent, the system achieves a 316× retrieval speedup and a 75% overall cache hit rate, bringing RAG pipelines well within the natural sub-200ms conversational window.

What Problem Does This Paper Address?

For a voice-enabled AI agent to feel natural, it needs to respond within 200 milliseconds. This tight budget must accommodate speech-to-text (STT), context retrieval, LLM generation, and text-to-speech (TTS).

While Retrieval-Augmented Generation (RAG) is the gold standard for grounding LLMs in domain-specific knowledge, it introduces a massive latency bottleneck. Querying a production cloud vector database typically takes 50–300ms due to network round-trips alone. This single step can completely exhaust the latency budget. Existing solutions like reactive semantic caching only help if the exact same query is repeated, which rarely happens in fluid, multi-turn voice conversations.

Methods

The authors propose VoiceAgentRAG, a dual-agent architecture inspired by Kahneman’s System 1/System 2 cognitive framework. The architecture splits the RAG pipeline into two concurrent processes coordinated by a Memory Router:

  1. The Slow Thinker (Background Agent): Operating asynchronously while the user listens or speaks, this agent uses an LLM to predict 3–5 likely follow-up topics based on the conversation history. It proactively fetches relevant document chunks from the remote vector database and populates a local, in-memory FAISS semantic cache.
  2. The Fast Talker (Foreground Agent): This agent handles the immediate user query. It bypasses the remote database entirely by performing a sub-millisecond lookup on the local semantic cache. If it encounters a cache miss, it falls back to the vector database and immediately caches the result to handle subsequent related questions.
Architecture diagram of VoiceAgentRAG showing the interaction between the Slow Thinker, Fast Talker, Semantic Cache, and Vector Store.

A key technical innovation is that the semantic cache indexes document chunks by their own embeddings rather than the predicted query embeddings. This ensures that even if the background agent's exact query prediction is slightly off, a proper semantic search is executed over the pre-fetched content when the actual user query arrives.

Datasets

Because no standard benchmark exists for multi-turn voice RAG latency evaluation, the authors constructed a synthetic enterprise knowledge base for a fictional platform called "NovaCRM." * Knowledge Base: 12 documents split into 76 chunks covering pricing, APIs, security, and troubleshooting. * Evaluation Benchmark: 200 queries split across 10 distinct conversation scenarios (20 turns each), simulating diverse customer support patterns ranging from single-topic deep-dives to rapid-fire random questions.

Key Insights and Ideas

  • Conversational Predictability: Multi-turn conversations are highly localized. If a user asks about pricing, they are highly likely to ask about enterprise plans or discounts next. VoiceAgentRAG exploits the natural 3–7 second pauses between turns to pre-fetch this context.
  • The Document Embedding "Aha" Moment: Early designs cached entries using the predicted query's embedding, which led to irrelevant cache hits. Switching to indexing by document embeddings allowed the local cache to act as a mini, high-fidelity vector database, drastically improving precision.
  • Query-to-Document Asymmetry: The authors found that query-to-document cosine similarity is systematically lower (0.30–0.55) than query-to-query similarity because queries are short questions while documents are descriptive prose. Calibrating the cache threshold to $\tau = 0.40$ was essential to balance precision and recall.

Key Results

The dual-agent architecture was evaluated against a traditional sequential RAG baseline using Qdrant Cloud.

Overall performance metrics comparing Traditional RAG and VoiceAgentRAG.
  • Massive Speedup: On cache hits, retrieval latency dropped from an average of 110.4ms to 0.35ms—a 316× speedup.
  • High Hit Rates: The system achieved a 75% overall cache hit rate, which rose to 79% on warm turns (excluding the very first query).
  • Rapid Warm-up: Due to the compounding effect of predictive pre-fetching and cache-on-miss behavior, the cache hit rate reached 86% by turns 5–9.
Cache hit rate progression across different turn ranges showing rapid cache warming.

Performance varied by conversation pattern: topically coherent scenarios like "Feature Comparison" hit up to 95%, whereas "Mixed Rapid-Fire" scenarios with frequent topic shifts dropped to 55%.

Limitations and Future Work

  • LLM Generation Bottleneck: While retrieval latency was virtually eliminated, total end-to-end latency remains dominated by LLM generation variance (500–8000ms via commercial APIs). The authors note that integrating ultra-fast inference engines (like Groq) or local models is required to make these retrieval savings fully apparent to the end-user.
  • API Overhead: Making 5 topic predictions per turn and fetching 10 chunks per prediction consumes significant embedding API bandwidth and can lead to wasted pre-fetch operations if predictions are incorrect. Exploring lighter prediction strategies, such as keyword extraction, is flagged for future work.
  • Cache Coherence: If the underlying knowledge base changes mid-conversation, the cache can become stale until the TTL (Time-To-Live) expiration triggers a refresh.

Summary updated

BibTeX
@misc{qiu2026voiceagentrag,
  author = {Jielin Qiu and Jianguo Zhang and Zixiang Chen and Liangwei Yang and Ming Zhu and Juntao Tan and Haolin Chen and Wenting Zhao and Rithesh Murthy and Roshan Ram and Akshara Prabhakar and Shelby Heinecke and Caiming Xiong and Silvio Savarese and Huan Wang},
  title = {{VoiceAgentRAG: Solving the RAG Latency Bottleneck in Real-Time Voice Agents Using Dual-Agent Architectures}},
  year = {2026},
  eprint = {2603.02206},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.02206},
}
Figure