SkillAgentSearch skills...

HyperSeg

[CVPR2025] Project for "HyperSeg: Towards Universal Visual Segmentation with Large Language Model".

Install / Use

/learn @congvvc/HyperSeg
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

HyperSeg: Towards Universal Visual Segmentation with Large Language Model

Cong Wei, Yujie Zhong<sup></sup>, Haoxian Tan, Yong Liu, Zheng Zhao, Jie Hu, and Yujiu Yang<sup></sup>

<sup></sup>Correspondence

Paper

PWC PWC PWC PWC PWC PWC PWC PWC PWC PWC PWC PWC PWC PWC

<p align="center"> <img src="imgs/intro.jpg" width="100%"> </p>

📖 Abstract

This paper aims to address universal segmentation for image and video perception with the strong reasoning ability empowered by Visual Large Language Models (VLLMs). Despite significant progress in current unified segmentation methods, limitations in adaptation to both image and video scenarios, as well as the complex reasoning segmentation, make it difficult for them to handle various challenging instructions and achieve an accurate understanding of fine-grained vision-language correlations. We propose HyperSeg, the first VLLM-based universal segmentation model for pixel-level image and video perception, encompassing generic segmentation tasks and more complex reasoning perception tasks requiring powerful reasoning abilities and world knowledge. Besides, to fully leverage the recognition capabilities of VLLMs and the fine-grained visual information, HyperSeg incorporates hybrid entity recognition and fine-grained visual perceiver modules for various segmentation tasks. Combined with the temporal adapter, HyperSeg achieves a comprehensive understanding of temporal information. Experimental results validate the effectiveness of our insights in resolving universal image and video segmentation tasks, including the more complex reasoning perception tasks.

📖 Pipeline

<p align="center"> <img src="imgs/model.jpg" width="100%"> </p>

💡 Results

Referring Expression Segmentation

<p align="center"> <img src="imgs/exp_refcoco.jpg" width="100%"> </p>

Reasoning Segmentation

<p align="center"> <img src="imgs/exp_reason.jpg" width="100%"> </p>

Generic Segmentation

<p align="center"> <img src="imgs/exp_generic.jpg" width="100%"> </p>

Common Video Segmentation and Multi-modal Benchmarks.

<p align="center"> <img src="imgs/exp_video_mmbench.jpg" width="100%"> </p>

Installation

Install required packages.

conda create -n HyperSeg python=3.10.13
conda activate HyperSeg
conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 -c pytorch -c conda-forge -y
pip install -r requirements.txt

Pre-trained weights

Mipha

HyperSeg needs loading Mipha-3B pre-trained weights Mipha-3B.

Vanilla Encoder

Our Vanilla Encoder needs loading SigLIP-SO pre-trained weights SigLIP-SO.

Mask2Former weights

The Segmentation Predictor requires loading Mask2Former Swin-B weights Mask2Former.

Getting Started

See Preparing Datasets for HyperSeg.

See Running Inference with HyperSeg.

See Training HyperSeg.

Citation

If you find this project useful in your research, please consider citing:

@article{wei2024hyperseg,
  title={HyperSeg: Towards Universal Visual Segmentation with Large Language Model},
  author={Wei, Cong and Zhong, Yujie and Tan, Haoxian and Liu, Yong and Zhao, Zheng and Hu, Jie and Yang, Yujiu},
  journal={arXiv preprint arXiv:2411.17606},
  year={2024}
}

Acknowledgement

View on GitHub
GitHub Stars181
CategoryDevelopment
Updated1d ago
Forks5

Languages

Python

Security Score

95/100

Audited on Mar 31, 2026

No findings