potentialpaper

Test-Time Learning with an Evolving Library

Weijia Xu, Alessandro Sordoni, Chandan Singh, Zelalem Gero, Michel Galley, Xingdi Yuan, Jianfeng Gao

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. We introduce EvoLib, a test-time learning framework that enables large language models to accumulate, reuse, and evolve knowledge across problem instances without parameter updates or external supervision. Instead of adapting model parameters, our approach maintains a shared library of knowledge abstractions, including modular skills and reflective insights, automatically extracted from the model's own inference trajectories. To support continual improvement, we introduce a principled weighting and consolidation mechanism that jointly optimizes for immediate utility and long-term value. This allows simple, instance-specific abstractions to evolve into more general and reusable ones over time. Across challenging benchmarks in mathematical reasoning, code generation, and multi-turn agentic environments, EvoLib improves substantially over the top test-time scaling and learning methods without ground-truth feedback.

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 paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 4 reviews · OpenReview

Updated 25 Nov 2026, 03:43 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The authors introduced EvoLib which is a test-time learning framework to improve black-box LLM performance by accumulating evolving library of modular skills and reflective insights. The library is updated by novel metrics to balance immediate utility with the potential for future knowledge extraction. All reviewers appreciate timeliness and practicality of the problem setting. They also highlight that learning without parameter updates is highly relevant for black-box LLM deployment. Furthermore, all reviewers praised the broad experimental results across math, code generation and multi-turn agentic tasks.

On the other hands, reviewers also raised several concerns on this paper. For the paper to be strongly considered, the authors must successfully address the following concerns in their rebuttal:

  • Baselines and novelty: Clarify the core algorithmic novelty compared to related memory and evolution methods (e.g., Dynamic Cheatsheet). Please provide comparisons (or explicit and detailed discussions) with stronger baselines like Agent Workflow Memory, ReasoningBank, or AdaEvolve.
  • Robustness to self-evaluation noise: Provide an analysis quantifying how sensitive EvoLib is on underlying self-evaluator. What is the correlation between self-evaluated scores and true task success and how does the proposed method perform if the self-evaluator is noisy (e.g., replaced by a weaker judge).
  • Cost: Provide a more explicit and granular breakdown of the full inference costs per task. This should include the exact number of LLM calls used for solution generation, scoring, abstraction extraction, retrieval and consolidation.
  • Evaluation fairness and generalization: Address the concern that the static benchmark setting allows EvoLib to exploit test set history in a way that disadvantages independent-instance baselines. Additionally, briefly discuss if the method generalizes to open-weight or weaker base models.

In the rebuttal, authors addressed most of these concerns by providing new compute-matched baselines, breakdown of inference costs, empirical analysis of self-evaluation noise and generalization results on Qwen models. All reviewers agree that the rebuttals clearly resolved most of the concerns.

Final justification

The authors made successful rebuttal that resolves most major concerns raised by the reviewers. Especially, the authors provide additional experimental results including (i) additional baselines, (ii) detailed breakdown cost analyses, (iii) generalization capabilities on open-weight model. I am confident to recommend this paper for acceptance.

Area Chair ATtn · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The authors introduced EvoLib which is a test-time learning framework to improve black-box LLM performance by accumulating evolving library of modular skills and reflective insights. The library is updated by novel metrics to balance immediate utility with the potential for future knowledge extraction. All reviewers appreciate timeliness and practicality of the problem setting. They also highlight that learning without parameter updates is highly relevant for black-box LLM deployment. Furthermore, all reviewers praised the broad experimental results across math, code generation and multi-turn agentic tasks.

On the other hands, reviewers also raised several concerns on this paper. For the paper to be strongly considered, the authors must successfully address the following concerns in their rebuttal:

  • Baselines and novelty: Clarify the core algorithmic novelty compared to related memory and evolution methods (e.g., Dynamic Cheatsheet). Please provide comparisons (or explicit and detailed discussions) with stronger baselines like Agent Workflow Memory, ReasoningBank, or AdaEvolve.
  • Robustness to self-evaluation noise: Provide an analysis quantifying how sensitive EvoLib is on underlying self-evaluator. What is the correlation between self-evaluated scores and true task success and how does the proposed method perform if the self-evaluator is noisy (e.g., replaced by a weaker judge).
  • Cost: Provide a more explicit and granular breakdown of the full inference costs per task. This should include the exact number of LLM calls used for solution generation, scoring, abstraction extraction, retrieval and consolidation.
  • Evaluation fairness and generalization: Address the concern that the static benchmark setting allows EvoLib to exploit test set history in a way that disadvantages independent-instance baselines. Additionally, briefly discuss if the method generalizes to open-weight or weaker base models.

In the rebuttal, authors addressed most of these concerns by providing new compute-matched baselines, breakdown of inference costs, empirical analysis of self-evaluation noise and generalization results on Qwen models. All reviewers agree that the rebuttals clearly resolved most of the concerns.

Final justification

The authors made successful rebuttal that resolves most major concerns raised by the reviewers. Especially, the authors provide additional experimental results including (i) additional baselines, (ii) detailed breakdown cost analyses, (iii) generalization capabilities on open-weight model. I am confident to recommend this paper for acceptance.

2 comments
Authors · CommentOpenReview ↗

Author Response

We thank all reviewers and the area chair for the constructive suggestions and insightful feedback. We conducted four sets of additional experiments: (1) comparisons against ReasoningBank on agentic tasks and GEPA on math and coding tasks; (2) agreement diagnostics between self-evaluation and true evaluation on all five benchmarks, plus a weaker-judge experiment; (3) a breakdown of generative calls, embedding calls, raw token counts, and storage cost; and (4) additional experiments using an open-weight Qwen3.5-9B model as the base LLM. These results strengthen the evidence that EvoLib outperforms strong test-time learning and evolutionary search algorithms. It also generalizes to open-weight, weaker base models like Qwen3.5-9B.

