Interpretable Text-Guided Image Clustering via Iterative Search

Bingchen Zhao, Oisin Mac AodhaarXiv 2025 · DOI

Abstract

Iterative Text-Guided Clustering (ITGC) is a novel framework designed to cluster unlabeled images based on high-level natural language instructions. By leveraging Large Language Models (LLMs) to iteratively discover and refine human-readable visual concepts, ITGC creates an interpretable "concept bottleneck" space. This approach allows for fine-grained image grouping that aligns with user intent, outperforming traditional black-box clustering methods in both accuracy and interpretability without requiring labeled training data.

Introduction: The Challenge of Ill-Posed Clustering

Clustering is inherently ambiguous. A dataset of colored shapes could be grouped by color, size, or geometry, and without explicit guidance, algorithms often select criteria that do not align with human needs. While recent "text-guided" methods attempt to address this by incorporating user instructions, they typically operate in abstract embedding spaces (e.g., CLIP's latent space). This lack of interpretability makes it difficult to understand the reasoning behind cluster assignments and often fails to capture the fine-grained visual nuances necessary for complex tasks like identifying specific bird species.

Methodology: Iterative Concept Discovery

ITGC treats clustering as an iterative search for the optimal interpretable feature space. The framework employs a four-step feedback loop to refine the clustering criteria based on a user's high-level query.

The ITGC framework architecture illustrating the iterative loop between concept generation, encoding, and evaluation.
  1. Concept Generation: An LLM (the "Concept Generator") interprets the user's query and generates a list of measurable visual attributes such as "Beak Shape" or "Head Color."
  2. Concept Encoding: A Vision-Language Model (VLM) like CLIP or LLaVA acts as a "Concept Encoder," scoring each image against these attributes to transform them into a semantic feature space.
  3. Clustering & Evaluation: Standard k-means clustering is performed on these scores. The quality is assessed using the Silhouette score, an unsupervised metric measuring cluster separation.
  4. Iterative Refinement: The LLM receives the previous concepts and their scores as feedback, mutating and evolving the concept list to better capture the data's underlying structure.

Experimental Results

The researchers evaluated ITGC across diverse datasets, including multi-criteria challenges (e.g., Stanford 40 Actions, Clevr-4) and fine-grained classification tasks (e.g., CUB-200 birds, Stanford Cars).

Performance comparison of ITGC against various baselines across multiple datasets and criteria.

Key Findings

  • Superior Accuracy: ITGC consistently outperformed baselines. On the CUB-200 dataset, it achieved 57.8% accuracy, surpassing zero-shot CLIP (51.4%) and specialized discovery methods like SimGCD (53.4%).
  • Interpretability as a Core Feature: By forcing clustering through a "Concept Bottleneck," results are self-explanatory. Users can inspect "Activated Concepts" to understand the specific traits driving the grouping.
  • Iterative Improvement: Performance steadily improves over 10–15 iterations as the LLM refines the concept list based on mathematical feedback.
  • Flexibility: The model successfully adapts its clustering logic based on the prompt, such as switching between "Art Form" and "Object Category" for the same set of images.

Discussion and Future Work

The success of ITGC highlights the potential of LLMs as visual reasoners capable of bridging the gap between high-level intent and low-level pixel data. However, some limitations remain. Certain visual features are "ineffable" and difficult to describe in text, potentially creating a language bottleneck. Additionally, the iterative prompting process can be computationally intensive for very large datasets. Future research may explore incorporating visual prompts to define complex concepts and utilizing density-based clustering methods to handle unknown cluster counts.

Summary updated

BibTeX
@misc{zhao2025interpretable,
  author = {Bingchen Zhao and Oisin Mac Aodha},
  title = {{Interpretable Text-Guided Image Clustering via Iterative Search}},
  year = {2025},
  eprint = {2506.12514},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.12514},
}
Figure