UFVideo: Towards Unified Fine-Grained Video Cooperative Understanding with Large Language Models

Hewen Pan, Cong Wei, Dashuang Liang, Zepeng Huang, Pengfei Gao, Ziqi Zhou, Lulu Xue, Pengfei Yan, Xiaoming Wei, Minghui Li, Shengshan Hu · DOI

Abstract

Video understanding research has traditionally been fragmented into specialized tasks: global summarization, temporal grounding, and pixel-level segmentation. UFVideo is the first Video Large Language Model (Video LLM) to unify these capabilities within a single architecture. By integrating a mask decoder and a novel relative temporal tokenization strategy, UFVideo masters "cooperative understanding"—tasks that require simultaneous reasoning about what is happening, when it occurs, and where specific objects are located at the pixel level.

Introduction: The Challenge of Cooperative Understanding

Current video understanding models are often specialists. Some excel at summarizing a whole video (global understanding), others at finding the start and end times of an event (temporal grounding), and others at segmenting specific objects (pixel-level tasks). However, real-world applications demand these skills work in concert. For example, a query like "Segment the dog while it is jumping" requires the model to identify the event temporally, refer to the correct object, and generate a precise mask. Existing siloed architectures struggle with this "cooperative understanding." UFVideo bridges this gap by creating a single, multi-grained expert.

UFVideo integrates temporal grounding and pixel-level segmentation to achieve cooperative understanding.

Methodology

UFVideo combines the reasoning power of a Large Language Model with precise spatial and temporal grounding capabilities through several key innovations:

  • Unified Visual-Language Alignment: The model utilizes special tokens to guide multi-modal behavior. <Ref> tokens act as placeholders for object-level visual prompts, while <Seg> tokens extract embeddings for the mask decoder.
  • Relative Temporal Tokens: To handle varying video lengths, UFVideo maps timestamps to a fixed set of 100 relative temporal tokens (<Temp-τ>). This allows the LLM to process time as a discrete text-like sequence, improving robustness across different frame rates.
  • Integrated Mask Decoder: The framework incorporates the SAM2 (Segment Anything Model 2) mask decoder. The LLM generates a hidden state for the <Seg> token, which is then projected and fed into the decoder to produce high-quality pixel masks.
  • Two-Phase Training: The model undergoes a two-stage training process. Stage 1 aligns temporal grounding and segmentation using specialized datasets. Stage 2 involves a massive joint training phase on over 3 million samples, including new "cooperative" tasks.

Datasets and Evaluation

The model is trained on the UFVideo-Dataset, a hybrid collection of 3 million samples. Evaluation spans 9 public benchmarks, including MVBench (general understanding), Charades-STA (temporal), and MeViS/ReVOS (segmentation).

To specifically measure cooperative capabilities, the authors introduced UFVideo-Bench, featuring three novel tasks:

  1. PixRQA: Reasoning about an object and segmenting it throughout the video.
  2. PixHQA: Segmenting objects only during specific "highlight" moments.
  3. PixTRQA: Retrieving a time interval based on a query and segmenting relevant objects within that window.
An example of Video Object Referring where the model must reason about an action and segment the subject.

Key Results and Insights

UFVideo achieves state-of-the-art (SOTA) performance across diverse benchmarks:

  • General Understanding: On MVBench, UFVideo scored 67.3, outperforming GPT-4V (43.5) and Qwen2-VL-7B (67.0).
  • Temporal Grounding: On Charades-STA, it achieved a 44.7 tIoU, surpassing previous unified models like LLaVA-ST (42.4).
  • Reasoning Segmentation: On ReVOS, it reached a 64.8 J&F score, a significant improvement over the previous best, UniPixel.
  • Cooperative Tasks: UFVideo consistently outperformed larger models, such as Qwen3-VL-32B, on the complex tasks within UFVideo-Bench.

The research highlights that fine-grained temporal and pixel tasks actually complement global understanding; detailed perception provides the necessary "evidence" for high-level reasoning. Furthermore, the unified architecture reduces error propagation compared to traditional multi-model pipelines.

Limitations and Future Work

While UFVideo excels in video dynamics, it is currently less focused on static image-level understanding. Future development aims to scale the model to maintain SOTA performance on single-image tasks while exploring multi-turn cooperative reasoning. The authors plan to open-source the UFVideo-Dataset to foster further innovation in unified video understanding.

Summary updated

BibTeX
@inproceedings{pan2026ufvideo,
  author = {Hewen Pan and Cong Wei and Dashuang Liang and Zepeng Huang and Pengfei Gao and Ziqi Zhou and Lulu Xue and Pengfei Yan and Xiaoming Wei and Minghui Li and Shengshan Hu},
  title = {{UFVideo: Towards Unified Fine-Grained Video Cooperative Understanding with Large Language Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=dtTWiyAJHD},
}
Figure