SEDM: Selective Self-Evolving Distributed Memory for Agents

arXiv:2509.09498 · cs.AI · Submitted 2025-09-11 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: Today's paper: "SEDM: Selective Self-Evolving Distributed Memory for Agents".

Jane: The gist: SEDM introduces Scalable Self-Evolving Distributed Memory, a verifiable and adaptive framework that transforms memory from a passive repository into an active, self-optimizing component for long-term multi-agent systems.

Tom: First, who's behind it and why it matters.

Title and authors: Tom: So we're looking at this paper called "SEDM: Selective Self-Evolving Distributed Memory for Agents." It's about how we can make memory in long-term multi-agent systems actually useful, not just a big storage dump.

Jane: Right. Basically, the problem they’re tackling is that as these agents keep interacting over a long time, all those past experiences and trajectories just pile up, and managing that memory efficiently becomes really hard for performance and scalability.

Tom: Exactly. Existing methods rely on vector retrieval or some kind of hierarchical storage, but the authors point out these systems are prone to noise accumulating and memory just expanding without any real control or generalization across different tasks.

Lu: I think the core idea here is moving away from passive storage toward something active, a self-optimizing component. They introduce this framework called SEDM which uses three main pieces working together.

Meng: Three pieces? How does that translate to something we can actually deploy? Is it just another layer on top of existing memory structures?

Tom: Not exactly. The first piece is the SCEC-based Verifiable Write Admission, which packages each run into a Self-Contained Execution Context, or SCEC, and they use environment-free A/B replay to estimate the marginal utility of a candidate memory item at the time it's written.

Jane: So you’re essentially testing if saving this specific piece of experience actually helps later decisions before you commit it to long-term storage.

Tom: That's right. They define an admission score as S equals delta R minus lambda L delta L minus lambda T delta T, where lambda L and lambda T are non-negative numbers controlling the trade-offs between utility and cost. The decision to accept something is just if that score S is greater than or equal to eta, and the initial weight w0 is just that score itself, constrained to be at most zero.

Lu: Then you have the second piece, which they call Self-Scheduling in the Memory Controller. This uses those admission-derived weights alongside semantic similarity to score candidates at retrieval time.

Title and authors: Jane: So when an agent asks a question later, it doesn't just pull up everything similar; it ranks things based on both how similar they are and how useful they've proven to be so far.

Tom: Precisely. They also maintain the repository by updating these weights based on observed outcomes, merging near duplicates, and pruning entries that are harmful or useless. The weight update formula is wt+one(m) equals wt(m) plus alpha U¯t(m) minus beta fuse,t(m) <ref:2509.09498#pg1>.

Meng: That sounds like a lot of computation during the consolidation phase. What's the practical cost for running this controller on real traffic? Does it add significant latency during retrieval?

Tom: Well, the ablation studies show that both the verifiable admission mechanism and the self-scheduling controller contribute progressively to this gain. The self-scheduling controller plays a key role in constraining prompt growth without sacrificing accuracy.

Jane: And they don't just stop there; they have this third component called Cross-Domain Knowledge Diffusion. This abstracts admitted items into conservative general forms and then re-validates them in other tasks to support transfer across heterogeneous tasks.

Lu: That diffusion part is interesting because it’s about making the knowledge portable, which is what you need for real multi-agent collaboration where different agents might be doing different things.

Jane: So, if one agent learns something useful in a dialogue task, the framework tries to turn that into a general piece of knowledge that another agent in a completely different task can actually use effectively.

Tom: They tested this across several benchmarks: LoCoMo, FEVER, and HotpotQA. The results show SEDM consistently improves reasoning accuracy while significantly reducing token overhead compared to strong memory baselines.

Meng: Token overhead is crucial for production. How much reduction are we talking about in terms of actual inference cost when you go from a baseline to SEDM?

Tom: They showed that on the LoCoMo benchmark, SEDM improves temporal reasoning by more than fifteen F1 points compared to the strongest baseline, and it does this while significantly reducing token overhead <ref:2509.09498#pg2>. On HotpotQA, they achieved the highest score of thirty-nine while simultaneously reducing computational overhead <ref:2509.09498#pg2>.

Title and authors: Jane: That's a solid result for multi-hop reasoning tasks specifically, which is pretty complex because you have to chain multiple pieces of information together.

Lu: And the cross-domain evaluation showed some interesting transfer patterns: factual-verification memory transfers surprisingly well to HotpotQA, whereas dialogue memory transfers poorly to the other two tasks.

Meng: That means you can’t just dump all your conversation logs into a general pool and expect it to work everywhere. It's still highly task-dependent.

