← Latest papers
💬 NLP

Learning What to Share and What to Personalize: Hierarchical Strategy Co-Evolution for Agent Memory

This paper proposes HiPS, a hierarchical framework that co-evolves a globally shared memory strategy with user-specific adaptive rules to dynamically optimize what information agents retain or discard for personalized interactions.

Original authors: Yupeng Han, Shuochen Liu, Kai Zhang, Ze Liu, Zhihong Pan, Xianquan Wang

Published 2026-08-27
📖 6 min read🧠 Deep dive

Original authors: Yupeng Han, Shuochen Liu, Kai Zhang, Ze Liu, Zhihong Pan, Xianquan Wang

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

In the rapidly evolving world of artificial intelligence, researchers are teaching computer programs to act as personal assistants, capable of holding long conversations and remembering details about the people they talk to. For these digital agents to be truly helpful, they must do more than just process the words spoken in the moment; they need to build a lasting profile of the user, recalling past preferences, emotional states, and life events. However, human conversations can stretch on for thousands of turns, creating a massive amount of information that no computer can hold in its immediate memory at once. The challenge lies in deciding what to keep and what to forget. If an agent remembers too little, it becomes forgetful and generic; if it remembers too much, it gets overwhelmed by irrelevant details and loses its ability to focus on what matters. The goal is to find a way to curate a compact, useful summary of a person's history that allows the agent to respond with consistency and care, no matter how long the conversation has been going on.

For a long time, the standard approach to this problem was to apply a single, rigid set of rules to everyone. Imagine a librarian who uses the exact same filing system for every single patron, regardless of whether they are a casual reader or a research scholar. This "one-size-fits-all" method works well for common situations but fails when users have unique needs or when their behavior changes over time. Recent attempts to make these systems smarter involved teaching them to learn from experience, but even these advanced methods often settled on a fixed strategy before the learning began, or they treated every user as if they were exactly the same. The result was often a compromise that satisfied the average user but left many others with responses that felt slightly off, missing the subtle nuances that make a conversation feel personal.

A team of researchers at the University of Science and Technology of China has proposed a new way to solve this, calling their framework HiPS. Instead of forcing every user into the same mold, their system splits the memory management task into two parts: a shared foundation that applies to everyone, and a flexible layer that adapts specifically to the individual. Think of it like a universal grammar that everyone speaks, combined with a personal dialect that only you use. The shared part learns general principles about how to organize information effectively, such as how to handle conflicting facts or how to summarize a long story. The personal part, however, watches for users who behave differently from the crowd. If a user has a specific way of interacting that the general rules don't capture well, the system creates a custom set of instructions just for them.

What makes this approach distinct is that these rules are not static; they evolve alongside the agent's performance. The system constantly tests its own strategies by watching how well the agent does its job. If a rule helps the agent give a better answer, that rule gets stronger and more likely to be used. If a rule causes confusion or errors, it gets weakened or discarded. This creates a cycle of improvement where the shared rules and the personal rules influence each other. Sometimes, a rule that started as a personal quirk for one user proves so useful that the system promotes it to the shared foundation for everyone to use. Conversely, if a general rule turns out to be harmful for a specific type of user, the system replaces it with a tailored alternative for that person. This dynamic adjustment ensures that the memory system remains both efficient and deeply personalized.

The researchers tested this method against several existing systems using a variety of challenging benchmarks that simulate long, complex conversations with different types of users. In these tests, the new framework consistently outperformed the others, especially in situations involving very long histories or noisy, distracting information. In one specific test involving 128,000 words of conversation history, the new system achieved an accuracy score of 62.01, significantly higher than the next best method, which scored 55.37. The improvement was even more pronounced when the system had to handle users with very different personalities. For example, in a test with a finance enthusiast, the personalized layer helped the agent remember specific investment details that a generic system would have summarized away, leading to an 18.6 percentage point improvement in performance for that user. Meanwhile, for users whose needs were already well-covered by the general rules, the system avoided adding unnecessary complexity, preventing the performance from dropping.

The study also revealed that the system is robust and adaptable. The rules it learned were not tied to a specific computer model but could be transferred to different underlying technologies, suggesting that the principles it discovered are fundamental to how memory should work. Furthermore, the system managed to keep its memory size under control even as the conversations grew longer, proving that it could filter out the noise effectively without losing the signal. The researchers found that the most significant gains came from the ability to distinguish between what is universally true for all users and what is specific to an individual. By separating these two concerns and allowing them to co-evolve, the system avoids the pitfalls of being too rigid or too chaotic.

While the results are promising, the researchers note that their work is primarily focused on English-language conversations and specific types of tasks. They acknowledge that as these systems interact with users over years rather than just days, the fundamental nature of a person's personality might shift in ways that require even more sophisticated updates. Nevertheless, this work provides a clear path forward for building agents that can truly remember who you are, adapting their memory to fit your unique story rather than forcing your story to fit a pre-made template. The findings suggest that the future of personalized AI lies not in memorizing everything, but in learning exactly what to share and what to keep for yourself.

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 →