LatentRAG: Latent Reasoning and Retrieval for Efficient Agentic RAG
Yijia Zheng, Marcel Worring
NeurIPS 2026
TL;DR. We propose LatentRAG, a novel agentic RAG framework that shifts both reasoning and retrieval from discrete language space to continuous latent space, reducing overall latency by approximately 90%.
Abstract. Single-step retrieval-augmented generation (RAG) provides an efficient way to incorporate external information for simple question answering tasks but struggles with complex questions. Agentic RAG extends this paradigm by replacing single-step retrieval with a multi-step process, in which the large language model (LLM) acts as a search agent that generates intermediate thoughts and subqueries to iteratively interact with the retrieval system. This iterative process incurs substantial latency due to the autoregressive generation of lengthy thoughts and subqueries. To address this limitation, we propose LatentRAG, a novel framework that shifts both reasoning and retrieval from discrete language space to continuous latent space. Unlike existing explicit methods that generate natural language thoughts or subqueries token-by-token, LatentRAG produces latent tokens for thoughts and subqueries directly from the hidden states in a single forward pass. We align LLMs with dense retrieval models in the latent space, enabling retrieval over latent subquery tokens and supporting end-to-end joint optimization. To improve transparency and encourage semantically meaningful latent representations, we incorporate a parallel latent decoding mechanism that translates latent tokens back into natural language. Extensive experiments on seven benchmark datasets show that LatentRAG achieves performance comparable to explicit agentic RAG methods while reducing inference latency by approximately 90%, substantially narrowing the latency gap with traditional single-step RAG.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:44 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper presents LatentRAG, an agentic RAG framework that replaces autoregressively generated thoughts and subqueries with latent tokens. Their hidden states are used for action prediction and retrieval through a learned projection and a KL-based alignment objective. Across seven QA benchmarks, the method achieves accuracy comparable to explicit agentic RAG baselines while reporting roughly 90% lower inference latency. An optional decoder maps the latent representations back to natural language for interpretability.
Strength:
- The proposed combination of latent reasoning, latent retrieval, and retrieval-space alignment is technically interesting.
- The reported efficiency gains are impressive.
- The paper provides detailed ablation studies covering retriever and model scale, trajectory quality, latent-token count, and stage-wise latency.
Weaknesses:
- The evaluated task is limited as they focus on fixed-corpus, short-answer Wikipedia QA.
- latency is measured using standard HuggingFace inference rather than most widely used optimized serving systems such as vLLM or SGLang.
- LatentRAG fine-tunes its retriever whereas the compared baselines use frozen retrievers, making the comparison potentially favorable to the proposed method
- LatentRAG might be sensitive to teacher quality, the ability to switch retrievers without retraining, and the faithfulness of decoded explanations to the underlying latent computations.
For the author response, the most decision-relevant additions would be latency results under an optimized serving stack, a frozen-retriever ablation with directly comparable baselines, and clarification or experiments regarding cross-retriever transfer. Evaluation on at least one harder or longer-horizon retrieval setting would further strengthen the paper. No author response or subsequent reviewer discussion was included in the provided record, so these issues remain open.
Final justification
meta-review already includes your updated justification
- Final justification
- meta-review already includes your updated justification
Read meta-review
Meta-review
This paper presents LatentRAG, an agentic RAG framework that replaces autoregressively generated thoughts and subqueries with latent tokens. Their hidden states are used for action prediction and retrieval through a learned projection and a KL-based alignment objective. Across seven QA benchmarks, the method achieves accuracy comparable to explicit agentic RAG baselines while reporting roughly 90% lower inference latency. An optional decoder maps the latent representations back to natural language for interpretability.
Strength:
- The proposed combination of latent reasoning, latent retrieval, and retrieval-space alignment is technically interesting.
- The reported efficiency gains are impressive.
- The paper provides detailed ablation studies covering retriever and model scale, trajectory quality, latent-token count, and stage-wise latency.
Weaknesses:
- The evaluated task is limited as they focus on fixed-corpus, short-answer Wikipedia QA.
- latency is measured using standard HuggingFace inference rather than most widely used optimized serving systems such as vLLM or SGLang.
- LatentRAG fine-tunes its retriever whereas the compared baselines use frozen retrievers, making the comparison potentially favorable to the proposed method
- LatentRAG might be sensitive to teacher quality, the ability to switch retrievers without retraining, and the faithfulness of decoded explanations to the underlying latent computations.
For the author response, the most decision-relevant additions would be latency results under an optimized serving stack, a frozen-retriever ablation with directly comparable baselines, and clarification or experiments regarding cross-retriever transfer. Evaluation on at least one harder or longer-horizon retrieval setting would further strengthen the paper. No author response or subsequent reviewer discussion was included in the provided record, so these issues remain open.
1 comment
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 4/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
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
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.
Formatting concerns
No
3 comments
Rebuttal
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:
| Method | Accuracy (%) ↑ | Cover EM (%) ↑ | Latency (s) ↓ | TTFT (s) ↓ | # Steps |
|---|---|---|---|---|---|
AgentCPM |
46.33 | 38.67 | 165.88 | 131.48 | 21.61 |
Text-SFT |
44.00 | 38.33 | 155.38 | 114.70 | 21.25 |
LatentRAG |
53.00 | 45.00 | 44.84 | 4.61 | 19.39 |
BrowseComp-Plus:
| Method | Accuracy (%) ↑ | Cover EM (%) ↑ | Latency (s) ↓ | TTFT (s) ↓ | # Steps |
|---|---|---|---|---|---|
AgentCPM |
14.70 | 14.10 | 468.46 | 438.63 | 29.10 |
Text-SFT |
14.94 | 13.13 | 355.12 | 314.41 | 28.98 |
LatentRAG |
16.14 | 16.27 | 46.31 | 6.80 | 28.78 |
LatentRAG 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:
| Method | Draft Model | # Spec. Tokens | Latency (ms) ↓ | P95 Tail Latency (ms) ↓ | P99 Tail Latency (ms) ↓ |
|---|---|---|---|---|---|
LatentRAG (HF Transformers) |
— | — | 593 (1.0$\times$) | 821 | 886 |
Search-R1 (HF Transformers) |
— | — | 5,372 (9.1$\times$) | 9,737 | 16,843 |
Search-R1 (vLLM) |
— | — | 1,506 (2.5$\times$) | 2,454 | 2,899 |
Search-R1 (vLLM + Spec.) |
Qwen2.5-0.5B | 3 | 2,129 (3.6$\times$) | 3,222 | 3,733 |
Search-R1 (vLLM + Spec.) |
Qwen2.5-0.5B | 5 | 2,788 (4.7$\times$) | 4,279 | 4,742 |
Search-R1 (vLLM + Spec.) |
Qwen2.5-0.5B | 10 | 4,546 (7.7$\times$) | 6,737 | 7,408 |
Search-R1 (vLLM + Spec.) |
SFT-Qwen2.5-0.5B | 3 | 1,738 (2.9$\times$) | 2,850 | 3,337 |
Search-R1 (vLLM + Spec.) |
SFT-Qwen2.5-0.5B | 5 | 2,048 (3.5$\times$) | 3,425 | 3,912 |
Search-R1 (vLLM + Spec.) |
SFT-Qwen2.5-0.5B | 10 | 2,750 (4.6$\times$) | 4,597 | 5,490 |
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.
Although the rebuttal does not fully resolve all of my concerns, the additional experiments on the fairness of the latency evaluation have effectively addressed my main concern, and I have therefore decided to raise my score.
Thank you for raising the score. We are delighted to know that our additional experiments have effectively addressed your main concerns. As this work explores a new direction in agentic RAG, we acknowledge that existing infrastructure support for LatentRAG remains limited, and evaluations with large-scale models are still underexplored. We hope this work can serve as a foundation for future research and inspire the community to further investigate and validate this direction through large-scale deployments.
If you have any further questions or would like to discuss any aspects of our work in more detail, we would be glad to provide further clarification. We sincerely appreciate your time and effort in providing constructive feedback and helping us improve our work. We will incorporate all the discussions and additional experimental results into the final version of our paper.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes LatentRAG, an efficient agentic RAG framework that performs intermediate reasoning and retrieval in the continuous latent space rather than explicitly generating natural-language thoughts and subqueries. The method replaces textual thoughts and subqueries with special latent thought and query tokens, whose hidden states are used for action prediction and retrieval. To make latent queries usable for dense retrieval, the paper introduces a latent-space alignment objective that matches the document similarity distribution induced by latent subquery embeddings to that induced by natural-language subqueries. The paper further introduces an optional latent decoding mechanism to translate latent thoughts and subqueries back into text for transparency. Experiments show that LatentRAG substantially reduces inference latency.
Strengths and weaknesses
Strengths
-
Existing agentic RAG systems often improve multi-hop QA performance but incur high latency due to autoregressive generation of intermediate thoughts and subqueries. The paper clearly identifies this bottleneck and proposes a method that directly targets it.
-
The paper reports large latency reductions, often close to 90%, while maintaining performance close to Search-R1 and AutoRefine. The latency breakdowns are useful and convincingly show that most of the speedup comes from avoiding sequential thought and subquery generation.
-
Moving both reasoning and subquery generation into latent space is non-trivial because retrieval systems usually require explicit text queries or query embeddings. The KL-based alignment between latent-query-induced and text-query-induced document distributions is a reasonable way to make latent tokens usable for retrieval.
Weaknesses
-
LatentRAG is trained with SFT on trajectories generated by Search-R1 or AutoRefine, and only successful trajectories are retained. This means the method is largely a compression or distillation of existing agentic RAG behaviors rather than a method that learns a better retrieval policy through interaction.
-
The failure cases suggest that LatentRAG can retrieve the right evidence and follow the right reasoning path but still produce incorrect entity names or misspellings. This is concerning for exact-answer QA and for applications such as legal, medical, or enterprise search where precise names and entities matter.
-
The proposed optimization appears tightly coupled with the chosen dense retriever. Since latent subquery tokens are trained to match the document similarity distribution induced by a specific reference retriever, it is unclear whether a trained LatentRAG model can be directly transferred to a different retriever without retraining. The paper evaluates multiple retrievers, but it does not clearly establish plug-and-play retriever interchangeability.
Questions
-
How can we know that the decoded thoughts and subqueries faithfully reflect the latent reasoning and retrieval process rather than merely producing plausible post-hoc explanations?
-
How sensitive is LatentRAG to the quality of teacher trajectories? If the teacher performs redundant retrieval or follows suboptimal search strategies, does LatentRAG inherit these behaviors?
-
Can a LatentRAG model trained with one retriever be used with another retriever without re-training the LLM and retrieval projector? If not, how much retraining is required when changing the retriever? Is it sufficient to retrain only the retrieval projector, or must the LLM and retriever also be jointly fine-tuned?
Limitations
yes
Final justification
The rebuttal strengthens the paper, particularly through the cross-retriever adaptation experiment. Although several of the authors’ explanations are reasonable, the work still has limitations, such as entity fidelity and reliance on successful teacher trajectories. These concerns remain open, but they do not change my overall positive assessment. I therefore maintain my original score.
Formatting concerns
No paper formatting concerns
3 comments
Rebuttal
We sincerely thank the reviewer for the positive assessment and recognition of our method. Below, we respond to the concerns and questions.
W1: Distillation from agentic RAG trajectories
We agree that LatentRAG can be viewed as a form of distillation from trajectories generated by existing agentic RAG systems. However, the primary goal of LatentRAG is not to learn a fundamentally new retrieval policy, but to investigate whether latent reasoning and retrieval in agentic RAG can help reduce the latency of existing agentic RAG systems while preserving retrieval effectiveness.
Nevertheless, LatentRAG provides an additional advantage by allowing fully differentiable end-to-end joint optimization of the LLM and the retrieval model, making it outperform conventional text-based SFT. To validate this point, we conduct an ablation experiment comparing LatentRAG with a text-based SFT baseline trained on the same successful trajectories and report the average results below:
| Method | EM score (%) ↑ | Retrieval Success (%) ↑ | Retrieval Overlap (%) |
|---|---|---|---|
Search-R1 |
42.47 | 60.15 | 100.00 |
Text-SFT |
42.05 | 59.46 | 81.85 |
LatentRAG |
43.46 | 61.27 | 59.41 |
All metrics follow the same definitions as in the experiment section of our manuscript, where retrieval success rate measures the proportion of successful retrievals that the retrieved documents contain the ground-truth answer, and retrieval overlap measures the overlap of the retrieved documents between the student model and the teacher model (Search-R1).
Text-based SFT achieves a high retrieval overlap but a lower retrieval success rate, suggesting that strong token-level supervision forces the model to overly imitate specific teacher trajectories. In contrast, LatentRAG optimizes the LLM outputs with the KL-based retrieval-oriented objectives, allowing it to capture useful retrieval behaviors while preserving model flexibility and avoiding excessive imitation, therefore leading to better retrieval and overall performance.
Although LatentRAG currently relies on distillation, it offers an efficient solution for reducing latency and enables end-to-end joint optimization of the LLM and retriever, which could serve as a good foundation for developing more capable models in the future.
W2: Entity fidelity and exact-answer generation
We acknowledge the entity fidelity issue observed in our failure case analysis. Despite this issue, LatentRAG still achieves competitive, and sometimes better, performance under the exact match evaluation used in our experiments. Therefore, we believe this issue does not significantly affect the overall performance of LatentRAG compared to baseline methods under exact match scenarios. For scenarios requiring strict entity correctness, a simple mitigation strategy, such as matching generated entities with entity names appearing in retrieved evidence based on similarity, can potentially alleviate this issue. Future work could explore how to better balance the reliance on latent representations and textual representations to achieve both efficiency and answer fidelity.
W3 & Q3: Cross-retriever transferability
Thanks for this thoughtful question. Since different dense retrievers operate in different embedding spaces, the current version of LatentRAG does not support plug-and-play interchangeability across arbitrary retrievers without additional training. However, adapting to a new retriever does not necessarily require retraining the LLM or the retrieval model itself. To verify this, we conduct a cross-retriever adaptation experiment by adapting from the Qwen3-Embedding-0.6B (Qwen3) to the jina-embeddings-v5-text-nano (Jina) retrieval model, where only the retrieval projector is finetuned. The exact match (%) results are reported below:
| Method | NQ | TriviaQA | PopQA | HotpotQA | 2Wiki | Musique | Bamboogle | Average |
|---|---|---|---|---|---|---|---|---|
Search-R1 (Jina) |
45.79 | 63.16 | 46.54 | 44.31 | 42.95 | 20.40 | 44.80 | 43.99 |
LatentRAG (Jina) |
47.37 | 61.25 | 46.72 | 47.66 | 45.06 | 22.26 | 43.20 | 44.79 |
LatentRAG (Qwen3->Jina) |
47.62 | 61.25 | 46.89 | 47.66 | 44.51 | 21.47 | 41.60 | 44.43 |
LatentRAG (Qwen3->Jina) denotes the model initialized from LatentRAG trained with the Qwen3 retriever and adapted to the Jina retriever by training only the retrieval projector, while keeping both the LLM and the Jina retriever frozen. Compared to the fully retrained model LatentRAG (Jina), the adapted model LatentRAG (Qwen3->Jina) achieves similar performance, indicating that training only the retrieval projector is sufficient for cross-retriever adaptation.
Furthermore, we investigate whether cross-retriever adaptation can be achieved with a relatively small amount of training data. We evaluate the adaptation performance using only 5K trajectories (less than 10% of the original training data) and report the results below:
| Method | # Training Data | NQ | TriviaQA | PopQA | HotpotQA | 2Wiki | Musique | Bamboogle | Average |
|---|---|---|---|---|---|---|---|---|---|
LatentRAG (Jina) |
5,000 | 35.12 | 47.84 | 34.61 | 33.99 | 26.79 | 10.67 | 22.40 | 30.20 |
LatentRAG (Qwen3->Jina) |
5,000 | 46.93 | 58.85 | 45.29 | 46.06 | 43.21 | 19.36 | 40.80 | 42.93 |
LatentRAG (Jina) is fully fine-tuned from scratch, and its poor performance indicates that the limited training data are insufficient for learning effective retrieval policies from scratch. In contrast, under the adaptation setting, LatentRAG (Qwen3->Jina) achieves comparable performance to full-data fine-tuning, indicating that cross-retriever adaptation can be achieved with relatively limited training data compared to training from scratch.
Q1: Faithfulness of decoded thoughts and subqueries
We would like to clarify that our latent decoding process is different from generating post-hoc explanations. The decoder only takes the latent tokens as input and does not have access to retrieved documents, the final answer, or any other contexts. Therefore, the decoded thoughts and subqueries are generated solely based on the latent representations themselves rather than being constructed after observing the outcome.
Nevertheless, guaranteeing the faithfulness of decoded representations remains an open question, even for text-based chain-of-thought (CoT) reasoning [1, 2]. Therefore, we view the decoded thoughts and subqueries primarily as auxiliary information for understanding the latent retrieval process and assisting answer verification from the retrieved documents, rather than as guaranteed faithful explanations of the model's internal computation.
Q2: Sensitivity to teacher trajectory quality
LatentRAG is designed to learn from trajectories generated by target agentic RAG systems while reducing inference latency. Therefore, the quality of teacher trajectories can indeed affect the learned retrieval behaviors. Suboptimal search strategies in the trajectories can be inherited by LatentRAG, which also means that better trajectories can improve LatentRAG. As shown in our experimental results in Appendix E.4 in our manuscript, better trajectory quality typically leads to better performance of LatentRAG. In our experiments, we intentionally avoid using aggressive filtering strategies to ensure that the observed performance is not primarily attributed to enhanced data quality. However, in practical development, we suggest applying appropriate quality control to filter out low-quality trajectories, which can help improve LatentRAG performance.
References
[1] Arcuschin et al. Chain-of-thought reasoning in the wild is not always faithful. In ICML, 2026.
[2] Lewis-Lim et al. Analysing chain of thought dynamics: Active guidance or unfaithful post-hoc rationalisation? In EMNLP, 2025.
The rebuttal strengthens the paper, particularly through the cross-retriever adaptation experiment. Although several of the authors’ explanations are reasonable, the work still has limitations, such as entity fidelity and reliance on successful teacher trajectories. These concerns remain open, but they do not change my overall positive assessment. I therefore maintain my original score and encourage the authors to incorporate the new explanations and experimental results into the revised manuscript.
Thank you for your positive assessment and thoughtful feedback. We are pleased that the additional experiments and clarifications have strengthened the paper. As an initial exploration of latent retrieval for agentic RAG, our work primarily focuses on addressing the latency bottleneck caused by autoregressive thought and subquery generation while maintaining performance comparable to existing text-based agentic RAG methods. We believe this core contribution has been thoroughly validated through our extensive experimental results.
We acknowledge that, as an initial exploration of latent retrieval for agentic RAG, there remains substantial room for further improvement, including entity fidelity and distillation from teacher trajectories. We explicitly reported and discussed these challenges in the initial manuscript to help facilitate future research in this direction. We will incorporate all of the discussions and additional experimental results into the final version of the paper. Thank you again for your time and effort in helping us improve this work.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper introduces LatentRAG, a method to speed up inference latency in multi-step RAG by producing latent tokens for reasoning and retrieval in a single step. Experiments on several datasets show comparable performance to existing methods (that serve as distllation targets providing the teacher trajectories for the latent rag approach) while reducing latency significantly.
Strengths and weaknesses
Strength:
The paper is well motivated, well written and has conducted significant and interesting ablations and experiments showing the speedups of latent rag. The method incorporates a few different interesting lines of work and the combination will be of value to the community.
Weaknesses:
The retriever is fine-tuned in the setup, and I believe there is no version that freezes the retriever and trains only the projector (and LLM). The baselines use the frozen retrievers, so within each retriever column of Table 1 the comparison is not directly comparable, LatentRAG's retriever is adapted to the task and the baseline's is not. The authors should report a frozen-retriever, projector-only variant.
Questions
How would the performance be affected if the retriever is kept frozen and just the LLM + projector is finetuned ?
In the FAISS index used at inference time, are the document embeddings generated using the pretrained frozen encoder (that is shared with the baselines) or with the fine-tuned retriever?
I would be interested in a comparison to GritLM, (Muennighoff et al.) as it also trains the model on embeddings tasks.
Limitations
yes
Formatting concerns
N/A
4 comments
Rebuttal
We sincerely thank the reviewer for the positive assessment and recognition of our method. Below, we respond to the concerns and questions.
W1 & Q1: Frozen retriever ablation
We thank the reviewer for raising this important point regarding the fairness of the comparison. In our experiments, we finetune the retriever to enable it to accept latent subquery representations and produce embeddings aligned with those produced by the original text-based retriever. Importantly, this retriever finetuning process does not use any ground-truth retrieval supervision. Instead, the training objective only aims to match the retrieval distribution of the original text-based retriever. For the baselines, the text-based retriever already serves as the target retriever under this training objective. Therefore, to bridge the modality gap between text and latent inputs, we allow retriever finetuning, and we believe this comparison remains fair.
Nevertheless, we agree that a frozen-retriever ablation would provide an interesting analysis of whether latent representations can be understood by a text-based retriever when only the projector is optimized, without finetuning the retriever. We conduct the experiment using Qwen3-embedding-0.6b and report the Exact Match (%) results below:
| Method | NQ | TriviaQA | PopQA | HotpotQA | 2Wiki | Musique | Bamboogle | Average |
|---|---|---|---|---|---|---|---|---|
Search-R1 |
43.93 | 61.70 | 47.31 | 43.05 | 43.27 | 19.61 | 38.40 | 42.47 |
LatentRAG (fully finetuned) |
46.29 | 59.85 | 46.63 | 46.73 | 44.89 | 19.82 | 40.00 | 43.46 |
LatentRAG (frozen-retriever) |
46.18 | 59.37 | 46.65 | 46.25 | 44.82 | 21.22 | 40.80 | 43.61 |
The frozen-retriever variant of LatentRAG achieves similar performance to the fully finetuned one. Both of them slightly outperform the baseline Search-R1. These results indicate that retriever finetuning is not the primary factor contributing to the comparable performance of LatentRAG. In our main experiments, we do not freeze the retriever to maintain the general flexibility of our framework for adapting to the retrieval alignment objective.
Q2: Document embeddings used for FAISS indexing
To ensure a fair comparison, we use the same FAISS index with embeddings generated by the pretrained frozen encoder shared with the baselines. This design choice also improves the practicality of LatentRAG in real-world deployments: when switching from a text-based RAG system to a latent RAG system, there is no need to rebuild the corpus index. This is particularly important for large-scale systems, where the corpus can be extremely large and re-encoding all documents and rebuilding the index can incur substantial computational and storage costs.
Q3: Comparison to GritLM
GritLM is indeed a very interesting work that unifies generation and embedding capabilities within a single model without sacrificing performance. Compared to our method, although both works leverage LLMs to produce retrieval-related representations, they target fundamentally different tasks and therefore adopt different designs:
Tasks: GritLM aims to unify text generation and traditional retrieval tasks within a single model, where the retrieval tasks are formulated as encoding a given query/document into a single embedding vector that enables vector-based similarity search. In contrast, LatentRAG targets the agentic RAG setting, where an agent needs to iteratively perform reasoning and generate a new subquery for the next step, and the subqueries are not explicitly given in this process.
Data and objective: Due to the different task formulations, GritLM leverages annotated retrieval datasets with ground-truth relevant documents and optimizes the model using the traditional InfoNCE loss. In contrast, training data for agentic RAG is much more limited, and the intermediate subqueries generated by the agent do not have explicit ground-truth targets. Therefore, LatentRAG aligns the LLM with a pretrained dense retriever and minimizes the KL divergence between the retrieval distributions produced by latent and text inputs.
Transparency: In the retrieval task setting of GritLM, retrieval embeddings are generated from explicit text queries, where the underlying retrieval intent is directly observable. In our agentic RAG task, the intermediate thoughts and subqueries are not provided, which is more challenging and places a much stronger demand on the transparency of the generated latent representations. To mitigate this challenge, we incorporate a parallel decoding mechanism that allows latent representations to be decoded into human-readable text. This mechanism not only improves transparency but also encourages the learned representations to capture meaningful semantics, as shown in the ablation results in Table 3 of our manuscript.
Despite these differences, we believe that combining the ideas of both approaches is an interesting direction for future research. Currently, LatentRAG retains both the LLM and retriever to leverage the retrieval capability of the pretrained retriever, and our retriever-removal ablation validates the effectiveness of this design choice. Future work could explore whether jointly trained models, such as GritLM, can unify the LLM and retriever modules in LatentRAG within a single model, thereby combining the retrieval efficiency advantages of LatentRAG with the reduced deployment complexity offered by GritLM. We will include this discussion in the related work section and highlight it as a potential future direction in the final version of our paper.
Dear Reviewer coUi,
We would like to express our sincere appreciation for your constructive comments and thoughtful feedback. Your comments have been invaluable in helping us improve the quality of our work. In response to the frozen-retriever comparison experiments raised in W1 & Q1, we would like to share our newly obtained results across all retrievers used in our experiments.
Additional results for W1 & Q1:
In our initial rebuttal, we clarified the fairness of the original full finetuning experimental setup and showed that the frozen-retriever variant achieves similar performance to the fully finetuned model using the Qwen3-Embedding-0.6B retriever. To further investigate this point, we conducted additional experiments across all retrievers used in our experiments and present the exact match (%) results below:
| Method | Retriever | NQ | TriviaQA | PopQA | HotpotQA | 2Wiki | Musique | Bamboogle | Average |
|---|---|---|---|---|---|---|---|---|---|
Search-R1 |
Qwen3-Embedding-0.6B |
43.93 | 61.70 | 47.31 | 43.05 | 43.27 | 19.61 | 38.40 | 42.47 |
LatentRAG (fully finetuned) |
Qwen3-Embedding-0.6B |
46.29 | 59.85 | 46.63 | 46.73 | 44.89 | 19.82 | 40.00 | 43.46 (+2.3%) |
LatentRAG (frozen-retriever) |
Qwen3-Embedding-0.6B |
46.18 | 59.37 | 46.65 | 46.25 | 44.82 | 21.22 | 40.80 | 43.61 (+2.7%) |
Search-R1 |
e5-base-v2 |
48.03 | 64.59 | 46.02 | 44.71 | 42.13 | 20.19 | 43.20 | 44.12 |
LatentRAG (fully finetuned) |
e5-base-v2 |
49.03 | 61.30 | 43.04 | 46.41 | 38.61 | 18.87 | 39.20 | 42.35 (-4.0%) |
LatentRAG (frozen-retriever) |
e5-base-v2 |
48.37 | 61.11 | 42.65 | 45.77 | 38.92 | 18.29 | 40.80 | 42.27 (-4.2%) |
Search-R1 |
jina-embeddings-v5-text-nano |
45.79 | 63.16 | 46.54 | 44.31 | 42.95 | 20.40 | 44.80 | 43.99 |
LatentRAG (fully finetuned) |
jina-embeddings-v5-text-nano |
47.37 | 61.25 | 46.72 | 47.66 | 45.06 | 22.26 | 43.20 | 44.79 (+1.8%) |
LatentRAG (frozen-retriever) |
jina-embeddings-v5-text-nano |
48.12 | 61.09 | 46.26 | 47.60 | 45.42 | 22.01 | 39.20 | 44.24 (+0.6%) |
Search-R1 |
harrier-oss-v1-270m |
44.40 | 62.80 | 47.14 | 44.88 | 44.16 | 18.62 | 40.00 | 43.14 |
LatentRAG (fully finetuned) |
harrier-oss-v1-270m |
46.15 | 60.40 | 45.41 | 47.27 | 44.99 | 19.90 | 34.40 | 42.65 (-1.1%) |
LatentRAG (frozen-retriever) |
harrier-oss-v1-270m |
46.12 | 60.64 | 45.81 | 47.27 | 44.62 | 19.16 | 35.20 | 42.69 (-1.0%) |
Search-R1 |
F2LLM-v2-330M |
43.35 | 61.04 | 44.92 | 41.99 | 41.53 | 18.54 | 36.00 | 41.05 |
LatentRAG (fully finetuned) |
F2LLM-v2-330M |
45.54 | 58.56 | 44.21 | 44.58 | 43.02 | 18.37 | 36.00 | 41.47 (+1.0%) |
LatentRAG (frozen-retriever) |
F2LLM-v2-330M |
46.29 | 59.40 | 44.87 | 44.38 | 43.59 | 18.20 | 32.00 | 41.25 (+0.5%) |
The frozen-retriever variant of LatentRAG achieves similar performance to the fully finetuned variant across all retrievers evaluated, and both variants exhibit relative performance differences of less than 5% compared to the Search-R1 baseline. This further supports that retriever finetuning is not a determining factor in the comparable performance of LatentRAG.
We hope these additional results can better address your questions and further support the effectiveness of our approach. As the discussion period is approaching its end, we would like to check whether our rebuttal has adequately addressed your questions and concerns. If you have any further questions or would like to discuss any aspects of our work in more detail, we would be glad to provide additional clarification. Thank you again for your time and effort in evaluating our work and providing insightful comments. We will incorporate all the discussions and additional experimental results into the final version of our paper.
Best regards,
Authors of Submission 5190
Thank you for the additional experiments. I will maintain my positive score.
Thank you for acknowledging our additional experiments and for maintaining your positive assessment. We appreciate your careful reading and valuable insights, which have helped us significantly improve the quality of this work. We will incorporate the additional results and clarifications into the final version of our paper.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We sincerely thank the area chair and all reviewers for the time and effort in evaluating our work. Below, we summarize the comments and responses, highlighting the additional results and analyses provided during the rebuttal to address the most decision-relevant concerns mentioned in the initial meta review.
All the reviewers are positive about this work after the rebuttal, and we are encouraged by the positive comments highlighting several strengths of our work:
Reviewers agree that the proposed method is valuable and interesting, with the primary concerns centered on the evaluation. To address these concerns, we have made the following responses, which will be incorporated into the final version of our paper.
This work focuses on reducing latency in existing agentic RAG methods while preserving performance. We acknowledge that the development of dedicated infrastructure, evaluation with larger models, and designing more robust and capable methods beyond the current distillation paradigm would increase the impact. However, these directions require substantial new research and development beyond the scope of the current paper. Our work serves as a significant first step in reducing agentic RAG latency, and can encourage further research and inspire new approaches to building more efficient and capable agentic RAG systems.
We sincerely thank the area chair and all reviewers for the constructive comments and suggestions that have helped us substantially strengthen this work. We will incorporate all the valuable discussions and additional results into the final version of the paper.