Q-Fold: Query-Aware Focus-Context Spatio-Temporal Folding for Long Video Understanding

Biao Tang, Xu Chen, Shuxiang Gou, Jingyi Yuan, Yuhan Zhang +1 more
6/10/2026
cs.CV

No confident code implementation found for this paper.

Abstract

Long-video understanding remains challenging for multimodal large language models, because temporally extended videos often contain thousands of frames and are therefore expensive to process exhaustively. Existing methods usually construct compact visual inputs from long videos under a limited visual budget. However, most of them still follow a frame-centric paradigm and apply similar representations to retained content regardless of its importance. This makes it difficult to preserve both high-fidelity visual evidence and broad temporal coverage. To address this issue, we propose Q-Fold, a training-free input construction framework for long-video understanding. Instead of treating isolated frames as the basic modeling unit, Q-Fold operates on contiguous temporal segments and constructs a heterogeneous Focus--Context representation under query guidance. Query-relevant segments are preserved as high-fidelity Focus Frames, while less relevant segments are folded into chronology-preserving contextual layouts. In this way, Q-Fold preserves critical visual evidence and broad temporal coverage, while better maintaining local temporal continuity within short segments. Experiments on four long-video benchmarks with multiple Video-MLLMs show that Q-Fold consistently improves performance without increasing the input budget. Notably, it achieves gains of up to 9.1 percentage points on an ultra-long video benchmark. Code will be made publicly available.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{tang2026qfold,
  title  = {Q-Fold: Query-Aware Focus-Context Spatio-Temporal Folding for Long Video Understanding},
  author = {Biao Tang and Xu Chen and Shuxiang Gou and Jingyi Yuan and Yuhan Zhang and Chenqiang Gao},
  year   = {2026},
  eprint = {2606.12125},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.12125v1}
}

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/2606.12125.svg)](https://codeofpaper.com/paper/2606.12125)

Discussion