Keep It Light! Simplifying Image Clustering Via Text-Free Adapters

Yicen Li, Haitz Sáez de Ocáriz Borde, Anastasis Kratsios, Paul D. McNicholasarXiv 2025 · DOI

Abstract

Deep image clustering has recently trended toward increasingly complex, multimodal architectures that rely on Large Language Models (LLMs) and text-image pairs. We present Simple Clustering via Pre-trained models (SCP), a lightweight framework that challenges this trend. By training a minimal 5-layer MLP adapter on top of frozen, pre-trained vision backbones, SCP achieves state-of-the-art (SOTA) performance without the need for text encoders or compute-intensive training schemes. Our results demonstrate that "keeping it light" is not only more efficient—reducing training times to minutes—but often more effective than heavy, multimodal pipelines.

Introduction

The goal of deep clustering (DC) is to group images into semantically meaningful categories without human-provided labels. While early methods struggled with accuracy, recent breakthroughs have leveraged "heavy" machinery: text-image alignment (like CLIP), complex teacher-student architectures, and massive support sets. However, these trends introduce significant resource intensity, a dependency on text-image data that may not exist in specialized domains, and a high degree of hyperparameter complexity.

SCP addresses these issues by treating clustering as a simple "read-out" task. We demonstrate that if a vision model is sufficiently powerful, the additional text modality becomes redundant for semantic grouping. This approach allows for a unimodal, image-only pipeline that is both backbone-agnostic and highly efficient.

The SCP Framework

Architecture

SCP is designed for simplicity and speed. The framework consists of three main components:

  1. Frozen Backbone: A pre-trained vision encoder (e.g., CLIP, DINO, or SigLIP) remains frozen throughout training. This prevents gradients from flowing back into the massive model, drastically reducing memory requirements.
  2. Pair Construction: Following self-supervised learning principles, each input image is transformed into two augmented "views" ($T^a$ and $T^b$) using standard techniques like random cropping and Gaussian blur.
  3. Cluster Head: A lightweight 5-layer Multi-Layer Perceptron (MLP) projects the extracted features into a $K$-dimensional space, where $K$ represents the target number of clusters.
The SCP architecture: A frozen vision backbone extracts features from augmented views, which are then processed by a trainable MLP adapter for cluster assignment.

Optimization

Instead of the standard InfoNCE loss, which requires negative pairs and large batch sizes, SCP utilizes a three-part objective function:

  • Cross-Entropy: Maximizes the similarity between the cluster assignments of the two augmented views, ensuring consistency.
  • Confidence Loss: Encourages the model to produce "sharp" predictions, pushing assignments toward one-hot vectors.
  • Entropy Regularization: Prevents "model collapse" (where all images are assigned to a single cluster) by encouraging a uniform distribution across the available $K$ clusters.

Theoretical Foundation: The LAR Principle

A core contribution of this work is the Lossless Amortization Principle (LAR). The authors provide a theoretical proof suggesting that if a text description is derived from an image, then any classification task achievable with both modalities can—theoretically—be achieved using the image alone. This justifies the removal of the text encoder, as the semantic information required for clustering is already embedded within the high-quality features of modern vision backbones.

Experimental Results

SCP was evaluated across a diverse set of benchmarks, including standard datasets (CIFAR-10/100, STL-10), fine-grained categories (ImageNet-Dogs), and atypical domains (DTD textures, UCF-101 video frames).

Performance and Efficiency

SCP-MIX, which combines features from CLIP and DINO, achieved SOTA or near-SOTA results across nearly all benchmarks. Notably, it reached 98.0% accuracy on CIFAR-10, outperforming the previous text-guided SOTA (TAC) of 91.9%. On ImageNet-10, it reached 99.3% accuracy, effectively solving the dataset.

Beyond accuracy, the efficiency gains are remarkable. Training SCP on CIFAR-10 takes approximately one minute on a standard L4 GPU. This is a significant improvement over multimodal methods that require hours of training and massive hardware resources.

Qualitative and quantitative comparison: SCP improves cluster purity and alignment compared to raw CLIP features across STL-10 and CIFAR-10 datasets.

Visual Compactness

As shown in the qualitative results, SCP significantly increases "within-cluster compactness" and "between-cluster separability." While raw pre-trained features may show some semantic grouping, the SCP adapter refines these boundaries, leading to much cleaner cluster assignments and more accurate confusion matrices.

Conclusion and Future Work

SCP proves that image clustering does not require heavy multimodal machinery. By using a simple MLP adapter on top of frozen backbones, we achieve superior results with a fraction of the computational cost. While the method currently requires a pre-defined number of clusters ($K$) and relies on data augmentation, it sets a new baseline for efficiency in deep clustering. Future work will explore automatic cluster estimation and adaptation to "in-the-wild" datasets where semantic boundaries are less distinct.

Summary updated

BibTeX
@misc{li2025keep,
  author = {Yicen Li and Haitz Sáez de Ocáriz Borde and Anastasis Kratsios and Paul D. McNicholas},
  title = {{Keep It Light! Simplifying Image Clustering Via Text-Free Adapters}},
  year = {2025},
  eprint = {2502.04226},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.04226},
}
Figure