Current AI systems can store memories — past conversations, reasoning traces, action histories. But storing is not the same as learning.
Think of it this way:
| Memory (Storage) | Learning |
|---|---|
| Keeping every receipt you've ever gotten | Understanding your spending habits |
| Recording every chess game you played | Knowing which strategies actually win |
| Archiving past conversations | Knowing what works in future ones |
Humans don't remember every detail. Instead, we remember:
Key Insight: The goal isn't to store more — it's to transform experience into reusable, evolving knowledge.
EvoLib (Evolving Library) is a framework that takes raw experiences and converts them into structured, reusable knowledge — then keeps improving that knowledge over time.
Raw Experience → Extracted Knowledge → Evolved Knowledge → Better Future Performance
EvoLib organizes knowledge into two forms:
| Knowledge Type | Source | Example |
|---|---|---|
| Reusable Skills | Successful solutions | "When solving geometry problems, draw auxiliary lines first" |
| Reflective Insights | Mistakes and failures | "Avoid off-by-one errors when indexing arrays" |
Think of it like a personal playbook — built from wins and losses, updated as you gain more experience.
Traditional Memory: Experience → Store → Retrieve (unchanged)
EvoLib: Experience → Extract → Refine → Evolve → Apply
EvoLib doesn't just collect — it transforms and improves.
If you learn something similar from two different tasks, you don't want two separate, redundant entries. You want one more general rule that covers both.
When new knowledge is extracted from a recent experience:
Experience A → Insight: "Break math problems into smaller steps"
Experience B → Insight: "Decompose complex equations before solving"
↓
Consolidated: "Decompose any complex problem into
smaller, manageable sub-problems"
| Without Consolidation | With Consolidation |
|---|---|
| Library fills with redundant, specific entries | Library grows with general, powerful rules |
| Knowledge stays tied to one task | Knowledge transfers across many tasks |
| More clutter, harder to retrieve | Cleaner, more useful library |
Key Insight: Consolidation moves knowledge from instance-specific to broadly applicable — just like how humans generalize lessons across experiences.
Not all knowledge is equally useful. Some insights help on many future tasks; others are rarely applicable. EvoLib needs a way to prioritize what matters most.
Each knowledge unit gets an importance score that updates over time based on:
Knowledge Unit Score = f(immediate usefulness + future impact)
Over time, this creates a natural ranking:
High-impact knowledge → Higher weight → More likely to be retrieved
Low-impact knowledge → Lower weight → Fades into the background
Think of it like a recommendation algorithm for your own knowledge:
Key Insight: Weighting ensures the library doesn't just grow — it improves in quality, with the most valuable knowledge rising to the top.
┌─────────────────────────────────────────────────────┐
│ EvoLib Loop │
│ │
│ New Task │
│ ↓ │
│ Retrieve relevant knowledge from library │
│ ↓ │
│ Attempt task using retrieved knowledge │
│ ↓ │
│ Extract new skills/insights from the attempt │
│ ↓ │
│ Consolidate with similar existing knowledge │
│ ↓ │
│ Update weights based on utility │
│ ↓ │
│ Library is now smarter for the next task │
└─────────────────────────────────────────────────────┘
A critical feature: EvoLib is self-supervised. It doesn't need:
It learns purely from its own attempts — successes and failures alike.
This means EvoLib can be applied to any black-box AI model, even those accessed only through APIs.
| Approach | What It Does | Limitation |
|---|---|---|
| Raw Memory | Stores all past experiences | Too much noise; hard to retrieve what matters |
| Compute Scaling | Spends more compute per task | Each task treated in isolation; no transfer |
| EvoLib | Extracts, consolidates, and reweights knowledge | Transfers learning across tasks efficiently |
EvoLib was tested on three challenging domains:
Findings:
| Concept | Core Idea |
|---|---|
| Problem | Memory alone isn't learning — raw storage doesn't improve performance |
| EvoLib's Answer | Transform experience into evolving, reusable knowledge |
| Skills & Insights | Two knowledge types: what worked, what didn't |
| Consolidation | Merge similar knowledge into more general rules |
| Dynamic Weighting | Prioritize knowledge with the greatest long-term impact |
| The Loop | Continuously extract → consolidate → reweight → improve |
| Key Advantage | Knowledge transfers across tasks; no model retraining needed |
The Central Lesson: The future of AI learning isn't just bigger models or more memory — it's systems that can transform experience into evolving knowledge, much like humans do.