Training-Free Semantic Segmentation via LLM-Supervision
Wenfang Sun, Yingjun Du, Gaowen Liu, Ramana Kompella, Cees G. M. Snoek
TL;DR
This work tackles open-vocabulary semantic segmentation with no extra training by leveraging a large language model to generate fine-grained subclasses for each class. It integrates LLM-generated subclass descriptors into a training-free CLIP-based segmentation framework (SimSeg) using locality-driven alignment, upsampling, and CRF refinements, followed by ensembling across subclass descriptors to improve coverage of image content. Key contributions include: (i) automated generation of discriminative subclasses via GPT-3 with few-shot prompts, (ii) a training-free segmentation pipeline that leverages textual-subclass supervision, and (iii) an ensembling strategy that fuses multiple subclass maps for better accuracy. Experiments on PASCAL VOC 2012, PASCAL Context, and COCO-Stuff demonstrate consistent gains over traditional text-supervised baselines, with ablations showing the impact of subclass quality, number of generated subclasses, and template prompts. The approach reduces labeling needs while enhancing segmentation fidelity, offering a practical path to open-vocabulary semantic segmentation.
Abstract
Recent advancements in open vocabulary models, like CLIP, have notably advanced zero-shot classification and segmentation by utilizing natural language for class-specific embeddings. However, most research has focused on improving model accuracy through prompt engineering, prompt learning, or fine-tuning with limited labeled data, thereby overlooking the importance of refining the class descriptors. This paper introduces a new approach to text-supervised semantic segmentation using supervision by a large language model (LLM) that does not require extra training. Our method starts from an LLM, like GPT-3, to generate a detailed set of subclasses for more accurate class representation. We then employ an advanced text-supervised semantic segmentation model to apply the generated subclasses as target labels, resulting in diverse segmentation results tailored to each subclass's unique characteristics. Additionally, we propose an assembly that merges the segmentation maps from the various subclass descriptors to ensure a more comprehensive representation of the different aspects in the test images. Through comprehensive experiments on three standard benchmarks, our method outperforms traditional text-supervised semantic segmentation methods by a marked margin.
