← Latest papers
🤖 machine learning

Rosetta Memory: Adaptive Memory for Cross-LLM Agents

The paper introduces Rosetta Memory, a memory-centric framework that employs jointly trained, profile-conditioned operators and a minimum-gain sampling curriculum to enable adaptive memory sharing and robust performance across diverse and frequently switched large language models.

Original authors: Hao Yang, Shiqi Shen, Haoxuan Li, Zhipeng Wang, Zhi Gong, Xu Chen

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

Original authors: Hao Yang, Shiqi Shen, Haoxuan Li, Zhipeng Wang, Zhi Gong, Xu Chen

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

The Big Problem: The "Lost in Translation" Agent

Imagine you have a team of workers (AI agents) trying to solve a complex mystery, like a detective story. To solve it, they need to pass notes to each other.

  • Worker A is a fast, casual coder who writes notes in quick, shorthand bullet points.
  • Worker B is a slow, careful writer who needs full, polite sentences to understand things.
  • Worker C is a visual thinker who needs information organized in a table.

In the past, if Worker A wrote a note and passed it to Worker B, Worker B often got confused. The note was written in "Worker A's language," not "Worker B's language." The team would lose track of clues, forget important details, or misunderstand the instructions. This is what happens when different Large Language Models (LLMs) try to share memory: the "language" of the memory doesn't match the "language" of the reader.

The Solution: Rosetta Memory (RoMem)

The authors created a system called Rosetta Memory. Think of it as a universal translator and a specialized notary for your AI team.

Instead of forcing every worker to write in the same way, Rosetta Memory sits in the middle and adapts the notes based on who is writing and who is reading.

It uses two special tools (operators):

  1. The "Translator" (Write Operator): When a worker writes a note, this tool looks at who wrote it. It takes their raw, messy notes and rewrites them into a "standardized" format that is easy for anyone to understand later. It strips away the writer's personal quirks.
  2. The "Adapter" (Read Operator): When a worker needs to read a note, this tool looks at who is reading it. It takes that standardized note and reshapes it into the specific format that reader prefers (e.g., turning a paragraph into a table for the visual thinker, or a bullet list for the coder).

How They Taught the System

To teach this system how to work, the researchers didn't just show it one type of worker. They created a "training camp" with many different types of AI models (some fast, some slow, some from different companies).

They used a clever training trick called "Minimum-Gain Sampling."

  • Imagine a teacher who notices that the "slow, careful writer" (Worker B) is struggling the most to understand the notes.
  • Instead of practicing with the easy students, the teacher forces the system to practice extra hard with the struggling students.
  • This ensures the system gets really good at helping the models that usually get left behind, rather than just getting good at the average case.

They also used a "scorecard" that only gave points if the system actually improved the team's performance compared to just passing raw notes around. This ensured the system was learning to translate, not just memorizing answers.

What They Found

The researchers tested this on three different "mystery" games (datasets called HotpotQA, 2WikiMultihopQA, and MuSiQue) where the AI had to connect multiple clues to find an answer.

  • The Result: Teams using Rosetta Memory solved the mysteries much better than teams using standard methods.
  • The "Unseen" Test: Even when they tested the system with a new type of worker they had never seen before during training, it still worked well. It didn't break when the team composition changed.
  • The "Mismatch" Proof: They showed that without this system, if you switch workers mid-task, the team often fails because the notes don't make sense to the new worker. With Rosetta Memory, the notes always make sense, no matter who is reading them.

In a Nutshell

Rosetta Memory is a smart middleman that ensures AI agents can swap notes seamlessly, even if they speak different "languages" or have different styles. It translates the memory when it's written and adapts it when it's read, making sure the whole team stays on the same page, regardless of which specific AI model is doing the work at any given moment.

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 →