Language-aware Visual Semantic Distillation for Video Question Answering

Bo Zou, Chao Yang, Yu Qiao, Chengbin Quan, Youjian Zhao

Abstract

Significant progress in video question answering (VideoQA) have been made thanks to thriving large image-language pretraining frameworks. Although image-language models can efficiently represent both video and language branches, they typically employ goal-free vision perception and do not interact vision with language well during the answer generation, thus omitting crucial visual cues. In this paper, we are inspired by the human recognition and learning pattern and propose VideoDistill, a framework with language-aware (i.e., goal-driven) behavior in both vision perception and answer generation. VideoDistill generates answers only from question-related visual embeddings and follows a thinking-observing-answering approach that closely resembles human behavior, distinguishing it from previous research. Specifically, we develop a language-aware gating mechanism to replace the standard cross-attention, avoiding language's direct fusion into visual representations. We incorporate this mechanism into two key components of the entire framework. The first component is a differentiable sparse sampling module, which selects frames containing the necessary dynamics and semantics relevant to the questions. The second component is a vision refinement module that merges existing spatial-temporal attention layers to ensure extracting multi-grained visual semantics associated with the questions. We conduct evaluations on various challenging video question-answering benchmarks, and VideoDistill achieves state-of-the-art performance in both general and long-form VideoQA datasets. In Addition, we verify that VideoDistill can effectively alleviate the utilization of language shortcut solutions in the EgoTaskQA dataset.

Introduction

Modern Video Question Answering (VideoQA) systems often struggle with the "goal-free" nature of their visual perception. Most current architectures encode the entire video sequence and the textual query independently before fusing them to generate an answer. This paradigm faces three significant challenges: long-term dependencies in extended videos introduce noise, multi-scale semantics are difficult to capture dynamically, and "force-fusing" text and vision often leads to severe language bias. In many cases, models rely on linguistic shortcuts—such as assuming a banana is yellow regardless of the video content—rather than performing genuine visual reasoning.

Examples of goal-driven VideoQA tasks and an illustration of language bias mitigation.

To address these issues, we introduce VideoDistill, a framework designed to mimic human "goal-driven" observation. When humans answer a question about a video, they selectively attend to relevant segments and objects. VideoDistill implements this through a novel Language-Aware Gate (LA-Gate) mechanism, ensuring that visual representations are refined by the question without being directly contaminated by textual data.

Methodology

The cornerstone of VideoDistill is the Language-Aware Gate (LA-Gate). Unlike standard cross-attention, which merges text and vision, LA-Gate uses the question to generate an importance vector that modulates visual patches. This keeps visual embeddings "pure" while focusing the model's attention on relevant cues.

Differentiable Sparse Sampling

To handle long videos efficiently, we employ a differentiable sparse sampling module. This component uses the textual query to identify and select a small subset of $K$ frames from an $N$-frame sequence. By utilizing the Gumbel-Softmax trick, the selection process remains end-to-end trainable, allowing the model to learn which frames are most informative for a given question.

Vision Refinement

Once frames are sampled, the Vision Refinement module uses stacked LA-Gate blocks to extract multi-grained semantics. As information flows through these layers, the perceptive field expands, enabling the model to capture everything from fine-grained object details to global temporal dynamics. This process follows a "thinking-observing-answering" pipeline: the model "thinks" about the goal, "observes" the filtered visual data, and generates an "answer."

Experimental Results

We evaluated VideoDistill on several benchmarks, including general (MSRVTT-QA, MSVD-QA) and long-form (AGQA v2, EgoTaskQA) VideoQA datasets.

State-of-the-Art Performance

VideoDistill achieved state-of-the-art (SOTA) results across the board. On the AGQA v2 dataset, it reached 55.80% accuracy, notably gaining 9.33% in the "Object" category. This improvement underscores the effectiveness of the multi-scale refinement module in identifying specific visual entities. On EgoTaskQA, the model reached 45.02% accuracy.

Mitigating Language Bias

A critical finding was the model's ability to resist language shortcuts. In "language-only" tests—where visual input is replaced by noise—VideoDistill's performance dropped significantly compared to baseline models. This indicates that the framework is genuinely dependent on visual evidence rather than training set priors. The LA-Gate mechanism forces the decoder to rely on the "distilled" visual embeddings to formulate an answer.

Conclusion

VideoDistill represents a shift toward more human-like, goal-driven visual perception in VideoQA. By replacing direct text-vision fusion with a language-aware gating mechanism, the framework achieves superior performance on complex, long-form video tasks while effectively mitigating language bias. Future work will focus on improving action recognition, where linguistic correlations remain strong, and optimizing the computational efficiency of language-aware contrastive pretraining.

Summary updated

BibTeX
@inproceedings{zou2024language,
  author = {Bo Zou and Chao Yang and Yu Qiao and Chengbin Quan and Youjian Zhao},
  title = {{Language-aware Visual Semantic Distillation for Video Question Answering}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
  url = {https://openreview.net/forum?id=XD7VqVdNiW},
}
Figure