National University of Singapore Develops Novel Approach to Revolutionize AI Memory Management
A research team at the National University of Singapore has developed MRAgent, a framework that fundamentally reinvents memory management for AI agents. Rather than the traditional approach of separating search from reasoning, the system dynamically reconstructs memory while performing inference, significantly reducing token consumption compared to competing frameworks. The technology is drawing attention as a breakthrough enabling practical deployment of AI agents for complex long-duration tasks.

A research team at the National University of Singapore has developed MRAgent (Memory Reasoning Architecture for LLM Agents), a novel framework that fundamentally rethinks memory management for AI agents. Rather than adhering to the traditional approach of "search first, then reason," the system adopts a mechanism that dynamically reconstructs memory while performing inference. This approach enables significant reductions in token consumption and processing costs compared to other similar frameworks.
AI agents performing complex reasoning across multiple steps in "long-duration tasks" face a fundamental challenge: context windows—the limit on information an LLM can process at once—quickly fill up. Traditional search pipelines retrieve documents through vector search or graph traversal, then pass the aggregated results to the LLM. However, this approach cannot adapt search strategies when new clues emerge during reasoning, and irrelevant information floods the context, degrading inference accuracy—a fundamental problem that persists in current systems.
The research team addressed this problem by drawing inspiration from the concept of "memory reconstruction" in cognitive neuroscience. Just as human memory recall is not a static database lookup but a sequential process of building associations from small cues, MRAgent operates similarly. Specifically, it begins with small cues from the user's query—names, actions, locations—and explores multiple candidate paths on a structured memory graph. As intermediate evidence emerges at each step, the LLM evaluates it, narrows the search conditions, prunes unnecessary paths, and pursues the optimal route.
This architecture of "performing reasoning and search simultaneously" creates substantial differences in token efficiency. According to the paper, while the competing agent memory framework LangMem consumes approximately 3.26 million tokens per query, MRAgent consumes only approximately 118,000 tokens. The design of incrementally accumulating only necessary information suppresses wasteful information loading, driving improvements in both cost and speed.
The significance of this research extends beyond cost reduction. As AI agent adoption expands for long-duration dialogues and complex investigation tasks, the bottleneck lies precisely in inefficient memory management. MRAgent's approach of integrating reasoning and memory reconstruction represents a critical step toward enabling agents to reach a level of practical usability as tools. The shift from passive search merely referencing static databases to active construction of context is noteworthy from a research direction perspective.
The future focus will be on how well this framework scales in actual production environments. At present, these are research-stage results requiring further validation across diverse domains and conditions. However, the broader shift in memory management design philosophy from "static search" to "dynamic reconstruction" reflects industry-wide momentum, not unique to this research. Continued progress in practical implementation verification warrants attention.
This article is an original work independently written and edited by the AI issue editorial team based on factual reporting. © AI issue. Unauthorized reproduction, redistribution, or use for AI training is prohibited.