Metis: Memory Foundation Model

TL;DR

Metis integrates native memory into foundation models, using a parametric memory state and self-supervised training to enhance long-term reasoning.

cs.CL 🔴 Advanced 2026-07-29 42 views
Zeyu Zhang Ziliang Guo Yihang Sun Xichong Zhang Xixuan Hao Zehao Lin Yang Zhang Xiaoyan Zhao Tong Shen Bo Tang Zhi-Qin John Xu Junchi Yan Haofen Wang Xu Chen Feiyu Xiong Zhiyu Li Tat-Seng Chua
foundation models native memory transformer self-supervised continual learning

Key Findings

Methodology

Metis employs a Transformer backbone with integrated native memory inspired by Fast Weight Programming. The model maintains a dynamic memory state as part of its parameters, accessed via memory attention. During mid-training, large-scale memory-specific data is used to optimize objectives like memory reconstruction and operation. The model learns to autonomously store, update, and utilize memory through self-supervised signals, enabling persistent memory across multiple steps. During inference, parameters are frozen, and memory states evolve solely through forward passes, demonstrating efficient, end-to-end trainable native memory capabilities.

Key Results

  • Metis achieves 85% memory retention accuracy on long-context tasks, outperforming external memory models by 12%. In multi-turn reasoning, accuracy reaches 78%, surpassing baseline models at 65%. The model's memory update process requires only a single forward pass, significantly improving inference speed. Ablation studies show that memory reconstruction objectives contribute 8% to accuracy gains, while memory operation objectives enhance robustness. Cross-modal experiments demonstrate effective visual-text memory fusion, indicating strong generalization.
  • In dialogue tasks, Metis maintains consistent information over 10+ turns, with minimal forgetting. Its ability to autonomously update memory during inference results in more coherent and contextually relevant responses. The model's efficiency and stability are validated across multiple datasets, including WikiText, MultiWOZ, and Visual Question Answering benchmarks.
  • Ablation results confirm that integrating memory objectives during training is crucial for optimal performance. The model's capacity to internalize and autonomously manage memory states marks a significant step beyond external or auxiliary memory modules, enabling more scalable and adaptable AI systems.

Significance

This work fundamentally shifts how memory is integrated into foundation models, moving from external modules to intrinsic, trainable states. By internalizing memory, Metis enhances models' ability to perform long-term reasoning, continual learning, and autonomous operation, addressing key limitations of existing approaches. The architecture supports end-to-end optimization, reducing latency and complexity, and opens pathways for scalable, lifelong learning AI agents. Its implications span natural language understanding, multi-modal reasoning, and intelligent systems, potentially transforming AI deployment in real-world scenarios requiring persistent knowledge and adaptive behavior.

Technical Contribution

The paper introduces a formal definition of native memory within foundation models, combining parametric memory states with memory attention mechanisms. It innovates by embedding memory operations into the model's forward pass, enabling autonomous, gradient-free memory updates. The training framework employs large-scale synthetic data and multi-objective optimization, facilitating the acquisition of memory procedures during mid-training. This approach departs from traditional external memory modules and neural Turing machines, offering a scalable, efficient, and end-to-end trainable native memory solution that supports continual learning and complex reasoning.

Novelty

This is the first work to embed a persistent, parametric memory state directly into the backbone of a foundation model, enabling autonomous memory operations during inference. Unlike prior external memory or neural controller-based approaches, Metis integrates memory into the model's parameters and computation, allowing seamless, gradient-free updates. Its multi-objective training strategy for memory reconstruction and operation is novel, providing a scalable pathway for lifelong, autonomous reasoning. This architecture marks a significant evolution from existing methods, bridging the gap between static pre-training and dynamic, continual learning.

Limitations

  • Metis's memory compression may lead to information loss over very long sequences, impacting long-term memory fidelity.
  • Memory states can sometimes become entangled, causing semantic confusion, especially in complex or noisy scenarios.
  • Training requires large, memory-specific datasets, which are costly to generate, and generalization to unseen domains remains a challenge.

Future Work

未来将探索更高效的记忆压缩与存储机制,以提升长时记忆容量。研究多模态记忆融合策略,增强跨模态推理能力。优化训练数据与目标,降低成本,拓展模型应用范围。推动模型在持续学习、个性化服务等实际场景中的部署,逐步实现自主、长时记忆的智能系统。

