Customized Multiple Clustering via Multi-Modal Subspace Proxy Learning

Jiawei Yao, Qi Qian, Juhua Hu

Introduction

Traditionally, data clustering is treated as a one-size-fits-all problem, but real-world data is inherently multi-faceted. Imagine a dataset of fruit: you might want to group them by species (apples vs. oranges) or by color (red vs. green).

Multi-Sub is a novel framework that allows users to steer data clustering using simple natural language prompts (e.g., "group these fruits by color"). By leveraging the semantic knowledge of large language models (like GPT-4) and the vision-language alignment of CLIP, it automatically constructs a custom feature subspace tailored to a user's specific interests. This approach significantly outperforms traditional unsupervised clustering methods by making the process both end-to-end and intuitively steerable.

Conceptual overview of Multi-Sub clustering fruits by user-prompted color.

The Challenge of Customized Clustering

Traditional "Multiple Clustering" algorithms attempt to find different perspectives automatically. However, they often leave the user with a "black box" of results, requiring manual effort to figure out which clustering represents which attribute.

Recent deep learning approaches have tried to use vision-language models like CLIP to help, but they often require users to provide complex "contrastive concepts" or involve clunky two-stage processes that separate feature learning from the actual clustering. The authors of this paper tackle the challenge of customization: how can we build a clustering system that adapts flexibly to diverse, user-specific needs without requiring manual sorting of the output?

The Multi-Sub Framework

The authors introduce Multi-Sub, which operates through a multi-modal subspace proxy learning framework. The process follows a clever two-phase iterative loop:

  1. The LLM as a "Low-Cost Expert": When a user provides a high-level interest (e.g., "color"), the system queries an LLM like GPT-4 to generate a set of "reference words" (e.g., red, yellow, green, blue).
  2. Phase I: Proxy Learning and Alignment: These reference words act as a "basis" for a specific feature subspace. Multi-Sub uses a learnable "latent factor" to calculate weights for these words. It then creates a "proxy word" embedding—a linear combination of the reference words—and uses CLIP’s encoders to align the visual features of an image with this custom textual proxy.
  3. Phase II: Clustering Refinement: Once the alignment is established, the system uses the learned proxies to generate pseudo-labels. It then refines the image encoder’s projection layer using a specialized clustering loss that balances intra-cluster compactness and inter-cluster separation.
The two-phase architecture of the Multi-Sub framework.

By alternating between these two phases, the model ensures that the visual features are not just aligned with the text, but are also structurally optimized for distinct grouping.

Core Innovations

  • Subspaces as a Safety Net: One of the most interesting ideas is using reference words as a basis rather than a fixed set of labels. Even if the LLM fails to list every possible color in a dataset, the "proxy word" (as a linear combination) can still capture the nuances of the visual data within that semantic subspace.
  • The Power of Iteration: Unlike previous methods that learn representations first and cluster later, Multi-Sub’s iterative approach allows the clustering objective to "feedback" into the feature alignment, leading to much sharper cluster boundaries.
  • Encoder Sensitivity: The paper reveals that the choice of the underlying vision-language model matters. For example, they found that the ALIGN model's encoder was better at capturing abstract attributes like "emotion," while CLIP excelled at "identity" and complex object categorization.

Evaluation and Key Results

The researchers evaluated Multi-Sub on a diverse range of visual datasets with multiple ground-truth "views," including Fruit & Fruit360 (color/species), Stanford Cars (color/type), Card (rank/suit), CMUface (emotion/glasses/identity/pose), Flowers (color/species), and CIFAR-10 (type/environment).

Multi-Sub consistently outperformed seven state-of-the-art baselines (including MSC, AugDMC, and Multi-MaP) across nearly every metric:

  • Superior Accuracy: On the Fruit dataset, Multi-Sub achieved a near-perfect Rand Index (RI) of 0.9964 for color and 1.0000 for species.
  • Handling Complexity: On the CMUface dataset, which is notoriously difficult due to its four overlapping views, Multi-Sub showed massive gains. In the "Identity" view, it jumped from a baseline Normalized Mutual Information (NMI) of ~0.66 to 0.7441.
  • Zero-Shot Superiority: The authors compared Multi-Sub against "Zero-Shot CLIP" (using GPT-4 labels directly). Multi-Sub won decisively, proving that learning the subspace is far more effective than simply relying on pre-trained label matching.

Limitations and Future Work

While highly effective, the method relies heavily on the quality of the "reference words" from the LLM. If the LLM has inherent biases or lacks specific domain knowledge, the clustering quality could suffer. Additionally, for non-semantic attributes like "Identity" (where names are just arbitrary strings), the LLM cannot provide meaningful reference words. In these cases, the authors had to fall back to using random words from WordNet, suggesting a need for better ways to handle non-semantic attributes. Finally, testing the computational efficiency of this iterative approach on web-scale datasets remains a future challenge.

Summary updated

BibTeX
@inproceedings{yao2024customized,
  author = {Jiawei Yao and Qi Qian and Juhua Hu},
  title = {{Customized Multiple Clustering via Multi-Modal Subspace Proxy Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=xbuaSTqAEz},
}
Figure