arXiv:2608.26624cs.CVAug 2026

Manuscript Offprint

arXiv:2608.26624

Text-to-seed generation: Training-free open-vocabulary seeded semantic segmentation via re-purposing diffusion as text-guided seed generator

Kumju Jo, Heesun Jung, Sungyong Baik

Abstract

Open-vocabulary semantic segmentation (OVSS) aims to segment image regions corresponding to arbitrary text queries. Although the Segment Anything Model (SAM) is a powerful foundation model for segmentation, its standalone performance on OVSS remains limited. Existing methods therefore often use SAM to refine coarse masks predicted by other models, but this strategy is unreliable when the initial masks are inaccurate. In this work, we argue that more reliable segmentation can be achieved by exploiting SAM as a region expansion module guided by accurate object points (i.e., seeds) rather than inaccurate coarse masks. Inspired by classical seeded segmentation, we reformulate OVSS as text-guided seed localization followed by seed-based region expansion. To realize this idea, we propose Text-to-Seed (T2S), a training-free framework that leverages the text-to-region correspondence of Stable Diffusion to generate attention-based seed points for target categories described by text. These sparse seeds are then used as point prompts for SAM to produce full object masks. Without task-specific training or additional annotations, T2S achieves strong performance on standard OVSS benchmarks, demonstrating the effectiveness of combining semantic grounding with seed-driven spatial segmentation.

© 2026. This manuscript version is made available under the CC-BY-NC-ND 4.0 license https://creativecommons.org/licenses/by-nc-nd/4.0/

1. Introduction

Open-vocabulary semantic segmentation (OVSS) [1–3] aims to handle open-set categories in arbitrary texts, generalizing beyond predefined categories. OVSS task demands for the generalization capability in modeling correspondences between visual and textual representations.

To tackle such challenging task, few works have attempted to employ foundation models for segmentation

Figure

Figure 1. Overview of our framework, dubbed T2S. We extract seeds from attention maps of Stable Diffusion. Then, seeds are fed into SAM to perform region expansion.

(particularly, Segment Anything Model (SAM) [4]). While SAM exhibits strong capability in learning spatially coherent visual representations, SAM faces challenges with text prompts and semantic understanding [5]. Thus, recent works either fine-tune SAM with vision-language models or use SAM to refine coarse segmentation masks or bounding boxes [6–8]. However, fine-tuning is susceptible to risks of suboptimal performance on unseen categories, while refinement approaches are limited by the quality of coarse segmentation masks or bounding boxes.

Another line of works [8, 9] focuses on employing text-to-image generative model, namely Stable Diffusion (SD) [10], for its capability to spatially align visual features and textual features. SD is used to either directly estimate segmentation masks from attention maps [11–14] or generate synthetic images to prepare semantic features [8, 9, 15]. However, since SD is originally designed for image generation, these approaches are often faced with the difficulty of generating high-quality masks [16] or recognizing multiple subjects in an image.

In this work, we tackle OVSS from the perspective of seeded segmentation [17], which comprises two stages: seed initialization to localize an object and region expansion to find similar features and segment the whole object. From this perspective, we draw connections between seeded segmentation and the capabilities of SAM and SD. Notably, the spatial text-image alignment capability of SD can be used for seed initialization; while, the spatial coherence modeling proficiency of SAM for region expansion. Specifically, we leverage the attention maps in SD to localize a queried category with initial seed. This initial seed is then passed to SAM as a point prompt to obtain a high-quality mask. The overall framework, dubbed Text-to-seed (T2S), is illustrated in Fig. 1.

Experimental results highlight the outstanding performance of our proposed framework across various datasets. We note that our framework is a plug-and-play framework that is designed for SAM and SD to be seamlessly incorporated in an off-the-shelf manner, without any additional training. The strong performance and flexibility of T2S corroborate our motivation and idea that draws connections with classical seeded segmentation, re-purposing SD for seed generation and SAM for region expansion.

References (100)

Couldn't load all references. Reload the page to try again.