In-Context Optimization for Retrieval-Augmented Generation: A Gradient-Descent Perspective
Update NeurIPS 2026 submission iuTd9AXKQN: 6 notes
@openreview[bot] · 2026-11-24 15:54 UTC · f84e5b21fdbf ·
reviews/openreview/iutd9axkqn/notes/0yofkgtceq.json added
+++ b/reviews/openreview/iutd9axkqn/notes/0yofkgtceq.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "0YofkGtCeQ",+ "replyTo": "FpvDPij2hK",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Thank you for updating your score. We sincerely appreciate your constructive feedback and will incorporate the promised clarifications into the revised manuscript."+ },+ "createdAt": "2026-08-04T00:09:11.943Z",+ "modifiedAt": "2026-11-19T16:51:59.470Z",+ "url": "https://openreview.net/forum?id=iuTd9AXKQN¬eId=0YofkGtCeQ",+ "license": "CC-BY-4.0"+}
reviews/openreview/iutd9axkqn/notes/9jbmbom4fc.json added
+++ b/reviews/openreview/iutd9axkqn/notes/9jbmbom4fc.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "9jBmBoM4fc",+ "replyTo": "O9FFvKK7be",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer YGnV",+ "content": {+ "comment": "Thank you for the response. Most of my concerns have been addressed by the new evidence and I have raised my score to 4."+ },+ "createdAt": "2026-08-01T05:30:03.813Z",+ "modifiedAt": "2026-11-19T16:51:59.677Z",+ "url": "https://openreview.net/forum?id=iuTd9AXKQN¬eId=9jBmBoM4fc",+ "license": "CC-BY-4.0"+}
reviews/openreview/iutd9axkqn/notes/ecgydpqgsl.json modified
+++ b/reviews/openreview/iutd9axkqn/notes/ecgydpqgsl.json@@ -5,11 +5,12 @@"kind": "meta_review","invitation": "Meta_Review","signature": "Area Chair VxGb","content": {- "metareview": "# summary\n\nThis paper studies RAG as an in-context optimization process, proves a gradient descent correspondence in a linearized setting, and proposes RAG-GD to predict context-conditioned LoRA updates for frozen RAG models. The idea is interesting, and the evaluation across seven QA benchmarks, two retrievers, and two backbones is reasonably broad.\n\n# reviews summary\n\nThe reviews are divided, with scores of 4, 2, and 4. Reviewers appreciate the theory-guided framing and the lower cost compared with test-time SGD, but question whether the practical method is truly derived from the theory or is mainly a generic context-conditioned LoRA predictor. They also note that the gain over the strongest few-shot adapter is small, the results lack variance estimates, the backbones and baselines are not fully current, and the end-to-end efficiency and robustness to noisy retrieval are not sufficiently demonstrated. \n\n# need clarifications\n\n1. isolate the benefit of gradient matching from simply training a context-conditioned LoRA predictor, and explain why one support example already captures most of the gain.\n2. clarify whether the small gain over the base adapter with few-shot examples is practically meaningful, including any available evidence on stronger backbones and the sensitivity to support-example selection.\n3. provide uncertainty estimates or multi-seed results for the main comparisons, especially where the reported improvement is below one point.\n4. report end-to-end latency or compute comparisons with standard RAG and equal-compute baselines, including the forward passes needed to encode support examples, and clarify robustness to irrelevant or conflicting retrieval results.\n5. explain the omission of recent adaptation baselines such as HyperFlow and MAC, and either provide the closest fair comparison or narrow the novelty and superiority claims.\n\nThe paper will only be considered if AC and Reviewer YGnV agree that these concerns have been resolved. Otherwise, AC would lean reject."+ "metareview": "# summary\n\nThis paper studies RAG as an in-context optimization process, proves a gradient descent correspondence in a linearized setting, and proposes RAG-GD to predict context-conditioned LoRA updates for frozen RAG models. The idea is interesting, and the evaluation across seven QA benchmarks, two retrievers, and two backbones is reasonably broad.\n\n# reviews summary\n\nThe reviews are divided, with scores of 4, 2, and 4. Reviewers appreciate the theory-guided framing and the lower cost compared with test-time SGD, but question whether the practical method is truly derived from the theory or is mainly a generic context-conditioned LoRA predictor. They also note that the gain over the strongest few-shot adapter is small, the results lack variance estimates, the backbones and baselines are not fully current, and the end-to-end efficiency and robustness to noisy retrieval are not sufficiently demonstrated. \n\n# need clarifications\n\n1. isolate the benefit of gradient matching from simply training a context-conditioned LoRA predictor, and explain why one support example already captures most of the gain.\n2. clarify whether the small gain over the base adapter with few-shot examples is practically meaningful, including any available evidence on stronger backbones and the sensitivity to support-example selection.\n3. provide uncertainty estimates or multi-seed results for the main comparisons, especially where the reported improvement is below one point.\n4. report end-to-end latency or compute comparisons with standard RAG and equal-compute baselines, including the forward passes needed to encode support examples, and clarify robustness to irrelevant or conflicting retrieval results.\n5. explain the omission of recent adaptation baselines such as HyperFlow and MAC, and either provide the closest fair comparison or narrow the novelty and superiority claims.\n\nThe paper will only be considered if AC and Reviewer YGnV agree that these concerns have been resolved. Otherwise, AC would lean reject.",+ "final_justification": "Fortunately, all reviewers agree with accept after the impressive rebuttal of authors. ALL concerns are addressed, AC changes the decision to ACCEPT."},"createdAt": "2026-07-16T03:01:23.241Z",- "modifiedAt": "2026-11-18T15:20:55.821Z",+ "modifiedAt": "2026-11-19T05:00:35.505Z","url": "https://openreview.net/forum?id=iuTd9AXKQN¬eId=ECGydPQGSl","license": "CC-BY-4.0"}
reviews/openreview/iutd9axkqn/notes/ia3elywlzh.json added
+++ b/reviews/openreview/iutd9axkqn/notes/ia3elywlzh.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "Ia3eLyWLZH",+ "replyTo": "ECGydPQGSl",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "We sincerely thank the AC and all reviewers for their thoughtful feedback. Their comments helped us improve both the empirical evidence and the presentation of the paper. We are also grateful that Reviewers YGnV and Cicj found our rebuttal helpful, acknowledged the clarifications, and updated their ratings upward.\n\n**Our work studies RAG through an in-context optimization lens.** We first establish an exact correspondence between linear self-attention and one gradient-descent step on a unified linearized RAG objective, and then characterize where this correspondence holds and breaks beyond the linear regime. Guided by this analysis, we instantiate the idea in real RAG LLMs through RAG-GD, which amortizes the gradient update to the generator-side evidence-use interface without test-time backpropagation. In the rebuttal, we added several experiments and clarifications to address the five main points raised in the meta-review.\n\n1. **Gradient matching and $K=1$ saturation**. In response to Reviewers **1rT4**, **YGnV**, and **Cicj**, we added a matched task-loss predictor with the same architecture, support context, and training budget. Gradient matching performs better in all four backbone and retriever settings and explains about 65% of the total gain over the Base adapter. We also clarified that the saturation concerns one gradient step, not one support example. TT-SGD shows the same pattern, suggesting that it comes from the underlying gradient dynamics.\n2. **Practical meaning of the gain over Base adapter with few-shot prompting**. In response to Reviewer **YGnV**, we evaluated Qwen3-14B. RAG-GD outperforms Base adapter with few-shot prompting on all five tested benchmarks, by 1.45 EM and 1.13 F1 on average. We also repeated NQ with five support draws. RAG-GD maintains a 1.46 EM gain with a 95% confidence interval of [+0.83,+1.91].\n3. **Uncertainty estimates for small improvements**. In response to Reviewers **1rT4** and **Cicj**, we repeated the main comparisons under five support draws and added paired bootstrap confidence intervals. RAG-GD wins under every draw for both backbones. The confidence intervals also exclude zero for the smaller gains over HyperTuning and Base adapter with few-shot prompting.\n4. **End-to-end cost and retrieval robustness**. In response to Reviewers **1rT4** and **Cicj**, we included the cost of encoding all three demonstrations. This one-time adaptation takes 108 ms and amortizes to 0.03 ms per query on NQ. Per-query generation is only about 10 ms slower than the Base adapter. We also added a summarize-then-answer baseline and retrieval-corruption experiments. RAG-GD remains best under irrelevant retrieval noise. We will limit this claim to irrelevant evidence, since explicitly conflicting evidence was not tested.\n5. **HyperFlow, MAC, and the scope of comparison.** In response to Reviewer **Cicj**, we implemented a matched open-loop HyperFlow baseline. RAG-GD improves over it by 1.36 EM and wins on four of five benchmarks. We also clarified that MAC uses persistent document-level memory and query-specific updates, while RAG-GD produces a reusable task-level update from labeled demonstrations. We will explain this difference and avoid claiming direct superiority over MAC.\n\nWe appreciate the AC and reviewers for identifying places where the original submission was not sufficiently clear. In the revised paper, we will incorporate these new results and explanations into the main text. We will more carefully describe RAG-GD as a theory-motivated amortized adaptation method, clarify the scope of the theoretical result, and expand the discussions of baselines, statistical stability, robustness, implementation, and deployment cost."+ },+ "createdAt": "2026-08-04T00:46:08.401Z",+ "modifiedAt": "2026-11-19T16:51:59.363Z",+ "url": "https://openreview.net/forum?id=iuTd9AXKQN¬eId=Ia3eLyWLZH",+ "license": "CC-BY-4.0"+}
reviews/openreview/iutd9axkqn/notes/opu6oaymrh.json added
+++ b/reviews/openreview/iutd9axkqn/notes/opu6oaymrh.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "Opu6oAyMrH",+ "replyTo": "9jBmBoM4fc",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Thank you for your follow-up and for reconsidering the score. We appreciate your constructive feedback and will incorporate the promised clarifications in the revision."+ },+ "createdAt": "2026-08-04T00:05:54.940Z",+ "modifiedAt": "2026-11-19T16:51:59.570Z",+ "url": "https://openreview.net/forum?id=iuTd9AXKQN¬eId=Opu6oAyMrH",+ "license": "CC-BY-4.0"+}
reviews/openreview/iutd9axkqn/notes/qxzebjq1dh.json added
+++ b/reviews/openreview/iutd9axkqn/notes/qxzebjq1dh.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "qXZEbJQ1dh",+ "replyTo": null,+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Area Chair VxGb",+ "content": {+ "comment": "As rebuttal is coming to an end, plz reply author's rebuttals\n\nThanks,\n\nAC"+ },+ "createdAt": "2026-08-02T23:36:41.488Z",+ "modifiedAt": "2026-11-19T16:51:59.348Z",+ "url": "https://openreview.net/forum?id=iuTd9AXKQN¬eId=qXZEbJQ1dh",+ "license": "CC-BY-4.0"+}