Task-Focused Memorization for Multimodal Agents

Tao Zou1,*, Yichen He1,*, Tian Qiu1,2, Yuan Lin1,†, Hang Li1
1ByteDance Seed 2Fudan University
*Equal contribution     Corresponding authors

Abstract

Long-term memory is essential for multimodal agents to build coherent experience, accumulate world knowledge, and achieve continual learning. However, constructing effective memory goes beyond memory module design and basic requirements such as accuracy and fidelity; the key challenge lies in determining what to memorize. Multimodal agents, such as embodied agents, continuously perceive, reason, and act in real or virtual environments, receiving an unbounded stream of multimodal observations. From this combinatorial explosion of information, an agent must selectively retain content that is relevant to its role in the environment and valuable for future tasks. To bridge this gap, we frame memory generation as a learnable memorization policy and introduce TaskMem (Task-focused Memorization Policy Learning), a reinforcement-learning-based framework that enables the policy to dynamically adjust its focus to the demands of real tasks encountered in the environment. TaskMem adopts a two-phase training paradigm: Phase One learns how to memorize by optimizing memory quality under fundamental fidelity requirements; Phase Two occurs after deployment, where the agent learns what to memorize by tuning an adapter on its base MLLM, using recent environment tasks to define a reward model that guides the memorization policy toward task-relevant content. To evaluate our approach, we reformulate VideoMME, EgoLife, and EgoTempo into streaming benchmarks that simulate a realistic setting in which an agent processes streaming observations and handles tasks arriving online. To isolate memory assessment, the questions must be answered using only the agent's memory, without access to raw video. Built on Qwen3-VL-30B-A3B, TaskMem improves VQA accuracy by 6.3%, 7.0%, and 5.3% on these benchmarks, respectively.

Introduction figure

Method Overview

Method overview figure

Two-phase training in TaskMem: Phase One optimizes the memorization policy for fundamental capabilities; Phase Two optimizes the policy to generate task-relevant content.

Main Results

Results on VideoMME, EgoLife, and EgoTempo. Best results are in bold, and second-best results are underlined.

Method VideoMME EgoLife EgoTempo
Acc. (↑) Cov. Prec. (↑) Acc. (↑) Cov. Prec. (↑) Acc. (↑) Cov. Prec. (↑)
EgoGPT 44.358.775.5 19.228.268.1 15.033.544.9
HippoMM 48.966.673.5 30.443.470.0 15.830.851.1
M3-Agent 62.577.780.4 21.830.870.8 16.036.344.2
Gemini-1.5-Pro 55.365.983.9 39.451.676.4 19.734.357.4
Gemini-2.5-Pro 63.274.884.4 43.856.677.4 25.842.361.0
GPT-5.2 67.380.883.3 34.848.272.2 32.151.462.4
Qwen3-VL-30B-A3B 61.674.782.5 38.452.473.3 22.338.957.2
TaskMem (Ours) 67.979.385.6 45.456.480.5 27.643.763.2

Task-Focused Streaming Episodic Memory Demo

BibTeX

@article{zou2026taskmem,
  title={Task-Focused Memorization for Multimodal Agents},
  author={Zou, Tao and He, Yichen and Qiu, Tian and Lin, Yuan and Li, Hang},
  year={2026}
}