MEMONDEMAND: A Memory Management System for Large-Scale Enterprise Data
summary
The gist
The gist The MEMONDEMAND system introduces a memory management system for large-scale enterprise data that jointly manages hierarchical organization, retrieval representation, evidence loading, and
In short
MEMONDEMAND is a memory management system for huge enterprise data repositories. It solves retrieval challenges by creating a dynamic hierarchy, separating routing from detailed evidence, and promoting important data on demand. This allows LLMs to access large, complex corporate knowledge efficiently while ensuring accurate source citation.
Key concepts
- Dynamic Multi-level Hierarchy
- This organizes enterprise memory into layers of abstraction. The system dynamically decides how records should be grouped and how deep the hierarchy should go for each specific collection, creating a flexible structure tailored to the data's unique needs.
- Dual Memory at Each Level
- Every layer in the hierarchy keeps two types of information: distilled memory and detailed memory. Distilled memory is a compact summary for fast searching, while detailed memory holds the full original source content needed for precise answers and citations.
- On-Demand Memory Promotion
- This mechanism updates the importance (priority) of data nodes based on query needs. If a node proves useful during retrieval, it gets promoted; if not, its priority drops. This ensures that only relevant, high-quality evidence is actively prioritized under a set capacity budget.
Terminology used across episodes
This episode discusses
- MEMONDEMAND: A Memory Management System for Large-Scale Enterprise Data · Paper Radio
- Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory
- From Local to Global: A Graph RAG Approach to Query-Focused Summarization
- FinanceBench: A New Benchmark for Financial Question Answering
- Memory OS of AI Agent
- MemOS: An Operating System for Memory-Augmented Generation (MAG) in Large Language Models
- MemGPT: Towards LLMs as Operating Systems
- MemoRAG: Boosting Long Context Processing with Global Memory-Enhanced Retrieval Augmentation
- FreshDiskANN: A Fast and Accurate Graph-Based ANN Index for Streaming Similarity Search
- Hierarchical Memory for High-Efficiency Long-Term Reasoning in LLM Agents
- EnterpriseRAG-Bench: A RAG Benchmark for Company Internal Knowledge
- Augmenting Language Models with Long-Term Memory
- MemoryBank: Enhancing Large Language Models with Long-Term Memory
The paper
MEMONDEMAND: A Memory Management System for Large-Scale Enterprise Data · Read on arXiv
Emory University
Enterprise repositories are large, heteroge- neous, and continuously updated, making re- trieval difficult when efficient access, source- faithful evidence, and cross-query adaptation must be supported together. Enterprise mem- ory extends retrieval beyond the model con- text, but existing systems do not jointly address collection-specific hierarchy construction, low- cost routing, detailed evidence loading, and workload-aware memory updates at this scale. We introduce MEMONDEMAND, short for On- Demand Memory, a memory management sys- tem with three coordinated mechanisms: a dy- namic multi-level hierarchy that determines the abstraction structure and depth for each col- lection, dual memory at every hierarchy level that separates distilled routing from detailed evidence, and on-demand memory promotion that updates node priority under a bounded active-state budget. On EnterpriseRAG-Bench, MEMONDEMAND outperforms the strongest published LB#1 result at every evaluated scale from 10M tokens through the complete 618M- token collection, with gains of 12.23% at 10M and 4.66% at 618M. Results on FinanceBench, HotpotQA, and FRAMES further show strong performance across financial, multi-hop, and fact-retrieval settings. Together, these results establish MEMONDEMAND as an accurate, ef- ficient, and scalable memory solution for very large enterprise repositories across data scales, domains, and evidence requirements. Our code is available at https://github.com/ xfab-xinyuansong/MemOnDemand.git.
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: Today's paper: "MEMONDEMAND: A Memory Management System for Large-Scale Enterprise Data".
Jane: The gist The MEMONDEMAND system introduces a memory management system for large-scale enterprise data that jointly manages hierarchical organization, retrieval representation, evidence loading, and cross-query memory state.
Tom: First, who's behind it and why it matters.
Title and authors: Tom: So, we're looking at this paper called MEMONDEMAND: A Memory Management System for Large-Scale Enterprise Data. It sounds like they’re tackling the huge problem of getting an AI to find information across enterprise data sets that are massive and constantly changing.
Jane: Right, so the core idea seems to be a system that handles hierarchy construction, retrieval representation, evidence loading, and keeping track of memory state across different queries all at once. It sounds complex because it’s trying to do three really different things simultaneously.
Lu: Yeah, the authors are focusing on how a single system can manage this complexity by using three coordinated mechanisms: a dynamic multi-level hierarchy, dual memory at every level, and on-demand memory promotion. That’s the big structural approach they are proposing here.
Meng: I'm curious about that hierarchy thing. How do you decide what those levels should be for a collection that has wildly different types of data in it? It sounds like a guessing game if you don't have a good rule for that.
Tom: Exactly, and the paper says they handle that by having MEMONDEMAND decide both how to group records at each level and whether another higher level should be created, which means the structure isn't fixed beforehand. It adapts to the collection itself.
Jane: That sounds like a necessary flexibility move for enterprise data because you can’t just slap a one-size-fits-all structure on everything. And then you have this dual memory concept, which is really interesting for separating what you need to search from what you need to actually read when the time comes.
Lalam: I see the separation clearly. They have distilled memory which is this compact retrieval representation that keeps the main topic and facts, and detailed memory which has the full original content at level zero and all that extra stuff built up from child nodes >
Tom: So, you can search through all that compact distilled memory first, and only load the rich detailed memory when it's actually needed to generate an answer. That’s a big win for efficiency if you’re dealing with huge data volumes.
Jane: And then there’s this on-demand memory promotion, which is how the system keeps itself relevant as the workload changes, updating node priorities only when evidence from a query shows that a node is useful >
Title and authors: Meng: From a production standpoint, I worry about that budget constraint they mentioned—the bounded active-state budget K—if you push too many nodes up in priority, how does the system decide what to demote or drop? That sounds like it could get messy when things are busy.
Lu: The budget constraint is there specifically to enforce capacity, meaning when that limit is hit, they demote expired or low-retention nodes > It’s a way to manage the trade-off between keeping everything active and maintaining performance under load.
Tom: And they tie this promotion score gt(v) in from zero to one using query-time evidence, which means the system learns what’s important for that specific question in real time >
Jane: It sounds like they’re trying to achieve this balance of keeping things fresh without wasting computation on nodes that aren't useful for the current task. This dynamic adjustment based on query needs is key here.
Lalam: I feel confident about the results they show, especially when looking at EnterpriseRAG-Bench, where MEMONDEMAND outperforms the strongest published LB#one result across scales from 10M tokens up to that complete 618M token collection > <ref:2608.22141#pg1,MEMONDEMAND outperforms the strongest published LB#1 result>
Meng: But those benchmarks are usually clean datasets. What about real-world traffic? I mean, if you’re running this on actual enterprise data, is there a risk that the initial setup cost or the complexity of maintaining this whole hierarchy becomes too much for our team to manage?
Tom: The paper addresses that by showing strong performance across external benchmarks like FinanceBench and HotpotQA as well > Plus, they found a really good quality-cost trade-off, where selective detailed memory loading reduced answer-input tokens by seventy point two percent relative to using only detailed memory >
Jane: That reduction in answer-input tokens is huge for LLMs because it means the model isn't wasting its context window on irrelevant detail when it’s trying to formulate a response. It shows a smart way to be selective about what evidence you pull in >
Lu: And the fact that they achieved Combined scores of eighty point four five percent and seventy-eight point six six percent at ten million and twenty million source tokens shows that this quality-cost trade-off is quite strong, especially when compared to detailed-only hierarchy retrieval >
Title and authors: Lalam: The authors conclude by saying this system provides a practical solution for extending LLMs with ultra-large memory beyond the limits of the model context window, achieving the highest Combined score at both ten million and twenty million scales >
Tom: I think it’s really about showing that you don't need to pack everything into one massive context window anymore; you can manage a much larger pool of memory intelligently >
Jane: It sounds like the combination of dynamic hierarchy, dual memory, and on-demand promotion is what lets MEMONDEMAND work effectively even when dealing with enterprise data that is both huge and constantly evolving >
Meng: So, for someone looking to deploy this, the implication seems to be that you can handle massive repositories without needing an impossibly large context window for every single query >
Lu: And they also noted the limitations—that while it works well across scales and benchmarks, enterprise memory must still support source-level citation over large multi-source repositories, which is a specific challenge they are tackling >
Tom: That’s a fair caveat; it’s not perfect for every single edge case, but for the scale they are addressing, this system seems to be a very practical and efficient way forward.
Jane: We’ve covered the title of MEMONDEMAND: A Memory Management System for Large-Scale Enterprise Data, how it manages hierarchy and dual memory to separate routing from evidence loading, and how on-demand promotion keeps the system relevant under a budget >
Lalam: This paper is showing us a way to handle enterprise data that scales up to six hundred eighteen million tokens while maintaining performance on multiple external benchmarks >
Meng: We’ve also discussed the cost efficiency of only loading detailed memory when necessary, leading to a seventy point two percent reduction in answer-input tokens compared to older methods >
Lu: And we touched on how the dynamic hierarchy adapts to different collection structures, which is important because enterprise data isn't uniform >
Tom: So, this paper provides a concrete system for managing that complexity at scale, moving past just packing things into context windows >
Jane: It seems like the main point is demonstrating that you can build an effective memory management layer on top of LLMs that handles the massive scale and heterogeneity of enterprise data in a way that balances accuracy with practical resource constraints.
The paper's summary: Tom: So, we just finished looking at the core mechanics of MEMONDEMAND—the dynamic hierarchy and that dual memory system where you have distilled routing information and detailed evidence separately—and now we’re going to talk about what this whole thing actually achieves for handling massive enterprise data sets.
Jane: Right, so the paper is saying that instead of just trying to cram everything into one giant context window, this system manages the whole memory landscape so you can search efficiently across hundreds of millions or billions of records >
Lu: Exactly. The authors are proposing three coordinated things: a dynamic multi-level hierarchy, dual memory at every level, and on-demand promotion to update node priority based on query evidence >
Meng: From my side, I’m wondering if this whole structure is just going to add a massive overhead in terms of how much compute it takes just to maintain all those levels and promote nodes >
Tom: Well, the mechanism they use for promotion is actually pretty smart; it only updates node priority when the query-time evidence shows that a node is useful, so it’s not constantly refreshing everything >
Jane: And that’s where the on-demand part comes in. It adapts to changing workloads by increasing a node's priority score if the current query needs that information, and gradually losing priority if it gets inactive over time >
Lu: The authors also focused on how they manage memory promotion under a bounded active-state budget K, which is a constraint they put in place to stop the system from just endlessly promoting every single node >
Tom: And when you look at the results on EnterpriseRAG-Bench, they show that MEMONDEMAND outperforms the strongest published result across scales from ten million tokens all the way up to that complete six hundred eighteen million token collection >
Jane: That scale is huge; it means this isn't just a neat trick for small models anymore, it’s designed specifically for those real-world, massive data repositories companies actually use >
Meng: But I still worry about the cost efficiency when you have to load that detailed memory only when needed; is that loading mechanism itself going to be computationally expensive enough to negate the token savings they report >
Tom: The paper shows a very strong quality-cost trade-off, and they found that selective loading of detailed memory reduced answer-input tokens by seventy point two percent compared to just using the detailed memory approach >
Jane: Seventy point two percent is a huge number when you're talking about how much context the LLM actually needs to generate a good answer >
Lu: So, what this really changes for me as someone working on representation learning is that we can move past fixed taxonomies for enterprise data because MEMONDEMAND lets the hierarchy structure itself dynamically for different domains and tenants >
Tom: It’s about building a flexible memory layer that doesn't need to be manually pre-defined by a human engineer, but instead infers the best organization based on what’s in the collection >
Jane: The big implication here is that we can finally get LLMs to work with truly massive, heterogeneous data sets where the information isn't just one long string; it’s a whole complex structure >
Lu: And that’s what they are trying to solve—giving agents access to deep, structured knowledge without hitting the hard limit of context windows or losing track of which source is which >
Tom: So, we're moving from static context packing to a dynamic system that intelligently decides what evidence is relevant at any given moment >
Jane: It sets a new standard for how AI should handle enterprise knowledge bases that are constantly growing and changing >
The paper's improvements: Tom: So we just talked about how MEMONDEMAND sets up that initial structure, and now we're going to look at the specific tweaks the authors suggest to make this memory system even better for real use >
Jane: Right, so they aren't just happy with their first draft; they’re pointing out ways they can refine the dynamic hierarchy and how it interacts with those dual memories >
Lu: They specifically suggest a way to control the promotion threshold using a similarity floor, putting that floor between zero point one and nine point nine >
Tom: A similarity floor means you set a minimum score for a node to even get promoted, which they say finding the best balance is really at that intermediate level, around zero point five >
Jane: So it’s like they are fine-tuning the sensitivity of the system; they want to avoid promoting nodes that aren't actually useful for the current query >
Meng: From a production standpoint, a similarity floor sounds like it adds another layer of complexity to the query-time controller, which means more computation per step >
Tom: It’s an investment in quality, though; they say this specific floor achieves the best Combined score across various scales when you're running a sweep >
Jane: And that brings us back to cost; because of this tuning, they found that the system is still highly cost-efficient, actually reducing answer-input tokens by seventy point two percent relative to loading only detailed memory >
Lu: What’s interesting is their focus on avoiding eager preparation costs; they suggest preparing a representation only when it's first needed, instead of preparing every single promotable parent representation all at once >
Tom: That’s a big win for wall time; the paper claims that this on-demand promotion strategy results in four hundred seven times less wall time compared to eagerly preparing all those parent representations >
Jane: It means the system can be much more reactive, adapting its memory structure faster to sudden shifts in what information an AI needs to find >
Meng: If it’s only preparing things when needed, I need to know if that on-demand loading still breaks at scale; does the retrieval latency spike too much when a node is first accessed and requires detailed memory >
Tom: They address that by saying the repeated access refreshes the node, which means once you’ve pulled it out once, it stays prioritized for a while >
Jane: So they’re suggesting a system where the cost is distributed over time rather than dumped entirely at query time, making it feel more smooth to use >
Lu: The overall implication is that MEMONDEMAND isn't just about storing data; it's about creating an intelligent memory management layer that optimizes the balance between evidence accuracy and retrieval speed dynamically >
Tom: It’s shifting the focus from just having a huge context window to having a smart, adaptive system underneath it that knows what to load and when >
Jane: So, for someone who only listens, this means we can expect AI systems to handle massive enterprise knowledge without needing impossibly large input prompts every single time >
Conclusion: Tom: So to wrap up, MEMONDEMAND is essentially a memory management system that uses three coordinated mechanisms—a dynamic hierarchy, dual memory at every level, and on-demand promotion—to handle enterprise data that goes way beyond what a single context window can hold >
Jane: Exactly. The paper shows how you can structure massive datasets into these levels so the AI doesn't have to search everything all at once, but only what it needs for the current task >
Lu: The main thing I want to emphasize is that this dynamic hierarchy is determined by the collection itself, meaning it adapts to different data domains and tenants without a fixed structure >
Meng: If you’re deploying this, you’re dealing with a system that has to manage those priorities under a budget K, so the running cost needs to stay predictable when things get busy >
Lalam: I'm pretty sure the accuracy they hit on EnterpriseRAG-Bench at those massive scales is very solid; I see this as a practical way to give agents access to deep, structured knowledge >
Tom: It’s a practical solution for extending LLMs with ultra-large memory that doesn't just rely on packing everything into one context window >
Jane: And it shows a really strong quality-cost trade-off; they found that selective detailed memory loading reduced answer-input tokens by seventy point two percent compared to older methods >
Lu: The method’s ability to infer the hierarchy and its depth from each collection is what makes it flexible enough for real world use, which is a big step forward in representation learning >
Tom: So, the final word on MEMONDEMAND is that it provides an accurate and efficient way to manage enterprise repositories across huge data scales domains >
Jane: It’s about showing that you can build an effective memory layer on top of LLMs that handles the massive scale and heterogeneity of enterprise data in a way that balances accuracy with practical resource constraints >
Meng: I still think the challenge is making sure those on-demand promotion scores stay stable under really unpredictable, messy real traffic >
Lalam: I'm confident in my assessment; this approach addresses the core issue of source-level citation over large multi-source repositories very well >
More episodes
- 2606.12674-EvoFlux: Inference-Time Evolution of Executable Tool Workflows for Compact Agents
- 2607.18921-Circuit Claims Depend on What Is Extracted and How It Is Compared
- 2606.14391-Learning to Hear Hesitation: Continual Learning for Disfluency-Aware ASR
- 2606.17090-ANEForge: Python for direct computation on the Apple Neural Engine
- 2607.21556-Visual Contrastive Self-Distillation
- 2606.19911-Multi-Agent Transactive Memory
- 2606.21550-AI Alignment From Social Choice Perspectives
- 2607.01071-MemSyco-Bench: Benchmarking Sycophancy in Agent Memory
- 2607.04603-LCPNet: Latent Consistent Proximal Unfolding Network for Infrared Small Target Detection
- 2603.14313-Mind the Shift: Decoding Monetary Policy Stance from FOMC Statements with Large Language Models