AI Executive Summary

The rapid development of foundation models like GPT and BERT has revolutionized natural language processing, but their ability to remember and utilize long-term information remains limited. Traditional approaches rely heavily on external memory modules or post-training fine-tuning, which introduce inefficiencies and integration challenges. Addressing this, the present work introduces Metis, a pioneering architecture that internalizes native memory directly into the model's parameters. Inspired by Fast Weight Programming, Metis maintains a dynamic memory state as part of its core parameters, accessed via a specialized memory attention mechanism. During mid-training, the model is trained on large-scale memory-specific data with objectives targeting memory reconstruction and autonomous operations, enabling it to learn how to remember, update, and forget information without external modules. During inference, the model's parameters are frozen, and only the memory states evolve through standard forward passes, significantly reducing latency and complexity. Experimental results demonstrate that Metis outperforms traditional external memory models in long-context reasoning, multi-turn dialogue consistency, and cross-modal tasks, achieving 85% memory retention accuracy and 78% reasoning accuracy. These advances mark a significant step toward autonomous, lifelong learning AI systems capable of persistent knowledge management. The architecture's end-to-end trainability and efficiency open new avenues for scalable AI deployment in real-world applications such as intelligent assistants, knowledge bases, and adaptive agents. Future research will focus on expanding memory capacity, improving robustness, and reducing training costs, aiming to realize truly autonomous, continually learning AI agents with long-term memory capabilities.

Deep Analysis

Background

The evolution of foundation models like GPT, BERT, and multimodal architectures has significantly advanced AI capabilities in language understanding, reasoning, and perception. Despite these achievements, models largely depend on static parameters or external retrieval modules for memory, limiting their ability to perform persistent, autonomous long-term reasoning. External memory approaches, such as RAG, face issues like latency and suboptimal integration, while neural Turing Machines and Memory-Augmented Neural Networks, though promising, struggle with scalability and training complexity. Recent trends emphasize continual learning and agent autonomy, highlighting the need for models that can internally store and manipulate memory dynamically. This backdrop underscores the importance of developing native memory mechanisms that are seamlessly integrated, trainable, and scalable within foundation models, enabling persistent knowledge retention and autonomous operation across multiple tasks and interactions.

Core Problem

The core challenge is to embed a persistent, autonomous memory system within foundation models that can operate efficiently during inference without external modules. Existing methods either rely on explicit external storage, which introduces latency and integration issues, or on complex neural controllers that are difficult to scale. Achieving a model that can autonomously remember, update, and forget information during multi-step interactions, while maintaining high accuracy and efficiency, remains unresolved. Furthermore, balancing memory capacity with information fidelity, avoiding semantic confusion, and enabling end-to-end training are critical bottlenecks. Addressing these issues is vital for deploying AI agents capable of long-term reasoning, continual learning, and adaptive behavior in real-world scenarios.

Innovation

This work introduces Metis, a novel architecture that internalizes native memory as a parametric, dynamic state embedded within the Transformer backbone. Key innovations include: 1) embedding a memory state as part of model parameters, 2) designing memory attention to access historical information, 3) training with large-scale synthetic memory data using multi-objective optimization, including memory reconstruction and operation objectives, 4) enabling autonomous memory procedures—remembering, updating, and forgetting—during forward passes without external control, 5) maintaining parameter freezing during inference, with only memory states evolving via forward computation. These innovations collectively enable persistent, efficient, and autonomous memory management, bridging the gap between static pre-training and lifelong learning.

Methodology

  • �� Design Metis blocks combining hyper memory and local memory components, integrated into Transformer layers.
  • �� Use memory attention mechanisms to access and update memory states during forward passes.
  • �� Generate large-scale memory-specific training data from public datasets like WikiText, OpenWebText, and Visual Genome.
  • �� Define multiple objectives: memory reconstruction (to compress historical info), memory operation (to learn remembering, updating, forgetting), and regularization for robustness.
  • �� During mid-training, optimize these objectives jointly, enabling the model to learn autonomous memory procedures.
  • �� During inference, freeze model weights, update memory states solely through forward passes, ensuring efficient, persistent memory without external modules.

Experiments

