NeurIPS 2026QuestionsPapersAreasAboutMarkdown

TIMA: Test-Time Internalization for Agentic Memory

Xiaohang Sui, Yongjian Fu, Yizhe Zhao, Sheng Yue, Ju Ren

NeurIPS page · OpenReview · Open on the map

Category: LLM Reasoning, Memory & RAG › Agent Memory Management · Type: new method · Keywords: agentic memory, latent memory, test-time internalization, LLM agents, continual learning, self-supervised memory updates

Areas: Memory › Agent Memory Systems › Continual Learning; AI Agents › Agent Capabilities › Autonomous Agent Memory; Continual Learning & Adaptation › Non-Stationarity Adaptation › Continual Memory

Summary

TIMA introduces a test-time internalization framework that enables LLM agents to continually refine reusable latent memory from execution experience, improving performance across multiple benchmarks.

Explained to a 5-year-old

Computers that talk to us can remember what they learned before. This new idea helps them keep learning new tricks while they are working, so they get better over time. It works like a little helper that stores the steps they used to solve problems. This makes the computer smarter without using a lot of extra memory. It helps the computer do many tasks better.

Explained to a 5-year-old, longer

Imagine a robot friend that talks to you and helps you with things. It can remember what it did before, like a diary. But the diary can get too big, so they made a tiny secret notebook. This secret notebook stores only the important steps the robot used to solve problems. The robot can keep writing in this notebook while it works, learning new tricks each time. This way, the robot gets better without needing a huge memory. It can also share what it learned with other robot friends. The secret notebook is updated automatically as the robot does tasks. It helps the robot do many different things well. The robot can even use what it learned when it sees new problems. This makes the robot more helpful and faster. The secret notebook stays organized, grouping similar tricks together. All of this happens without the robot forgetting what it already knows. This new idea makes robot helpers smarter and more useful for everyone.

For a technical reader

The system adds a memory-augmented loop to an LLM agent, paired with an online-updated internalizer and a bank of internalizers for retrieval. Execution trajectories are used to self-supervise updates that encode problem-solving patterns into a compact latent memory. This enables both within-episode adaptation and cross-episode transfer, leading to consistent performance gains on multiple benchmarks.

Problem

Existing latent-memory approaches for LLM agents either encode only transient in-context states or rely on fixed pre-trained modules, lacking a mechanism to continually refine reusable memory from execution experience.

Method

The approach couples a memory-augmented agent loop with an online-updated internalizer and an internalizer bank for retrieval and continual refinement across episodes, using self-supervised updates from execution trajectories to encode solving patterns into compact latent memory.

Results

The approach achieves improvements of up to 50.8% over A-Mem and up to 15.96% over latent-memory baselines across eight benchmarks, with stable memory under continual updates and good out-of-distribution generalization.

Contributions

It presents a framework for test-time internalization that enables agents to acquire and update latent memory during interaction, introduces an online-updated internalizer and internalizer bank for continual refinement, and demonstrates consistent gains on multiple benchmarks.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction