Agent-Centric Personalized Multiple Clustering with Multi-Modal LLMs

Ziye Chen, Yiqun Duan, Riheng Zhu, Zhenbang Sun, Mingming Gong

TL;DR

This paper introduces a novel framework for personalized multiple clustering that leverages Multi-Modal Large Language Models (MLLMs) as intelligent agents. By utilizing the deep contextual reasoning of MLLMs to generate interest-biased embeddings and guide graph traversal, the system can partition the same dataset in multiple distinct ways based on abstract user preferences (e.g., sorting fruits by color vs. species), outperforming previous CLIP-based state-of-the-art models by over 140%.

What Problem Does This Paper Address?

Traditional clustering algorithms partition data from a single, fixed perspective. However, real-world data is inherently multi-faceted. For example, a dataset of fruits can be validly clustered by species (apples vs. bananas) or by color (red vs. yellow vs. green).

Personalized multiple clustering aims to deliver diverse data partitions tailored to specific user interests. Prior approaches integrated CLIP embeddings with proxy learning to bias data representations toward user preferences. However, CLIP is limited by its coarse-grained image-text alignment; it struggles to capture fine-grained, nuanced, or highly abstract user-specified aspects. It lacks the deep contextual reasoning required to understand why certain items belong together under a specific user-defined lens.

Figure 1: The workflow of the proposed agent-centric multiple clustering framework, which obtains a personalized clustering by using MLLMs as agents to traverse a relational graph based on user preferences. The relational graph is constructed from MLLM embeddings biased toward user interests.

Methods

The authors propose an agent-centric framework that shifts the clustering burden from rigid mathematical distance metrics to LLM-driven semantic reasoning. The pipeline consists of three main phases:

  1. MLLM-Based Graph Construction: The framework prompts an MLLM (LLaVA finetuned with LoRA) to describe an image based strictly on the user's interest (e.g., "Describe the color of the fruit..."). The model appends a special <embedding> token, and the hidden state of this token is projected to form a user-interest-biased data embedding. By computing pairwise similarities and pruning weak edges below a threshold ($\tau = 0.6$), they construct a sparse, high-quality relational graph.
  2. Agent-Centric Graph Traversal: The connected components of the graph are treated as independent subgraphs. MLLM agents are deployed in parallel to traverse these components. An agent selects the highest-degree node as a "seed" to initialize a cluster and iteratively evaluates neighboring nodes.
  3. Agent-Based Membership & Merging: For each candidate neighbor, the agent uses its reasoning capabilities to decide if the item fits the cluster based on the user's criteria. Once local traversal finishes, a global agent reviews all discovered clusters and merges semantically redundant ones.

To train the MLLM, the authors implement a pipeline using GPT-4 to generate high-quality captions and similarity pseudo-labels via hard negative mining.

Figure 2: Overview of the Agent-Centric Personalized Multiple Clustering Framework. (a) MLLM- based graph construction, where image embeddings are extracted using MLLM based on user interests, from which a relational graph is constructed. (b) Agent-centric graph traversal, where agents search for clusters by traversing the graph. (c) Rollout of the graph traversal process, where agents expand cluster iteratively by assessing neighboring nodes based on user-defined criteria.

Datasets

The framework was evaluated on five publicly available multiple-clustering visual benchmarks:

  • Card: 8,029 playing card images clustered by order (Ace–King) or suits (clubs, diamonds, hearts, spades).
  • CMUface: 640 facial images annotated for pose, identity, sunglasses, and emotion.
  • Fruit: 105 images clusterable by species or color.
  • Fruit360: 4,856 images extending the Fruit dataset with more species and color variations.
  • CIFAR10-MC: 60,000 images grouped by type (transportation vs. animals) or environment (land, air, water).

Key Insights and Ideas

  • Context-Aware Embeddings Beat Static Ones: Moving from static embeddings (like CLIP) to prompt-conditioned MLLM hidden states allows the representation space to dynamically warp depending on what the user cares about.
  • Graph Sparsification Enables LLM Agents: Running an LLM agent to evaluate every node pair in a dense graph is computationally prohibitive. Using the MLLM's own interest-biased embeddings to filter out weak edges creates a sparse graph, dramatically shortening the agent's traversal path.
  • Built-in Error Correction: The combination of local agent traversal (which prunes false-positive edges) and global cluster merging (which recovers false-negative disconnections) acts as a robust, two-tier error correction mechanism.

Key Results

The proposed method achieved massive performance leaps over recent state-of-the-art models like Multi-Map and Multi-Sub across all benchmarks, measured by Normalized Mutual Information (NMI) and Rand Index (RI):

  • Card Dataset: Achieved NMI scores of 0.9667 for order-based clustering and 0.9481 for suits-based clustering, representing a >140% improvement over the previous SOTA.
  • Fruit Dataset: Attained a perfect 1.0000 NMI and RI for both color and species clustering.
  • Efficiency Gains: Ablation studies showed that MLLM-based embeddings cut down the required agent traversal steps significantly. On Fruit360 (color aspect), traversal completed in 6,404 steps using MLLM embeddings compared to 14,821 steps when using CLIP embeddings.

Limitations and Future Work

The primary limitation acknowledged by the authors is the framework's reliance on a powerful, proprietary teacher model (GPT-4) to generate the initial pseudo-labels and captions required to train the MLLM embedding extractor and agent.

Future work will focus on leveraging stronger, fully open-source MLLMs capable of generating their own self-supervised signals. This would eliminate the dependency on external APIs, making the pipeline entirely autonomous, scalable, and cost-effective.

Summary updated

BibTeX
@misc{chen2025agent,
  author = {Ziye Chen and Yiqun Duan and Riheng Zhu and Zhenbang Sun and Mingming Gong},
  title = {{Agent-Centric Personalized Multiple Clustering with Multi-Modal LLMs}},
  year = {2025},
  eprint = {2503.22241},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.22241},
}
Figure