HierarQ: Task-Aware Hierarchical Q-Former for Enhanced Video Understanding

Shehreen Azad, Vibhav Vineet, Y. S. Rawat
2/10/2026

No official code found. Best implementation: sacrcv/HierarQ (2 stars, MIT, last commit 2025-06-04).

Abstract

Despite advancements in multimodal large language models (MLLMs), current approaches struggle in medium-to-long video understanding due to frame and context length limitations. As a result, these models often depend on frame sampling, which risks missing key information over time and lacks task-specific relevance. To address these challenges, we introduce HierarQ, a task-aware hierarchical Q-Former based framework that sequentially processes frames to bypass the need for frame sampling, while avoiding LLM’s context length limitations. We introduce a lightweight two-stream language-guided feature modulator to incorporate task awareness in video understanding, with the entity stream capturing frame-level object information within a short context and the scene stream identifying their broader interactions over longer period of time. Each stream is supported by dedicated memory banks which enables our proposed Hierarchical Querying transformer (HierarQ) to effectively capture short and long-term context. Extensive evaluations on 10 video benchmarks across video understanding, question answering, and captioning tasks demonstrate HierarQ’s state-of-the-art performance across most datasets, proving its robustness and efficiency for comprehensive video analysis.

View on arXivView PDF

Code Implementations(1)

sacrcv/HierarQCommunity66%
MIT

Official repository of our paper "HierarQ: Task-Aware Hierarchical Q-Former for Enhanced Video Understanding" accepted at CVPR '25.

20Jun 4, 20251 years agoMIT

Similar Papers

Cite this paper

@article{azad2026hierarq,
  title  = {HierarQ: Task-Aware Hierarchical Q-Former for Enhanced Video Understanding},
  author = {Shehreen Azad and Vibhav Vineet and Y. S. Rawat},
  year   = {2026},
  eprint = {2503.08585},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2503.08585},
  journal = {CVPR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.08585.svg)](https://codeofpaper.com/paper/2503.08585)

Discussion