arXiv:2611.02686cs.CVNov 2026

Manuscript Offprint

arXiv:2611.02686

Discovering Semantic Granularity in Images through Clustering of Pretrained Visual Representations

Ying Dai

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Semantic granularity, which refers to the levels at which visual representations organize image content into meaningful entities, is fundamental to image understanding. However, whether pretrained visual representations inherently encode semantic structures at multiple granularities remains poorly understood. This paper presents a representation-driven approach for discovering semantically meaningful image regions at different granularities through clustering of pretrained visual representations without semantic supervision. Specifically, we concatenate selected feature maps extracted from a pretrained visual model and apply a singular value decomposition (SVD)-based projection to derive pixel-wise principal representation maps (PRMs). The resulting PRMs capture implicit semantic structures embedded in pretrained visual representations, making them accessible to subsequent semantic clustering. We then introduce the semantic continuity rate (SCR), based on the silhouette principle, to quantify the coherence of pixel-wise representations within and between clusters at different candidate granularities. Furthermore, we analyze the signal-to-noise ratio (SNR) of SCR profiles to assess representation suitability for discovering semantic regions at multiple granularities. Our results indicate that PRMs exhibiting higher SNR values over an initial range of cluster numbers tend to yield more semantically meaningful regions across multiple granularities. We evaluate the proposed approach on the COCO-2017 and VOC-2012 validation datasets using Hungarian-matched intersection over union (HIoU). The results demonstrate competitive segmentation performance among the compared methods, supporting the feasibility of discovering useful semantic granularities through clustering PRMs without semantic supervision.

1. Introduction

Visual understanding requires organizing an image into meaningful entities at different levels of abstraction. A scene may be interpreted as a collection of objects and stuffs, while an object may further be decomposed into parts or finer semantic components. This multi-level organization, referred to here as semantic granularities, is fundamental to visual perception because the appropriate level of interpretation depends on the visual context and the task. Although deep visual models are trained for recognition or representation learning, their intermediate features often preserve richer spatial and semantic information than is required by their training objectives. This raises a fundamental question: do pretrained visual representations inherently encode multiple levels of semantically coherent organization, and can these levels be discovered without semantic supervision?

Unsupervised image segmentation has advanced through graph-based clustering and pretrained visual representations. Jiao et al. [1] integrated high-level features with superpixels and graph clustering, but their approach may be limited by superpixel quality and handcrafted cues. Current studies investigate semantic information emerging in pretrained representations. Zadaianchuk et al. [2] exploited self-supervised object-centric representations. DiffCut [3] combined diffusion features with recursive normalized cuts for zero-shot semantic segmentation, and DeepCut++ [4] integrated feature fusion and diffusion-based graph refinement. DiffSeg [5] proposed to utilize the self-attention layers in stable diffusion models for unsupervised segmentation because the pre-trained stable diffusion model has learned inherent concepts of objects within its attention layers. MaskCut [6] proposed a simple approach of Cut-and-Learn for training unsupervised object detection and segmentation models. They leverage the property of self-supervised models to discover objects without supervision. Although these methods demonstrate the potential of pretrained representations, their primary objective is generally to obtain a segmentation of a particular image, rather than to investigate whether a pretrained representation itself contains multiple intrinsic levels of semantic organization.

More recent methods have advanced unsupervised semantic segmentation by learning dense features specifically for clustering. PiCIE [7], for example, incorporated invariance and equivariance constraints to learn pixel-level representations that support semantic clustering in complex, multi-object scenes. STEGO [8] instead distilled semantic correspondences from self-supervised features into a segmentation model, demonstrating that pretrained representations can contain dense semantic information even without human annotations. These methods have shown that pretrained visual features can support surprisingly strong semantic segmentation. Nevertheless, they generally optimize the representation or segmentation model toward a desired segmentation objective. Consequently, the granularity of the resulting grouping is largely treated as a property of the task or model, rather than as a phenomenon to be discovered from the representation itself.