Tom: The main contribution they are pushing is that SEDM transforms memory from a passive repository into an adaptive, verifiable, and continuously improving component through these mechanisms of reproducible admission and utility-based weighting.

Jane: So to wrap up the paper "SEDM: Selective Self-Evolving Distributed Memory for Agents," it’s about making sure the AI doesn't just store everything passively but actively curates what it keeps, based on empirical proof of its value.

Lu: I think the idea of self-contained execution contexts really grounds the admission process in something reproducible, which is a huge step for trust in these systems.

Meng: From an engineering standpoint, having that verifiable admission score helps us manage our memory footprint without just guessing what's important to keep.

Lalam: I am confident in this direction; the framework seems very sure about its ability to handle the accumulation of interaction logs sustainably and adaptively over long periods.

Tom: So we’ve seen how they use SCECs for writing, how they use scheduling for reading, and how they diffuse knowledge across tasks. It’s a comprehensive approach to memory management.

Jane: It really shows that the future of long-term agent collaboration isn't just about bigger models but about having smarter systems that know which pieces of history matter most at any given moment.

Lu: And the fact that they tied in cross-domain knowledge diffusion suggests a path toward building truly generalizable agents, not just task specialists.

Meng: For us, it means we have a clearer way to manage the complexity when we’re shipping these systems to users who expect consistent performance over time.

Lalam: The paper "SEDM: Selective Self-Evolving Distributed Memory for Agents" provides a very solid foundation for designing memory that evolves alongside the agents themselves.

The paper's summary: Tom: So, we’re looking at this paper called "SEDM: Selective Self-Evolving Distributed Memory for Agents." Basically, they’ve taken memory management and made it active instead of passive.

Jane: Right. If you think of memory in an agent system like a giant filing cabinet, they're saying SEDM turns that cabinet into something that actively sorts itself and learns what’s important over time.

Lu: The core idea is to stop treating memory as just a big database where everything gets thrown in and forgotten; instead, it becomes a component that verifies its own usefulness at the moment of writing.

Meng: I'm wondering how they handle the sheer volume of data accumulation without making the retrieval process impossibly slow down for real-time use.

Tom: They address that with this three-part system where you first test if a piece of experience has any value using something called an SCEC, which is a Self-Contained Execution Context.

Jane: That means before the agent saves something long-term, it runs a quick test—an A/B replay—to see how much better things get when that specific memory item is included in the prompt.

Lu: They use this test to calculate an admission score, S equals delta R minus lambda L delta L minus lambda T delta T, which essentially balances the benefit of the memory against the cost of storing it.

Tom: And only if that score S is greater than some threshold eta do they accept it into the repository with an initial weight w0 equal to that score. It’s a gate based on empirical evidence.

Jane: That’s what I mean, it's like having a quality control check before you approve a new piece of training data for the system to learn from.

Lu: Then there’s the second part, called Adaptive Memory Scheduling, which uses those initial admission weights and semantic similarity to decide which memory items to pull out when the agent needs them.

Meng: So instead of just retrieving similar things, it uses that proven utility score to prioritize what it fetches right now.

Tom: Exactly. And this scheduler also keeps improving itself by updating the weights based on how well those retrieved items actually perform later on, merging duplicates and pruning stuff that doesn't help anymore.

Jane: That’s where the self-evolving part comes in—the system learns from its own mistakes and successes throughout its entire lifespan.

Lu: Finally, they have Cross-Domain Knowledge Diffusion, which takes those specific pieces of information and abstracts them into a general form so they can be safely transferred to different types of tasks or agents.

Meng: So the paper’s saying that by having this verifiable writing process and this self-scheduling controller, you get better accuracy while keeping the computational overhead down compared to just using massive, unfiltered memory dumps.

Tom: That's what their benchmarks on LoCoMo and HotpotQA show—they see real improvements in reasoning accuracy while actually reducing the token overhead involved.

Jane: The real implication for us is that this moves us toward building agents whose memory isn't just a historical log, but an active, curated tool that improves its own performance over a very long run.

The paper's improvements: Tom: So, we’re looking at what they suggest for improving SEDM itself rather than just its baseline performance on those specific tests.

Jane: They’re essentially talking about how to make the system even more robust as it evolves, focusing on refining those internal mechanisms we talked about earlier.

Lu: They point out that the self-scheduling controller needs continuous refinement through this progressive evolution module which updates the weights using a formula like wt+one(m) equals wt(m) plus alpha U¯t(m) minus beta fuse,t(m).

Meng: So they’re saying that by letting the system track usage and outcome signals to update those weights, you move from just an initial estimate toward something much more refined based on what actually works in practice.

