MILES: Modular Instruction Memory with Learnable Selection for Self-Improving LLM Reasoning
Ruilin Tong, Dong Gong
NeurIPS 2026
Abstract. Large language models (LLMs) increasingly improve their reasoning at test time via additional computation, yet most existing works treat each problem in isolation. When problems arrive sequentially, accumulating reusable experience across them can further improve performance. Existing memory-based methods either store whole-solution templates that generalize poorly to novel problems or use heuristic step-level selection that is not optimized for final-answer correctness. Learning selection policies requires large-scale training data and fixed action spaces, making such approaches unsuitable for test-time settings where memory expands incrementally and only limited supervision is available. We propose MILES (Modular Instruction Memory with LEarnable Selection), a framework that dynamically expands step-wise memory and applies correctness-optimized memory composition under realistic test-time constraints. MILES maintains modular memory units consisting of asymmetric pairs of sub-goal embeddings and sub-instructions, each associated with a learnable selection head. This memory structure enables a coarse-to-fine retrieval mechanism: The coarse level enables memory expansion and collects supervision for training selection heads from confident samples, while the fine stage applies learned selection heads to rerank coarse-level candidates and guide reasoning for uncertain samples. MILES achieves self-improvement by using its own confidence as the learning signal at test time, or given feedback such as labeled data in an offline setting. MILES consistently matches or outperforms prior methods while achieving superior accuracy–efficiency tradeoffs. Extensive experiments demonstrate its effectiveness, robustness, and transferability. Code and resources are available at https://artificer-ai-lab.github.io/MILES.
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:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper proposes MILES, a test-time framework that builds step-wise memory from high-confidence samples and uses learned selection heads to direct reasoning on uncertain samples. MILES stores each memory unit as an asymmetric pair of a sub-goal embedding and a sub-instruction, together with a unit-specific selection head. Then, It retrieves memory through a coarse-to-fine process.
Experiments show that MILES outperforms all baselines in terms of the accuracy–efficiency tradeoff, consistently matching or exceeding prior methods across six reasoning benchmarks and four backbone LLMs. All reviewers agree that this paper is technically solid and promising.
The authors' rebuttal has properly addressed the reviewers' concerns. Therefore, I recommend this paper for acceptance.
Final justification
Please see the final meta-review.
- Final justification
- Please see the final meta-review.
Read meta-review
Meta-review
This paper proposes MILES, a test-time framework that builds step-wise memory from high-confidence samples and uses learned selection heads to direct reasoning on uncertain samples. MILES stores each memory unit as an asymmetric pair of a sub-goal embedding and a sub-instruction, together with a unit-specific selection head. Then, It retrieves memory through a coarse-to-fine process.
Experiments show that MILES outperforms all baselines in terms of the accuracy–efficiency tradeoff, consistently matching or exceeding prior methods across six reasoning benchmarks and four backbone LLMs. All reviewers agree that this paper is technically solid and promising.
The authors' rebuttal has properly addressed the reviewers' concerns. Therefore, I recommend this paper for acceptance.
1 comment
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper introduces a modular approach for reasoning, where: (a) individual reasoning sub-goals are fetched from memory when the LLM is not confident in its reasoning steps, and (b) the memory is continuously updated from confident samples. The authors show that this strategy outperforms several strong baselines such as Buffer of Thoughts on multiple reasoning datasets, while using fewer tokens.
Strengths and weaknesses
Strenghths:
- The idea of modular memory is intuitive and very appealing.
- The processes for memory updating/selection is well thought out (if a bit unclear, see below).
- The in-domain results on 6 datasets x 4 LLMs are reasonably strong.
Weaknesses:
-
From the current analyses, it is unclear what the actual quality of the selected sub-goals is. Yes, they improve overall accuracy (as shown in Figure 3), but machine learning models may produce the right answer for the wrong reasons. The proposed method would be more engaging if the authors included a manual analysis of the quality of the selected reasoning paths on a (small) sample of outputs, to understand how the selected sub-goals "stitch" with the generated ones. See Q1 below.
-
It seems that all results are in domain. (I am aware of the cross-model transfer experiments in Table 2, but those are still in domain.) I would like to understand how general the memory selection/updating learning truly is. To this end, the authors should train the memory selection/updating in Domain1 and test the model in Domain2. Since the memory is constructed in-domain at inference time, the method should transfer well? If not, the appeal of the proposed approach is somewhat reduced because it requires heavy customization per dataset. See Q2.
-
The writing quality could be improved. Some text is hard to follow. Important hyper parameters are not discussed in the main paper. See Q3 -- Q7 below.
Questions
Q1: what is the actual quality of the reasoning paths constructed by stitching in selected sub-goals? This would require a manual analysis of a sample of reasoning paths for correctness and coherence.
Q2: I recommend the authors carry out some out-of-domain (OOD) experiments, where the supervised machinery proposed in Section 3 is trained in one domain and tested in another. Such results would strengthen the paper, even if these domains are close, e.g., train in one math dataset and test on another math dataset.
Q3: While I (think I) understood the paper conceptually, some paragraphs are hard to follow. First, the applicability scoring part (lines 161 to 172) was hard to understand by this reviewer. For example, what is the label space for the memory selection head? Similarly, the text in 3.5 (before L207) was hard to follow: it was hard to understand what "a" really is; the binary correctness indicator "r" is actually introduced only later. Please remember that reviewers are not mandated to read appendixes. The text in the main paper should stand on its own.
Q4: how does the sub-goal selection procedure work when the model is uncertain but there are no relevant examples found? From the discussion around Eq. 3, it seems the "unit with the highest combined score" is always selected? This runs the risk of selecting sub-goals that superficially look good but are not correct, no? See Q1.
Q5: L142: how is the cosine for the reasoning steps s1 and s2 computed? Using the text-embedding-3-small model mentioned in L255?
Q6: L142: how is the number of clusters decided?
Q7: L157 and L174: how are alpha and beta tuned?
Limitations
Yes
Final justification
I have considered the authors' rebuttal in my final score, in which they addressed most of my major concerns.
Formatting concerns
N/A
3 comments
Rebuttal
We thank the reviewer for the constructive feedback and the encouraging assessment of the idea. We respond to each point below; all clarifications and new analyses will be incorporated into the paper.
[W1/Q1] Actual quality of the selected sub-goals
Thank you for this suggestion — we conducted the recommended manual analysis. One clarification first: the stored sub-goal g_i is an embedding used as a retrieval key (Sec. 3.3); the component that directly guides generation, and whose quality is therefore most relevant, is the natural-language sub-instruction u_i. Our analysis accordingly evaluates the selected sub-instructions and the resulting composed reasoning.
Design. We conducted a manual analysis on AIME, with raters unaware of sample confidence and final-answer correctness. For each memory-application case, we evaluate the full pipeline — reasoning state → generated step-goal → selected sub-instruction → guided next step → resulting trajectory — on six dimensions scored on {0, 1, 2}: step-goal validity (is the step-goal a reasonable, useful immediate objective), sub-instruction applicability (is the selected sub-instruction relevant and usable for the step-goal), instruction execution (does the guided step substantively follow the instruction), local correctness, local coherence, and local contribution (does the guided step make meaningful progress).
Quality tracks confidence. We first score 20 memory-application cases drawn from both confident and uncertain samples on AIME 2024 and AIME 2025:
| Metric | AIME24 Confident | AIME24 Uncertain | AIME25 Confident | AIME25 Uncertain |
|---|---|---|---|---|
| Step-goal validity | 1.90 | 0.85 | 1.90 | 0.90 |
| Sub-instruction applicability | 1.50 | 1.20 | 1.10 | 0.95 |
| Instruction execution | 1.35 | 1.20 | 1.00 | 0.85 |
| Local correctness | 1.70 | 1.05 | 1.70 | 1.05 |
| Local coherence | 1.55 | 1.30 | 1.70 | 1.50 |
| Local contribution | 1.30 | 1.05 | 1.35 | 1.30 |
Confident samples score higher than uncertain ones on every dimension, showing that the rubric meaningfully captures differences in reasoning quality.
Contribution of the learned selection heads. We then score 20 memory-application cases from uncertain samples on AIME 2025, comparing MILES with the variant without selection heads (Exp. 2 in Table 4); only the selection mechanism differs:
| Metric | Baseline (no heads) | MILES |
|---|---|---|
| Step-goal validity | 0.60 | 0.90 |
| Sub-instruction applicability | 0.85 | 0.95 |
| Instruction execution | 0.85 | 0.85 |
| Local correctness | 1.00 | 1.05 |
| Local coherence | 1.25 | 1.50 |
| Local contribution | 0.80 | 1.30 |
MILES improves the dimensions most directly tied to effective reasoning composition — local contribution (1.30 vs. 0.80) and local coherence (1.50 vs. 1.25) — indicating that the selected guidance supports meaningful, coherent progress rather than merely matching the current context superficially. We also observe that the step-goals associated with sub-instructions selected by the learned heads are of higher quality, further evidence that MILES selects guidance aligned with reasonable intermediate objectives rather than reaching correct answers through unsound reasoning.
Correct answers come with sound steps. Because reasoning is a multi-step process, we further compare confidently correct and confidently incorrect samples from AIME 2025:
| Metric | Correct | Wrong |
|---|---|---|
| Step-goal validity | 1.85 | 1.35 |
| Sub-instruction applicability | 1.30 | 1.05 |
| Instruction execution | 1.05 | 0.90 |
| Local correctness | 1.85 | 1.40 |
| Local coherence | 1.60 | 1.45 |
| Local contribution | 1.50 | 1.20 |
Confidently correct cases score higher on all six dimensions, i.e., correct final answers are associated with consistently stronger intermediate reasoning. At the same time, confidently incorrect cases retain non-trivial local quality, supporting the step-level robustness of MILES: an incorrect final answer does not imply that all intermediate steps are invalid.
We note that sub-instructions are intentionally formulated as high-level, generalizable guidance (e.g., "rewrite or simplify through substitution or factorization"), so a strict "directly applicable" score can be moderate even when the instruction remains useful. We will include this analysis in the paper. We hope it resolves the concern that the method might produce right answers for the wrong reasons.
[W2/Q2] Out-of-domain transfer of the learned memory
We agree and conducted cross-benchmark transfer evaluations in two settings, including the reviewer's suggested case of one math dataset to another.
Setting. For the mathematics transfer, we construct memory from MATH-500 and apply it to the 13 most uncertain samples of AIME 2025. For the academic transfer, we construct OOD and in-domain memories from the non-Diamond split of GPQA and MMLU-Pro Physics samples disjoint from our evaluation subset, and test on the 25 most uncertain samples of the held-out MMLU-Pro Physics test set:
| Test set | No memory | OOD memory | In-domain memory |
|---|---|---|---|
| AIME 2025 | 23.08 | 38.46 (from MATH-500) | 38.46 (from AIME 2020–2024) |
| MMLU-Pro Physics | 32.00 | 36.00 (from GPQA) | 48.00 (from MMLU-Physics) |
Cross-domain memory improves over the no-memory setting in both cases, indicating that the stored units capture transferable reasoning strategies rather than only dataset-specific patterns. For the closely related math-to-math transfer, OOD memory matches the in-domain result exactly (38.46% vs. 38.46%) — directly the setting the reviewer suggested. For the more distant graduate-science-to-physics transfer, the gain is smaller but remains positive (36.00% vs. 32.00% without memory), i.e., transfer degrades gradually with domain distance rather than failing outright.
We will include these results in the paper. We hope this resolves the concern that all results are in-domain.
[Q3] Unclear symbols a, r, and the label space
Thank you for pointing out these clarity issues; we will make the main text self-contained.
To clarify: a is defined in Sec. 3.3 (L135) as the action of applying memory unit (g_a, u_a), and r ∈ {0,1} in Sec. 3.1 (L109) as the final-answer correctness indicator. We recognize that the distinction between r and the per-unit training label r_a introduced in Sec. 3.5 may be unclear; we will make their relationship explicit: r_a = 1 if applying unit a leads to a correct final answer, and r_a = 0 otherwise. The label space of each selection head is binary: π_θa(a|x) ∈ [0,1] is a one-vs-rest classifier trained with binary cross-entropy against r_a ∈ {0,1} (stated in L171–172; we will make it more prominent). Finally, the applicability-scoring discussion (L161–172) relies on the context-codebook construction currently described only in Appendix E; we will move the necessary details into Sec. 3.4 so the paragraph stands on its own.
[Q4] Selection when no relevant memory exists
The highest-scoring unit is not selected unconditionally. Before the scoring rule in Eq. (3) is applied, Layer 1 uses a per-unit effective threshold (Appendix D.1): a candidate step-goal is compared only with memory units within this threshold, and units outside it are masked and excluded from scoring.
If no unit passes the threshold, MILES does not force a memory selection. Instead, the LLM generates the next step without guidance, and this step is then used to expand memory into the previously uncovered region (Sec. 3.4). The highest combined score is therefore taken only among units that already passed a relevance filter, which prevents selecting an irrelevant unit with a superficially high score. We will make this masking mechanism more explicit in Sec. 3.4, as it is important for correctly interpreting the selection procedure.
[Q5] Embedding model for the step cosine (L142)
Yes. All embeddings, including those for reasoning steps and step-goals, use text-embedding-3-small with dimension 1536, as stated in Appendix I.5. We will move this detail to Sec. 3.3, where the embedding representation is first introduced.
[Q6] How the number of clusters is decided (L142)
We do not set k directly. K-means uses a minimum cluster-size constraint between 10 and 20, chosen according to the within-dataset similarity of the queries (Appendix I.2). As shown in Appendix F.3 and Table 9, performance is stable for minimum cluster sizes between 10 and 15 and decreases at both extremes: smaller clusters produce overly specific sub-instructions, larger clusters overly generic ones. We will move this selection rule and its validated range to the main text near Eq. (1).
[Q7] How α and β are tuned (L157, L174)
These are two distinct hyperparameters; because the paper currently reuses α and β for multiple quantities, we will rename them to avoid ambiguity.
α_eff, the effective-threshold parameter (L157), is fixed by task family rather than tuned per dataset: 2.0 for mathematics and 1.0–1.5 for academic reasoning (Appendix I.2); its sensitivity is reported in Appendix F.4 / Table 11, where accuracy stays at or above 60% for α_eff ∈ {1, 2, 3}. β_c2f, the combined-score weight (L174), is 1.0 for mathematics and 0.4–0.6 for academic reasoning. We tune these parameters from a small holdout validation set by observing selection head score quality and memory application cases, and we will include detailed procedure in the paper.
[W3] Writing quality and hyperparameters in main text
We will make the method section self-contained by defining all symbols and labels at first use, moving key implementation details into the main text, and renaming overloaded α/β symbols.
Thank you for your detailed response! They address most of my issues. I will increase my rating accordingly.
Thank you for your thoughtful feedback
Thank you for your time and thoughtful feedback. We appreciate your careful consideration of our responses, and we are glad that they addressed most of your concerns.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper presents MILES (Modular Instruction memory with LEarnable Selection for self-improving llm reasoning), a framework for improving LLM reasoning without fine-tuning, by building and reusing reasoning step-wise memory. MILES organizes this memory as a store of (sub-goal embedding, sub-instruction text) pairs, where the sub-goal embedding is used to identify a suitable instruction text for a given reasoning step. This approach is distinguished from existing methods that store whole-solution templates with limited applicability and step-level memory that lack optimization toward final answer correctness. Experimental results are shown to compare MILES against the baselines on six benchmarks using four base LLMs.
Strengths and weaknesses
Strengths:
- The proposed framework improves on existing step-level memory methods to improve reasoning at test-time with increased relevance to the final answer, and efficiency from coarse-to-fine retrieval.
- The set of benchmarks used in the experiments seems sufficient.
Weaknesses:
- The selection of baselines is inadequate. There are many prior works proposing memory-based approaches to improving reasoning at test-time. Yet, there are only 4 baselines, only 2 of which are memory-based approaches. These leave out all step-level memory approaches like ArcMemo, RoT, ReasoningBank, etc.
- In a lot of cases in Tab 1, MILES either underperforms, matches, or barely outperforms the baselines. This, combined with the inadequate representation of prior works as baselines, limits empirical support for MILES.
- MILES assumes reliable self-reflection to identify confident examples, which may not hold in some domains, especially those a given LLM is less prepared for.
- Cost vs performance analysis briefly shown through Fig 2 is largely incomplete. (Related: Question #1)
- The proposed pipeline is rather complex, and the contribution of each component (e.g. memory construction, MCTS, memory selector training) has not been fully disentangled.
Questions
Why are memory-based baselines, which are the closest works, excluded in the performance vs token-use comparison (Fig 2)?
Limitations
yes
Final justification
I have considered the authors' rebuttal and other reviews in my final score.
Formatting concerns
n/a
3 comments
Rebuttal
We thank the reviewer for the careful evaluation and constructive suggestions. We respond to each concern below; all new results will be incorporated into the paper.
[W1] Missing step-level memory baselines
Thank you for the suggestion. We have added ArcMemo, Retrieval-of-Thought (RoT), and ReasoningBank, and re-evaluated all baselines under a token budget comparable to MILES.
Setting. Single-rollout methods (e.g., BoT) are scaled with majority voting over rollouts and extending memory to reach the matched budget, so all methods are compared at comparable compute. (This is why BoT here, 60.0% on AIME 2024, is higher than its single-rollout value in the uncertainty table in our response to Reviewer Ax9Z.)
AIME 2024:
| Method | Accuracy | Out tokens |
|---|---|---|
| BoT | 60.00 | 4.72M |
| DC w/ code | 63.33 | 4.10M |
| DC w/o code | 60.00 | 4.40M |
| ArcMemo | 50.00 | 3.88M |
| RoT | 60.00 | 3.99M |
| ReasoningBank | 60.00 | 4.74M |
| MILES | 66.67 | 3.99M |
AIME 2025:
| Method | Accuracy | Out tokens |
|---|---|---|
| BoT | 50.00 | 4.57M |
| DC w/ code | 60.00 | 4.61M |
| DC w/o code | 53.33 | 4.99M |
| ArcMemo | 46.67 | 3.45M |
| RoT | 56.67 | 4.59M |
| ReasoningBank | 53.33 | 5.13M |
| MILES | 60.00 | 3.61M |
MILES outperforms all baselines on AIME 2024 and, on AIME 2025, exceeds every method except DC-with-code, which it matches (60.00) without code execution (vs. DC-without-code, MILES leads 60.00 vs. 53.33). Because all methods run at comparable token budgets, these differences reflect the memory design rather than compute. (RoT uses external memory constructed from ReasonFlux, which contributes to its stronger performance relative to the other baselines.)
Due to the rebuttal window, these results cover AIME 2024/2025 first, consistent with the scope of the existing additional experiments in Appendix F; we will extend them to the remaining benchmarks and include all baselines in the paper. We hope this resolves the concern that the baseline selection was inadequate.
[W2] Performance gains and statistical significance
We agree that effect sizes on these benchmarks need statistical support, and we now quantify them.
On significance. Each AIME year is 30 problems (AIME I + II), so per-question effects are 3.33 points, and we now report 95% CIs across runs/subsets (full tables in our response to Reviewer Ax9Z). The key comparison — MILES vs. Self-Consistency, i.e., memory vs. memoryless test-time scaling — is statistically significant at the 95% level, with non-overlapping intervals on both AIME datasets (AIME 2024: MILES [64.98, 67.69] vs. SC [57.91, 61.42]; AIME 2025: [58.98, 61.69] vs. [51.29, 56.04]). The memory therefore adds value beyond sampling more rollouts.
On consistency of performance gains. As noted in Sec. 4.1, DC’s strong performance on AIME is attributable to the code-execution capability provided in its prompt. The comparison with DC-without-code therefore more directly highlights the effectiveness of MILES. Beyond AIME, MILES consistently matches or outperforms the baseline methods across the remaining datasets, further supporting its effectiveness and robustness.
We will extend the evaluation of the memory-based baselines discussed in Weakness 1 to the academic benchmarks in the the paper. We hope this resolves the concern that the results provide limited empirical support for MILES.
[W3] Reliability of self-reflection across domains
Confidence in MILES is estimated via self-consistency, a standard signal widely adopted in test-time reasoning and self-training.
Measured reliability. The assumption that the backbone LLM has non-trivial competence is also common across test-time reasoning methods. In our response to Reviewer Ax9Z, we further report the coverage and accuracy of the pseudo-labels. Across benchmarks, confident samples achieve higher pseudo-label accuracy than the backbone’s full-set accuracy, indicating that self-consistency provides a reliable pseudo-label signal.
External specialized model Our results in Table 2 show that memory constructed by one model can improve the reasoning performance of a stronger backbone. This suggests that when the target backbone has limited competence in a particular domain, an additional specialized model can be used to construct reusable memory. Moreover, when no relevant memory unit passes the relevance filter, MILES falls back to unguided generation by the base model rather than forcing potentially harmful guidance.
Where the backbone lacks competence or no relevant memory applies, MILES degrades gracefully to the base model rather than injecting harmful memory. We will make this assumption explicit in Limitations. We hope this resolves the concern about domains where self-reflection is less reliable.
[W4/Q1] Memory baselines missing from Fig. 2
Matched-compute comparison. We report accuracy against output-token cost for all memory-based baselines in the tables under Weakness 1. We will add these memory-baseline results to Fig. 2 so that the cost–performance frontier includes them.
Orignial purpose of Figure 2 All baselines in Figure 2 are test-time scaling methods that overlap with MILES in different components. Self-Consistency serves as the standard sampling-based baseline, while ToT performs tree search and rStar uses MCTS. DoRA additionally relies on an external process reward model to evaluate intermediate reasoning states. Comparing MILES with these methods helps isolate the value of its memory construction and selection mechanism beyond sampling, search, or external state scoring alone.
We will add these memory-baseline points to Fig. 2 so the cost–performance frontier includes the closest works. We hope this resolves the concern that the cost-vs-performance analysis was incomplete.
[W5] Contribution of each pipeline component
Thank you for raising this. Table 4 disentangles memory construction and selector learning; we add the one previously missing piece, an ablation of MCTS itself.
What Table 4 already isolates. Memory construction: Exp 1 (no memory) → Exp 2 (memory with similarity selection only). Learned selector training: Exp 2 → Exp 4 (adding the learned selection head). Learned vs. non-learned selection: Exp 4 vs. Exp 5/6, where the trained head beats state-similarity and LLM-prompt reranking, showing it captures signal beyond surface similarity or prompting. Appendix Tables 12–13 further ablate the selector's feature construction and candidate count. We will make this framing clearer in the paper.
New MCTS ablation. We replace UCT selection with random tree search during confident-sample data collection, holding memory construction and selector training fixed:
| Dataset | Method | Accuracy | Correct-answer proportion | Instruction-correct rate |
|---|---|---|---|---|
| AIME 2024 | Random tree search | 66.67 | 32.87 | 44.94 |
| AIME 2024 | MILES (MCTS) | 66.67 | 39.64 | 57.14 |
| AIME 2025 | Random tree search | 60.00 | 31.60 | 37.91 |
| AIME 2025 | MILES (MCTS) | 60.00 | 35.54 | 47.27 |
Because only the search procedure varies, the comparison isolates MCTS's contribution. The method is robust to the search procedure — the gains do not hinge on MCTS specifically, supporting that the core contribution is the memory/selector design. MCTS does yield higher-quality training data (correct-answer proportion 39.64 vs. 32.87; instruction-correct rate 57.14 vs. 44.94 on AIME 2024); on these 30-question sets the final-accuracy metric saturates and does not resolve this difference, but the data-quality gain is what selector training benefits from.
Together with Table 4, this disentangles all three components the reviewer names (memory construction, MCTS, memory selector training). We hope this resolves the concern that the pipeline's components were not disentangled.
Thanks, and I acknowledge that I have read the rebuttal.
Thank you for your time and reply
Thank you for taking the time to carefully read and consider our rebuttal. We sincerely appreciate your thoughtful review and consideration.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only, CLEAR MAJOR CONCERN: Check this box if there is a clear, major concern for which you do not need further clarifications. Detail the concern in the Strengths and Weaknesses section. Use another option below if you would benefit from a consultation with an expert.
Read review
Summary
This paper proposes MILES, a test-time memory framework for improving frozen LLM reasoning over a stream of problems. The method stores modular memory units as asymmetric pairs of sub-goal embeddings and natural-language sub-instructions, associates each unit with a lightweight learned selection head, and uses a coarse-to-fine retrieval mechanism to select instructions during reasoning. Confident samples, identified through answer consistency among multiple initial rollouts, are used to expand memory and train the selection heads using MCTS-derived rollout outcomes; uncertain samples are handled with memory-guided tree search. The paper evaluates the approach on math and academic reasoning benchmarks, including MATH-500, AIME 2024/2025, GPQA-Diamond, and MMLU-Pro subsets, and reports improvements over ZS-CoT, self-consistency, Dynamic CheatSheet, and Buffer-of-Thoughts across several backbones.
Strengths and weaknesses
I see the paper as promising, but not yet fully convincing, bellow is my concern.
- The motivation is strong. Reusing experience across test-time problems is a useful direction, and the modular memory design is more flexible than storing whole solution templates.
- The main evaluation concern is the online setting. MILES learns from earlier test examples and uses that memory on later ones, but the baselines do not clearly get the same cross-problem information or adaptation budget. This makes the comparison hard to interpret as a standard benchmark result.
- The method relies on pseudo-labels from confident majority answers. This is reasonable, but the paper does not show how often those pseudo-labels are actually correct, or what happens when the model is confidently wrong.
- There is an important inconsistency in the method description: Equation (3) and Appendix I.4 seem to say opposite things about what happens when
beta_c2f = 0. This directly affects whether the learned selection heads are used in the math experiments. - The empirical evidence needs stronger reporting. Many AIME gains correspond to only one or two questions, but the paper gives no error bars. Compute and reproducibility details are also incomplete, and the PDF has some formatting/submission-integrity issues that should be checked separately by the AC/PC.
Questions
1: Clarify and fix the beta_c2f inconsistency. According to Equation (3), beta_c2f = 0 removes the learned selection-head score, but Appendix I.4 states the opposite. Which implementation was used for the reported math results? Please provide corrected equations and rerun or re-tabulate the main math experiments if necessary. My score would decrease if the main math results did not actually use learned selection heads despite the claims. 2: Make the evaluation protocol explicit and fair. Are Table 1 results produced by accumulating memory over the same benchmark test set before solving later test examples? If so, please frame this as an online/transductive test-stream setting and compare against baselines that receive the same prior solved examples, memory budget, and compute. A clean offline train/test split or fresh held-out stream would substantially strengthen the paper. 3: Quantify pseudo-label reliability. Please report the fraction of confident samples, the accuracy of confident majority pseudo-labels against ground truth for analysis only, and the effect of wrong pseudo-labels on learned memory. An ablation that trains memory only from truly correct confident samples, for diagnostic purposes, would clarify whether the method is robust to confident errors. 4: Add uncertainty estimates. For AIME, report binomial confidence intervals or bootstrap intervals across random orders/seeds. For MMLU-Pro subsets, report variability over sampled subsets. The current AIME gains often correspond to very few questions, so significance matters.
Limitations
The paper briefly mentions instruction-following dependence and rollout-based computational overhead, and the broader impact section notes possible inheritance and amplification of errors. However, it does not sufficiently discuss the central limitations of the work: online use of benchmark test streams, pseudo-label error amplification, statistical uncertainty on small benchmarks, compute fairness, routing-threshold sensitivity, and the implications of using learned memory accumulated from prior test samples.
Final justification
After considering the authors' rebuttal and the discussion, I am raising my rating from 3 to 4.
- The clarification of the
beta_c2fconvention, together with the existing heads-off/heads-on ablation in Table 4, substantially resolves my main concern that the reported mathematics results might not have used the learned selection heads. - The pseudo-label coverage/accuracy results and the correct-confident-only diagnostic directly address my concern about confidently wrong supervision.
- The explicit online test-stream framing, disjoint offline-memory results, and compute-matched memory baselines materially reduce my evaluation-fairness concern.
- Some limitations remain: the closest-baseline comparison is still narrow, the offline analysis does not fully replace a complete clean-split evaluation, and the confidence-interval methodology needs clearer reporting, including the number of runs, resampling unit, interval construction, and paired-test statistics.
Overall, the rebuttal materially changes the evidential basis of my original review. The remaining issues limit the breadth and statistical interpretation of the results, but they no longer outweigh the paper's strengths. They should be stated precisely in the final manuscript.
Formatting concerns
I note a formatting and submission-integrity concern. On page 36, the NeurIPS checklist section appears to retain the template instruction block that explicitly asks authors to delete it.
3 comments
Rebuttal
We thank the reviewer for the detailed and constructive review. We respond to each concern below; all new analyses and clarifications will be incorporated into the paper.
[W4/Q1] β_c2f inconsistency and use of the selection heads
Thank you for catching this. The inconsistency is a transcription typo in the appendix, not in Eq. (3): the math results did use the learned selection heads, we verified that this is a reporting error rather than an experimental implementation error; therefore, the reported results are unchanged. (Q1).
The typo and its correction. Eq. (3) is correct as printed. Appendix I.4 and Table 16 transcribed the code's internal parameter, which weights the similarity term — i.e., 1 − β_c2f of Eq. (3). The value used for the math experiments is therefore β_c2f = 1.0, not the 0.0 printed in Table 16. At β_c2f = 1.0, Eq. (3) reduces to score(a, x) = π_θa(a | x): selection is driven solely by the learned selection heads, exactly as Appendix I.4's prose states (L1036). Under the same mapping, the academic-task range [0.4, 0.6] is unchanged, we will update Table 16 with correct β_c2f values for math experiments.
Verification from the submitted results. Table 4 contains both configurations under identical settings: Exp 2 uses Layer-1 similarity only (what β_c2f = 0 would imply), and Exp 4 uses both layers (GPT-4.1-mini):
| Configuration | AIME 2024 | AIME 2025 |
|---|---|---|
| Similarity only, heads off (Table 4, Exp 2) | 63.33 | 53.33 |
| Both layers, heads on (Table 4, Exp 4) | 66.67 | 60.00 |
| Main results (Table 1, MILES) | 66.67 | 60.00 |
The main math results match exactly with the heads-on configuration and are strictly above the non-selection head results, confirming the learned selection heads were used as claimed.
We will correct Table 16 (0.0 → 1.0 for the math datasets), re-verify the remaining entries, and restate the convention directly below Eq. (3). We hope this resolves the concern about which implementation produced the math results.
[W2/Q2] Fairness and explicitness of the evaluation protocol
Yes — Table 1 is an online test-stream evaluation, a standard setting also used in previous papers, and all memory-based methods receive identical cross-problem information; we have stated this and will further clarify it (Q2). Below we clarify the protocol and add offline-split and compute-matched evidence for both fairness dimensions raised in W2.
Information fairness. All memory-based methods in Table 1 (MILES, DC, and BoT)use the same sequential test stream and construct memory only from previously solved questions; earlier answers are never revised. The protocol is: memory for current question depends only on previous questions, and earlier answers are never changed in light of later questions. Every memory-based method therefore has identical cross-problem information; Table 1 compares memory representation and selection design, not access to prior experience. The newly added memory-based baselines (ArcMemo, ReasoningBank; response to Reviewer bDsC) follow the same protocol. We will state this explicitly in Sec. 4.1.
Clean offline split (the reviewer's second option). For the suggested offline setup, we have included such an offline setup with a train/test split and conducted experiments in the paper, as shown in Table 3. Table 3 (partially copied in the following) already builds memory offline from disjoint labeled sets and evaluates on the most-uncertain test samples (GPT-4.1-mini):
| Test set (memory source) | No memory | Offline pre-built memory |
|---|---|---|
| AIME 2025 (AIME 2020–2024) | 23.08 | 38.46 |
| GPQA-Diamond (non-Diamond GPQA) | 48.39 | 54.84 |
Because the memory is built from disjoint data, the gains do not rely on within-test-set accumulation. Consistently, MATH-500 memory matches in-domain memory on AIME 2025 (response to reviewer FrQP).
Compute fairness. We re-evaluated all baselines under output-token budgets matched to MILES, scaling single-rollout methods by majority voting (full tables in our response to Reviewer bDsC). MILES attains the highest accuracy on both AIME sets, at the comparable token cost on AIME 2025 and on AIME 2024. Neither an information asymmetry nor a computation asymmetry explains the gains.
We will frame Table 1 explicitly as an online test-stream evaluation in Sec. 4.1. We hope this resolves the concern that the comparison is hard to interpret as a standard benchmark result.
[W3/Q3] Reliability of confident-sample pseudo-labels
Thank you for this suggestion. We quantified all three requested items: the fraction of confident samples, their pseudo-label accuracy against ground truth (analysis only), and the effect of confidently-wrong samples via the requested clean-training ablation (Q3).
Measured reliability. For each benchmark (GPT-4.1-mini), we compare the pseudo-label — the majority answer — of every confident sample against ground truth:
| Dataset | Pseudo-label acc. (%) | Confident (n / total) | Full-set SC acc. (%) |
|---|---|---|---|
| MATH-500 | 96.83 | 442 / 500 | 89.40 |
| AIME 2024 | 94.44 | 18 / 30 | 56.67 |
| AIME 2025 | 76.47 | 17 / 30 | 53.33 |
| GPQA-Diamond | 79.87 | 159 / 198 | 71.72 |
| MMLU-Pro Physics | 88.40 | 181 / 200 | 83.50 |
| MMLU-Pro Engineering | 83.03 | 165 / 200 | 73.50 |
As shown in the table, pseudo-label accuracy exceeds the full-set self-consistency accuracy on every benchmark, i.e., agreement concentrates on the model's reliable region, so the supervision entering memory is substantially cleaner than the model's overall accuracy.
Effect of confidently-wrong samples. We retrain the selection heads using only the truly-correct confident samples, holding everything else fixed (AIME 2025; mean and 95% CI across seeds):
| Training data | Accuracy |
|---|---|
| All confident samples (MILES) | 60.33 [58.98, 61.69] |
| Truly-correct confident samples only | 60.00 [58.88, 61.12] |
The two settings are statistically indistinguishable, showing that the confidently-wrong fraction does not corrupt the learned memory. Correct-only training slightly reduces variance, while removing memories from incorrect cases slightly lowers accuracy, likely due to reduced coverage. Additionally, memory is stored at the step level, a wrong final answer does not imply wrong steps; our manual analysis (response to Reviewer FrQP) confirms that confidently-incorrect cases retain non-trivial step-level quality.
We will add the competence assumption and the fallback behavior — with no applicable memory, MILES reduces to the base model — to Limitations. We hope this resolves the concern about confidently-wrong pseudo-labels.
[W5/Q4] Error bars and significance on small benchmarks
We agree that significance matters on small benchmarks and have added the requested uncertainty estimates, plus paired evidence across all cells (Q4). One clarification first on benchmark size.
Benchmark size. Each AIME year contains 30 problems (AIME I + II), and we evaluate all 30 ("in full", Sec. 4.1); one question therefore corresponds to 3.33 points. This is verifiable from the submitted tables: entries such as 56.67 (= 17/30, Tables 4–6) cannot occur on a 15-question set. We will state the count explicitly in Sec. 4.1.
Uncertainty estimates on AIME across runs/seeds. We report mean accuracy with 95% CIs across random seeds for AIME, with every method in its Table 1 configuration:
| Dataset | MILES | SC | BoT | DC w/ code |
|---|---|---|---|---|
| AIME 2024 | 66.36 [64.98, 67.69] | 59.67 [57.91, 61.42] | 52.67 [47.07, 58.26] | 62.33 [60.07, 64.60] |
| AIME 2025 | 60.33 [58.98, 61.69] | 53.67 [51.29, 56.04] | 41.37 [37.75, 44.93] | 59.33 [56.19, 62.47] |
MILES's intervals exclude SC's on both AIME sets, i.e., the improvement over memoryless test-time scaling is statistically significant at the 95% level and is not explained by run-to-run variation.
Uncertainty estimates on AIME across sample orders We evaluate MILES under different sample orders in Table 6 and find that its performance remains stable when a sufficient number of MCTS rollouts is used. We further extend this analysis to additional sample orders and report the results as mean accuracy with 95% confidence intervals below.
| Dataset | MILES |
|---|---|
| AIME 2024 | 66.67 [64.72, 68.61] |
| AIME 2025 | 60.00 [58.41, 61.59] |
MILES is stable under sample orders, confirming the online-stream results are not order-dependent.
Uncertainty estimates on AIME across sample orders On MMLU-Pro, we evaluate MILES and Self-Consistency across different sampled subsets from the Physics and Engineering splits. MILES leads SC on both sampled subsets, demonstrating the effectiveness and robustness of MILES.
| Subset | MILES | SC |
|---|---|---|
| Physics | 84.63 [83.27, 85.98] | 83.00 [82.35, 83.65] |
| Engineering | 73.75 [71.86, 75.64] | 72.13 [70.36, 73.89] |
We will include the CI tables and the paired tests in the paper, and correct checklist item 7 accordingly. We hope this resolves the concern that the reported gains could reflect sampling noise.
[W5] Formatting, reproducibility, and the ethics flag
Thank you for pointing this out. The checklist was completed, but its instruction block was accidentally retained on p. 36 during PDF export. We understand the ethics flag to refer to this issue; if it concerns something else, we would appreciate clarification. Appendix J and Tables 15–16 report the experiment details, and we will release the code upon acceptance.
[Limitations]
We will expand the Limitations section to cover the online setting, pseudo-label errors, uncertainty on small benchmarks, compute fairness, routing-threshold sensitivity, and dependence on backbone competence.
Thank you for the detailed response. The clarification of the beta_c2f convention and the additional pseudo-label, protocol, and baseline analyses substantially address my main concerns. I have updated my rating accordingly. The remaining evaluation-scope and statistical-reporting limitations should be incorporated clearly in the final manuscript.
Thank you for your thoughtful feedback
Thank you for your thoughtful feedback and for carefully considering our responses. We appreciate your recognition that the additional clarifications and experiments address the main concerns. We will incorporate the remaining suggestions on evaluation scope and statistical reporting into our revision.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to meta review
We thank the Area Chair for the clear overview, which helped us focus our rebuttal on the points most important for the final assessment. We also sincerely thank all three reviewers for their constructive feedback and suggestions. We summarize our responses to the main concerns below:
On the evaluation protocol, Table 1 follows a strictly causal online test stream: for each question, MILES and all memory-based baselines can use only the same previously processed questions, with no access to future test samples. We also re-ran the baselines under matched output-token budgets. Separately, Table 3 evaluates memory built from disjoint labeled data, and our cross-domain experiments construct memory in one domain and evaluate it in another; these settings do not rely on memory accumulated from the evaluated test samples. (Reviewer Ax9Z acknowledged our response)
On β_c2f, all math experiments used β_c2f=1.0; the value 0.0 in Appendix I.4 and Table 16 is a transcription error. Under Eq. (3), β_c2f=1.0 makes selection depend solely on the learned heads, as intended. Table 4 provides an internal consistency check: the reported math results match the full two-layer setting (Exp. 4) and exceed the similarity-only setting (Exp. 2) corresponding to β_c2f=0. The reported results are therefore unaffected, and we will correct Table 16 and Appendix I.4. (Reviewer Ax9Z acknowledged our response)
On baselines, we added ArcMemo, Retrieval-of-Thought, and ReasoningBank, and evaluated all methods under the same evaluation protocol and matched output-token budgets. (Reviewer bDsC acknowledged our response)
Beyond these three points, we quantified pseudo-label reliability, including a diagnostic comparison using only ground-truth-correct confident samples; analyzed uncertainty across repeated AIME runs, different AIME sample orders, and sampled MMLU-Pro subsets; added cross-domain transfer experiments; and conducted a blinded manual evaluation of selected reasoning paths for applicability, correctness, coherence, and contribution. For clarity, each AIME benchmark contains 30 problems, and our experiments evaluate the full 30-problem set. Together, these analyses provide further evidence for the robustness and effectiveness of MILES. (Reviewers Ax9Z and FrQP acknowledged our response)
We will refine the notations and the relevant definitions so that each symbol and hyperparameter is introduced clearly and used consistently throughout the paper. We will also remove the retained and redundant checklist instruction block on p. 36. (Reviewers Ax9Z and FrQP acknowledged our response)
Reviewers FrQP and Ax9Z subsequently responded positively to our rebuttal and updated their ratings, while Reviewer bDsC acknowledged reading our rebuttal. We thank all three reviewers for their time and careful reading, and we will incorporate the new results along with the remaining suggestions regarding clarity and limitations into our revision.