Test-Time Learning with an Evolving Library

Weijia Xu, Alessandro Sordoni, Chandan Singh, Zelalem Gero, Michel Galley +2 more
5/14/2026
cs.LG

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xu2026testtime,
  title  = {Test-Time Learning with an Evolving Library},
  author = {Weijia Xu and Alessandro Sordoni and Chandan Singh and Zelalem Gero and Michel Galley and Xingdi Yuan and Jianfeng Gao},
  year   = {2026},
  eprint = {2605.14477},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.14477v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.14477.svg)](https://codeofpaper.com/paper/2605.14477)

Discussion