Tom: That's a clean mechanism for preventing the memory controller from getting stuck on outdated or bad entries; it ensures the weights evolve toward usage-aware estimates.

Jane: It’s like giving the system a feedback loop where every successful interaction adjusts its internal scoring, making it smarter over time instead of just relying on the initial admission test.

Lu: Then they emphasize that semantic consolidation needs to be better at merging near duplicates so it really reduces retrieval noise and strengthens those utility signals we were talking about earlier.

Meng: Reducing noise is huge for production because noisy retrieval means the agent wastes time pulling in irrelevant context, which adds up quickly when you’re running inference on a large scale.

Tom: That’s the engineering concern—managing that signal-to-noise ratio so that every retrieval action actually contributes something positive to the final decision.

Jane: And on top of that, they suggest making the cross-domain diffusion more aggressive so it can abstract those specific factual pieces into even more universally applicable forms.

Lu: They want to push the boundaries on generalization, meaning that if an agent learns a specific fact in one task, the framework should be better at extracting that core concept and applying it to a completely different type of reasoning.

Meng: I worry about the cost of that extra abstraction layer; does making it more general add significant latency during the retrieval phase?

Tom: They suggest careful tuning with those lambda parameters, but they argue that the trade-off for better cross-domain transfer is worth it when dealing with long-term, multi-agent collaboration.

Jane: So what this means for listeners who just want to understand the big picture is that SEDM isn't just a fast memory system; it’s a system designed to become more intelligent and more adaptable as its agents interact with the world over time.

Lu: The implication is that we can build agents that don't just store data, but actively curate and grow their own knowledge base in a sustainable way.

Conclusion: Tom: So we’re wrapping up on "SEDM: Selective Self-Evolving Distributed Memory for Agents." The main idea is that they turned memory from a passive storage bin into an active, self-improving component through verification and scheduling.

Jane: Right. It means agents can build long-term knowledge in a way that actually filters out the junk and gets smarter with every interaction they have.

Lu: The framework introduces verifiable write admission based on Self-Contained Execution Contexts, which provides empirical evidence for utility before any data is permanently saved.

Meng: From an engineering standpoint, that means we’re not just trusting some abstract scoring; we’re using a test to prove the value of the experience at the moment it happens.

Tom: That gate mechanism controls what gets written, and then the memory controller uses those scores and semantic similarity to decide what to retrieve later.

Jane: And that retrieval part is self-scheduling, meaning it learns from its own outcomes by updating weights based on observed utility signals.

Lu: It’s a dynamic system where the repository actively prunes harmful entries and consolidates near duplicates to keep things clean and efficient.

Meng: I still see the cost of that continuous weight update process; if that formula is too complex, it just adds overhead to inference time at scale.

Tom: The ablation studies suggest the controller manages this well enough that it helps constrain prompt growth without sacrificing the accuracy gains they saw on benchmarks like LoCoMo and HotpotQA.

Jane: So for someone listening, the implication is that we’re moving toward agents that manage their own knowledge base sustainably over very long periods of collaboration.

Lu: And the cross-domain knowledge diffusion part means these learned concepts can actually be transferred to different types of tasks, which is a big step for building generalizable AI.

Tom: I think the results on accuracy improvement while reducing token overhead are pretty compelling when you look at those numbers—that’s a concrete win for efficiency.

Jane: It shows that making memory adaptive and verifiable isn't just academic; it actually helps these systems perform better in complex reasoning tasks.

Meng: It changes how I think about deploying long-running agents, because instead of just letting them grow forever, they have a mechanism to stay relevant and efficient.

Lu: The authors acknowledge that the method relies on those initial admission scores being reasonable, which is the main caveat when you look at it under extreme conditions.

Tom: So "SEDM: Selective Self-Evolving Distributed Memory for Agents" offers a solid blueprint for making memory an intelligent asset rather than just a data graveyard.

Jane: It’s definitely a framework that shows how we can build systems that adapt and improve themselves as they interact with the world.

Lu: We should keep watching how they refine the cross-domain diffusion part, because that seems to be where the most interesting potential for true generalizability lies.

Haoran Xu, Jiacong Hu, Ke Zhang, Lei Yu, Yuxin Tang, Xinyuan Song, Yiqun Duan, Lynn Ai, †Bill Shi

Gradient University of Zhejiang, South China University of Technology, Waseda University, University of Toronto, Rice University, Emory University, University of Technology Sydney

cs.AI

Submitted: 2025-09-11

Updated: 2026-10-14

License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/

Importance score: 82/100

