HyperSeg: Towards Universal Visual Segmentation with Large Language Model

Cong Wei,Yujie Zhong,Haoxian Tan,Yong Liu,Zheng Zhao,Jie Hu,Yujiu Yang
2024-12-02
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. Our code is available.
Computer Vision and Pattern Recognition
What problem does this paper attempt to address?
The problem that this paper attempts to solve is the challenges in the general - purpose vision segmentation task, especially those tasks in image and video perception that require strong reasoning ability. Although the current unified segmentation methods have made remarkable progress in adapting to image and video scenes, there are still limitations in handling complex instructions and achieving accurate understanding of fine - grained vision - language associations. Therefore, this paper proposes HyperSeg, which is the first general - purpose segmentation model based on Visual Large Language Model (VLLM). It aims to solve the general - purpose segmentation tasks in pixel - level image and video perception, and at the same time has strong reasoning ability and world knowledge, and is able to handle complex vision - language reasoning perception tasks. Specifically, HyperSeg solves these problems through the following points: 1. **Introducing a hybrid entity recognition strategy**: Combine the powerful generation ability of VLLM and the final class - score decoding process to enhance the understanding of category semantics by mask tokens. 2. **Using a fine - grained visual perception module**: Merge multi - scale visual features into fixed - length fine - grained tokens, so as to efficiently capture rich visual details from different scales. 3. **Proposing a temporal adapter**: Through global prompt aggregation and local spatio - temporal information injection, achieve a comprehensive understanding of long - term and short - term vision - language information, which is especially suitable for video perception tasks. These designs enable HyperSeg to not only perform excellently in multiple segmentation tasks, but also provide outstanding performance in complex reasoning tasks. The experimental results verify the effectiveness of HyperSeg, especially in general - purpose segmentation tasks and complex reasoning tasks, showing significant advantages.