Learning While Acting: A Skill-Enhanced Test-Time Co-Evolution Framework for Online Lifelong Learning Agents
This paper proposes LifeSkill, a two-stage reinforcement learning framework that enables online lifelong learning agents to continuously internalize test-time feedback into their parameters through verifier-guided skill extraction and online skill internalization, thereby overcoming the limitations of static retrieval-based approaches and significantly improving performance on long-horizon tasks.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are teaching a robot to play a complex video game. In the old way of doing things, if the robot failed a level, it would just write a note in a notebook saying, "Don't jump here," and then try to remember that note next time. The robot's brain (its internal code) never actually changed; it just relied on flipping through its notebook to avoid mistakes.
The paper LifeSkill proposes a new way to train these AI agents so they don't just remember mistakes, but actually learn from them by changing how their brain works.
Here is how the system works, broken down into simple steps:
1. The Problem: The "Notebook" Limitation
Current AI agents are like students who are forbidden from studying the material; they can only look at a cheat sheet (a memory bank) during the test.
- The Issue: If the AI fails a task, it might write a reflection like, "I should have been more careful." But this reflection stays as text in a notebook. The AI's actual "brain" (its parameters) doesn't change. It has to keep reading the notebook every single time, which gets messy and slow as the notebook grows huge.
2. The Solution: "Learning While Acting"
The authors created a two-step process called LifeSkill. Think of it as a coach and a student working together in real-time.
Step A: The Coach Finds the Right Lesson (Verifier-Guided Skill Learning)
When the AI (the student) fails a task, it needs to figure out why.
- Old Way: The AI might just guess a reason that sounds smart, like "I need to be more polite," even if that doesn't help solve the math problem.
- LifeSkill Way: The AI generates several possible "lessons" (skills). Then, a strict Verifier (like a referee) tests each lesson.
- Analogy: Imagine the AI tries to fix a broken car. It suggests three tools: a hammer, a wrench, and a screwdriver. The referee tries using each tool on the car. If the wrench actually fixes the engine, the AI gets a reward for suggesting the wrench. If the hammer just makes noise, it gets no reward.
- Result: The AI learns to extract useful skills (like "use a wrench") rather than just plausible-sounding text.
Step B: The Student Internalizes the Lesson (Online Skill Internalization)
Once the AI finds a skill that works (e.g., "Use the wrench"), it shouldn't just write it in the notebook for next time. It should memorize it.
- The Magic: The system takes the successful attempt where the AI used the "wrench" skill, removes the instruction to "use a wrench," and trains the AI's brain to solve the problem without the instruction.
- Analogy: Imagine a chef learning to bake a cake. At first, they need a recipe card that says, "Add sugar." Once they master it, you take the card away. If they can still bake the cake perfectly without the card, they have truly learned the skill.
- Result: The AI's brain updates itself. It no longer needs to look up the lesson in a notebook; the knowledge is now part of its DNA.
3. The Results: A Smarter, Faster Learner
The researchers tested this on a benchmark called LifelongAgentBench, which involves tasks like managing databases, operating systems, and knowledge graphs.
- The Score: LifeSkill beat all other methods by a significant margin (improving average performance by 7 points).
- Why it won:
- Training-Free methods (just using a notebook) got stuck because they couldn't change their brain.
- Other Training methods tried to learn but didn't have a good way to figure out what to learn from failures.
- LifeSkill succeeded because it combined finding the right lesson (via the Verifier) with memorizing that lesson (via Internalization).
Summary
In short, LifeSkill turns an AI agent from a student who relies on a growing stack of cheat sheets into a master who actually learns and adapts while doing the work. It stops the AI from just "retrieving" past experiences and starts it "internalizing" them, making the agent smarter and more efficient over time without needing to carry a massive library of text around.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.