Manuscript Offprint

arXiv:2610.33265

Image Clustering with Vision-Language Model Embeddings

João P. Matos-Carvalho, Nuno Fachada

Abstract

Pretrained vision–language models provide image representations whose suitability for clustering may vary with feature extraction, image domain, and partitioning algorithm. We compare nine representation pipelines across seven image benchmarks and four clustering configurations, yielding 252 baseline combinations. Eight pipelines extract visual features, including two vision-only references; the ninth generates descriptions and embeds the resulting text. With agglomerative clustering (Ward linkage) fixed, Qwen3-VL achieves the highest adjusted Rand index (ARI) on five datasets, including 0.925 on MNIST, while BLIP-2 leads on CIFAR-10 and CIFAR-100 with ARIs of 0.925 and 0.591, respectively. A separate sensitivity analysis compares raw and L2-normalized embeddings at their original dimensionality across all 63 dataset–representation pairs. Normalization preserves the highest-ARI representation in every dataset, increases ARI in 35 pairs, decreases it in 26, and leaves two numerically unchanged. On the SVHN dataset, the highest ARI remains low, rising from 0.097 to 0.098 after normalization. The evaluated caption-mediated pipeline obtains relatively high ARI on isolated digits but does not consistently exceed direct visual features. These findings support selecting and evaluating complete representation–clustering pipelines for the intended domain, with explicit attention to extraction and normalization choices.

Keywords: image clustering, vision–language models, image embeddings, multimodal representation learning, clustering evaluation

1. Introduction

Image clustering organizes an unlabeled collection by grouping images according to a representation of their content. This enables exploratory analysis without fitting a supervised classifier to the target categories. However, the category structure recovered by a clustering algorithm depends on the information emphasized by the representation. Images may be similar in background, shape, or color while depicting different objects, and the same collection can support several meaningful partitions. Research on semantic image clustering and text-guided alternative clustering illustrates these distinct aspects of the problem [1, 2].

Pretrained vision–language models (VLMs) provide representations that can be reused across image domains. CLIP learns from paired images and text [3], while SigLIP2 combines language supervision with additional objectives for visual representation learning [4]. Generative systems, including BLIP-2, LLaVA, and Qwen3-VL, also make visual features and image descriptions accessible through different components [5, 6, 7]. These models support distinct representation routes, including visual feature aggregation and encoding generated descriptions. The resulting vectors differ in the information available to downstream clustering.

Recent work has explicitly investigated these alternatives. Stephan et al. use image captioning and visual question answering to produce text representations for clustering, and show that prompts can introduce task or domain knowledge [8]. Instead, VLM2Vec and mmE5 train models to produce multimodal embeddings, emphasizing that embedding quality can be an explicit learning objective [9, 10]. Other approaches adapt the visual representation to clustering through cross-modal consistency or combine generative guidance with ensembles [11, 12]. These studies illustrate the different ways in which language and visual representations can be used to support image clustering.

A complementary empirical question concerns the behavior of available representations when no additional representation training is performed on the target datasets. This setting is relevant when computational or data constraints preclude model adaptation. Feature extraction and the clustering procedure then determine how pretrained representations are used. Comparisons within a single domain or a single partitioning algorithm cannot establish whether the same representation remains favorable for digits, characters, clothing, and natural objects. Similarly, retrieval-oriented embedding evaluations do not directly determine the class structure recovered by clustering.

Representation and algorithm choices for textual datasets have previously been examined [13]. The present work extends this comparative perspective to images by evaluating nine representation pipelines across seven datasets and four clustering configurations, yielding 252 dataset–representation–clustering combinations. These pipelines include visual features extracted from vision–language checkpoints, vision-only references, and a caption-to-text route. While the latter builds on an established paradigm [8], our contribution lies in systematically comparing these approaches over image domains and clustering algorithms. The unit of comparison is a specified extraction–clustering pipeline, rather than the best attainable clustering performance of each pretrained model.

We address four questions: (i) how do representations compare with the clustering algorithm held fixed; (ii) how do representation rankings vary with the clustering algorithm; (iii) how does caption-mediated representation compare with direct visual extraction in agreement with reference classes; and (iv) how sensitive are Ward agglomerative clustering-based comparisons to per-image L2 normalization? The 252 baseline dataset–representation–clustering combinations support a comparison of external agreement, internal cluster geometry, and recorded extraction time. The complementary normalization analysis comprises 63 paired comparisons at unchanged embedding dimensionality. The extraction components, pooling rules, and evaluation procedures define the specific pipelines under study. The comparison concerns fixed pretrained representations; it does not directly benchmark the trained clustering methods reviewed below.

References (39)