The gist: The gist: SEDM introduces Scalable Self-Evolving Distributed Memory, a verifiable and adaptive framework that transforms memory from a passive repository into an active, self-optimizing component for

Key concepts

SCEC-based Verifiable Write Admission
This mechanism packages each agent run into a Self-Contained Execution Context (SCEC). It then performs environment-free A/B replay tests to empirically estimate the real utility of a potential memory item before it is officially added to the memory repository. This ensures only high-quality experiences are stored.
Self-Scheduling in the Memory Controller
This controller manages retrieval by combining semantic similarity with admission weights derived from past performance. It continuously refines the memory by updating item weights based on observed outcomes, merging similar entries to reduce noise, and pruning harmful data. This allows the system to prioritize relevant and useful memories at runtime.
Cross-Domain Knowledge Diffusion
This component abstracts admitted memories into conservative general forms. By re-validating these abstract insights across different tasks, the framework enables knowledge transfer between heterogeneous problems. For example, factual knowledge learned from one task can be applied to improve performance on another task.
Calibrated Memory Gating (CMG)
This is a prediction mechanism that learns whether using a specific memory will actually lead to success in a single forward pass. It only injects the memory when the predicted gain in success outweighs the associated context-cost penalty, ensuring selective and efficient memory usage.

Terminology

Summary

The gist: SEDM introduces Scalable Self-Evolving Distributed Memory, a verifiable and adaptive framework that transforms memory from a passive repository into an active, self-optimizing component for long-term multi-agent systems.

Problem and Motivation

In long-term multi-agent systems, the accumulation of trajectories and historical interactions makes efficient memory management a particularly challenging task, with significant implications for both performance and scalability Existing memory management methods typically depend on vector retrieval and hierarchical storage, yet they are prone to noise accumulation, uncontrolled memory expansion, and limited generalization across domains. The sheer scale of historical interactions can easily overwhelm computational resources and compromise decision quality. Current methods primarily adopt vector retrieval and hierarchical memory structures to manage storage and retrieval efficiently. However, in complex collaborative multi-agent tasks, their effectiveness diminishes, as the underlying assumptions of stability and linear growth do not hold. One major challenge is the inevitable accumulation of noise, which severely degrades retrieval quality. As the memory size expands without constraint, the system faces exponentially increasing computational costs in both retrieval and context construction.

SEDM Framework Components

SEDM integrates three core components to transform memory into an active mechanism. These components are:

  1. SCEC-based Verifiable Write Admission, which packages each run into a Self-Contained Execution Context (SCEC) and performs environment-free A/B replay to estimate the marginal utility of a candidate memory item. This mechanism provides empirical evidence for utility at write time, ensuring that only useful, high-quality experiences enter the memory repository.

  2. Self-Scheduling in the Memory Controller, which uses admission-derived weights together with semantic similarity to score candidates at retrieval time. It also maintains the repository by updating weights from observed outcomes, merging near duplicates, and pruning harmful entries.

  3. Cross-Domain Knowledge Diffusion, which abstracts admitted items into conservative general forms and re-validates them in other tasks to support transfer across heterogeneous tasks.

Mechanism Details

The SCEC-based Verifiable Write Admission process involves extracting one candidate memory item m from each SCEC and conducting a paired A/B test between the control condition (A) using the original prompt and the treatment condition (B) augmenting the prompt with memory m. The composite admission score is defined as S = ∆R − λL∆L − λT ∆T, where λL, λT ≥ 0 controlling the trade-offs between utility and cost. The admission decision and initial weight are then defined as accept(m) ⇐⇒ S ≥ η, w0(m) = max[0, S].

The Self-Scheduling in the Memory Controller uses a ranking signal aligned with realized utility to form a utility-aligned score: s(q, m) = sim(q, m) × w(m), where sim(q, m) denotes the semantic similarity between query q and memory m. The consolidation and progressive evolution module maintains the repository by tracking usage and outcome signals to update weights using the formula wt+1(m) = wt(m) + α · U¯t(m) − β · fuse,t(m), ensuring weights evolve from admission-derived values toward refined, usage-aware estimates. Semantic consolidation addresses redundancy by merging near-duplicate items where mmerged = Merge(mi, mj), reducing retrieval noise and strengthening utility signals.

Evaluation and Results