The issue of granularity becomes particularly important in hierarchical segmentation. Ke et al. [9] recognized that unsupervised semantic segmentation is inherently ambiguous because meaningful groupings can occur at different levels of granularity. Their Hierarchical Segment Grouping therefore learns representations that support consistent grouping across multiple levels. Similarly, recent hierarchy-agnostic approaches seek to construct semantic region hierarchies from latent representations without imposing a predefined semantic hierarchy [10]. These studies establish that visual representations can support hierarchical organization and that multiple grouping levels are meaningful. However, they primarily formulate the problem as learning or constructing a hierarchical segmentation system. The more basic question of whether multiple semantic granularities are already latent in a pretrained visual representation, and how such granularities can be identified directly from its intrinsic organization, remains less explored.

Self-supervised visual representation learning provides further evidence that deep features can encode semantic structure beyond their explicit training objectives. DINO showed that self-supervised vision Transformer features can exhibit information about object and semantic segmentation, despite being learned without semantic labels [11]. TokenCut exploited these self-supervised transformer features for unsupervised object discovery through graph-based normalized cuts [12]. Such results suggest that pretrained representations may organize image content according to meaningful visual entities. However, these approaches typically focus on discovering a salient object or a predefined type of segmentation, rather than systematically examining how the representation behaves as the desired number of regions changes. Thus, they provide limited insight into whether a single representation can naturally support multiple semantic granularities ranging from coarse objects to finer structures.

Recently, Kim et al. [13] leveraged causal inference and concept-wise self-supervised learning to discover semantic regions at multiple granularities, but depend on heuristic concept merging. Yu et al. [14] extend SAM 2 [15] with self-supervised granularity control, yet rely on a pretrained foundation model rather than independently discovering semantic granularity from pretrained visual representations.

Dai [16] found that pixel-wise latent feature representations derived from EfficientNet-B0 [17], a convolutional neural network (CNN), could yield high-quality ingredient segmentation in food images without semantic supervision. This finding motivates a different perspective: we consider it a basis for capturing the implicit semantic organization embedded in pretrained visual representations. If a representation genuinely encodes semantic structures at multiple levels, varying the number of clusters should reveal different partitions that remain internally coherent and externally distinguishable across multiple granularities. Conversely, a representation dominated by low-level appearance similarities may produce visually homogeneous regions that do not correspond to meaningful semantic entities.

In this paper, we propose a representation-driven approach to discovering semantically meaningful image regions at different granularities through clustering of pretrained visual representations without semantic supervision. Specifically, we concatenate appropriately selected feature maps from a pretrained visual model and apply a singular value decomposition (SVD)-based projection to derive pixel-wise principal representation maps (PRMs). The resulting PRMs capture implicit semantic structures embedded in pretrained visual representations, making these structures accessible to subsequent semantic clustering. By varying the number of clusters, the resulting partitions can reveal semantic regions at multiple granularities.

To assess the suitability of visual representations for this purpose, we introduce the semantic continuity ratio (SCR), based on the silhouette principle, to quantify the coherence of pixel-wise representations within and between clusters at different candidate granularities. We further investigate whether SCR profiles across different numbers of clusters can provide a criterion for identifying representations that support meaningful segmentation at multiple granularities. Specially, we analyze the signal-to-noise ratio (SNR), defined as the ratio of the mean to the sample standard deviation of SCR values over an initial range of cluster numbers. Our experimental results indicate that representations exhibiting higher SNR values tend to yield more semantically meaningful regions across multiple granularities. We evaluate the proposed approach on the COCO-2017 and VOC-2012 validation datasets using Hungarian-matched intersection over union (HIoU).

The main contributions of this paper are summarized as follows:

  1. We propose PRMs, constructed by concatenating hierarchical feature maps from pretrained visual models and applying an SVD-based projection. The resulting PRMs capture implicit semantic structures embedded in pretrained visual representations, making these structures accessible to subsequent semantic clustering.

  2. We introduce the SCR and an SCR-profile-based SNR analysis to assess the suitability of visual representations for discovering semantically meaningful image regions at multiple granularities without semantic supervision.

  3. We evaluate the proposed approach on the COCO-2017 and VOC-2012 benchmarks using HIoU. The results demonstrate the competitive segmentation performance among the compared methods, supporting the feasibility of discovering useful semantic granularities through clustering PRMs without semantic supervision.

References (20)