arXiv:2610.26910cs.CVOct 2026

Manuscript Offprint

arXiv:2610.26910

Memory Internalization via Test-Time Training for Long-Video Understanding

Haonan Zhao, Jiaxuan Chen, Qingyang Liu, Shuochen Chang, Siyu Sun, Jiangtong Li, Li Niu

ABSTRACT

Long-video understanding often requires answering many questions about a single video whose evidence is distributed across extended temporal contexts. Conventional video-language models repeatedly encode frames or retrieve visual evidence for every question. Parameterized video memory offers a write-once alternative, but existing methods rely primarily on synthesized text and fixed adaptation configurations, leaving open where video knowledge should be written and how visual evidence should shape the memory. We introduce Memory Internalization via Test-Time Training (MIT 3^{3}), a per-video adaptation framework that writes each long video into compact, video-specific adaptive parameters for video-free, text-only question answering. Under compact multi-scale supervision, causal tracing measures the causal memory utility of each model layer for video-grounded answering and selects video-specific adaptation locations. Visual memory distillation then trains the text-only memory to reproduce the representation change induced by the relevant video clip, preserving the internal effect of visual evidence beyond textual supervision. Across LVBench, LongVideoBench, and Video-MME, MIT 3^{3} achieves data-efficient video-free question answering with substantially fewer synthesized samples than prior parameterized video-memory methods, demonstrating that effective video internalization depends on both where knowledge is written and how visual evidence is distilled into the model.

1 INTRODUCTION

Long videos increasingly serve as high-value, persistent information sources, from lecture archives and meeting recordings to egocentric streams and personal media collections. In these settings, a central task is long-video question answering (QA): a single video must support many questions whose evidence may be brief, recur with subtle changes, or depend on distant events. Modern video-language models (VLM) typically answer each question by placing sampled frames or compressed visual tokens into the language-model context (Maaz et al., 2024; Zhang et al., 2023). Sparse context can omit critical evidence, whereas dense context repeatedly incurs visual-token and memory costs, making efficient knowledge reuse for subsequent questions a central challenge for long-video QA.

Existing approaches improve the video-conditioned question-answering path through frame selection, token compression, sparse memories, redundancy reduction, and longer multimodal contexts (Song et al., 2024; Chen et al., 2025; Wang et al., 2024). Retrieval-based methods complement these architectures by preprocessing videos into searchable memories and locating relevant clips for each question (Ren et al., 2026). These strategies make long inputs more tractable, but their inference path remains video-dependent: each question still requires visual encoding, cached representations, retrieval, or inspection of relevant clips. When one video must support many questions, as in lecture archives, meetings, surveillance review, or personalized video assistants, repeatedly reconstructing much of the same visual context becomes an avoidable systems bottleneck.

Video-free inference offers a complementary scaling axis for this setting: it writes a video’s knowledge into compact parameters once and answers subsequent questions from text alone. Neural Knowledge Representation (NKR) (Guan et al., 2026) instantiates this idea by generating descrip-

†^{\dagger}Corresponding authors.

(a) Video-conditioned QA

Figure

(b) NKR (Guan et al., 2026)

(c) MIT 3^{3} (ours)

Figure 1: Comparison of video-conditioned question answering, NKR, and MIT 3^{3}. Conventional video-language models encode or retrieve visual evidence per question. NKR trains a video-specific LoRA adapter on synthesized text using a fixed all-layer configuration. MIT 3^{3} instead selects video-specific model layers through causal tracing and distills the visual-evidence-induced representation change into these memory-writing locations, enabling video-free question answering.

tions and question-answer pairs from a video and fitting a video-specific adapter (Hu et al., 2021). Once fitted, the adapter acts as compact parametric memory for text-only question answering, a formulation contrasted with conventional video-dependent inference in Fig. 1. Effective internalization therefore poses two knowledge-writing questions. First, where should a particular video's knowledge be written? Transformer layers play distinct computational roles, whereas existing adaptation configurations are typically fixed across videos. Second, how should memory capture the effect of visual evidence? Synthetic descriptions provide factual supervision, while video-conditioned representations directly signal how seeing the video changes internal model computation.

To address these two questions, we propose Memory Internalization via Test-Time Training (MIT 3^{3}), a test-time training framework for video-specific adaptive memory. To determine where to write, MIT 3^{3} uses causal tracing to extract the hidden-state change induced by video input, inject this change at each model layer, and score the resulting improvement in answer likelihood. Layers with the highest causal memory utility are selected as video-specific adaptive locations, where the frozen backbone most effectively converts video evidence into answer-relevant computation. To determine how to write, visual memory distillation uses a frozen video-conditioned teacher to supply the representation change induced by the relevant clip, and trains the text-only adapter to reproduce that change from the question. With compact multi-scale supervision, these mechanisms store video knowledge at effective computational sites while preserving the internal effect of visual evidence.

To evaluate the effectiveness of MIT 3^{3}, we conduct experiments on LVBench (Wang et al., 2025a), LongVideoBench (Wu et al., 2024), and Video-MME (Fu et al., 2025), spanning long-video and general video question answering across diverse durations. On LVBench, MIT 3^{3} improves the matched NKR-style baseline by 6.8 points with Qwen3-VL-8B and by 5.7 points with Qwen3-VL-32B, demonstrating the value of causal localization and visual representation matching under identical textual supervision. The gains extend to LongVideoBench-Long and Video-MME, where MIT 3^{3} achieves 63.3 and 66.7 accuracy, respectively, confirming the value of the proposed memory-writing mechanism across extreme-duration and general video understanding settings. Ablation studies isolate the contributions of memory localization and visual distillation. Our main contributions are:

• We study the layer-wise video-memory distribution in the language model and find that layers with high causal memory utility exhibit a concentration pattern across videos.

• We introduce MIT 3^{3}, a test-time memory-writing framework that combines causal localization with visual memory distillation for video-free question answering.

• We demonstrate data-efficient video internalization across LVBench, LongVideoBench, and Video-MME with substantially less synthesized supervision.