Frame Selection Is All You Need: How to Make Large Models Truly Understand Video

Frame selection, not model size, is the decisive factor in making LLMs truly understand video.
This article argues that frame selection is the most critical yet underestimated component in video understanding systems. Since LLMs process sampled frames rather than continuous video, the quality of frame selection directly determines comprehension accuracy. It analyzes three strategies—uniform sampling, content-aware sampling, and query-driven selection—and discusses how frame budget optimization impacts latency, cost, and accuracy in real-world deployments.
Introduction: The Hidden Bottleneck of Video Understanding
When we discuss the multimodal capabilities of large language models (LLMs), the focus tends to be on image understanding—GPT-4V, Claude, Gemini, and others can all produce impressive descriptions and reasoning about single images. However, once the task expands from "looking at images" to "watching videos," the complexity increases exponentially. A recent technical note that sparked discussion on Hacker News pointed out a widely underestimated core proposition: Frame Selection is the real key to making large models understand video.
This viewpoint may seem straightforward, but it touches on the architectural essence of current video understanding systems. This article will dissect why frame selection is the most critical component in the entire video understanding pipeline, and its profound implications for engineering practice.

Why Video Understanding Is Fundamentally a "Sampling Problem"
LLMs Don't Actually "Watch" Videos
A commonly overlooked fact is that the vast majority of mainstream video understanding approaches don't have models process frames sequentially. Instead, they extract a limited number of key frames from the video, then feed these static images into a vision encoder and language model. In other words, what the model sees isn't a "video" but a set of sampled "image sequences."
The reason behind this is entirely practical—the dual constraints of computational resources and context length. A one-minute video at 30fps contains 1,800 frames. If all were encoded, token consumption would quickly exceed the context window of any existing model. Current mainstream multimodal large models process images through vision encoders (typically based on the ViT architecture, or Vision Transformer), which divide images into fixed-size patches, with each patch encoded as a set of tokens. In a common configuration, a single image might produce 256 to 576 tokens. This means that inputting just 10 video frames could consume 2,560 to 5,760 tokens in visual information alone. While current commercial models' context windows continue to expand (from 4K to 128K or even longer), the computational overhead of visual tokens far exceeds that of text tokens—they need to interact with the language model through cross-attention or similar mechanisms, with computational complexity growing quadratically with token count. This is why even when context windows "appear large enough," full-frame input remains infeasible in practice. Therefore, engineering must make trade-offs: selecting the most informative few frames or dozens of frames from thousands.
Sampling Strategy Determines the Model's "Field of View"
Precisely because of this, the quality of frame selection directly determines whether a model can understand video content. If sampling happens to miss the moment a critical action occurs—such as a basketball shot going in, an experimental result being revealed, or a key gesture during a conversation—then no matter how powerful the backend language model is, it cannot reconstruct the correct answer from incomplete information. This is the deeper meaning of "Frame selection is the whole game."
Common Frame Selection Strategies and Their Limitations
Uniform Sampling: Simple but Blind
The most basic approach is uniform sampling, extracting frames at fixed time intervals—for example, one frame per second. This method is simple to implement and has predictable computational overhead, but it knows nothing about the video's content. It's acceptable for videos with gradual content changes (like a lecture), but for videos with uneven information density (like action sequences or sports events), uniform sampling easily misses critical moments or wastes precious frame budget on static scenes.
Content-Aware Sampling: Smarter Trade-offs
More advanced approaches introduce content-aware mechanisms. For example, by detecting scene transitions, computing visual differences between adjacent frames, or using optical flow to estimate motion intensity, the system determines which moments are "worth looking at." These methods can sample more densely in information-rich segments and more sparsely in static ones, maximizing information coverage within a limited frame budget.
Specifically, content-aware sampling relies on various computer vision techniques. Shot boundary detection compares statistical features of adjacent frames—such as color histograms and edge distributions—to identify shot transitions in the video. Optical flow estimation algorithms like RAFT and FlowNet quantify object motion in the scene by computing pixel-level motion vector fields. Additionally, methods based on perceptual hashing measure visual differences by computing inter-frame hash distances. More advanced approaches use pretrained CLIP models to extract semantic features, computing semantic distances between frames in embedding space rather than relying solely on pixel-level differences. All these methods are essentially attempting to approximate an ideal information-theoretic objective using heuristic rules or lightweight models: selecting a subset of frames that maximizes overall information entropy coverage.
However, these methods are not infallible. Dramatic visual changes don't necessarily equate to semantic importance—a rapid pan across an empty landscape might trigger heavy sampling yet carry zero informational value; meanwhile, a subtle facial expression change in a still frame might be the key to understanding the entire piece.
Query-Driven Selection: Task-Oriented Sampling
The most cutting-edge approach is query-driven (query-aware) frame selection: dynamically deciding which parts of the video to focus on based on the user's question. For example, when a user asks "What decision did the person in the video ultimately make?" the system should prioritize sampling frames near the end of the video. This transforms frame selection from a purely preprocessing step into an intelligent component deeply coupled with the task, representing an important evolutionary direction for video understanding.
Query-driven frame selection has spawned multiple research paradigms in recent years. A typical two-stage approach first uses a lightweight model (such as CLIP) to generate text-aligned embeddings for all frames, then ranks and filters frames based on similarity between user queries and frame embeddings. A more aggressive approach trains an end-to-end frame selection network that learns to optimize frame selection strategies based on gradient signals from downstream tasks. Representative works include VideoAgent (which uses an LLM as an agent to iteratively decide which segments of the video to watch), LLoVi (which first generates text descriptions of video segments and then has the LLM reason over them), among others. Google's Gemini series models have attempted another path: processing more frames directly through ultra-long contexts (1 million tokens), but even so, some form of frame filtering or hierarchical compression is still needed for long videos.
Insights for Engineering Practice
Shift Optimization Focus Upstream
A direct takeaway from the original article for engineering teams is: when optimizing video understanding systems, rather than solely pursuing larger models or longer contexts, invest effort in the frame selection component. A well-designed frame selection module often delivers more significant performance improvements than upgrading the underlying model, at far lower cost. This aligns with the system engineering principle of "finding the bottleneck and concentrating your breakthrough there."
Frame Budget Is the Core Constraint
In practice, the frame budget should be treated as a first-class design variable. Teams need to make explicit trade-offs between latency, cost, and accuracy: more frames mean a higher accuracy ceiling but also longer inference time and higher costs. How to make every frame count within a given budget is the core arena of this "whole game."
The choice of frame budget directly impacts system economics. Taking GPT-4o's API as an example, each image may consume 85 to 1,105 tokens depending on the detail mode, and at current pricing (input tokens at approximately $2.5 per million tokens), processing a 10-minute video with 100 sampled frames could cost $0.1-$0.3 in visual tokens alone. In large-scale deployment scenarios (such as video moderation platforms processing millions of videos daily), frame budget optimization directly translates to annual cost differences in the millions of dollars. On the latency front, each additional frame not only adds network transmission and encoding time but more critically increases the attention computation overhead during LLM inference, which is particularly sensitive in real-time or near-real-time scenarios. Therefore, engineering practice typically sets discrete tiers like 8 frames, 16 frames, or 32 frames, with fine-tuned cost-performance optimization for different business scenarios.
Evaluation Systems Need Redesigning
Furthermore, this reminds us that when evaluating video understanding systems, we cannot look solely at end-to-end accuracy. Understanding "whether a model's failure stems from frame selection missing information or from insufficient reasoning capability of the language model" is crucial. Only by decoupling these two types of errors can we optimize in a targeted manner.
Conclusion: The Underestimated Critical Component
As multimodal large models grow increasingly capable, it's easy to attribute the success or failure of video understanding to the model's intelligence level itself. But this technical note reminds us that beneath the impressive model capabilities lies a simple yet decisive engineering problem: which frames did you actually show the model?
Frame selection—this seemingly unassuming preprocessing step—is in fact the decisive move that determines success or failure in video understanding. For any team hoping to build reliable video understanding applications, understanding and investing in this component may be the true path to breakthrough. When a model cannot "watch" the entire world, teaching it "where to look" becomes the entirety of the game.
Related articles

Bilibili's Hit Dify Tutorial: A Practical Guide to Building 20+ AI Apps from Scratch
A distilled guide to Bilibili's top-rated Dify tutorial: Windows + Docker deployment, MySQL connection, five app types, model integration strategy, and publishing.

Agent Skills Beginner's Guide: From Concepts to Multi-Agent Collaboration in Practice
A comprehensive guide to Agent Skills: core concepts, components, the importance of Description, standardization, beginner learning paths, and multi-agent collaboration.

One Neuron Detects Both Cats and Cars? We Reproduced It and Found a New Explanation
The cat-car neuron reinterpreted: researcher Cammarata argues it distinguishes pointy from round, not cats from cars. We reproduced the experiment and found the new explanation holds on most inputs—but cars are the exception. The interpretability debate continues on language models.