Understanding long videos—like a two-hour lecture or a day-long security feed—is a massive computational headache. Standard Video-Language Models (VLMs) usually need to re-process video frames or search through a massive cache of visual tokens for every single question you ask. This "video-dependent" inference creates a significant bottleneck when you want to ask dozens of questions about the same footage.
A new paper from researchers at Shanghai Jiao Tong and Tongji University proposes a "write-once, read-many" solution: Memory Internalization via Test-Time Training (MIT³).
TL;DR
MIT³ is a framework that "bakes" a video’s knowledge into compact, video-specific model parameters (LoRA adapters) through a one-time adaptation process. Once trained, the model can answer questions about the video using text alone, outperforming previous memory-based methods while using significantly less synthetic data.
What Problem Does This Paper Address?
Current long-video QA methods generally fall into two camps:
- Video-dependent: They sample frames or retrieve clips for every query. This is slow and memory-intensive for repeated questions.
- Parameterized Memory: They try to "internalize" the video by training a small adapter (like LoRA) on synthetic text descriptions of the video.
The problem with existing parameterized memory approaches (like NKR) is that they treat the model as a "black box." They apply updates to every layer uniformly and rely solely on text descriptions, which might miss subtle visual nuances. MIT³ asks two critical questions: Where in the model should we write this video knowledge, and how can we capture the visual essence beyond just text?
Methods
MIT³ operates in three distinct stages, as illustrated in the comparison below:
- Video-Specific Data Generation: The system segments the video into a temporal pyramid (from 5-second clips to the full duration). A VLM generates multi-scale descriptions and QA pairs. Unlike previous methods, MIT³ focuses on high-quality, temporally grounded local QA.
- Causal Layer Selection: Not all transformer layers are created equal. MIT³ uses delta-injection causal tracing to identify which layers are most "useful" for a specific video. By injecting the internal representation change induced by the video into different layers and measuring the boost in answer likelihood, it selects the top-K layers for adaptation.
- Visual Memory Distillation: To go beyond text, MIT³ uses a "teacher-student" setup. A frozen teacher model processes the actual video and question. The student model (the text-only adapter) is trained to reproduce the internal representation change ($\Delta H$) that the teacher experienced. This distills the "feeling" of seeing the video into the text-only parameters.
Datasets
The researchers evaluated MIT³ on three major benchmarks:
- LVBench: Focused on extreme long-video understanding (videos > 1 hour).
- LongVideoBench: A benchmark for long-context interleaved video-language tasks.
- Video-MME: A comprehensive evaluation spanning short, medium, and long durations.
Key Insights and Ideas
- Memory is Concentrated: The authors found that video-specific knowledge isn't scattered randomly. There is a "core" group of layers that are consistently high-utility across different videos, though each video still requires some content-dependent refinements.
- Visual Distillation is the "Secret Sauce": Simply training on text descriptions (NTP/SFT) has limits. By forcing the model to mimic the internal state changes caused by actual visual input, the model retains information about appearance and spatial relations that text descriptions often omit.
- Efficiency through Localization: By targeting only the most causally relevant layers, MIT³ achieves better results with roughly 1/8th the synthetic training data required by previous state-of-the-art memory methods.
Key Results
- Superior Accuracy: On LVBench, MIT³ improved upon the NKR baseline by 6.8 points (using Qwen3-VL-8B).
- Beating Video-Dependent Models: Remarkably, with a 32B backbone, MIT³ achieved a score of 50.1 on LVBench (>1h), actually surpassing direct video-conditioned inference on long-video subsets.
- Massive Memory Savings: For a one-hour video, the persistent state required by MIT³ is 45.6x smaller than keeping a video-conditioned KV cache. This makes it feasible to store "memories" for hundreds of videos on a single server.
Limitations and Future Work
The authors note that their study focuses on test-time training—adapting a pre-trained model to a specific video. While highly effective for deployment, they haven't yet explored how these causal localization and distillation mechanisms might scale if integrated into the large-scale pre-training phase of foundation models. Future work may look at creating more persistent and reusable video knowledge that spans across multiple tasks and videos.
Summary updated