Abstract
We introduce VidTFS, a training-free, open-vocabulary video goal and action inference framework that combines frozen vision foundational models (VFM) and large language models (LLM) with a novel Dynamic Frame Selection module. Our experiments demonstrate that the proposed frame selection module improves the performance of the framework significantly. We validate the performance of VidTFS on four widely used video datasets—CrossTask, COIN, UCF101, and ActivityNet—covering goal inference and action recognition tasks under open-vocabulary settings without requiring any training or fine-tuning. The results show that VidTFS outperforms pretrained and instruction-tuned multimodal language models that directly stack LLMs and VFMs for downstream video inference tasks. Our VidTFS, with its adaptability, shows future potential for generalizing to new training-free video inference tasks.
Introduction
While Large Language Models (LLMs) and Vision Foundational Models (VFMs) have revolutionized image understanding, video remains a significant challenge due to its high dimensionality and temporal complexity. Existing approaches often require expensive fine-tuning on massive datasets or struggle with the "noise" problem—where real-world, untrimmed videos contain numerous irrelevant frames that can confuse a model.
To address these challenges, we present VidTFS, a framework designed to leverage the reasoning power of LLMs and the descriptive power of VFMs for open-vocabulary video understanding. Crucially, VidTFS operates without a single step of gradient descent, making it a highly efficient and adaptable solution for zero-shot inference.
Methodology: The VidTFS Pipeline
VidTFS employs a four-stage "See, Guess, Select, and Infer" pipeline to process video data. This approach uses language as a bridge to navigate complex visual information.
- See (Visual Description): The system uses BLIP-2 to generate dense textual descriptions for a set of uniformly sampled frames. These descriptions are concatenated to form a preliminary "story" of the video.
- Guess (Hypothesis Generation): A frozen LLM (Vicuna-13B) reads these descriptions and generates the top-k possible goals or actions. It also produces a "script"—a sequence of sub-steps required to achieve those goals.
- Select (Dynamic Frame Selection): This is the core innovation of VidTFS. Using the LLM-generated sub-steps as queries, the model employs CLIP to identify specific frames in the original video that best match those steps. This process filters out irrelevant noise and isolates "evidence" frames.
- Infer (Final Reasoning): The LLM takes the refined descriptions of these selected evidence frames, along with the original hypotheses, to make a final, informed decision.
Experimental Evaluation
We evaluated VidTFS on four benchmarks: CrossTask and COIN for goal inference, and UCF101 and ActivityNet-v1.3 for action recognition. We compared VidTFS against several state-of-the-art multimodal LLMs, including Video-LLaVA and mPLUG-Owl.
As shown in the results below, VidTFS consistently outperforms end-to-end models across various semantic similarity metrics, such as SBERT and CIDEr. A key finding is the impact of the observation ratio (ρ); VidTFS maintains strong performance even when only the first 10% or 30% of a video is visible, demonstrating its effectiveness for goal anticipation.
The Power of Dynamic Frame Selection
Ablation studies highlight that the Dynamic Frame Selection (DFS) module—also referred to as the Evidence Selector—is critical. On the CrossTask dataset, SBERT scores improved by approximately 5-8% simply by incorporating this frame selection step. This confirms that "more frames" are not necessarily better; rather, selecting the right frames is key to accurate reasoning.
Key Insights and Limitations
VidTFS demonstrates that LLMs can act as "programmers" for vision systems by generating search scripts that guide the model to look for specific visual evidence. This training-free adaptability allows the system to handle niche or new activities simply by adjusting the prompt.
However, some limitations remain. The system is susceptible to LLM hallucinations if initial visual descriptions are ambiguous. For instance, misidentifying banana slices as "doughnuts" can lead the LLM to an incorrect final inference. Additionally, the multi-stage process involving multiple foundation models results in slower inference times compared to some optimized end-to-end models.
Conclusion
VidTFS represents a significant step toward training-free, open-ended video understanding. By combining the strengths of VFMs and LLMs through a novel dynamic frame selection mechanism, it achieves state-of-the-art performance on complex inference tasks. As foundation models continue to evolve, the accuracy and efficiency of frameworks like VidTFS are expected to improve naturally without requiring architectural changes.
Summary updated