Side Adapter Network for Open-Vocabulary Semantic Segmentation

Mengde Xu, Zheng Zhang, Fangyun Wei, Han Hu, Xiang Bai

Introduction

Semantic segmentation—the task of assigning a category label to every pixel in an image—has traditionally been constrained by fixed datasets with a limited number of predefined categories. Open-vocabulary semantic segmentation seeks to overcome these limitations, enabling models to segment any object described by text, including those not seen during training.

While Contrastive Language-Image Pre-training (CLIP) models provide a powerful foundation for understanding arbitrary visual concepts, they are optimized for image-level classification rather than pixel-level localization. Existing methods to adapt CLIP for segmentation often involve slow two-stage processes or expensive fine-tuning that risks degrading CLIP's original zero-shot capabilities.

The Side Adapter Network (SAN)

To address these challenges, the Side Adapter Network (SAN) introduces a lightweight framework that "piggybacks" on a frozen CLIP model. Instead of modifying the backbone, SAN employs a small, trainable "sidecar" network to handle the spatial complexities of segmentation.

The SAN framework decouples mask proposal from recognition by using a side network to guide a frozen CLIP model via attention biasing.

Key Architectural Innovations

  • Side Network Integration: A lightweight Vision Transformer (ViT) takes high-resolution input to predict mask proposals and attention biases. It efficiently reuses features from the early layers of the frozen CLIP model to save on computation.
  • Attention Biasing: Rather than the computationally expensive approach of cropping and re-feeding objects into CLIP, SAN predicts "attention biases." These are injected into CLIP’s deeper layers, directing the model's internal attention to specific mask proposals for classification.
  • Asymmetric Resolution: To optimize speed, the heavy CLIP backbone processes low-resolution images, while the lightweight side network manages the high-resolution details necessary for precise boundaries.

Evaluation and Results

SAN was trained exclusively on the COCO Stuff dataset (171 classes) and evaluated across multiple unseen benchmarks to test its open-vocabulary generalization.

Qualitative results demonstrating SAN's ability to segment a wide variety of objects and animals in an open-vocabulary setting.

Performance Benchmarks

The model achieves state-of-the-art results while being significantly more efficient than previous methods:

  • Efficiency: SAN utilizes only 8.4M trainable parameters and operates at 15.2 FPS—approximately 19 times faster than the previous leading method, OvSeg.
  • Accuracy: On the challenging ADE20K-847 benchmark, which features 847 distinct categories, SAN achieved a mean Intersection over Union (mIoU) of 12.4, outperforming much larger models.
  • Versatility: The decoupled design allows the model to distinguish between fine-grained categories (e.g., "signboard" vs. "advertisement") simply by adjusting the text prompt at inference time.

Conclusion

The Side Adapter Network demonstrates that open-vocabulary semantic segmentation can be achieved efficiently by leveraging frozen foundation models. By separating mask generation from recognition and using attention biasing, SAN provides a scalable path for real-time, high-accuracy pixel-level understanding. Future work may explore applying this side-adapter philosophy to related tasks such as object detection and video segmentation.

Summary updated

BibTeX
@inproceedings{xu2023side,
  author = {Mengde Xu and Zheng Zhang and Fangyun Wei and Han Hu and Xiang Bai},
  title = {{Side Adapter Network for Open-Vocabulary Semantic Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure