What changes when the picture moves
Earlier posts in this series turned one image into a few hundred visual tokens and handed them to a language model. A video looks like the same problem repeated. It is a stack of images, one after another. So why not encode every frame and stack the tokens?
Start with a concrete clip. It is one minute long. A ball sits on a table next to a cup. The ball starts to roll, reaches the edge and drops to the floor. Later a person walks in, picks up the cup, drinks, and puts it down. Now ask five questions about it.
- What colour is the cup? Any single frame answers this.
- Which way did the ball roll? One frame cannot answer this. You need at least two frames from the roll, in the right order.
- Did the ball fall before or after the person picked up the cup? You need frames from both events and you need to know which came first.
- How long did the person hold the cup? You need to know when the hold started and when it ended, in seconds.
- When exactly did the ball hit the floor? The drop lasts about a second. If no sampled frame falls inside that second, the event does not exist for the model.
The first question is an image question. The other four are about time. They ask about order, motion, duration and a specific moment. A model that sees a bag of unordered frames can answer the first question and will guess at the rest. Figure 1 walks through the clip and marks which frames each question needs.
Swipe sideways to see the whole figure.
This post follows those four temporal demands through the whole stack. The thread is simple. Time costs tokens, and the token budget is fixed. Every design choice in a video model is a way of spending that budget: on more frames, on more detail per frame, on telling the model when each frame happened, or on finding the right moment before looking closely.
The post assumes the image pipeline from Inside a Modern Vision Encoder and the architectures from The VLM Architecture Gallery. Positional encoding is derived in How Models Know Where They Are. Here we only add what time changes.
The token arithmetic of video
Begin with the cost of one frame. A vision transformer cuts an image of height H and width W into square patches of side p. Each patch becomes one token. Most modern VLMs then merge each 2×2 block of neighbouring tokens into one, so a merge factor r = 2 divides the count by four. The tokens per frame are:
A video adds two numbers: its duration D in seconds and the sampling rate f in frames per second. The visual tokens for the whole video are then:
That number is the core difficulty. A one-hour video at a modest frame rate is almost two million tokens. That is larger than the context window of nearly every open model. Even where it fits, attention inside the language model compares every token with every other token. Its cost grows with N2. Doubling the duration doubles the feed-forward cost but quadruples the attention cost. At these lengths attention dominates.
Proprietary systems hit the same wall. Google reports that Gemini 1.5 samples video at one frame per second for its long-video tests. Gemini 2.5 was trained to work with 66 visual tokens per frame instead of 258. The report says this lets about three hours of video fit in a one-million-token context instead of about one hour. The arithmetic checks out: 3,600 × 258 is about 0.93 million, and 10,800 × 66 is about 0.71 million.
Swipe sideways to see the whole figure.
What time adds beyond more pixels
If video were only "more images", the problem would be pure compression. It is not. Time adds four kinds of information that no single frame contains.
- Order. Which event came first. A model must know the sequence position of each frame.
- Motion. Direction and speed. These live in the difference between nearby frames, so they need frames close together in time.
- Duration. How long something lasted. This needs a mapping from frames to real seconds, not just frame indices.
- Causality. Why something happened. The cause and the effect may be far apart, so the model must keep both in view.
Each one pulls the budget in a different direction. Motion wants dense frames over a short window. Causality wants sparse frames over a long window. Duration and moments want a clock. The rest of this post is about how models trade these against each other.
Choosing which frames to look at
The first lossy step happens before any network runs. A 30-frames-per-second video has 1,800 frames per minute. No model encodes them all. Something decides which frames to keep. There are four common rules.
Uniform sampling
Pick a fixed number of frames, say 8 or 32, spaced evenly over the video. This was the default in the first generation of video LLMs. Video-LLaVA, for example, samples 8 frames from every video. Uniform sampling keeps the token count constant, which makes training simple. Its weakness is that the time between frames depends on the video's length. Eight frames from a 10-second clip are 1.25 seconds apart. Eight frames from a one-hour video are 7.5 minutes apart.
Fixed frame rate
Pick a rate, such as one or two frames per second. Qwen2-VL samples at 2 frames per second. VideoLLaMA 3 and LLaMA-VID sample at 1 frame per second. The gap between frames is now the same for every video, so "two frames apart" always means the same amount of real time. The cost is that the token count grows with the length of the video. Every fixed-rate model therefore has a cap. VideoLLaMA 3 caps at 180 frames. Qwen2-VL and Qwen2.5-VL evaluate with at most 768 frames. Past the cap, a fixed-rate model has to spread its frames more thinly, which is uniform sampling again. Apollo notes that fps-based methods commonly do exactly this once a video exceeds their frame capacity, usually around 64 frames.
Keyframes and scene changes
Videos are redundant. A static shot of a lecturer produces hundreds of nearly identical frames. Content-aware sampling keeps a frame only when it differs from the last kept frame. LongVU does this with DINOv2 features: frames whose features are too similar to their neighbours are dropped. VideoLLaMA 3 applies the same idea at the patch level with its Differential Frame Pruner, which removes patches whose pixels barely changed since the previous frame.
Query-aware selection
The most targeted rule looks at the question first. If the question is about the cup, keep the frames that show the cup. Adaptive Keyframe Sampling (AKS) scores each frame by its relevance to the prompt and also rewards coverage of the whole video, so the selection does not collapse into one scene. Frame-Voyager learns to choose frame combinations, using a video LLM's loss on each candidate combination as the training signal. The cost of query-aware selection is that it must run again for every new question. Apollo's authors note this explicitly and leave such methods out of their study for that reason.
Figure 3 lets you try the first two rules on the one-minute clip. The events have very different lengths. The roll lasts twelve seconds. The drop lasts one and a half. The cup is put down in one second.
Swipe sideways to see the whole figure.
Two failure modes appear quickly. With 8 uniform frames, the frames are about 7.5 seconds apart. The one-second events are usually missed. With a fixed rate high enough to catch them, the same rule applied to an hour of video produces hundreds of thousands of tokens. No setting is right for every question. Short events need density. Long stories need coverage.
Apollo's fix is worth spelling out. It samples short clips at a constant rate, and when the video is too long it spaces the clips out instead of the frames. Inside each clip, the time between frames never changes. The model can still learn what normal speed looks like. Apollo also varied tokens per frame and found a trade-off between frame rate and tokens per second, with 8 to 32 tokens per frame performing best at its scale. Its appendix adds a useful split. OCR and spatial questions lost accuracy sharply when tokens per frame dropped. Egocentric and reasoning questions cared more about frame rate. The right budget depends on what will be asked.
Encoding frames, clips and motion
Once frames are chosen, something must turn them into tokens. There are two families.
Image encoders, one frame at a time
The simplest option reuses the model's image encoder. Each frame passes through it independently. Frame 7 never sees frame 8 inside the encoder. Any temporal reasoning must happen later, in the connector or the language model. This is what LLaVA-OneVision, InternVL 2.5 and most current VLMs do. It has three practical advantages. Image and video share one encoder. Huge image datasets keep training that encoder. And image skills transfer to video for free. LLaVA-OneVision showed strong video understanding emerging from image training, which its authors call task transfer.
Video encoders, many frames at once
The alternative sees several frames together. Two ideas from the video-classification literature matter here.
The first is the tubelet. ViViT extended the image patch into a small cube that spans t frames as well as p×p pixels. One tubelet becomes one token. A tubelet of depth 2 halves the token count compared with per-frame patches, and the embedding can see motion inside the cube. The second idea is factorised attention. TimeSformer found that applying temporal attention and spatial attention separately within each block, which it calls divided attention, worked best among the schemes it compared. Both ideas avoid full attention over every patch of every frame.
Video encoders are usually pretrained without text. VideoMAE masks 90 to 95 percent of space-time tubes and reconstructs them. Video is so redundant that such extreme masking still works. V-JEPA predicts the features of masked regions instead of pixels. InternVideo2 combines masked reconstruction, contrastive alignment with text, audio and speech, and next-token prediction, and scales the encoder to 6 billion parameters.
Swipe sideways to see the whole figure.
Qwen2-VL sits between the two families. Its vision transformer is an image encoder, but its patch embedding is a 3D convolution with a depth of two frames. Two consecutive frames become one set of tokens. Images are fed as two identical frames so that one encoder serves both. This halves the video token count before anything else happens.
Telling the model when
Suppose the frames are encoded. They enter the language model as one long sequence of tokens. How does the model know that a token came from second 20 rather than second 40? There are four answers, and the field has moved between them.
Order only
The plainest option adds nothing. Frame tokens are concatenated in order, and the language model's ordinary 1D position encoding counts upward through them. The model knows that frame 5 came after frame 4. It does not know how many seconds apart they were. Under uniform sampling that gap changes from video to video. Most early video LLMs worked this way.
Text tags between frames
The second option writes the time in words. InternVL 2.5 wraps each frame in image tags with a label such as "Frame-1". VideoLLaMA 3 writes "Time: xxs" before each frame. Apollo writes "clip from MM:SS-MM:SS" before each clip. Apollo tested this directly. Any separator between frames, learned or textual, improved its benchmark by 2 to 3 points. Timestamps did as well as anything else and needed no new embeddings.
Time inside the position encoding
The third option puts time into the rotary position embedding. Rotary embedding rotates each query and key by an angle proportional to its position, so attention scores depend on the distance between positions. Qwen2-VL's Multimodal RoPE (M-RoPE) splits the embedding into three parts: temporal, height and width. Each token gets three position numbers instead of one.
- For a text token, all three numbers are equal, so M-RoPE reduces to ordinary 1D RoPE.
- For an image token, the temporal number is constant and the height and width numbers follow the token's place in the grid.
- For a video token, the temporal number goes up by one for each frame, and height and width work as for images.
This gives the model a real 3D sense of where each token sits. But "goes up by one per frame" is still a frame index. A model trained at 2 frames per second and tested at 1 frame per second sees the same position gaps for twice the real time. Qwen2.5-VL fixed this by aligning the temporal number to absolute time. With dynamic frame-rate sampling, the gap between temporal numbers now reflects the real seconds between frames. The report states the goal plainly: let the model learn the pace of events and localise moments at the level of seconds.
Swipe sideways to see the whole figure.
Back to text, for a reason
The fourth answer is the newest, and it is a return. Qwen3-VL replaced absolute-time M-RoPE with explicit text timestamps, such as <3.0 seconds>, placed before each group of frames. It trains with both seconds and hours:minutes:seconds formats. The report gives two reasons. Tying position numbers to absolute time makes them very large and sparse for long videos, which hurt long-range understanding. And learning time-aligned positions required training data spread evenly across many frame rates, which is expensive to build. Text timestamps cost a few extra tokens but avoid both problems. A small companion lab adds a caution. A toy model trained at a single 2 frames per second with text timestamps counted frames and ignored the stamps, so its duration error at 1 frame per second was 1.73 s, against 0.32 s for absolute-time ids. In that toy, text timestamps still needed training at several frame rates.
Qwen3-VL also changed how M-RoPE allocates frequencies. The original split gave each of the temporal, height and width parts its own contiguous block of rotary frequencies. The report says this produced an imbalanced frequency spectrum that hurt long-video benchmarks. The fix interleaves the three axes across the embedding dimensions, so each axis gets both low and high frequencies. InternVL3 attacked a related problem from another side. Its Variable Visual Position Encoding (V2PE) advances the position index by 1 for each text token but only by a fraction δ < 1 for each visual token. Long visual inputs then use up less of the position range.
Fitting a video into the budget
Sampling and tubelets reduce the token count before the language model. Most video models compress further. Compression is a broad topic covered for images in The Cost of a Picture. Video adds one new resource to compress: redundancy across frames. The methods fall into six groups.
Pooling
The cheapest compressor is an average. Video-ChatGPT averages each frame's CLIP features over space to get one token per frame. It also averages over time to get one token per spatial position. Both sets go to the language model. LLaVA-OneVision shrinks each frame's feature map with bilinear interpolation to 196 tokens and takes up to 32 frames. PLLaVA found something surprising about pooling. Fine-tuning an image model on many frames without pooling made performance saturate or drop. The authors traced this to a few very high-norm visual features that dominate. Pooling along time smoothed them out and fixed it.
Learned queries
A resampler replaces pooling with attention. A small set of learned query vectors attends to the frame features and returns a fixed number of tokens. Video-LLaMA uses a BLIP-2-style Q-Former per frame, adds temporal position embeddings, then runs a second "video Q-Former" across frames. LLaMA-VID goes to the extreme: two tokens per frame. One is a context token, produced by attending to the frame with the user's question. The other is a content token that pools the frame itself. At 1 frame per second that is 7,200 tokens for an hour. Apollo compared connectors directly. The Perceiver Resampler beat pooling-based connectors overall and on four of its benchmark's five categories.
Merging across frames
Consecutive frames repeat each other. Merging exploits that. Token Merging (ToMe) combines similar tokens inside a vision transformer and noticed that it merges object parts across frames of video. Chat-UniVi clusters tokens into dynamic visual tokens shared across space and time. MA-LMM keeps a memory bank of past frame features. When the bank is full, it finds the two most similar adjacent frames and averages them. The bank stays a constant size however long the video runs. VideoLLaMA 3's Differential Frame Pruner removes patches that barely changed. LongVU combines three steps: drop near-duplicate frames using DINOv2 similarity, keep full detail only on frames relevant to the question, and reduce spatial tokens in frames that depend on earlier ones.
Two speeds at once
The SlowFast idea comes from video recognition. SlowFast networks run a slow pathway at a low frame rate with rich features to capture appearance, and a lightweight fast pathway at a high frame rate to capture motion. Video LLMs borrowed it for token allocation. SlowFast-LLaVA, a training-free method, samples 50 frames from a video. Ten of them form the slow pathway at 12×24 tokens each. All 50 form the fast pathway at 4×4 tokens each. The total is 10 × 288 + 50 × 16 = 3,680 tokens. LLaVA-Video uses a variant that splits frames into interleaved slow and fast groups with different pooling strides, so no frame is encoded twice. The authors report that this lets them fit up to three times more frames than equal allocation.
Swipe sideways to see the whole figure.
Hierarchical compression
VideoChat-Flash compresses in two stages. It first compresses each clip with a video encoder, to an average of about 16 tokens per frame. It then drops more tokens inside the language model when they are irrelevant to the task. The authors report an overall ratio of about 1/50 with almost no loss, and 99.1 percent accuracy on a needle-in-a-haystack test over 10,000 frames. Video-XL compresses into the key-value cache instead. It inserts a special summary token for each interval of video and keeps only the summary tokens' cached keys and values.
Memory
The last group gives up on seeing everything at once. MovieChat keeps a short-term buffer of recent frames and consolidates it into a long-term memory by merging similar adjacent tokens. It reports handling more than 10,000 frames on a 24 GB graphics card. MA-LMM processes frames online and stores them in its memory bank. Memory is the natural design for streaming video, where the end of the video does not exist yet.
| Strategy | Example models | Tokens per second of video | Keeps frame order? | Captures motion? | Scaling to long video | Main cost |
|---|---|---|---|---|---|---|
| Stack per-frame tokens | InternVL 2.5, LLaVA-OneVision | f · τ (e.g. 196–256 per frame) | yes, by sequence position | only across frames, inside the LLM | poor: linear tokens, quadratic attention | context length |
| Tubelets / 3D patches | ViViT, Qwen2-VL (depth 2) | f · τ / d | yes | yes, inside each tube | halves the problem, does not remove it | fixed temporal stride |
| Spatial pooling | Video-ChatGPT, PLLaVA, LLaVA-OneVision | f · τ / k2 | yes | coarse | moderate | small text and objects lost |
| Learned queries per frame | Video-LLaMA, LLaMA-VID, Apollo | f · q (q = 2 to 32) | yes | depends on the encoder | good | fixed bottleneck per frame |
| Merging across frames | MA-LMM, Chat-UniVi, LongVU, VideoLLaMA 3 | variable: low for static scenes | mostly; merged frames lose exact time | kept where frames differ | good | exact timestamps blur |
| Slow-fast split | SlowFast-LLaVA, LLaVA-Video | mixed: few rich frames plus many coarse ones | yes | via the fast view | good | two hyperparameters to tune |
| Hierarchical / in-LLM dropping | VideoChat-Flash, Video-XL | about 16 per frame or less | yes | clip-level | very good | engineering complexity |
| Memory bank / streaming | MovieChat, MA-LMM, Flash-VStream | constant memory size | compressed history | recent frames only | unbounded length | old details are lost |
| Long context, no compression | LongVA, LongVILA, Gemini | f · τ | yes | as for stacking | bounded by context and compute | memory and latency |
How to read this table: rows are strategies, not models, and real models combine several. Here f is frames per second, τ tokens per frame, d the tubelet depth, k the pooling factor and q the number of learned queries. Notice that every strategy that scales well to long video does so by giving up something exact: per-frame detail, exact timing, or old memories.
How video models developed
With the building blocks in place, the history of video LLMs reads as a sequence of answers to one question: where should the tokens go? Per-family detail lives in How the Open VLM Families Were Built. Here we follow the ideas.
2023: bolt a video front-end onto a chat model
The first wave appeared within weeks of each other in 2023. VideoChat connected video foundation models to a language model through a learnable interface. Video-LLaMA used a video Q-Former and added an audio branch built on ImageBind. Video-ChatGPT pooled CLIP features over space and time and released 100,000 video-instruction pairs. Video-LLaVA aligned image and video features into one space with LanguageBind encoders before projection and trained on both. These models saw 8 to a few dozen frames, mostly through heavy compression. LLaMA-VID pushed to hour-long input with only two tokens per frame. MovieChat did it with a memory that merges similar frames. Both paid in detail. VideoChat2, released with the MVBench benchmark, showed that progressive training on diverse instruction data helped a great deal on temporal tasks.
2024: images first, then long context
The second wave learned that strong image models make strong video models. LLaVA-OneVision trained one model on single images, multiple images and video with a similar maximum token count for each, and reported that video skills transfer from images. LongVA asked a different question: what if the language model can simply read more? It extended Qwen2-7B's context to 224K tokens by continued training on text, then aligned images only. The resulting model handled 2,000 frames, more than 200,000 visual tokens, without long-video training. The authors call this long context transfer. LongVILA built a multi-modal sequence-parallel training system to train on long videos directly, extending VILA from 8 to 2,048 frames.
Data caught up in the same year. LLaVA-Video built LLaVA-Video-178K, a synthetic instruction set of 178,510 videos with 1.3 million samples, captioned densely at one frame per second. Qwen2-VL brought native resolution, 3D patches and M-RoPE to video and claimed understanding of videos over 20 minutes. Apollo ran the controlled design study cited throughout this post. Its "scaling consistency" result is practical: design decisions tested on models of about 2 to 4 billion parameters transferred to larger ones with R2 above 0.9.
2025 onward: time as a first-class input
The third wave treats time explicitly. Qwen2.5-VL aligned M-RoPE to absolute time and evaluated on hour-long benchmarks. VideoLLaMA 3 kept image training central, pruned redundant patches, and wrote timestamps as text. InternVL3 added V2PE for longer contexts. Qwen3-VL moved to text timestamps and a native 256K-token window. On a video needle-in-a-haystack test it reported 100 percent accuracy up to 30 minutes, and 99.5 percent at about two hours with positional extension. SlowFast-LLaVA-1.5 showed that small models of 1 to 3 billion parameters can be strong on long video with token-efficient allocation. Reinforcement learning arrived too. Video-R1 adapted GRPO into T-GRPO, which we return to in the evaluation section and which Rewarding What the Model Sees covers in depth.
Swipe sideways to see the whole figure.
Table 2 lines up the models along the survey checklist used in this series. Cells say "not reported" where the paper does not state a value. Benchmark numbers are copied from each model's own paper and are not directly comparable across rows, for reasons the evaluation section explains.
| Model | Frame sampling | Frames max (as reported) | Tokens per frame | Compression | Temporal encoding | Max duration claimed | Video training data | Key reported results |
|---|---|---|---|---|---|---|---|---|
| Video-LLaMA (2023) | not reported | not reported | Q-Former queries | frame Q-Former, then video Q-Former | learned temporal position embedding | short clips | video-caption pretraining, then instruction data | qualitative; adds audio via ImageBind |
| Video-ChatGPT (2023) | not stated in paper text | not stated in paper text | ~1 temporal token per frame plus shared spatial tokens | average pooling over time and space | order of temporal tokens | short clips | 100K video-instruction pairs | introduced a GPT-judged video chat benchmark |
| Video-LLaVA (2023) | uniform | 8 | not stated | none beyond encoder | implicit order | short clips | joint image and video instruction data | beats Video-ChatGPT on MSRVTT, MSVD, TGIF and ActivityNet QA |
| LLaMA-VID (2023) | 1 fps | hour-long movies | 2 | question-conditioned context token plus pooled content token | implicit order | about 1 hour | adds 9K movie-level conversations | hour-long input at 2 tokens per frame |
| LongVA (2024) | uniform, dense | 2,000 tested | 144 | 2×2 pooling (UniRes) | implicit order, long RoPE | beyond 200K visual tokens | none: images only, text-only context extension to 224K | Video-MME 52.6 at 128 frames (7B) |
| LLaVA-OneVision (2024) | uniform | 32 | 196 | bilinear interpolation | implicit order | short to medium | mixed single-image, multi-image, video | video skills transfer from image training |
| LLaVA-Video (2024) | uniform, up to a frame cap | 64 in final models; 110 in ablations | about 170 after 2×2 pooling (7B) | slow-fast pooling groups (72B) | implicit order | clips of 0 to 3 minutes in training data | LLaVA-Video-178K: 178,510 videos, 1.3M samples | Video-MME 70.5 / 76.9 without / with subtitles (72B) |
| Qwen2-VL (2024) | 2 fps | 768 at evaluation | dynamic; 16,384 tokens per video in training | 3D patch of depth 2, 2×2 merge | M-RoPE (frame index) | over 20 minutes | mixed image and video | Video-MME 71.2 / 77.8; MVBench 73.6 (72B) |
| InternVL 2.5 / 3 (2024–25) | uniform | 32–64 in training; best of 16–64 at evaluation | 256 (448×448, pixel unshuffle) | pixel unshuffle only | "Frame-N" text tags; V2PE in InternVL3 | not stated | mixed image, multi-image, video | InternVL3-78B Video-MME 72.7 / 75.7 |
| Apollo (2024) | fps sampling of clips | hour-long input claimed | 32 (16 in ablations) | Perceiver Resampler | text clip timestamps | about 1 hour | mixture with 10–14% text, video-heavy | Apollo-7B: Video-MME 63.3, MLVU 70.9 |
| Qwen2.5-VL (2025) | dynamic fps | 768 at evaluation | dynamic; at most 24,576 video tokens at evaluation | 3D patch, 2×2 merge, window attention | M-RoPE aligned to absolute time | hours | video grounding and long video in pretraining | Video-MME 73.3 / 79.1; LVBench 47.3; Charades-STA mIoU 50.9 (72B) |
| VideoLLaMA 3 (2025) | 1 fps | 180 | dynamic, 2×2 downsampled | Differential Frame Pruner | "Time: xxs" text | about 3 minutes by design | image-centric, then video fine-tuning | Video-MME 66.2 / 70.3 (7B) |
| VideoChat-Flash (2025) | dense | 10,000 in needle test | about 16 on average | hierarchical clip and in-LLM compression | timestamp prompts explored | hour scale | adds the LongVid dataset | needle-in-a-haystack 99.1% at 10,000 frames |
| Qwen3-VL (2025) | length-adaptive fps; 2 fps at evaluation | bounded by 224K video tokens at evaluation | up to 640 at evaluation | 3D patch, 2×2 merge | text timestamps, interleaved MRoPE | about 2 hours with extension | curated video with adaptive sampling | video needle test 100% to 30 min, 99.5% at ~2 h |
| Gemini 1.5 / 2.5 (closed) | 1 fps in reported tests | 10.5 hours in the 1.5 needle test | 258, or 66 at low media resolution (2.5) | not disclosed | not disclosed | about 3 hours (2.5 Pro) | not disclosed | Gemini 1.5 Pro Video-MME 75.0 / 81.3 |
How to read this table: the columns follow the post's order, from sampling through encoding and time to data and results. Read down the "temporal encoding" column to see the shift from implicit order to explicit time. Read down "tokens per frame" to see the split between models that compress hard (2 to 32) and models that keep detail and rely on long context (144 to 640).
Hour-long video
An hour of video breaks every short-video habit. At 1 frame per second it is 3,600 frames. A typical question concerns perhaps ten seconds of it. Three routes have emerged.
Route one: read everything
Extend the context and feed the frames in. LongVA, LongVILA, Gemini and Qwen3-VL take this route. It is conceptually clean. Nothing is thrown away by a heuristic. The costs are memory and latency, and the result depends on whether the model actually uses distant tokens.
Route two: compress or remember
Squeeze each frame hard or keep a running memory. LLaMA-VID, MovieChat, MA-LMM, VideoChat-Flash and Video-XL take this route. It scales to any length. The risk is that the compressor decides what is important before the question is known.
Route three: search, then look
Treat the video like a database. Find the relevant moments first, then look closely. VideoAgent uses a language model as an agent that iteratively decides which frames to inspect, with vision-language models as tools. It reported 54.1 percent on EgoSchema and 71.3 percent on NExT-QA while looking at only about 8 frames on average. VideoTree builds a tree over the video and expands only the branches relevant to the query. Video-RAG retrieves auxiliary text, such as speech transcripts, on-screen text and object detections, and passes it with the frames. These are the video versions of ideas covered in Thinking With Images and Searching With Pixels.
Swipe sideways to see the whole figure.
Finding the moment: temporal grounding
Question five asked when the ball hit the floor. Answering with a time is a different output from answering with a word. The task is called temporal grounding, or moment retrieval. Given a video and a sentence, return the start and end of the segment the sentence describes. It is the time-axis version of the spatial grounding in When Language Must Point, where a model returns a box instead of a time span.
Benchmarks and the metric
Charades-STA added sentence-level time annotations to the Charades dataset of indoor activities. The original paper reports 13,898 clip-sentence pairs for training and 4,233 for testing. QVHighlights has over 10,000 YouTube videos, each with a free-form query, the relevant moments, and a five-point saliency score for every relevant clip. ActivityNet Captions provides 20,000 videos with 100,000 descriptions, each with its own start and end time, and is used for dense captioning and grounding.
The metric is the temporal intersection over union. Let the true segment be [sg, eg] and the prediction be [sp, ep]. The overlap is the length of their intersection. The union is the length they cover together.
There is a direct link between grounding and frame sampling. A model can only place a boundary where it has a frame. If frames are Δ seconds apart and the model picks the nearest frame, each boundary can be off by up to Δ/2. In the worst case both boundaries move inward, and an event of length L keeps a tIoU of only (L − Δ) / L. For a 4-second event sampled every 2 seconds, that floor is 0.5. At 2 frames per second it is 0.875. Figure 9 lets you try this.
Swipe sideways to see the whole figure.
How to output a time
A language model emits tokens, so a timestamp must become tokens somehow. Four representations are in use.
- Plain numbers in seconds. The model writes "13.4 to 16.6". VideoLLaMA 3 prompts for start and end times in seconds and parses the numbers out of the answer. Qwen2.5-VL trains on grounding data written both in seconds and in hour-minute-second-frame format, so it can read and write either. It needs no new vocabulary. It works best when the input also carries real time, as with absolute-time positions or text timestamps.
- Dedicated time tokens. VTG-LLM adds absolute-time tokens to the vocabulary. Grounded-VideoLLM adds discrete temporal tokens that carry time knowledge. These avoid splitting a number across several sub-word tokens.
- Separate heads. TRACE treats timestamps, saliency scores and captions as distinct tasks, each with its own encoder and decoding head, interleaved as a sequence of events.
- Time-aware input. TimeChat binds each frame's timestamp to its visual features inside the frame encoder, and uses a sliding Q-Former so longer videos produce more tokens.
Training data for grounding is mostly converted from existing annotations. TimeChat built a 125,000-instance instruction set across six time-sensitive tasks. VTG-LLM re-annotated public grounding datasets into VTG-IT-120K. Momentor generated Moment-10M with an automatic engine. Qwen2.5-VL reports a Charades-STA mIoU of 50.9 for its 72B model. The same report lists GPT-4o at 35.7, which shows how much explicit time helps on this task.
Video data and its problems
Every capability above depends on data with the right properties. Video data has three recurring problems: weak captions, static content and sparse annotation.
Web-scale video-text pairs
HowTo100M collected 136 million clips from 1.22 million narrated instructional videos. Its text is speech, transcribed automatically. People do not always say what they are doing at the moment they do it, and later work describes such data as noisy. WebVid-2M, released with the Frozen in Time model, scraped over two million videos with their short stock-footage captions. InternVid scaled up with language models: over 7 million videos, about 760,000 hours, 234 million clips and 4.1 billion words of generated descriptions. Panda-70M took 3.8 million high-resolution videos and split them into semantically consistent clips. Several cross-modal teacher models captioned each clip. A retrieval model, fine-tuned on human choices, then picked the best caption. The result is 70 million captioned clips.
Dense synthetic captions
Short captions say what is in a clip. They rarely say what changes. ShareGPT4Video found that giving GPT-4V many frames at once, or a grid of frames, produced captions that were less detailed and sometimes confused about time. It designed a differential captioning strategy that describes changes between frames, built 40,000 dense captions, and trained a captioner that labelled 4.8 million more videos. LLaVA-Video-178K went further. It selected dynamic, untrimmed videos and sampled them at one frame per second. It captioned them recurrently at three levels of time, from about ten seconds up to the whole video. Earlier descriptions served as context for later ones.
Egocentric and long-form sources
Ego4D provides 3,670 hours of first-person daily-life video from 931 camera wearers. It underlies EgoSchema and HourVideo. Long, continuous, unscripted footage is exactly where a model must remember and reason across minutes, so egocentric data matters for long-video skills. LLaVA-Video's 7B model was weaker on EgoSchema, and its authors attribute this to a smaller share of egocentric data in training.
Mixtures
Video models are trained on mixtures of text, images, multiple images and video. VideoLLaMA 3 is explicitly image-centric: it builds large, clean image-text data and adds video late. Apollo found that keeping about 10 to 14 percent text in the mixture was important, and among mixtures with that much text, video-heavy ones performed best. Video-R1 added image reasoning data to its video reinforcement-learning set because high-quality video reasoning data was scarce. The broader science of mixing is in Mixing Data Without Losing Capabilities.
Evaluation and the single-frame shortcut
Benchmarks are covered in general in Measuring What a VLM Can Do. Video adds one specific danger. A video question may be answerable without the video. It may be answerable from the text alone, from one frame, or from frames in any order. Then a high score says nothing about time.
The evidence
The warning came early. In 2022, Lei and colleagues showed that a model trained on single frames, with a frame ensemble at inference, could beat existing multi-frame methods on popular video-and-language tasks. They called this a strong static appearance bias in the datasets. The same year, Buch and colleagues proposed the atemporal probe, which selects frames without using their order. It reached strong or state-of-the-art results on standard video question answering, which showed that event order was often unnecessary.
Apollo repeated the test on modern benchmarks with ten open models. It ran each benchmark three ways: with the video, with only the centre frame, and with only the question text. A large part of many benchmarks was answerable from text alone or from the centre frame. NExT-QA and Perception Test were largely solved by one frame. For Video-MME, the reliance on the video decreased as videos got longer. Apollo then built ApolloBench by removing questions that more than half the models answered correctly from text or one image. It was 41 times faster to run and more dependent on perception.
Swipe sideways to see the whole figure.
Benchmarks built against the shortcut
Several benchmarks were designed with the shortcut in mind. MVBench converts static image tasks into 20 dynamic tasks that its authors state cannot be solved effectively with a single frame. TempCompass builds conflicting videos that share static content but differ in one temporal aspect: it plays videos in reverse for direction and attribute change, and concatenates clips for speed and event order. EgoSchema introduced the temporal certificate, the length of video a human must watch to verify an answer. Its three-minute clips have certificates far longer than earlier datasets. Video-MME filtered out questions that Gemini 1.5 Pro could answer from the text alone; that model scored below 15 percent in the text-only setting.
The results on these benchmarks are sobering. In TempCompass's multiple-choice action questions, an image-only model, SPHINX-v2, scored 89.9. The best video model scored 88.5. On direction, every model scored between about 24 and 37, against a random baseline of 27.8 and a human score of 96.7. Vinoground found that GPT-4o scored about 50 percent on short counterfactual pairs where humans scored about 90, and open models were mostly near chance. TemporalBench reported GPT-4o at 38.5 percent on fine-grained temporal questions and found that multiple-choice options themselves leaked a cue, so it proposed a multiple binary accuracy instead.
Training against the shortcut
If a model can get reward without using time, it will. Video-R1 found exactly this when it applied GRPO to video reasoning: models took shortcuts through a single frame. Its fix, T-GRPO, generates answers twice per question, once from ordered frames and once from shuffled frames. The model earns the positive reward only when its accuracy on ordered frames beats its accuracy on shuffled frames. The reward itself now requires temporal reasoning. The general design of such rewards is the subject of Rewarding What the Model Sees.
| Benchmark | Average length | Size | Main skill tested | Single-frame solvable? | Design against shortcuts |
|---|---|---|---|---|---|
| MVBench | 16 s | 20 tasks, 4,000 QA | short-term temporal perception | designed not to be | static-to-dynamic task conversion |
| Perception Test | 23 s | 11.6K videos | memory, abstraction, physics, semantics | largely, per Apollo | filmed scripted situations; humans 91.4% vs 46.2% best model at release |
| NExT-QA | 44 s | about 52K QA | causal and temporal action reasoning | largely, per Apollo and ATP | question types for causal and temporal |
| TempCompass | short clips | about 100 videos per aspect | action, speed, direction, attribute change, event order | no, for non-action aspects | reversed and concatenated conflicting videos |
| EgoSchema | 180 s | over 5,000 QA | very long-form egocentric reasoning | designed not to be | long temporal certificates; random 20%, humans about 76% |
| LongVideoBench | 473 s (up to 1 h) | 3,763 videos, 6,678 QA | referring reasoning over long interleaved input | partly | scores improve only with more frames |
| MLVU | about 15 min (3 min to 2 h) | multi-task | long-video tasks across genres | partly | diverse task types; Apollo found it discriminative |
| Video-MME | about 17 min (11 s to 1 h) | 900 videos, 2,700 QA | broad; short, medium and long subsets; subtitles and audio | less video reliance as length grows, per Apollo | text-only answerable questions filtered |
| LVBench | about 68 min | 1,549 QA | extreme long-video comprehension | not analysed | very long inputs |
| HourVideo | 20 to 120 min | 500 videos, 12,976 QA | summarisation, tracking, reasoning, navigation | not analysed | egocentric hour-long tasks; humans 85.0% vs Gemini 1.5 Pro 37.3% |
| Vinoground / TemporalBench | short | 1,000 pairs / about 10K QA | dense temporal differences | no | counterfactual pairs; binary accuracy to remove option cues |
How to read this table: average lengths for MVBench through LVBench come from the comparison table in the LVBench paper, so they share one method. "Single-frame solvable" summarises published analyses where they exist (Apollo, ATP, TempCompass) and says "not analysed" otherwise. The pattern to notice is that length and temporal difficulty are different axes. Short benchmarks built from conflicting videos test time harder than some hour-long ones.
Streaming, real time and sound
Everything so far assumed a finished video file. A live camera is different. The end does not exist yet. Questions arrive at any time. Sometimes the model should speak before anyone asks.
VideoLLM-online introduced a training objective for this, called Streaming EOS prediction. At each new frame, the model learns whether to respond or stay silent. Silent frames add little to the context. The authors report streaming dialogue at over 10 frames per second on an A100 for a five-minute clip. Flash-VStream keeps a memory that is updated as frames arrive, so it can answer asynchronous questions with low latency and bounded GPU memory. Dispider separates perception, decision and reaction into different modules. A lightweight module keeps watching the stream and decides when to interact, while a separate module writes the answer, so watching does not stop while the model talks. StreamingBench tests this setting with 900 videos and 4,500 questions asked at different points in the stream. At release, Gemini 1.5 Pro and GPT-4o were both well below human level.
Sound is the other half of most videos. Video-LLaMA added an audio branch built on ImageBind with its own Q-Former. VideoLLaMA 2 integrated an audio branch through joint training. Qwen2.5-Omni interleaves audio and video in time order and introduces TMRoPE, a time-aligned multimodal RoPE, so that a sound and the frame it accompanies share a temporal position. The value of audio shows up even in a vision benchmark. On Video-MME, adding subtitles raised Gemini 1.5 Pro's accuracy by 6.2 points and adding audio by 4.3 points, with larger gains for longer videos.
Key insights and nuances
- InsightVideo tokens are duration × frame rate × tokens per frame. Gemini 2.5 tripled its usable video length by cutting tokens per frame from 258 to 66. The token arithmetic
- InsightUniform sampling changes the playback speed of every training video. Apollo found frame-rate sampling consistently better, and the gap came from training. Choosing frames
- NuanceMore frames help only while the data and the benchmark contain information between the frames. LongVA peaked at 128 frames; LLaVA-Video kept gaining to 110 on dynamic data. Choosing frames
- InsightA strong image encoder beats dedicated video encoders on most video questions. Video encoders help on motion, so add one beside the image encoder. Encoding
- NuanceThe Qwen line moved time into the position encoding and then back into text. Absolute-time RoPE worked but became costly at hour scale and in data construction. Telling the model when
- InsightUneven allocation, a few detailed frames plus many coarse ones, serves both reading and motion within one budget. Compression
- NuanceThe same model gets different scores in different papers, because frame counts, frame rates and subtitles differ. Model survey
- NuanceA perfect needle-in-a-haystack score measures single-frame retrieval. Gemini 1.5 Pro found a needle across 10.5 hours yet scored 37.3 percent on HourVideo against 85.0 percent for humans. Hour-long video
- InsightFrame spacing caps grounding accuracy before the model runs. Sample densely around the moments you need to time. Grounding
- InsightStatic training clips teach the single-frame shortcut. LLaVA-Video's smaller, dynamic, densely captioned data beat a larger static set. Data
- InsightMany video benchmark questions are answerable from text or one frame. Run text-only, one-frame and shuffled controls to isolate the temporal part of a score. Evaluation
What you can now reason about
Return to the five questions about the ball and the cup. You can now say what each one demands of a model. The colour of the cup needs one good frame. The direction of the roll needs two frames close together inside the roll, and enough per-frame detail to see the ball move. The order of events needs frames from both events and a sequence position for each. The duration of the hold needs real time, either written as text or built into positions. The moment of the drop needs a frame inside a one-second window, which means dense sampling where it matters.
You can also read a video model's design as a budget. Given a frame rate, a tokens-per-frame setting and a context window, you can compute how much video fits. Given a compression method, you can say what it gives up: detail, exact timing or old memories. Given a benchmark score, you can ask how much of it a single frame would have earned.
Two threads continue in the next posts. The single-frame shortcut is a reward-hacking problem as much as an evaluation problem, and T-GRPO's shuffled-frame comparison is one instance of a broader idea: design the reward so that it can only be earned by looking. That is the subject of Rewarding What the Model Sees. The search route for long video, where a model decides which moments to look at, is a form of active perception that Thinking With Images develops for images.
References
Grouped by topic. Every entry links to its primary source.
Video encoders and temporal architectures
- Quo Vadis, Action Recognition? A New Model and the Kinetics Dataset · Carreira and Zisserman, 2017
- SlowFast Networks for Video Recognition · Feichtenhofer et al., 2019
- Is Space-Time Attention All You Need for Video Understanding? (TimeSformer) · Bertasius et al., 2021
- ViViT: A Video Vision Transformer · Arnab et al., 2021
- VideoMAE: Masked Autoencoders are Data-Efficient Learners for Self-Supervised Video Pre-Training · Tong et al., 2022
- VideoMAE V2: Scaling Video Masked Autoencoders with Dual Masking · Wang et al., 2023
- LanguageBind: Extending Video-Language Pretraining to N-modality by Language-based Semantic Alignment · Zhu et al., 2023
- InternVideo2: Scaling Foundation Models for Multimodal Video Understanding · Wang et al., 2024
- Revisiting Feature Prediction for Learning Visual Representations from Video (V-JEPA) · Bardes et al., 2024
- V-JEPA 2: Self-Supervised Video Models Enable Understanding, Prediction and Planning · Assran et al., 2025
Connectors and token reduction
- Flamingo: a Visual Language Model for Few-Shot Learning · Alayrac et al., 2022
- Token Merging: Your ViT But Faster · Bolya et al., 2022
- BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models · Li et al., 2023
- Chat-UniVi: Unified Visual Representation Empowers Large Language Models with Image and Video Understanding · Jin et al., 2023
- PLLaVA: Parameter-free LLaVA Extension from Images to Videos for Video Dense Captioning · Xu et al., 2024
- SlowFast-LLaVA: A Strong Training-Free Baseline for Video Large Language Models · Xu et al., 2024
- SlowFast-LLaVA-1.5: A Family of Token-Efficient Video Large Language Models for Long-Form Video Understanding · Xu et al., 2025
- LongVU: Spatiotemporal Adaptive Compression for Long Video-Language Understanding · Shen et al., 2024
- VideoChat-Flash: Hierarchical Compression for Long-Context Video Modeling · Li et al., 2024
- Video-XL: Extra-Long Vision Language Model for Hour-Scale Video Understanding · Shu et al., 2024
Video LLMs
- VideoChat: Chat-Centric Video Understanding · Li et al., 2023
- Video-LLaMA: An Instruction-tuned Audio-Visual Language Model for Video Understanding · Zhang et al., 2023
- Video-ChatGPT: Towards Detailed Video Understanding via Large Vision and Language Models · Maaz et al., 2023
- Video-LLaVA: Learning United Visual Representation by Alignment Before Projection · Lin et al., 2023
- LLaMA-VID: An Image is Worth 2 Tokens in Large Language Models · Li et al., 2023
- VideoLLaMA 2: Advancing Spatial-Temporal Modeling and Audio Understanding in Video-LLMs · Cheng et al., 2024
- LLaVA-OneVision: Easy Visual Task Transfer · Li et al., 2024
- LLaVA-Video: Video Instruction Tuning With Synthetic Data · Zhang et al., 2024
- Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolution · Wang et al., 2024
- Qwen2.5-VL Technical Report · Bai et al., 2025
- Qwen3-VL Technical Report · Bai et al., 2025
- Expanding Performance Boundaries of Open-Source Multimodal Models with Model, Data, and Test-Time Scaling (InternVL 2.5) · Chen et al., 2024
- InternVL3: Exploring Advanced Training and Test-Time Recipes for Open-Source Multimodal Models · Zhu et al., 2025
- InternVL3.5: Advancing Open-Source Multimodal Models in Versatility, Reasoning, and Efficiency · Wang et al., 2025
- VideoLLaMA 3: Frontier Multimodal Foundation Models for Image and Video Understanding · Zhang et al., 2025
- Apollo: An Exploration of Video Understanding in Large Multimodal Models · Zohar et al., 2024
- Gemini 1.5: Unlocking multimodal understanding across millions of tokens of context · Gemini Team, 2024
- Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilities · Comanici et al., 2025
Long video, memory and agents
- MovieChat: From Dense Token to Sparse Memory for Long Video Understanding · Song et al., 2023
- MA-LMM: Memory-Augmented Large Multimodal Model for Long-Term Video Understanding · He et al., 2024
- Long Context Transfer from Language to Vision (LongVA) · Zhang et al., 2024
- LongVILA: Scaling Long-Context Visual Language Models for Long Videos · Chen et al., 2024
- VideoAgent: Long-form Video Understanding with Large Language Model as Agent · Wang et al., 2024
- VideoTree: Adaptive Tree-based Video Representation for LLM Reasoning on Long Videos · Wang et al., 2024
- Video-RAG: Visually-aligned Retrieval-Augmented Long Video Comprehension · Luo et al., 2024
- Adaptive Keyframe Sampling for Long Video Understanding · Tang et al., 2025
- Frame-Voyager: Learning to Query Frames for Video Large Language Models · Yu et al., 2024
Temporal grounding
- TALL: Temporal Activity Localization via Language Query (Charades-STA) · Gao et al., 2017
- Dense-Captioning Events in Videos (ActivityNet Captions) · Krishna et al., 2017
- QVHighlights: Detecting Moments and Highlights in Videos via Natural Language Queries · Lei et al., 2021
- UniVTG: Towards Unified Video-Language Temporal Grounding · Lin et al., 2023
- TimeChat: A Time-sensitive Multimodal Large Language Model for Long Video Understanding · Ren et al., 2023
- VTimeLLM: Empower LLM to Grasp Video Moments · Huang et al., 2023
- Momentor: Advancing Video Large Language Model with Fine-Grained Temporal Reasoning · Qian et al., 2024
- VTG-LLM: Integrating Timestamp Knowledge into Video LLMs for Enhanced Video Temporal Grounding · Guo et al., 2024
- Grounded-VideoLLM: Sharpening Fine-grained Temporal Grounding in Video Large Language Models · Wang et al., 2024
- TRACE: Temporal Grounding Video LLM via Causal Event Modeling · Guo et al., 2024
Video data
- HowTo100M: Learning a Text-Video Embedding by Watching Hundred Million Narrated Video Clips · Miech et al., 2019
- Frozen in Time: A Joint Video and Image Encoder for End-to-End Retrieval (WebVid-2M) · Bain et al., 2021
- Ego4D: Around the World in 3,000 Hours of Egocentric Video · Grauman et al., 2021
- InternVid: A Large-scale Video-Text Dataset for Multimodal Understanding and Generation · Wang et al., 2023
- Panda-70M: Captioning 70M Videos with Multiple Cross-Modality Teachers · Chen et al., 2024
- ShareGPT4Video: Improving Video Understanding and Generation with Better Captions · Chen et al., 2024
Benchmarks and the single-frame shortcut
- ActivityNet-QA: A Dataset for Understanding Complex Web Videos via Question Answering · Yu et al., 2019
- NExT-QA: Next Phase of Question-Answering to Explaining Temporal Actions · Xiao et al., 2021
- Revealing Single Frame Bias for Video-and-Language Learning · Lei et al., 2022
- Revisiting the "Video" in Video-Language Understanding (ATP) · Buch et al., 2022
- Perception Test: A Diagnostic Benchmark for Multimodal Video Models · Pătrăucean et al., 2023
- EgoSchema: A Diagnostic Benchmark for Very Long-form Video Language Understanding · Mangalam et al., 2023
- MVBench: A Comprehensive Multi-modal Video Understanding Benchmark · Li et al., 2023
- TempCompass: Do Video LLMs Really Understand Videos? · Liu et al., 2024
- Video-MME: The First-Ever Comprehensive Evaluation Benchmark of Multi-modal LLMs in Video Analysis · Fu et al., 2024
- MLVU: Benchmarking Multi-task Long Video Understanding · Zhou et al., 2024
- LVBench: An Extreme Long Video Understanding Benchmark · Wang et al., 2024
- LongVideoBench: A Benchmark for Long-context Interleaved Video-Language Understanding · Wu et al., 2024
- Vinoground: Scrutinizing LMMs over Dense Temporal Reasoning with Short Videos · Zhang et al., 2024
- TemporalBench: Benchmarking Fine-grained Temporal Understanding for Multimodal Video Models · Cai et al., 2024
- HourVideo: 1-Hour Video-Language Understanding · Chandrasegaran et al., 2024
Reinforcement learning, streaming and audio
- Video-R1: Reinforcing Video Reasoning in MLLMs · Feng et al., 2025
- VideoLLM-online: Online Video Large Language Model for Streaming Video · Chen et al., 2024
- Flash-VStream: Memory-Based Real-Time Understanding for Long Video Streams · Zhang et al., 2024
- Dispider: Enabling Video LLMs with Active Real-Time Interaction via Disentangled Perception, Decision, and Reaction · Qian et al., 2025
- StreamingBench: Assessing the Gap for MLLMs to Achieve Streaming Video Understanding · Lin et al., 2024
- Qwen2.5-Omni Technical Report · Xu et al., 2025