MEMONDEMAND: A Memory Management System for Large-Scale Enterprise Data
MEMONDEMAND is a scalable memory management system for large-scale enterprise data that employs a dynamic multi-level hierarchy, dual memory separation, and on-demand promotion to outperform existing retrieval methods across various data scales and domains.
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 modern world, large organizations generate a staggering amount of information every day. Policies, contracts, emails, code, and records pile up into massive digital repositories that can contain hundreds of millions of documents. When a human needs to find a specific fact within this ocean of data, they rely on search tools. Today, artificial intelligence systems are increasingly used to act as these search tools, reading the documents and answering questions. However, these AI systems have a significant limitation: they can only hold a small amount of information in their active memory at one time, much like a person trying to remember a conversation while only keeping the last few sentences in mind. If the answer lies deep within a massive collection of files, the AI often misses it or gets confused by irrelevant details. Researchers have tried to solve this by giving the AI a permanent memory bank, but existing methods struggle to organize such vast amounts of data efficiently without overwhelming the system or losing the precise details needed to prove an answer is correct.
A team of researchers has introduced a new system called MEMONDEMAND to solve this problem. The core idea is to stop trying to load every single document into the AI's active memory at once. Instead, the system builds a flexible, multi-layered structure for the data, similar to how a library organizes books into broad categories, then sections, and finally individual shelves. At the very top of this structure, the system keeps a compressed, high-level summary of the information. This summary is lightweight and allows the AI to quickly scan the entire collection to find which general area might contain the answer. As the system narrows down the search, it moves deeper into the layers, eventually reaching the original, detailed documents only when absolutely necessary. This approach ensures the AI spends its limited memory on the most relevant facts rather than wasting space on irrelevant text.
The researchers tested this system on a massive dataset containing 618 million tokens of text, which represents a collection of roughly 500,000 enterprise documents. They compared their new system against the strongest existing methods available. The results showed that MEMONDEMAND was significantly more accurate. At the smallest scale of their test, with 10 million tokens, the new system improved the quality of answers by 12.23 percent compared to the previous best method. Even at the largest scale, with the full 618 million tokens, it still outperformed the competition by 4.66 percent. Crucially, the system achieved this while using far fewer resources. By separating the "search" memory from the "answer" memory, the system reduced the amount of data it needed to process for each question by more than 70 percent compared to methods that tried to load full details immediately.
A key feature of this system is its ability to adapt over time. Just as a human might remember a frequently used file cabinet drawer better than one they rarely open, the system learns which parts of the data are most useful. It tracks which documents are accessed often and keeps them readily available, while pushing less useful or outdated information into the background. This happens automatically without the system needing to rebuild its entire structure. The researchers found that this adaptive behavior allowed the system to prepare for new questions in just 1.46 seconds, whereas a traditional approach that tried to prepare everything in advance would have taken nearly ten minutes. This speed difference highlights the efficiency of only preparing the memory that is actually needed for the current task.
The study also demonstrated that this approach works well across different types of data, not just the specific corporate documents used in the main test. When the researchers applied the system to financial documents, complex multi-step reasoning questions, and fact-retrieval tasks, it maintained high performance. This suggests that the method is robust enough to handle the messy, changing nature of real-world information. The system does not just find answers; it also ensures that every answer comes with a clear citation to the exact source document, preserving the integrity of the information. By managing memory dynamically, the system allows artificial intelligence to work effectively with libraries of data that are far larger than the AI's own internal capacity, bridging the gap between massive enterprise records and the limited attention span of current AI models.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.