AI
Microsoft's EvoLib Lets AI Models Learn and Improve From Their Own Experiences
A new framework enables large language models to extract and refine reusable knowledge from past attempts without requiring model retraining.
Microsoft Research Blog
Microsoft Research has unveiled EvoLib, a system that allows AI models to grow smarter over time by extracting lessons from their own experiences and continuously refining them—without needing to retrain the underlying model.
The framework tackles a core limitation of traditional memory systems: simply storing past interactions doesn't necessarily make an AI smarter. A growing archive of old conversations or reasoning traces quickly becomes too large to search through effectively, and raw memories don't naturally generalize to new situations. EvoLib takes a different approach, one inspired by how humans learn.
From Raw Experience to Reusable Knowledge#
Rather than treating memories as static records, EvoLib distills experiences into two types of actionable knowledge: skills extracted from successful solutions and insights learned from failures. These units become more useful over time through two key mechanisms.
Consolidation brings together similar pieces of knowledge, merging them into broader, more generalizable principles that work across multiple tasks. Dynamic weighting continuously reassesses how important each piece of knowledge is, not just for the current task but for improving performance on future ones. Knowledge that proves most valuable gradually becomes more prominent in the system's library.
Strong Performance Across Multiple Domains#
The Microsoft team tested EvoLib on three distinct challenge types: mathematical reasoning, code generation under efficiency constraints, and decision-making for long-horizon environment tasks. The results showed consistent improvements over existing memory-based and retrieval approaches, often using fewer tokens in the process.
A particularly striking finding involved how EvoLib converts computational resources into performance gains. As the system invested more processing power at test time, performance improved more steeply than competing methods, suggesting that knowledge evolution itself, rather than sheer compute or memory volume, drives the improvements.
Flexibility for Real-World Deployment#
One practical strength emerged when researchers tested EvoLib with tasks presented in random order rather than a structured sequence. The system maintained stable, improving performance regardless of how heterogeneous problems were mixed together—a realistic scenario for deployed AI systems handling unpredictable user requests.