Baselines and novelty. EvoLib’s main algorithmic contribution is a library update rule that performs consolidation and credit assignment over evolving knowledge abstractions. Unlike existing test-time learning and evolutionary search algorithms that simply append new knowledge to a library or repeatedly rewrite a global memory or prompt, EvoLib selectively consolidates related entries, and updates both newly created and antecedent abstractions according to their immediate contribution to solution quality and contribution to future useful abstractions. These mechanisms together support the evolution of knowledge without much interference between different groups of problems or knowledge.

We added two compute-matched baselines (3 runs each). We chose ReasoningBank instead of AWM because ReasoningBank is reported to outperform AWM consistently by using both successful and failed trajectories, and GEPA rather than AdaEvolve because GEPA combines evolutionary search with self-reflection which fits our setting better (i.e. no ground-truth verifier), whereas AdaEvolve relies more on ground-truth evaluation signals.

Since ReasoningBank is designed for agentic tasks, we compared EvoLib with it on the two agentic benchmarks:

Agentic (compute-matched) ScienceWorld Success ScienceWorld Progress PDDL Success PDDL Progress
Base 53.3 82.9 62.8 79.1
ReasoningBank 56.7 82.8 62.8 78.5
EvoLib 57.4 84.3 72.8 86.2

EvoLib significantly outperforms ReasoningBank by +10 points in success rate on PDDL (based on paired student's t-test with p<0.05p<0.05), with small improvements on ScienceWorld.

Reasoning / code (compute-matched) HMMT LiveCodeBench
Base 57.0 58.8
GEPA 63.4 56.3
EvoLib 77.4 70.0

On HMMT and LiveCodeBench, EvoLib improves over GEPA by +14 points. This result is consistent with our hypothesis that evolving multiple chains of knowledge for different types of problems is better suited to heterogeneous math and coding tasks than optimizing one global prompt.

Robustness to self-evaluation noise. We further assess how accurate the self-evaluation signal is compared to the true evaluation scores for the models and benchmarks used in our experiments:

Self-evaluator vs. ground truth HMMT BigCodeBench LiveCodeBench ScienceWorld PDDL
ROC-AUC 89.6 67.3 79.5 72.3 99.3
Precision (self-accepted solutions that truly pass) 86.8 43.8 80.3 30.0 100.0
Recall (truly-passing solutions that are self-accepted) 90.1 22.9 60.7 61.2 97.8
F1 88.4 30.1 69.1 40.3 98.9
Overestimate rate (self=pass, truly fails) 8.2 9.2 8.4 16.1 0.0
Underestimate rate (self=fail, truly passes) 5.9 24.0 22.1 4.4 0.4

The quality of the self-evaluation signals vary across benchmarks. Its quality is especially high on PDDL where the environment responses contain rich information for the model to accurately judge the task progress. Even on coding tasks where self-evaluation signals are noisy with ROC-AUC scores of 67-80%, EvoLib still leads to substantial gains and improves performance more efficiently than the baselines as test-time compute increases (see Table 1 and Figure 2).

In addition, we also experimented with a weaker judge model, Qwen3.5-9B. Using Qwen3.5-9B as the synthetic test generator and GPT-4o for solution generation and library-related operations on BigCodeBench, EvoLib achieves a pass rate of 35.4%, still outperforming best-of-N under the same setting by +1.6 points.

Authors · CommentOpenReview ↗

Author Response (continue)

Cost. We further report the number of LLM calls, total token counts, storage usage, and LLM call breakdown (for one run over all tasks under the same budget as in Table 1):

LLM calls HMMT BigCodeBench LiveCodeBench ScienceWorld PDDL
Best-of-N 2790 29748 2480 1779 1226
EvoLib 2398 22487 1474 3348 2017
Total tokens, in+out (M) HMMT BigCodeBench LiveCodeBench ScienceWorld PDDL
Best-of-N 4.2 37 5.4 7.4 5.7
EvoLib 6.5 49 4.9 9.6 6.5
EvoLib call breakdown HMMT BigCodeBench LiveCodeBench ScienceWorld PDDL
Solution generation 2080 15000 1200 1850 1098
Scoring 105 148 80 459 265
Abstraction extraction 208 3900 174 531 280
Consolidation 5 3439 20 508 374
Total LLM calls 2398 22487 1474 3348 2017
Retrieval (embedding calls) 563 8850 420 2592 1471

Storage: EvoLib 4–30 MB versus ExpRAG 57–70 MB.

At the matched weighted-token budgets (input_tokens + output_tokens*4 based on the current per-token pricing) used for Table 1, EvoLib trades some additional raw tokens for fewer total LLM calls on three static benchmarks, while requiring more calls on the two agentic benchmarks. The breakdown of the LLM calls shows that over 50% of the LLM calls are used for solution generation, while less than 50% are used for scoring and library-related operations.

Evaluation fairness and generalization. We agree that best-of-N and RSA are not history-matched baselines. We include them to compare EvoLib's test-time learning against competitive test-time scaling methods that solve each task independently. The controlled comparisons for stream-history access are ExpRAG, Dynamic Cheatsheet, and ReasoningBank, all of which exploit prior test-stream experience. We will make this distinction explicit.

Additionally, we test EvoLib using a weaker, open-weight base model, Qwen3.5-9B.

BigCodeBench GPT-4o Qwen3.5-9B
Best-of-N 37.2 27.0
EvoLib 40.8 33.1

Results show that EvoLib still outperforms best-of-N by a large margin (+6.1) using Qwen3.5-9B. This provides initial evidence that the gain transfers to a weaker open-weight model.

Reviewer yQJROpenReview ↗
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 EvoLib, a test-time learning framework for black-box LLMs. The system builds and updates a library of reusable abstractions from model-generated trajectories, without changing model parameters or using external supervision. The library contains modular skills and reflective insights. New abstractions are scored using Information Gain and Future Information Gain, so that the system can keep not only abstractions that help immediately, but also those that may help generate useful future abstractions. The paper evaluates the method on math reasoning, code generation, and multi-turn agentic tasks, and compares it with several test-time scaling and test-time learning baselines.

Strengths and weaknesses

Strengths

  1. The paper studies an important problem. Many useful LLMs are only available as black boxes, so it is worthwhile to ask how they can improve across test-time instances without gradient updates.
  2. The abstraction library is a reasonable design choice. Separating procedural skills from reflective insights makes sense, because these two types of information are useful in different ways.
  3. The idea of using both immediate information gain and future information gain is interesting. It gives the method a way to keep abstractions that are not only useful now, but may also support better abstractions later.
  4. The experiments cover several types of tasks, including math, code, and agentic environments. This is helpful because test-time learning methods can behave quite differently across domains.
  5. The paper includes useful ablations on abstraction type, shared versus per-instance libraries, weighting, and consolidation. These results make it easier to see which parts of the system matter.
  6. I also appreciated the comparison under compute budgets. Even though I have questions about the accounting, the paper at least tries to compare against test-time scaling baselines in a cost-aware way.

Weaknesses

  1. The novelty over existing memory and reflection methods could be sharper. EvoLib combines several familiar ideas: memory-augmented LLMs, skill extraction, reflection, and test-time scaling. The weighting mechanism is interesting, but the paper should make clearer what the main new algorithmic contribution is.
  2. The comparison to Dynamic Cheatsheet and related evolving-memory systems needs more explanation. The results suggest EvoLib works better, but I would like a clearer conceptual distinction beyond empirical performance.
  3. The method depends on the quality of self-evaluation. This is probably reasonable for code and many math problems, where verification is easier. It is less clear how robust the approach would be on open-ended tasks, factual tasks, or settings where the model’s own judgment is unreliable.
  4. The compute comparison is somewhat hard to parse. EvoLib needs extra calls for scoring, abstraction extraction, consolidation, and retrieval. The weighted token count helps, but I would still like to see a more explicit accounting of the number and purpose of calls per task.
  5. The static benchmark setting may mix evaluation with adaptation in a way that needs careful interpretation. If the system repeatedly sees problems from the same benchmark distribution, extracted knowledge from earlier problems may help later ones because of benchmark-level similarity. That can be a valid test-time learning setup, but it should be framed clearly.
  6. The main results are averaged over a small number of runs. Since LLM generation and library evolution are both stochastic, clearer uncertainty reporting in the main text would make the results easier to judge.
Questions
  1. What do the authors see as the main algorithmic novelty relative to Dynamic Cheatsheet, ExpRAG, and other memory- or reflection-based agents? Is it the abstraction format, the IG/Future-IG weighting, the consolidation step, or the combination?
  2. How reliable is the self-evaluation signal across tasks? Do the authors have diagnostics showing when the model’s own scoring agrees with ground-truth evaluation, especially outside code execution or answer-checking settings?
  3. Could the authors make the compute accounting more explicit? For each budget, how many LLM calls are used for solution generation, scoring, abstraction extraction, retrieval, and consolidation?
  4. In the static benchmark setting, how are repeated passes over the dataset organized? Should readers interpret this as learning a reusable problem-solving library for a stable task distribution, or as a more general test-time adaptation method?
  5. How sensitive is the method to library size and retrieval limits? The appendix discusses memory growth, but a short explanation in the main text would help readers understand scalability.
Limitations

The paper notes that EvoLib relies on the model’s own judgment and is best suited to domains where verification is easier than generation. It also notes that generalization beyond the evaluated domains is still uncertain. I would suggest adding a more explicit limitation about possible benchmark-level reuse or over-specialization in static test-time learning, as well as the cost of retrieval and consolidation as the library grows.

Formatting concerns

No

2 comments
Authors · CommentOpenReview ↗

Author Rebuttal -- Part I

Thank you for the insightful and constructive feedback! In response to the weakness concerns:

  • Main algorithmic contribution. EvoLib’s main algorithmic contribution is a library update rule that performs consolidation and credit assignment over evolving knowledge abstractions. Unlike existing test-time learning and evolutionary search algorithms that simply append new knowledge to a library or repeatedly rewrite a global memory or prompt, EvoLib selectively consolidates related entries, and updates both newly created and antecedent abstractions according to their immediate contribution to solution quality and contribution to future useful abstractions. These mechanisms together support the evolution of knowledge without much interference between different groups of problems or knowledge. We will make it clearer in the introduction of the paper in the next version.

  • Distinction from Dynamic Cheatsheet. Dynamic Cheatsheet relies solely on the LLM to repeatedly rewrite the whole abstract memory, which can lead to the misgrouping and interference issues identified by [1]. EvoLib extracts knowledge from a single problem and trajectory at a time, consolidates only highly relevant ones, and propagates credit along evolution chains, so specialized abstractions can coexist and evolve nonlinearly, alleviating the misgrouping and interference issues. We will further clarify it in the paper.

  • Dependence on self-evaluation. We further assess how accurate the self-evaluation signal is compared to the true evaluation scores for the models and benchmarks used in our experiments:

Self-evaluator vs. ground truth HMMT BigCodeBench LiveCodeBench ScienceWorld PDDL
ROC-AUC 89.6 67.3 79.5 72.3 99.3
Precision (self-accepted solutions that truly pass) 86.8 43.8 80.3 30.0 100.0
Recall (truly-passing solutions that are self-accepted) 90.1 22.9 60.7 61.2 97.8
F1 88.4 30.1 69.1 40.3 98.9
Overestimate rate (self=pass, truly fails) 8.2 9.2 8.4 16.1 0.0
Underestimate rate (self=fail, truly passes) 5.9 24.0 22.1 4.4 0.4

The quality of the self-evaluation signals vary across benchmarks. Its quality is especially high on PDDL where the environment responses contain rich information for the model to accurately judge the task progress. Even on coding tasks where self-evaluation signals are noisy with ROC-AUC scores of 67-80%, EvoLib still leads to substantial gains and improves performance more efficiently than the baselines as test-time compute increases (see Table 1 and Figure 2).

In addition, we also experimented with a weaker judge model, Qwen3.5-9B. Using Qwen3.5-9B as the synthetic test generator and GPT-4o for solution generation and library-related operations on BigCodeBench, EvoLib achieves a pass rate of 35.4%, still outperforming best-of-N under the same setting by +1.6 points.

On open-ended domains like open math problems or factual tasks, a promising future direction would be to incorporate the sparse external evaluation or human feedback signals to drive a self-improving verifier.

  • Compute accounting. We further report the LLM call breakdown (for one run over all tasks under the same budget as in Table 1) below:
EvoLib call breakdown HMMT BigCodeBench LiveCodeBench ScienceWorld PDDL
Solution generation 2080 15000 1200 1850 1098
Scoring 105 148 80 459 265
Abstraction extraction 208 3900 174 531 280
Consolidation 5 3439 20 508 374
Total LLM calls 2398 22487 1474 3348 2017
Retrieval (embedding calls) 563 8850 420 2592 1471

The breakdown shows that over 50% of the LLM calls are used for solution generation, while less than 50% are used for scoring and library-related operations.

  • Benchmark-level similarity. Yes, you are right. The underlying assumption behind the static benchmark setting is that a task drawn from the benchmark shares similar solution strategy or knowledge with some other tasks in the benchmark. We will make it clear in the next version of the paper.

  • Uncertainty reporting. We reported the significance test results in the original paper and will add standard deviations in the main tables in the next version.

Authors · CommentOpenReview ↗

Author Rebuttal -- Part II

In response to the remaining questions:

  • Static and continual settings. In the static setting, tasks are revisited across iterations, so the goal is to learn a reusable library that can generalize on tasks from the same or similar task distribution. In the continual setting, each task is attempted once in stream order, so the goal is to do continuous test-time adaption to the new tasks. We will clarify this at the start of the experimental section.

  • Library size growth. With consolidation, the library grows quickly at first and then much more slowly, staying under 2000 entries after 5000 iterations versus over 4000 without consolidation (Figure B.2). We will summarize this in the main text.

[1] Zhang, Dylan, et al. "Useful memories become faulty when continuously updated by llms." arXiv preprint arXiv:2605.12978 (2026).

Reviewer ev9QOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
2/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 propose a test-time learning framework called EVOLIB that can let black-box LLMs to reuse knowledge across task via an well-designed evolving library rather than parameter updates. The evolving library has two abstractions, which are modular skills and reflective insights. These abstracts are obtained from the model-generated reasoning traces and updated through many well-formed gains. Empirically, on math, coding, and multi-turn agentic tsks, the proposed EVOLIB consistently outperforms baselines. Further ablations validate the methodological design and its principled mechanisms.

Strengths and weaknesses

Strengths

  1. The task is significant and the problem formulation is clear.
  2. The proposed method of combining Information Gain and Future Information Gain is efficient and promising.
  3. The empirical results are strong and solid.

Weaknesses

  1. The datasets are relatively small, e.g., all of HMMT and LiveCodeBench Hard and ScienceWorld and PDDL have dozens of tasks. I admit that they are hard benchmarks, but the small sizes somewhat make the work less robust and credible.
  2. Novelty over recent memory-based TTL methods is not fully convincing.
  3. The method relies on synthetic tests, majority voting, LLM-as-judge, and self-judged subgoal completion. These signals are fragile to support the central claims.
  4. The quality of the evolving library is under-studies, requiring a deeper and more thorough theoretical analysis.
  5. The paper's structure and writing need further improvement.
Questions
  1. I wonder that the sensitivity to many hyper-params, e.g., how sensitive is the method to the number of trials, embedding thresholds, number of retrieved skills/insights, and consolidation thresholds?
  2. Can you compare against AWM-style workflow memory, Reflexion-style agents, Self-Refine, self-consistency, and verifier-based reranking?
  3. What are the full costs during the inference stages. For instance, API calls, latency, embedding operations, code execution, and storage, there metrics are more practical and critical in the real-world case, not just weighted token count.
  4. About the LLM-as-judge mechanism, how does performance change if the LLM judge is replaced by a weaker judge, a different model, or no judge?
  5. Can the library be audited, edited, or reset when it learns harmful or incorrect abstractions?
Limitations

Yes.

Final justification

I maintain my positive rating.

Formatting concerns

N/A

3 comments
Authors · CommentOpenReview ↗

Author Rebuttal -- Part I

Thank you for the insightful and constructive feedback! In response to the weakness concerns:

  • Dataset sizes. The benchmarks used in the experiment contain 93 (HMMT), 80 (LiveCodeBench Hard), 148 (BigCodeBench Hard), 60 (PDDL), and 90 (ScienceWorld) tasks. These are all well-known benchmarks commonly used in the literature. To offset their size, every method-dataset cell is averaged over 3 seeds and we report significance tests.

  • Novelty over memory-based TTL. EvoLib’s main algorithmic contribution is a library update rule that performs consolidation and credit assignment over evolving knowledge abstractions. Unlike existing test-time learning and evolutionary search algorithms that simply append new knowledge to a library or repeatedly rewrite a global memory or prompt, EvoLib selectively consolidates related entries, and updates both newly created and antecedent abstractions according to their immediate contribution to solution quality and contribution to future useful abstractions. These mechanisms together support the evolution of knowledge without much interference between different groups of problems or knowledge.

To strengthen the comparison with recent memory-based TTL methods, we additionally compared EvoLib with ReasoningBank, which is a strong TTL approach that has been shown to outperform other existing approaches. Since ReasoningBank is designed for agentic tasks, we compared EvoLib with it on the two agentic benchmarks:

Agentic (compute-matched) ScienceWorld Success ScienceWorld Progress PDDL Success PDDL Progress
Base 53.3 82.9 62.8 79.1
ReasoningBank 56.7 82.8 62.8 78.5
EvoLib 57.4 84.3 72.8 86.2

EvoLib significantly outperforms ReasoningBank by +10 points in success rate on PDDL (based on paired student's t-test with p<0.05p<0.05), with small improvements on ScienceWorld.

  • Sensitivity to self-evaluation noise. We further assess how accurate the self-evaluation signal is compared to the true evaluation scores for the models and benchmarks used in our experiments:
Self-evaluator vs. ground truth HMMT BigCodeBench LiveCodeBench ScienceWorld PDDL
ROC-AUC 89.6 67.3 79.5 72.3 99.3
Precision (self-accepted solutions that truly pass) 86.8 43.8 80.3 30.0 100.0
Recall (truly-passing solutions that are self-accepted) 90.1 22.9 60.7 61.2 97.8
F1 88.4 30.1 69.1 40.3 98.9
Overestimate rate (self=pass, truly fails) 8.2 9.2 8.4 16.1 0.0
Underestimate rate (self=fail, truly passes) 5.9 24.0 22.1 4.4 0.4

The quality of the self-evaluation signals vary across benchmarks. Its quality is especially high on PDDL where the environment responses contain rich information for the model to accurately judge the task progress. Even on coding tasks where self-evaluation signals are noisy with ROC-AUC scores of 67-80%, EvoLib still leads to substantial gains and improves performance more efficiently than the baselines as test-time compute increases (see Table 1 and Figure 2).

In addition, we also experimented with a weaker judge model, Qwen3.5-9B. Using Qwen3.5-9B as the synthetic test generator and GPT-4o for solution generation and library-related operations on BigCodeBench, EvoLib achieves a pass rate of 35.4%, still outperforming best-of-N under the same setting by +1.6 points.

  • Library quality analysis. We analyzed the top 10 skills and insights in EvoLib on each benchmark. We found that the top-weighted abstractions are often concrete and useful on a subset of the problems, without showing the interference (where repeated rewriting strips away applicability conditions and turns useful lessons into overly broad guidance) or overfitting (where memory becomes tied to narrow surface patterns rather than reusable strategies) issues identified in existing memory-based test-time learning methods by [1]. We will provide the top 10 abstractions on each benchmark and the analysis in the next version of the paper.

  • Structure and writing. We are happy to improve the structure and writing of the paper to make it easier to follow.

Authors · CommentOpenReview ↗

Author Rebuttal -- Part II

In response to the remaining questions:

  • Hyperparameter sensitivity. We added the experiment with varying hyper-parameter values on BigCodeBench. Performance varies by at most two points across the tested number of trials ([3, 6, 10]) and number of retrieved skills/insights ([5, 10, 20]), while the consolidation threshold has a larger effect of approximately four points.

  • AWM, reflexion, self-refinement, self-consistency, verifier-based reranking. We have included baselines with reflexion, self-refinement, self-consistency and verifier-based reranking. Specifically, best-of-N uses self-consistency on math and verifier-based reranking on coding benchmarks. RSA uses iterative reflexion and self-refinement methods to search for high-quality solutions. DC learns insights across tasks through self-reflexion. We also added a comparison with ReasoningBank, which has been shown to consistently outperform AWM on agentic tasks (see Novelty over memory-based TTL.). Overall, EvoLib consistently improves over these baselines.

  • Full inference cost. We further report the number of LLM calls, total token counts, storage usage, and LLM call breakdown (for one run over all tasks under the same budget as in Table 1):

LLM calls HMMT BigCodeBench LiveCodeBench ScienceWorld PDDL
Best-of-N 2790 29748 2480 1779 1226
EvoLib 2398 22487 1474 3348 2017
Total tokens, in+out (M) HMMT BigCodeBench LiveCodeBench ScienceWorld PDDL
Best-of-N 4.2 37 5.4 7.4 5.7
EvoLib 6.5 49 4.9 9.6 6.5
EvoLib call breakdown HMMT BigCodeBench LiveCodeBench ScienceWorld PDDL
Solution generation 2080 15000 1200 1850 1098
Scoring 105 148 80 459 265
Abstraction extraction 208 3900 174 531 280
Consolidation 5 3439 20 508 374
Total LLM calls 2398 22487 1474 3348 2017
Retrieval (embedding calls) 563 8850 420 2592 1471

Storage: EvoLib 4–30 MB versus ExpRAG 57–70 MB.

At the matched weighted-token budgets (input_tokens + output_tokens*4 based on the current per-token pricing) used for Table 1, EvoLib trades some additional raw tokens for fewer total LLM calls on three static benchmarks, while requiring more calls on the two agentic benchmarks. The breakdown of the LLM calls shows that over 50% of the LLM calls are used for solution generation, while less than 50% are used for scoring and library-related operations.

  • Weaker or no judge. We added an experiment using a weaker judge model as discussed above. The performance gain of EvoLib persists when using a weaker judge. The no-judge setting is not feasible for EvoLib, as the solution selection, scoring and reflection steps will all be undefined in this setting.

  • Auditing, editing, resetting the library. Yes. Entries are stored explicitly and can be inspected, removed, edited, or the library can be reset. We have not evaluated human auditing, so we present this as a potential rather than an empirical guarantee.

[1] Zhang, Dylan, et al. "Useful memories become faulty when continuously updated by llms." arXiv preprint arXiv:2605.12978 (2026).

Reviewer ev9Q · CommentOpenReview ↗

I appreciate the author's responses, so I maintain my positive rating.

Reviewer H3bpOpenReview ↗
Rating
4/6
Confidence
4/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 EVOLIB, a test-time learning method that maintains an evolving library of reusable abstractions. These abstractions are retrieved and inserted into the prompt to help solve new tasks. The library contains two types of entries: modular skills, such as code functions, subproblems with solutions, or reusable workflows, and reflective insights, expressed as natural-language instructions or corrective tips. New abstractions are extracted from the model’s own generated trajectories. For reflective insights, the generated solutions are first scored using domain-specific self-verification: for example, synthetic tests are generated for code problems, while reasoning and agentic tasks use majority voting, LLM-as-a-judge, or subgoal-based self-evaluation. The model then reflects on the solution and extracts reusable insights. Each abstraction is assigned scores based on the paper’s proposed Information Gain and Future Information Gain mechanisms. These scores are intended to capture the abstraction’s immediate utility and its potential to enable useful future abstractions. Credit is propagated both to newly extracted abstractions and to previously sampled abstractions that contributed to their generation. When a new abstraction is added, it is compared against existing library entries and may be consolidated with a similar one to avoid uncontrolled library growth. At inference time, abstractions are first filtered by semantic similarity to the current task and then sampled according to their learned weights. Experiments on math, code generation, and agentic benchmarks show that EVOLIB improves over Best-of-N, RSA, ExpRAG, and Dynamic Cheatsheet baselines, often achieving a better quality–efficiency trade-off under the same weighted token budget.

Strengths and weaknesses

Strengths:

  • Timely problem setting. The paper targets test-time learning through reusable evolving libraries, which is relevant given the rise of agentic workflows, tool-use systems, and inference harnesses.
  • Practical applicability. The method is implemented purely as a harness around the model: it does not require parameter updates, access to model weights, or task-specific training. This makes it applicable to black-box/proprietary LLMs and realistic deployment settings.

Weaknesses:

  • Paper structure and positioning. The introduction spends substantial space explaining the method, which is later reintroduced in the method section. This space could be used more effectively to position the work against closely related test-time learning, memory-based, and evolutionary search methods, and to make the distinguishing features of EvoLib clearer. In particular, the related work section could more explicitly compare EvoLib to methods such as Dynamic Cheatsheet, Agent Workflow Memory, ReasoningBank, GEPA, AdaEvolve, and other library- or evolution-based test-time search approaches.
  • Limited analysis of self-evaluation noise. The method relies heavily on model-based self-evaluation: synthetic tests for code, majority voting and LLM-as-a-judge for math, and subgoal-based judging for agentic tasks. The paper claims that averaging Future IG scores across iterations makes the method less sensitive to noisy self-evaluated scores, but this is not directly validated experimentally. Since noisy self-evaluation can bias the library toward spurious abstractions, the paper should quantify the reliability of the self-evaluator on each benchmark and analyze how such noise affects library updates.
  • Limited model coverage. The experiments use GPT-4o for BigCodeBench and o4-mini for HMMT, LiveCodeBench, ScienceWorld, and PDDL. This leaves open whether the method generalizes across model families, especially to open-source models. Since EvoLib is presented as a general harness-level method, it would be useful to evaluate whether the gains persist with weaker or open-weight models.
  • Missing stronger baselines. The current baselines include Best-of-N, RSA, ExpRAG, and Dynamic Cheatsheet, but the comparison may be incomplete for an evolution/library-based test-time method. Stronger or more directly related baselines, such as GEPA, AdaEvolve-style evolutionary search with self-reflection, ReasoningBank, Agent Workflow Memory, or code-specific self-verification/search baselines, should be included or explicitly discussed if they are not applicable.
  • Potentially misleading terminology. The paper uses the term “Information Gain” for a log-ratio of expected self-evaluated scores. However, information gain is a specific term in information theory, usually defined as (IG(X;Y)=H(X)-H(X\mid Y)), where (H(X)=-\mathbb{E}[\log p(X)]). The proposed quantity does not appear to correspond to canonical information gain or mutual information, so the naming may be confusing unless further justified.
Questions
  • The paper claims that averaging Future IG over iterations makes EvoLib less sensitive to noisy self-evaluation scores. Can the authors quantify this effect? For example, what is the correlation between (S_\Phi(\tilde y \mid x)) and true task success on each benchmark, and how does EvoLib perform when the self-evaluator is made weaker or noisier?
  • Does EvoLib generalize across base models? The experiments use GPT-4o for BigCodeBench and o4-mini for the other benchmarks. Would the same trends hold for weaker or open-weight models?
  • Can the authors compare against stronger memory-based test-time learning baselines, especially ReasoningBank / MaTTS, which also stores and retrieves self-generated reasoning memories? If GEPA- or AdaEvolve-style reflective evolutionary search is applicable to this setting, it would also be useful to include it as a harness-level comparison.
  • For code generation, can the authors compare against a baseline that uses the same synthetic-test-based self-verification budget as EvoLib, but without the evolving abstraction library?
  • How are IG and Future IG estimated in practice? The paper defines them as expectations over sampled solutions and sampled abstractions, but the implementation details are unclear. How many solution samples and sampled abstraction sets are used to estimate (\mu_{\mathrm{base}}) and (\mu_{\mathrm{cond}})? How many abstractions (Z_{t-1}) are sampled per problem? For the condition (z_t \in \mathrm{Extract}(x_t,\tilde y_t)), is the expectation computed over exact extracted skills, over consolidated library entries, or in some approximate way? Since independently extracted skills may be slightly different across solutions, it would be useful to clarify how these quantities are computed in practice.
Limitations

yes

Final justification

Most of the concerns have been addressed, and the clarification is sufficient. The authors promise to restructure the final version of the paper for clarity.

Formatting concerns

no

3 comments
Authors · CommentOpenReview ↗

Author Rebuttal - Part I

Thank you for the insightful and constructive feedback! In response to the weakness concerns:

  • Structure and positioning. EvoLib’s main algorithmic contribution is a library update rule that performs consolidation and credit assignment over evolving knowledge abstractions. Unlike existing test-time learning and evolutionary search algorithms that simply append new knowledge to a library or repeatedly rewrite a global memory or prompt, EvoLib selectively consolidates related entries, and updates both newly created and antecedent abstractions according to their immediate contribution to solution quality and contribution to future useful abstractions. These mechanisms together support the evolution of knowledge without much interference between different groups of problems or knowledge. We will cut the method preview from the introduction and use the space to better position the paper with respect to these existing algorithms.

  • Robustness to self-evaluation noise. We further assess how accurate the self-evaluation signal is compared to the true evaluation scores for the models and benchmarks used in our experiments:

Self-evaluator vs. ground truth HMMT BigCodeBench LiveCodeBench ScienceWorld PDDL
ROC-AUC 89.6 67.3 79.5 72.3 99.3
Precision (self-accepted solutions that truly pass) 86.8 43.8 80.3 30.0 100.0
Recall (truly-passing solutions that are self-accepted) 90.1 22.9 60.7 61.2 97.8
F1 88.4 30.1 69.1 40.3 98.9
Overestimate rate (self=pass, truly fails) 8.2 9.2 8.4 16.1 0.0
Underestimate rate (self=fail, truly passes) 5.9 24.0 22.1 4.4 0.4

The quality of the self-evaluation signals vary across benchmarks. Its quality is especially high on PDDL where the environment responses contain rich information for the model to accurately judge the task progress. Even on coding tasks where self-evaluation signals are noisy with ROC-AUC scores of 67-80%, EvoLib still leads to substantial gains and improves performance more efficiently than the baselines as test-time compute increases (see Table 1 and Figure 2).

In addition, we also experimented with a weaker judge model, Qwen3.5-9B. Using Qwen3.5-9B as the synthetic test generator and GPT-4o for solution generation and library-related operations on BigCodeBench, EvoLib achieves a pass rate of 35.4%, still outperforming best-of-N under the same setting by +1.6 points.

  • Open-weight models. We additionally evaluated EvoLib using Qwen3.5-9B, a weaker, open-weight model, on BigCodeBench. The performance gain persists: using Qwen3.5-9B as the base LLM, EvoLib achieves 33.1% in pass rate, outperforming best-of-N by +6.1 points.

  • Stronger baselines. We added two compute-matched baselines (3 runs each). We chose ReasoningBank instead of AWM because ReasoningBank is reported to outperform AWM consistently by using both successful and failed trajectories, and GEPA rather than AdaEvolve because GEPA combines evolutionary search with self-reflection which fits our setting better (i.e. no ground-truth verifier), whereas AdaEvolve relies more on ground-truth evaluation signals.

Since ReasoningBank is designed for agentic tasks, we compared EvoLib with it on the two agentic benchmarks:

Agentic (compute-matched) ScienceWorld Success ScienceWorld Progress PDDL Success PDDL Progress
Base 53.3 82.9 62.8 79.1
ReasoningBank 56.7 82.8 62.8 78.5
EvoLib 57.4 84.3 72.8 86.2

EvoLib significantly outperforms ReasoningBank by +10 points in success rate on PDDL (based on paired student's t-test with p<0.05p<0.05), with small improvements on ScienceWorld.

Reasoning / code (compute-matched) HMMT LiveCodeBench
Base 57.0 58.8
GEPA 63.4 56.3
EvoLib 77.4 70.0

On HMMT and LiveCodeBench, EvoLib improves over GEPA by +14 points. This result is consistent with our hypothesis that evolving multiple chains of knowledge for different types of problems is better suited to heterogeneous math and coding tasks than optimizing one global prompt.

  • Information Gain terminology. In Eq.(3), μbase\mu_{\mathrm{base}} and μcond\mu_{\mathrm{cond}} are estimates of the probabilities p(Y∣xt,Kt−1)p(Y \mid x_t, K_{t-1}) and p(Y∣xt,Kt−1,zt)p(Y \mid x_t, K_{t-1}, z_t) over Y based on empirical acceptance rates. Since we care more about correct solutions than wrong ones, we use cross-entropy instead of entropy terms to compute the IG score here. So the IG term in Eq.(3) is estimating H(ptrue(Y∣xt),p(Y∣xt,Kt−1))−H(ptrue(Y∣xt),p(Y∣xt,Kt−1,zt))H(p_{\text{true}}(Y\mid x_t), p(Y\mid x_t, K_{t-1})) - H(p_{\text{true}}(Y\mid x_t), p(Y\mid x_t, K_{t-1}, z_t)). We will explain it more clearly in the next version of the paper.
Authors · CommentOpenReview ↗

Author Rebuttal -- Part II

In response to the remaining questions:

  • Same self-verification budget. Our baselines, including best-of-N, ExpRAG and DC, all use the same synthetic-test-based self-verification and are compared against EvoLib under the same budgets, so the controlled difference is the evolving library alone. We will make this explicit in the setup.

  • How IG and Future IG are estimated. Algorithm 1 shows how the IG and Future IG scores are computed in practice. At each iteration we sample K=3K=3 solutions per task, and to generate each solution we randomly sample M=20M=20 abstractions (10 skills and 10 insights) from the library. μcond(Y∣xt,Kt−1,zt)\mu_{\mathrm{cond}}(Y \mid x_t, K_{t-1}, z_t) is computed over the solution samples with the exact extracted abstraction ztz_t. If the extracted abstraction is later consolidated with an existing abstraction, the IG score of the consolidated abstraction will be the average of the new and old IG scores. We will explain it more clearly in the next version of the paper.

Reviewer H3bp · CommentOpenReview ↗

I thank the authors for the thorough rebuttal and substantial additional experiments. The open-weight evaluation, compute-matched comparisons with ReasoningBank and GEPA, and clarification that all methods use the same self-verification budget address my main empirical concerns. The self-evaluator analysis confirms considerable noise on some benchmarks, and estimating IG from only three solutions may remain unstable; I also believe “cross-entropy gain” would describe the proposed quantity more precisely than “Information Gain.” Nevertheless, the new evidence considerably strengthens the paper, so I am updating my rating to 4 (Borderline Accept).

Reviewer FqkHOpenReview ↗
Rating
4/6
Confidence
4/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 introduces EvoLib, a test-time learning framework that enables LLMs to accumulate and reuse knowledge across problem instances without parameter updates or external supervision.

The core idea is to maintain an evolving library of abstractions, including modular skills and reflective insights, extracted from the model’s own inference trajectories. The library is updated through weighting and consolidation mechanisms based on immediate and future utility, allowing task-specific experiences to gradually evolve into more general, reusable knowledge.

EvoLib is evaluated on mathematical reasoning, code generation, and multi-turn agentic tasks, showing consistent improvements over test-time scaling and memory-based test-time learning baselines.

Strengths and weaknesses

Strength

  • The paper addresses an important and timely problem: how LLMs can improve during deployment without access to gradients, labels, or external reward signals.
  • The proposed framework is conceptually appealing because it goes beyond storing raw trajectories and instead attempts to induce reusable abstractions that can be shared across future tasks.
  • The experiment setup is also broad, covering static benchmarks and continual learning settings across math, coding, and agentic environments.
  • The ablation studies are useful: both modular skills and reflective insights contribute to performance, and cross-instance sharing, abstraction consolidation, and the Future IG weighting mechanism are important for improvement.

Weakness

  • EvoLib seems to depend heavily on the model’s ability to evaluate its own outputs and extract reliable abstractions from them. This raises concerns around its application in a more open-ended domain.
  • It remains unclear how well the approach generalizes to broader real-world streams with distribution shift and even adversarial inputs.
  • Since the static benchmark setting appears to involve multiple iterations over the whole evaluation set, the comparison is somewhat unfair: the method can exploit history from the test stream, whereas Best-of-N and RSA solve each instance independently.
  • The improvement over simple test-time scaling baselines such as Best-of-N appears relatively modest. The authors should report raw token counts and the number of model calls, etc., to further justify the proposed approach.
  • Modular skills, reusable workflows, reflective insights, and persistent agent memory are already common ideas in recent LLM-agent and test-time learning work. A comparison with AWM, at least in compatible agentic settings, would strengthen the empirical case.
Questions

See the weakness above

Limitations

yes

Final justification

I appreciate the added experiments and have adjusted my score.

Formatting concerns

N/A

3 comments
Authors · CommentOpenReview ↗

Author Rebuttal -- Part I

Thank you for the insightful and constructive feedback! In response to the weakness concerns:

  • Dependence on self-evaluation. We further assess how accurate the self-evaluation signal is compared to the true evaluation scores for the models and benchmarks used in our experiments:
Self-evaluator vs. ground truth HMMT BigCodeBench LiveCodeBench ScienceWorld PDDL
ROC-AUC 89.6 67.3 79.5 72.3 99.3
Precision (self-accepted solutions that truly pass) 86.8 43.8 80.3 30.0 100.0
Recall (truly-passing solutions that are self-accepted) 90.1 22.9 60.7 61.2 97.8
F1 88.4 30.1 69.1 40.3 98.9
Overestimate rate (self=pass, truly fails) 8.2 9.2 8.4 16.1 0.0
Underestimate rate (self=fail, truly passes) 5.9 24.0 22.1 4.4 0.4

The quality of the self-evaluation signals vary across benchmarks. Its quality is especially high on PDDL where the environment responses contain rich information for the model to accurately judge the task progress. Even on coding tasks where self-evaluation signals are noisy with ROC-AUC scores of 67-80%, EvoLib still leads to substantial gains and improves performance more efficiently than the baselines as test-time compute increases (see Table 1 and Figure 2).

In addition, we also experimented with a weaker judge model, Qwen3.5-9B. Using Qwen3.5-9B as the synthetic test generator and GPT-4o for solution generation and library-related operations on BigCodeBench, EvoLib achieves a pass rate of 35.4%, still outperforming best-of-N under the same setting by +1.6 points.

On open-ended domains like open math problems or challenging optimization tasks, a promising future direction would be to incorporate the sparse external evaluation or human feedback signals to drive a self-improving verifier.

  • Evaluation on real-world streams. We are not aware of a benchmark that provides realistic long-running task streams with realistic distribution shift, adversarial inputs, and verifiable outcomes. Thus, we adopt the same evaluation method in prior work: simulating streams with static benchmarks. Furthermore, we showed in Section 4.4 and the appendix that EvoLib is robust to task orders in the task stream on PDDL, which contains four different types of tasks that require different types of actions and planning strategies. Table B.2 compares EvoLib with Dynamic Cheatsheet (DC) under different task orders, including easy-to-hard, hard-to-easy, and random permutations. EvoLib consistently outperforms DC across all settings, achieving higher success rates and progress rates. Notably, the advantage of EvoLib is the largest under random ordering, where no curriculum structure is present, suggesting that it is more robust to variations in the task stream.

  • Fairness of repeated passes. We agree that best-of-N and RSA are not history-matched baselines. We include them to compare EvoLib's test-time learning against competitive test-time scaling methods that solve each task independently. The controlled comparisons for stream-history access are ExpRAG, Dynamic Cheatsheet, and ReasoningBank, all of which exploit prior test-stream experience. We will make this distinction explicit.

Authors · CommentOpenReview ↗

Author Rebuttal -- Part II

  • Raw token counts and model calls. Figure 2 and B.1 in the paper showed that EvoLib improves performance more efficiently as compute increases. And the raw token counts and model calls for the results in Table 1 are shown below:
LLM calls HMMT BigCodeBench LiveCodeBench ScienceWorld PDDL
Best-of-N 2790 29748 2480 1779 1226
EvoLib 2398 22487 1474 3348 2017
Total tokens, in+out (M) HMMT BigCodeBench LiveCodeBench ScienceWorld PDDL
Best-of-N 4.2 37 5.4 7.4 5.7
EvoLib 6.5 49 4.9 9.6 6.5

At the matched weighted-token budgets (input_tokens + output_tokens*4 based on the current per-token pricing) used for Table 1, EvoLib trades some additional raw tokens for fewer total LLM calls on three static benchmarks, while requiring more calls on the two agentic benchmarks.

  • Comparison with recent test-time learning work. EvoLib’s main algorithmic contribution is a library update rule that performs consolidation and credit assignment over evolving knowledge abstractions. Unlike existing test-time learning and evolutionary search algorithms that simply append new knowledge to a library or repeatedly rewrite a global memory or prompt, EvoLib selectively consolidates related entries, and updates both newly created and antecedent abstractions according to their immediate contribution to solution quality and contribution to future useful abstractions. These mechanisms together support the evolution of knowledge without much interference between different groups of problems or knowledge.

We further compare EvoLib with ReasoningBank empirically on agentic benchmarks. We chose ReasoningBank over Agent Workflow Memory (AWM) because [1] shows that ReasoningBank consistently outperforms AWM by using both successful and failed trajectories.

Agentic (compute-matched) ScienceWorld Success ScienceWorld Progress PDDL Success PDDL Progress
Base 53.3 82.9 62.8 79.1
ReasoningBank 56.7 82.8 62.8 78.5
EvoLib 57.4 84.3 72.8 86.2

EvoLib significantly outperforms ReasoningBank by +10 points in success rate on PDDL (based on paired student's t-test with p<0.05p<0.05), with small improvements on ScienceWorld.

[1] Ouyang, Siru, et al. "Reasoningbank: Scaling agent self-evolving with reasoning memory." arXiv preprint arXiv:2509.25140 (2025).

Reviewer FqkH · CommentOpenReview ↗

I appreciate the added experiments and have adjusted my score.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…