Evaluations on benchmark datasets demonstrate that SEDM improves reasoning accuracy while significantly reducing token overhead compared to strong memory baselines. On the LoCoMo benchmark, SEDM consistently improves task accuracy while significantly reducing token overhead, achieving a better balance between performance and efficiency. For instance, SEDM improves Temporal reasoning by more than 15 F1 points compared to the strongest baseline (G-memory), demonstrating its ability to capture and utilize temporally structured information effectively. In the HotpotQA dataset, SEDM achieved the highest score of 39 while simultaneously reducing computational overhead, confirming its effectiveness in multi-hop reasoning tasks. Cross-domain evaluation shows task-dependent transfer: factual-verification memory transfers surprisingly well to HotpotQA, whereas dialogue memory transfers poorly to the other two tasks.

Contributions and Conclusion

The contributions of SEDM are summarized as follows:

"We propose Self-Evolving Distributed Memory (SEDM), a novel framework that transforms memory from a passive repository into an adaptive, verifiable, and continuously improving component, introducing self-contained execution contexts (SCECs) for reproducible admission and utility-based memory weighting."

"We design a self-scheduling memory controller that selectively manages memory at retrieval time and continuously refines the repository through consolidation, redundancy suppression, and progressive evolution, thereby balancing accuracy and efficiency."

We conduct extensive evaluations on LoCoMo, FEVER, and HotpotQA benchmarks, demonstrating that SEDM consistently improves task accuracy while significantly reducing token overhead.

Overall, SEDM demonstrates potential as a scalable and sustainable memory mechanism for long-term multi-agent collaboration. The results highlight SEDM as a scalable and sustainable memory management design for open-ended multi-agent collaboration.

--- Page 1 ---

The gist: In long-term multi-agent systems, the accumulation of trajectories and historical interactions makes efficient memory management a particularly challenging task, with significant implications for both performance and scalability.

How it works

The system introduces verifiability and self-improvement into the memory life cycle through three tightly integrated modules. (i) SCEC-based Verifiable Write Admission packages each run into a Self-Contained Execution Context (SCEC) and performs environment-free A/B replay to estimate the marginal utility of a candidate memory item; only items with positive evidence are admitted and assigned an initial weight. (ii) Self-Scheduling in the Memory Controller uses admission-derived weights together with semantic similarity to score candidates at retrieval time, while also maintaining the repository by updating weights from observed outcomes, merging near duplicates, and pruning harmful ones. (iii) Cross-Domain Knowledge Diffusion abstracts reusable insights into general forms to support transfer across heterogeneous tasks.

Key Features

verifiable write admission based on reproducible replay

a self-scheduling memory controller that dynamically ranks and consolidates entries according to empirical utility

cross-domain knowledge diffusion that abstracts reusable insights to support transfer across heterogeneous tasks

Performance Summary

Evaluations on benchmark datasets demonstrate that SEDM improves reasoning accuracy while reducing token overhead compared to strong memory baselines. The results show that SEDM consistently improves task accuracy while significantly reducing token overhead, thereby achieving a better balance between performance and efficiency. Ablation studies confirm that both the verifiable admission mechanism and the self-scheduling controller contribute progressively to this gain, with the latter playing a key role in constraining prompt growth without sacrificing accuracy. The results highlight SEDM as a scalable and sustainable memory management design for open-ended multi-agent collaboration.

Cross-Domain Transfer

Cross-domain evaluation demonstrates that memory distilled from one dataset can transfer to another, with factual knowledge from FEVER notably boosting performance on HotpotQA. These findings highlight SEDM as a scalable, adaptive, and generalizable memory framework for long-term multi-agent reasoning.

Final Conclusion

SEDM transforms memory from a passive repository into an active, self-optimizing component by integrating verifiability and continuous self-improvement into the memory lifecycle. Experiments on LoCoMo, FEVER, and HotpotQA confirm that SEDM improves reasoning accuracy while reducing computational and token overhead.

Improvements for AI systems

  1. Bold header: Verifiable Write Admission via SCECs

This mechanism ensures only useful, high-quality experiences enter the memory repository by performing environment-free A/B replay to estimate the marginal utility of a candidate memory item, providing empirical evidence for utility at write time.

  1. Bold header: Adaptive Memory Scheduling

The system implements a retrieval policy where the score is calculated as s(q, m) = sim(q, m) × w(m), which combines semantic similarity with admission-derived evidence to ensure memories are injected because they have demonstrated measurable benefit.

  1. Bold header: Self-Scheduling Refinement

The memory controller continuously refines the repository by updating weights using the formula wt+1(m) = wt(m) + α · U¯t(m) − β · fuse,t(m), ensuring that items that repeatedly yield positive gains across related contexts are promoted.

  1. Bold header: Cross-Domain Knowledge Diffusion

The framework enables knowledge transfer by abstracting specific entries into a conservative general form to support cross-domain retrieval, allowing knowledge distilled in one domain to be safely transferred and re-validated in others.

Sources

Related papers