S2-UniSeg: Fast Universal Agglomerative Pooling for Scalable Segment Anything Without Supervision

Authors

  • Huihui Xu The Hong Kong University of Science and Technology (Guangzhou) Shanghai Artificial Intelligence Laboratory
  • Jin Ye Shanghai Artificial Intelligence Laboratory
  • Hongqiu Wang The Hong Kong University of Science and Technology (Guangzhou)
  • Changkai Ji Shanghai Artificial Intelligence Laboratory
  • Jiashi Lin Shanghai Artificial Intelligence Laboratory
  • Ming Hu Shanghai Artificial Intelligence Laboratory
  • Ziyan Huang Shanghai Artificial Intelligence Laboratory
  • Ying Chen Shanghai Artificial Intelligence Laboratory
  • Chenglong Ma Shanghai Artificial Intelligence Laboratory
  • Tianbin Li Shanghai Artificial Intelligence Laboratory
  • Lihao Liu Shanghai Artificial Intelligence Laboratory
  • Junjun He Shanghai Artificial Intelligence Laboratory
  • Lei Zhu The Hong Kong University of Science and Technology (Guangzhou) The Hong Kong University of Science and Technology

DOI:

https://doi.org/10.1609/aaai.v40i13.38105

Abstract

Recent self-supervised image segmentation models have achieved promising performance on semantic segmentation and class-agnostic instance segmentation. However, their pretraining schedule is multi-stage, requiring a time-consuming pseudo-masks generation process between each training epoch. This time-consuming offline process not only makes it difficult to scale with training dataset size, but also leads to sub-optimal solutions due to its discontinuous optimization routine. To solve these, we first present a novel pseudo-mask algorithm, Fast Universal Agglomerative Pooling (UniAP). Each layer of UniAP can identify groups of similar nodes in parallel, allowing to generate both semantic-level and instance-level and multi-granular pseudo-masks within ens of milliseconds for one image. Based on the fast UniAP, we propose the Scalable Self-Supervised Universal Segmentation (S2-UniSeg), which employs a student and a momentum teacher for continuous pretraining. A novel segmentation-oriented pretext task, Query-wise Self-Distillation (QuerySD), is proposed to pretrain S2-UniSeg to learn the local-to-global correspondences. Under the same setting, S2-UniSeg outperforms the SOTA UnSAM model, achieving notable improvements of AP+6.9 on COCO, AR+11.1 on UVO, PixelAcc+4.5 on COCOStuff-27, RQ+8.0 on Cityscapes. After scaling up to a larger 2M-image subset of SA-1B, S2-UniSeg further achieves performance gains on all four benchmarks.

Published

2026-03-14

How to Cite

Xu, H., Ye, J., Wang, H., Ji, C., Lin, J., Hu, M., … Zhu, L. (2026). S2-UniSeg: Fast Universal Agglomerative Pooling for Scalable Segment Anything Without Supervision. Proceedings of the AAAI Conference on Artificial Intelligence, 40(13), 11250–11258. https://doi.org/10.1609/aaai.v40i13.38105

Issue

Section

AAAI Technical Track on Computer Vision X