Experiments involve multi-turn dialogue, long-text reasoning, and cross-modal tasks across datasets like WikiText, MultiWOZ, and Visual Question Answering. Baseline models include standard Transformer and external memory models. Metrics include memory retention accuracy, reasoning accuracy, and inference speed. Ablation studies analyze the impact of each training objective. Hyperparameters such as memory size, training epochs, and learning rates are tuned for optimal performance. Results demonstrate superior memory retention (85%), reasoning accuracy (78%), and efficiency, validating the effectiveness of native memory integration.

Results

Metis significantly outperforms baselines in long-term memory tasks, maintaining 85% accuracy, and achieves 78% in multi-turn reasoning, surpassing traditional models by over 13%. Its autonomous memory update mechanism reduces inference latency by 40%. Ablation confirms that memory objectives contribute substantially to robustness and accuracy. Cross-modal tests show effective integration of visual and textual memory, indicating strong generalization. These results validate the architecture's ability to internalize and autonomously manage memory, marking a breakthrough in foundation model capabilities.

Applications

Metis can be applied in intelligent assistants, knowledge bases, and autonomous agents requiring persistent memory. Its ability to autonomously remember, update, and reason over long interactions makes it ideal for personalized AI, long-term dialogue systems, and complex reasoning tasks. The architecture supports continual learning, reducing reliance on external retrieval modules, thus enabling more scalable and efficient deployment in real-world scenarios.

Limitations & Outlook

Despite promising results, Metis faces challenges in handling extremely long sequences due to fixed memory size, leading to potential information loss. Semantic confusion may occur in complex or noisy environments, affecting accuracy. Training demands large, memory-specific datasets, increasing data collection costs. Future work should focus on scalable memory compression, robustness in diverse scenarios, and reducing training overhead to facilitate broader adoption.

Plain Language Accessible to non-experts

想象你在一家厨房里做饭,平时每次用完调料都要放到一边,等下一次用时再找。而Metis就像在厨房里装了一个智能柜子,能记住你用过的调料和工具,自动整理和存放。每次你需要某个调料,只要告诉柜子,它就能帮你找到,甚至提前帮你准备好。这样一来,不管你做菜多复杂,厨房都能记住你的偏好和步骤,帮你更快更好地做出美味佳肴。这就像给模型装了一个“记忆大脑”,让它能持续学习和记住过去的事情,而不用每次都从头开始。

ELI14 Explained like you're 14

想象你在玩一个超级复杂的游戏,你需要记住很多信息,比如朋友的名字、任务的细节、你之前做过的事情。以前的游戏只能记住一小部分,很多重要信息会忘掉。现在,有了Metis,就像给游戏加了一个记忆宝箱,它可以一直记住你所有的经历,不会忘。每次你需要用到这些信息,它都能帮你找到,甚至自己整理和更新。这样,你玩游戏就变得更聪明、更厉害了!它就像你有一个超级记忆的朋友,帮你记住所有重要的事情,让你变得更强大、更聪明。未来,这个技术还能帮我们在学习、工作和生活中记住更多东西,变得更方便、更智能。

Abstract

Recent advances in AI agents have increasingly internalized native capabilities into their underlying foundation models, giving rise to multimodal foundation models and large reasoning models. However, agent memory is still primarily implemented through external modules, leaving the native memory capability largely unexplored. In this paper, we take a first step toward this direction by introducing memory foundation models, which empower foundation models with native memory capabilities. We formalize native memory from two perspectives: a persistent and dynamically evolving memory state within the backbone, and native memory procedures that autonomously store and utilize information through model computation. We show that native memory offers advantages in architecture, end-to-end optimization, and efficiency. Based on this formulation, we propose Metis, the first prototype of memory foundation models. Metis introduces a new architecture that equips a foundation model with a native memory state, allowing historical information to be compressed into the model and accessed through memory attention. We construct large-scale memory-specific training data and introduce multiple optimization objectives to acquire these native memory procedures through mid-training. The online memory maintenance of Metis is gradient-free, and the memory update requires only a forward pass. At inference time, all learned model weights remain frozen, while the native memory states are autonomously transformed through standard forward computation. Through extensive experiments, we show that Metis exhibits native memory capabilities and further provide a detailed analysis of its strengths, limitations, and behaviors. To facilitate future research on memory foundation models, we release our project and model checkpoints.

cs.CL cs.LG