← Latest papers
💬 NLP

AdaMem: Learning What to Remember for Personalized Long-Horizon LLM Agents

The paper introduces AdaMem, an adaptive memory system that learns role-specific write policies from user feedback to filter irrelevant information, thereby reducing memory bloat and significantly improving long-horizon QA accuracy compared to uniform memory baselines.

Original authors: Xingyu Chen, Rui Wang, Zhaopeng Tu, Liefeng Bo

Published 2026-06-23
📖 4 min read☕ Coffee break read

Original authors: Xingyu Chen, Rui Wang, Zhaopeng Tu, Liefeng Bo

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 have a personal assistant who talks to you every day for months. At first, they are great at remembering what you said. But as time goes on, they start acting a bit overwhelmed. Why? Because they are trying to remember everything.

They remember your favorite coffee order, but they also remember the weather you complained about on a Tuesday, the name of a stranger you briefly met, and every single "hello" and "goodbye." Their brain (or digital memory) is getting so full of this "noise" that they can't find the important stuff when you ask a question. This is called memory bloat.

The paper introduces a new system called AdaMem (Adaptive Memory) to fix this. Here is how it works, using simple analogies:

1. The Problem: The "Hoarding" Assistant

Most current AI assistants act like a digital hoarder. They have a rule: "Save every fact."

  • The Result: Over weeks, their memory bank gets crowded with useless trivia. When you ask, "What did we decide on my vacation schedule?" the AI has to dig through thousands of irrelevant messages about the weather or casual jokes. The important answer gets buried, and the AI gets the answer wrong.

2. The Solution: The "Smart Editor" (AdaMem)

AdaMem changes the rule. Instead of saving everything, it asks: "What does this specific user actually care about?"

Think of AdaMem as a Smart Editor who learns your personal taste.

  • If you are a busy manager: The editor learns to keep only meeting deadlines and business decisions, throwing away small talk.
  • If you are a fitness enthusiast: The editor learns to keep workout schedules and diet goals, ignoring your complaints about the traffic.

The system doesn't guess this once and forget it. It learns what to keep by watching how you react to its answers.

3. How It Learns: The Weekly "Patch"

The system runs on a weekly cycle, like a teacher grading homework and then updating the lesson plan:

  1. The Week: The AI talks to you daily, saving memories based on its current "rules" (called a Memory Policy).
  2. The Test: At the end of the week, it answers questions about what happened.
  3. The Mistake: If it gets an answer wrong, it doesn't just say "Oops." It looks at why it failed.
    • Did it forget something important? (The rule was too strict).
    • Did it get confused by a useless detail? (The rule was too loose).
  4. The Patch: The AI writes a tiny "software patch" (a small update) to its rules. It says, "Next week, I will remember only schedules and forget the weather."
  5. The Safety Net: Before applying the new rule, it checks: "Will this new rule break anything I got right before?" If the new rule makes things worse, it rolls back to the old rule. This prevents the AI from going crazy with bad ideas.

4. The Results: Less Clutter, Better Answers

The researchers tested this on a simulated environment where an AI talked to different "characters" for 10 weeks.

  • The Old Way (Uniform Memory): The AI remembered everything. By week 10, its accuracy dropped because it was drowning in noise.
  • The AdaMem Way: The AI remembered less (about 9% less data), but it remembered the right things.
  • The Outcome: The AI got 9% more questions right than the old way. It was like cleaning out a messy closet: by throwing away the old socks and keeping only the shirts you actually wear, you can find your favorite shirt much faster.

5. The Catch: It Needs Clear Feedback

The paper found one interesting limitation.

  • Explicit Feedback: If you tell the AI, "You were wrong! Remember that I care about schedules," the AI learns very fast and gets the rules perfect.
  • Implicit Feedback: If you just say "That answer is wrong" without explaining why, the AI struggles to figure out what you actually care about. It's like a student who knows they got a test wrong but doesn't know which rule they broke.

Summary

AdaMem is a system that stops AI agents from trying to remember everything. Instead, it acts like a personalized filter that learns, week by week, exactly what information is valuable to you and what is just noise. By keeping the memory small and focused, it helps the AI stay accurate and helpful over long periods of time.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →