- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 4
- Quality
- 2
- Significance
- 3
Read review
Summary
This paper proposes LatentRAG, a framework for reducing inference latency in agentic retrieval-augmented generation. Existing agentic RAG methods iteratively generate natural-language thoughts and subqueries before retrieving documents, and the paper argues that this autoregressive generation is the main latency bottleneck. LatentRAG replaces explicit intermediate thoughts and subqueries with latent thought/query tokens, using their hidden states for reasoning and retrieval.
The method aligns latent subquery representations with a dense retriever through a projector and a KL-based retrieval objective, trained using trajectories generated by Search-R1 and AutoRefine. The paper also introduces an optional latent decoding module that translates latent thoughts and subqueries back into natural language for transparency. Experiments on seven Wikipedia-based QA benchmarks show that LatentRAG achieves EM scores comparable to explicit agentic RAG baselines while reducing reported latency by around 90%. Ablations and latency breakdowns further support the role of the latent retrieval objective and decoding loss.
Strengths and weaknesses
Strengths
-
The method is novel and technically interesting.
The paper moves the explicit thoughts and subqueries in agentic RAG into latent space, using the hidden states of latent thought/query tokens for reasoning and retrieval. This is different from simply shortening queries, reducing retrieval steps, or compressing prompts. The KL-based latent retrieval alignment and optional latent decoding also make the overall framework relatively complete. -
The experimental results show substantial latency reduction.
On several Wikipedia-based QA benchmarks, LatentRAG achieves EM scores comparable to Search-R1 and AutoRefine while reporting around 90% average latency reduction. The stage-wise latency analysis also shows that the main cost of explicit agentic RAG comes from autoregressive thought and subquery generation, which LatentRAG substantially reduces. -
The appendix contains useful additional analysis.
The paper provides a relatively rich set of supplementary experiments and analyses, including different retrievers, different LLM/retriever scales, the number of latent tokens, trajectory quality, token/forward-pass counts, stage-wise latency breakdowns, and case studies. These analyses help clarify why the method reduces latency and how different components contribute to performance.
Weaknesses
-
The evaluation tasks are relatively simple, and generalization to harder tasks remains unclear.
The experiments mainly focus on Wikipedia-based factoid QA and standard multi-hop knowledge QA datasets, where answers are usually short, the retrieval corpus is fixed, and the reasoning process is relatively structured. The paper does not evaluate LatentRAG on more complex agentic search settings, such as hard browsing, dynamic web search, long-horizon research questions, conflicting evidence, unanswerable questions, or expert-level QA. Since such tasks may rely more heavily on explicit intermediate reasoning, query reformulation, and evidence verification, it remains unclear whether hiding thoughts/subqueries in latent space preserves both effectiveness and inspectability. -
The fairness of the latency measurement is questionable.
Latency reduction is the central contribution, but the paper measures decoding with the standard HuggingFace Transformers forward pass rather than optimized serving systems such as vLLM, SGLang, TensorRT-LLM, continuous batching, or speculative decoding. Since the baselines’ latency is dominated by autoregressive thought/subquery generation, which these systems are designed to optimize, the reported 16-22x gap and 90% reduction may be overstated. The authors should evaluate latency, throughput, and tail latency under optimized serving settings. -
The necessity of the small-model setting needs further justification in the era of stronger LLMs.
The paper mainly uses Qwen2.5-7B, with additional experiments on 3B and 14B models. For the relatively simple multi-hop QA tasks used in the paper, stronger contemporary LLMs may already perform well with direct answering, naive RAG, or shorter explicit reasoning. The paper should more clearly specify its target deployment setting. If LatentRAG is mainly intended for small-model, low-cost, or local deployment scenarios, the authors should provide a more focused cost-latency-accuracy analysis. If the claim is meant to be broader, the method should be evaluated with stronger LLMs and harder tasks to demonstrate its necessity and effectiveness.
Questions
See Weaknesses
Limitations
yes
Paper formatting concerns
No
Final justification
The rebuttal provides substantial new evidence that addresses my main concern. In particular, the comparison against Search-R1 under vLLM serving shows that LatentRAG retains a meaningful latency advantage even when the baseline uses an optimized inference framework. Although the improvement is smaller than the originally reported result, this experiment substantially strengthens the paper’s central efficiency claim. The new evaluations on Infoseek-Eval and BrowseComp-Plus also provide useful evidence of generalization to more challenging, long-horizon retrieval tasks. Some concerns remain, including the lack of concurrent-serving throughput evaluation, limited evidence on stronger LLMs, and the inspectability of latent reasoning. Nevertheless, I consider these remaining issues less critical than my original latency-fairness concern, and I have therefore decided to raise my score.
We sincerely thank the reviewer for the constructive feedback and valuable comments. Below, we respond to the main concerns.
W1: Generalization to complex tasks
The tasks used in our paper strictly follow the settings of Search-R1 and AutoRefine. We agree that evaluating on more complex tasks is important to further show the effectiveness of LatentRAG. However, most benchmarks for these tasks rely on black-box search APIs such as Google Search. Due to their dynamic nature, these APIs make reproducible comparisons challenging. Moreover, these APIs only accept text inputs and therefore cannot be directly applied to our latent retrieval setting. To evaluate LatentRAG on more complex tasks, we conducted new experiments on two long-horizon benchmark datasets, Infoseek-Eval [1] and BrowseComp-Plus [2]. Both datasets provide curated corpora that enable the construction of local retrieval systems.
Experimental Setup: We use AgentCPM-4B [3] as the teacher model, which is developed for long-horizon tasks. We construct training trajectories using the Infoseek-Train dataset [1] and train LatentRAG based on Qwen3-4B-Thinking-2507. We further train a text-based SFT model using the same training trajectories, denoted as Text-SFT, which serves as a more controlled baseline to LatentRAG.
Metrics: Following the evaluation protocol of BrowseComp-Plus, we report accuracy measured by Qwen3-32B as the judge model. We also report Cover EM, a rule-based metric that measures whether the ground-truth answer is covered by the generated answer. For efficiency evaluation, we report the average latency and TTFT (Time to First Token). TTFT measures the time from receiving a request to generating the first answer token. By excluding the subsequent answer generation phase, TTFT directly captures the efficiency gains from reducing reasoning and retrieval overhead. It also reflects the user's perceived waiting time before receiving the response. The results are reported below:
Infoseek-Eval:AgentCPMText-SFTLatentRAGBrowseComp-Plus:AgentCPMText-SFTLatentRAGLatentRAG outperforms both baselines while reducing the overall latency of AgentCPM by approximately 73% on Infoseek-Eval and 90% on BrowseComp-Plus. As LatentRAG primarily accelerates the reasoning and retrieval stages before answer generation, it achieves substantial TTFT reductions compared to AgentCPM, with a reduction of approximately 96% on InfoSeek-Eval and 98% on BrowseComp-Plus.
W2: Latency evaluation under optimized serving frameworks
Thank you for raising this important concern. Below, we first justify why we do not evaluate under optimized serving frameworks and why we use latency-related metrics. Then we discuss the two techniques mentioned and how they affect latency in model serving. Finally, we compare our method to the baseline method under optimized serving frameworks to show the latency advantage of LatentRAG.
Why not evaluate under optimized serving frameworks? We agree that evaluating under optimized LLM serving frameworks would better reflect latency under real-world deployment. However, existing serving frameworks are not optimized for the latent retrieval workflow and cannot be directly applied to our method. Specifically, vLLM and TensorRT-LLM do not support accessing hidden states, and SGLang only supports full hidden state extraction, which introduces unnecessary overhead since latent retrieval only requires hidden states corresponding to the special subquery tokens (around 2% of the full sequence). Therefore, we evaluate latency with the standard HuggingFace Transformers forward pass, which is consistent with the evaluation protocols commonly adopted by previous works on latent reasoning [4, 5].
Why focus on latency-related metrics? Throughput and latency under concurrent serving are important system-level metrics and often involve a trade-off. However, they primarily reflect performance in resource-constrained scenarios, where request scheduling and batching introduce additional waiting time. In contrast, our work focuses on the fundamental latency lower bound of individual requests under sufficient computational resources. In agentic RAG, this lower bound is dominated by the autoregressive generation bottleneck, which remains a challenge even when sufficient computation is available. Therefore, it cannot be easily addressed solely through serving infrastructure optimizations or simply allocating more computational resources, and instead requires algorithmic improvements. Nevertheless, since LatentRAG reduces the number of generated tokens, it has the potential to improve throughput and latency in concurrent serving. Evaluating these gains requires dedicated serving infrastructure optimizations, which we leave for future work.
How do continuous batching and speculative decoding affect serving latency? Continuous batching primarily improves throughput or latency under concurrent serving, but it does not fundamentally reduce the latency lower bound. Speculative decoding is an interesting technique that also tries to mitigate the autoregressive bottleneck. Specifically, it incorporates a small draft model to quickly generate multiple candidate tokens, which are then verified by the target model in a single forward pass. However, this approach requires the draft model to closely match the target model to achieve a high acceptance rate. In complex agentic RAG scenarios, a smaller draft model may struggle to generate outputs consistent with the target model. Moreover, speculative decoding introduces additional computational overhead from draft generation and verification. In contrast, LatentRAG requires only a single forward pass per retrieval step and does not introduce this additional overhead.
How does LatentRAG perform compared with baselines using optimized serving frameworks? We compare the latency of LatentRAG to that of Search-R1 with vLLM serving:
LatentRAG (HF Transformers)Search-R1 (HF Transformers)Search-R1 (vLLM)Search-R1 (vLLM + Spec.)Search-R1 (vLLM + Spec.)Search-R1 (vLLM + Spec.)Search-R1 (vLLM + Spec.)Search-R1 (vLLM + Spec.)Search-R1 (vLLM + Spec.)Search-R1 with vLLM serving significantly reduces inference latency compared to the HF Transformers implementation. However, even without any serving optimization, LatentRAG still achieves lower latency than Search-R1 with vLLM serving. Furthermore, applying speculative decoding with Qwen2.5-0.5B as the draft model does not reduce Search-R1 latency in our setting. Instead, it increases latency due to the additional draft generation and verification. We further finetuned the draft model with Search-R1 trajectories, denoted as SFT-Qwen2.5-0.5B, to improve the speculative acceptance rate (from 32.48% to 69.61% when using 10 speculative tokens). However, it still underperforms standard vLLM inference. The P95 and P99 tail latencies show similar trends, with LatentRAG achieving the lowest latency.
We will include all the above analyses in the final version of our paper and clearly describe the scope of our work and the settings for latency evaluation. As a new direction, we acknowledge that LatentRAG currently lacks dedicated serving infrastructure support. We hope our work can serve as an initial step toward inspiring further research and infrastructure development.
W3: Necessity of the small-model setting
To ensure fair comparisons, we strictly follow the experimental setup of Search-R1 and AutoRefine, both of which are built on Qwen2.5 models. As pointed out, stronger models may already achieve high performance through direct answering. Evaluating on such models makes it more difficult to assess their retrieval ability, as the LLM itself may already have seen the required knowledge during pretraining. As a result, these models may achieve strong benchmark performance while failing to generalize to real-world scenarios involving proprietary data. Therefore, in this paper, we mainly conduct experiments on Qwen2.5 models from 3B to 14B. We will clarify the scope of our claims in the final paper to make it focus more on small models. Nevertheless, since larger models typically incur higher inference latency, they may provide more opportunities for latency optimization. Future research could investigate whether LatentRAG remains effective and beneficial when scaled to larger models.
References
[1] Xia et al. Open data synthesis for deep research. arXiv:2509.00375, 2025
[2] Chen et al. BrowseComp-Plus: A more fair and transparent evaluation benchmark of deep-research agent. arXiv:2508.06600, 2025.
[3] Chen et al. AgentCPM-Explore: Realizing long-horizon deep exploration for edge-scale agents. arXiv:2602.06485, 2026
[4] Hao et al. Training large language models to reason in a continuous latent space. In COLM, 2025.
[5] He et al. Semcot: Accelerating chain-of-thought reasoning through semantically-aligned implicit tokens. In NeurIPS, 2025.