Video and Temporal Reasoning › The shape of the problem

Michael BrenndoerferDecember 1, 20262 min read
Language AI HandbookAll chapters
Part 52 of 67Omni-Modal and Embodied Language Systems
Chapter 399Video and Temporal Reasoning › The shape of the problem
Reading section 2 of 12 · The shape of the problem · 2 minSection 2 of 12 · 2 min

Section 2 of 12 · 2 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

The frame rate, clip duration, and encoder patch size determine the uncompressed token estimate.

Take a constant-rate, 10-minute clip at 30 frames per second. It contains 18,000 frames. A frame of 1920 × 1080 pixels has 2,073,600 pixels. If each frame is resized to 224 × 224 and encoded as non-overlapping 14-pixel square patches, it has 256 patch positions. Keeping one token per patch gives 4,608,000 visual tokens before adding text or special tokens. That exceeds a 128,000-token budget by a factor of 36. Full attention also computes a quadratic number of token pairs. Reducing frames, tokens per frame, or the amount of material passed to a single model call addresses different parts of this budget.

A frame budget is one part of end-to-end latency. Even with a model that accepts the sequence, computing the video features, reading its prefix and storing the retained representation have separate costs.

A pipeline needs a rule for choosing frames and a way to represent their timing. If an event leaves no evidence in the retained channels, the model can still guess from context. A fluent answer does not establish that the event was observed.

Frame sampling

Frame sampling selects some of the frames already present in a decoded clip. A sampled sequence can preserve a presentation timestamp for each frame, along with its image or encoded features.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy