UniViT: Unifying Image and Video Understanding in One Vision Encoder

Feilong Tang, Xiang An, Haolin Yang, Yin Xie, Kai-Cheng Yang +9 more
1/1/2025
contrastive-ssl

No confident code implementation found for this paper.

Abstract

Despite the impressive progress of recent pretraining methods on multimodal tasks, existing methods are inherently biased towards either spatial modeling ( e.g. , CLIP) or temporal modeling ( e.g. , V-JEPA), limiting their joint capture of spatial details and temporal dynamics. To this end, we propose UniViT , a cluster-driven unified self-supervised learning framework that effectively captures the structured semantics of both image spatial content and video temporal dynamics through event-level and object-level clustering and discrimination.

Show full abstract

Specifically, we leverage offline clustering to generate semantic clusters across both modalities. For videos, multi-granularity event-level clustering progressively expands from single-event to structured multi-event segments, capturing coarse-to-fine temporal semantics; for images, object-level clustering captures fine-grained spatial semantics. However, while global clustering provides semantically consistent clusters, it lacks modeling of structured semantic relations ( e.g., temporal event structures). To address this, we introduce a contrastive objective that leverages these semantic clusters as pseudo-label supervision to explicitly enforce structural constraints, including temporal event relations and spatial object co-occurrences, capturing structured semantics beyond categories. Meanwhile, UniViT jointly embeds structured object-level and event-level semantics into a unified representation space. Furthermore, UniViT introduces two key components: (i) Unified Rotary Position Embedding integrates relative positional embedding with frequency-aware dimension allocation to support position-invariant semantic learning and enhance the stability of structured semantics in the discrimination stage; and (ii) Variable Spatiotemporal Streams adapt to inputs of varying frame lengths, addressing the rigidity of conventional fixed-input approaches. Extensive experiments across varying model scales demonstrate that UniViT achieves state-of-the-art performance on linear probing, attentive probing, question answering, and spatial understanding tasks.

DOISemantic Scholar

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{tang2025univit,
  title  = {UniViT: Unifying Image and Video Understanding in One Vision Encoder},
  author = {Feilong Tang and Xiang An and Haolin Yang and Yin Xie and Kai-Cheng Yang and Ming Hu and Zhengting Cheng and Xing-Yu Zhou and Zimin Ran and Imran Razzak and Zi-Yong Feng and B. Bozorgtabar and Jian-Kang Deng and Zong-Yuan Ge},
  year   = {2025},
  doi    = {10.52202/085713-2447},
  url    = {https://doi.org/10.52202/085713-2447},
  journal = {Neural Information Processing Systems}
}

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

Discussion