PATH-Bench: Path-Dependent Evaluation of Lifelong Agents
This paper introduces PATH-Bench, a benchmark for evaluating how the sequence of accumulated experiences impacts lifelong LLM agents, and proposes Selective Experience Use (SEU), a method that filters path-dependent memories to reduce forgetting and improve forward transfer.
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 super-smart robot to be a helpful assistant. In the world of artificial intelligence, there's a big dream: creating "lifelong" agents that don't just answer questions once and forget, but actually learn from their past interactions, build a memory, and get better over time. Think of it like a student who doesn't just study for a test and then toss the notes away, but keeps a growing notebook of tricks, facts, and lessons learned from every single day.
However, there's a tricky problem. If you just dump every single thing a robot learns into its memory, it might get confused. Imagine a student trying to solve a math problem while their brain is flooded with memories of a soccer game, a cooking recipe, and a history lesson all at once. Some of those memories might help, but others might get in the way. Scientists call this "path dependence"—it means that how and in what order the robot learns things changes what it remembers and how well it performs later. The big question is: Does the robot's path of learning matter, and if so, how do we make sure it keeps the good stuff and forgets the bad?
This is exactly what the researchers behind PATH-Bench set out to investigate. They built a special testing ground to see how different AI agents handle their growing memories. Instead of just watching them learn randomly, they created a controlled experiment where they could feed the agents specific "histories"—some full of helpful tips, others full of confusing or misleading advice. They wanted to see if the order of these experiences changed the agents' ability to solve new tasks, and whether the agents could tell the difference between a helpful memory and a distracting one.
Here is what they discovered, and it's a bit more complicated than just "more memory is better."
First, they found that having a memory doesn't automatically make an AI smarter. In fact, for some agents, adding a memory bank actually made them perform worse than if they had no memory at all! It turns out that just storing past interactions isn't enough; the agent needs to know which memories are useful for the current job. If an agent grabs a memory that sounds similar but is actually irrelevant, it can get confused and make mistakes. It's like trying to fix a leaky faucet by reading a manual on how to bake a cake; the book is real, but it's the wrong tool for the job.
Second, the researchers discovered that what works as a memory depends entirely on the type of task. For simple, one-step tasks (like writing a single piece of code), agents that remembered specific, concrete details from the past did best. But for complex, multi-step tasks (like using a bunch of different tools to plan a trip), agents that remembered high-level patterns and abstract rules performed much better. It's the difference between remembering the exact ingredients you used for one specific cake versus remembering the general rule that "eggs make things fluffy." One approach wins for the cake, the other wins for the general baking.
Third, and perhaps most surprisingly, they found that learning something new doesn't mean you keep it forever. An agent might show a huge improvement right after learning a new skill (called "forward transfer"), but then completely forget that skill later on when faced with new, confusing experiences. Conversely, a new experience can sometimes reshape or even erase gains the agent made earlier. It's like learning a dance move, getting really good at it, and then having your brain get so cluttered with new, conflicting dance moves that you forget the original one entirely. The path you take matters: if you learn the "right" sequence of things, you keep your skills; if you learn the "wrong" sequence, you might lose them.
To fix these issues, the authors proposed a new strategy called Selective Experience Use (SEU). Think of this as a smart filter or a bouncer for the agent's memory. Instead of letting every single retrieved memory into the agent's brain, SEU checks each one against the current task. If a memory is directly helpful, it gets let in. If it's only useful as a general pattern, it gets simplified and let in. But if it's likely to cause confusion or interference, it gets blocked.
When they tested this new filter, the results were promising. Across almost all the different agents and tasks they tried, SEU consistently reduced the amount of "forgetting" and helped the agents transfer their skills to new problems more effectively. It didn't just make them remember more; it made them remember better.
In short, this paper teaches us that for AI to truly learn like a lifelong student, it can't just hoard every experience. It needs to be picky. It needs to understand the shape of the task it's facing and curate its memories carefully, letting in the helpful lessons and filtering out the noise. The path of learning isn't just a background detail; it's the main character in the story of how an AI grows up.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.