Foundation Models and Adaptive Feature Selection: A Synergistic Approach to Video Question Answering

Sai Bhargav Rongali, Mohamad Hassan N C, Ankit Jha, Neha Bhargava, Saurabh Prasad, Biplab Banerjee

Introduction

Video Question Answering (VideoQA) presents a significant challenge due to the high-dimensional nature of video data and the presence of redundant information. Traditional models often struggle with two primary hurdles: indiscriminate sampling and the semantic gap between high-level queries and fine-grained visual details. Indiscriminate sampling leads to the inclusion of irrelevant frames, introducing noise and increasing computational overhead. Meanwhile, the semantic gap makes it difficult for models to link complex questions, such as "Why did the boy fall?", with specific object interactions in the background.

To address these issues, we introduce LGQAVE (Local-Global Question Aware Video Embedding), a framework designed to selectively focus on video frames and objects most relevant to a specific query. By integrating foundation models like MiniGPT-4 with a dynamic graph transformer, LGQAVE filters out visual noise and achieves state-of-the-art performance across major benchmarks.

Methodology

The LGQAVE framework operates through a four-stage pipeline designed to bridge the gap between global context and local object dynamics.

The LGQAVE architecture integrates question-aware frame selection with local-global feature fusion.
  1. Question-Aware Frame Selection: The model utilizes a learnable cross-attention module between the question (encoded via RoBERTa) and frame-level visual embeddings (from CLIP). Frames are only retained if their relevance score exceeds a predefined threshold ($\beta$), effectively pruning "distractor" content.
  2. Frame-Centric Object Graph Construction: For the selected frames, MiniGPT-4 is employed for visual grounding. It identifies objects mentioned in the query and generates bounding boxes, which serve as nodes in a spatial graph representing their interactions.
  3. Question-Aware Dynamic Graph Transformer (Q-DGT): This module processes the object graphs using masked question embeddings. This conditioning ensures the transformer focuses exclusively on the dynamics essential to answering the query.
  4. Local-Global Integration: A final cross-attention module merges the fine-grained "local" object dynamics with the "global" video context. This unified representation is then processed by a large language model (LLM) to generate the final answer.

Evaluation and Results

LGQAVE was evaluated on several diverse benchmarks, including NExT-QA (causal/temporal reasoning), STAR-QA (situated reasoning), Causal-VidQA, and recognition-based sets like TGIF-FrameQA, MSRVTT-QA, and ActivityNetQA.

Quantitative Performance

LGQAVE established new state-of-the-art (SOTA) benchmarks:

  • NExT-QA: Achieved 66.69% accuracy on the validation set, significantly outperforming other LLM-based models like VideoLlava (60.08%) and VideoChat (56.27%).
  • Broad Improvement: On average, the model showed a 9.29% improvement over non-LLM methods and a 6.61% improvement over existing LLM-based VideoQA models.

Qualitative Precision

Qualitative analysis highlights LGQAVE's ability to provide more semantically precise answers compared to baseline models. By focusing on specific visual cues highlighted by the graph, the model avoids vague descriptions.

Qualitative comparison showing LGQAVE's superior precision in identifying specific actions compared to other LLM-based models.

Key Insights

  • Efficiency through Filtering: Removing irrelevant frames is not merely an optimization; it directly boosts performance. On NExT-QA, filtering improved accuracy by over 4% by eliminating noise.
  • Dynamic Tracking: Unlike static graph methods, LGQAVE's use of MiniGPT-4 allows for dynamic object tracking, making it robust to camera movement and complex scene transitions.
  • Foundation Model Synergy: The framework demonstrates that while foundation models provide strong priors, specialized architectures like Q-DGT are necessary to reason about temporal interactions in a video context.

Limitations and Future Work

Despite its performance, LGQAVE involves a high computational cost, requiring approximately 289 GFlops during training. Furthermore, the system's accuracy is inherently tied to the performance of its underlying foundation models; errors in object grounding by MiniGPT-4 can propagate through the pipeline. Future research will focus on optimizing the pipeline for real-time deployment and exploring more advanced graph-based attention mechanisms.

Summary updated

BibTeX
@inproceedings{rongali2025foundation,
  author = {Sai Bhargav Rongali and Mohamad Hassan N C and Ankit Jha and Neha Bhargava and Saurabh Prasad and Biplab Banerjee},
  title = {{Foundation Models and Adaptive Feature Selection: A Synergistic Approach to Video Question Answering}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2025},
  doi = {10.1109/wacv61041.2025.00898},
}
Figure