Organizing Unstructured Image Collections using Natural Language

Mingxuan Liu, Zhun Zhong, Jun Li, Gianni Franchi, Subhankar Roy, Elisa Ricci · DOI

Abstract

Researchers have introduced X-Cluster, a training-free framework that uses Large Language Models (LLMs) to automatically discover how to group unstructured image collections. By treating natural language as a "reasoning proxy," the system identifies diverse clustering criteria (like mood, activity, or location) and organizes images into interpretable categories without any prior human input. This approach addresses the challenge of Open-ended Semantic Multiple Clustering (OpenSMC), where the goal is to discover multiple, diverse ways to organize data without predefined labels.

Introduction

In the era of massive, unlabeled image datasets, a fundamental question arises: How should we group them? Traditional image clustering methods usually fall into two traps. "Deep Clustering" often produces numeric indices that are hard for humans to interpret. "Text-Conditioned Clustering," while more readable, requires a human to pre-define the categories (e.g., "group these by color"). But what if you don't know what's in your dataset?

The X-Cluster framework enables open-ended semantic clustering for various applications, including bias discovery in T2I models and social media popularity analysis.

The authors define this challenge as OpenSMC. The goal is to take a giant pile of images and automatically discover multiple, diverse ways to organize them (e.g., one view for "Time of Day," another for "Social Activity") without being told what to look for.

Methods

X-Cluster is a two-stage, training-free framework that leverages the reasoning power of Multimodal LLMs (like LLaVA) and standard LLMs (like Llama-3).

  1. The Criteria Proposer: Instead of looking at pixels directly, the system first uses an MLLM to generate detailed captions for the images. An LLM then analyzes these captions holistically to "propose" a pool of meaningful grouping criteria (e.g., "Hair Style," "Cuisine Type," or "Weather").
  2. The Semantic Grouper: For each discovered criterion, the system performs a multi-granularity assignment. It organizes the data at coarse (e.g., "Outdoor"), mid (e.g., "Recreation"), and fine-grained (e.g., "Tennis Court") levels.

By using text as an intermediary, the framework can perform complex reasoning that traditional visual encoders struggle with, such as identifying abstract themes like "Mood" or "Professionalism."

Key Results and Applications

The authors introduced two new benchmarks, COCO-4c and Food-4c, to test X-Cluster's performance on complex, real-world imagery. X-Cluster achieved a significantly higher True Positive Rate (TPR) in discovering valid grouping criteria compared to baseline methods. Even without prior knowledge of categories, it achieved a Clustering Accuracy (CAcc) of ~60% on average, closely matching "Oracle" models given ground-truth labels.

X-Cluster automatically discovers diverse criteria such as Activity, Location, Mood, and Time of Day to group images.

Beyond standard benchmarks, the framework demonstrated utility in real-world scenarios:

  • Discovering "Hidden" Biases: When applied to images generated by AI (like DALL-E 3), X-Cluster automatically uncovered biases, such as correlations between "CEO" and specific hair styles, going beyond standard gender/race audits.
  • Social Media Analysis: In a study of Flickr photos, X-Cluster identified that "dramatic" colors and "intense" emotions were key drivers of virality.

Discussion and Future Work

The "aha moment" of X-Cluster is that LLMs are currently better at high-level semantic reasoning than pure vision models. By converting images to rich text descriptions, the system can "think" about the dataset's structure globally. However, the authors acknowledge hurdles such as computational cost and the risk of LLM hallucinations. Future work suggests extending this "text-proxy" approach to other unstructured data types, such as audio or 3D point clouds, by using specialized captioning models.

Summary updated

BibTeX
@inproceedings{liu2026organizing,
  author = {Mingxuan Liu and Zhun Zhong and Jun Li and Gianni Franchi and Subhankar Roy and Elisa Ricci},
  title = {{Organizing Unstructured Image Collections using Natural Language}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=I0g0bh10ae},
}
Figure