NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Test-Time Learning with an Evolving Library

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

NeurIPS page · Open on the map

Category: LLM Agents, Evals & Benchmarks › Agent Orchestration and Meta-Reasoning · Type: new method · Keywords: test-time learning, knowledge library, continual improvement, large language models, parameter-efficient adaptation, inference-time optimization

Areas: Continual Learning & Adaptation › Non-Stationarity Adaptation › Continual Memory

Summary

EvoLib is a test-time learning framework that enables large language models to accumulate and evolve a shared library of knowledge abstractions across problem instances without parameter updates or external supervision.

Explained to a 5-year-old

When a big computer program (like a language model) sees a new problem, it can learn from it without changing its memory. It keeps a little notebook of ideas it has learned from past problems. Over time, these ideas get better and become more useful for new problems. The program uses a special way to decide which ideas are most helpful now and which will be helpful later. This helps the program get smarter without needing someone to tell it the right answers.

Explained to a 5-year-old, longer

Imagine a big computer brain that can answer questions and write text. Usually, when it meets a new kind of problem, it has to be taught by changing its own parts, which is hard. This paper shows a way for the brain to learn new things without touching its internal parts. It creates a shared library where it stores little ideas and skills it discovers while thinking. These ideas start small and specific, like how to solve a single math puzzle. Over time, the brain refines these ideas, making them more general so they can help with many different problems. It also uses a clever rule to balance using an idea now versus saving it for later. This rule helps the brain decide which ideas are most useful right now and which might be useful later. The brain can reuse old ideas and improve them, like a toolbox that gets richer as you work. This approach works in many areas, such as solving math problems, writing code, and having conversations that go on for many turns. It does all of this without needing extra teachers or correct answers to guide it. As a result, the brain becomes better at handling new challenges on its own.

For a technical reader

EvoLib lets large language models learn new tasks at inference time by building a shared library of reusable knowledge without changing model weights. It extracts modular skills and reflective insights from the model’s own inference traces and continuously refines them using a weighting and consolidation scheme that balances immediate usefulness with long-term value. This enables the model to evolve simple, instance-specific abstractions into more general capabilities over time, improving performance on math reasoning, code generation, and multi-turn dialogue tasks. The framework operates entirely without external supervision or ground-truth feedback, making it suitable for scenarios where labeled data is scarce or costly. By decoupling learning from parameter updates, EvoLib provides a flexible, parameter-efficient solution for continual test-time improvement.

Problem

Adapting large language models to new tasks or problem instances typically requires updating model parameters or external supervision, which can be costly and impractical. There is a need for a method that allows models to learn and improve at test time without modifying parameters or requiring labeled feedback.

Method

The approach maintains a shared library of knowledge abstractions, including modular skills and reflective insights, extracted from the model's own inference trajectories. It employs a principled weighting and consolidation mechanism that balances immediate utility and long-term value, allowing instance-specific abstractions to evolve into more general, reusable ones over time.

Results

The approach achieves substantial improvements over existing test-time scaling and learning methods across the evaluated benchmarks without requiring ground-truth feedback.

Contributions

It introduces a test-time learning framework that accumulates and evolves a shared library of knowledge abstractions without parameter updates or external supervision. It also proposes a weighting and consolidation mechanism to balance immediate utility and long-term value, enabling abstractions to become more general over time.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction