TL;DR
This paper introduces SATC, a novel image clustering framework that improves upon CLIP-based methods by incorporating spatial structural features and selectively filtering textual data. By using a Graph Attention Network to capture image patch relationships and a smart threshold to discard unhelpful text features, SATC achieves state-of-the-art clustering performance across 18 diverse datasets.
What Problem Does This Paper Address?
Image clustering aims to group unlabeled images into semantically meaningful categories. Recently, researchers have started using vision-language foundation models like CLIP to inject external "textual guidance" into the clustering process. By aligning images with descriptive text, models can form better clusters.
However, this approach has two major flaws:
- CLIP misses local structure: CLIP is trained to align global image representations with text. It lacks explicit mechanisms to capture fine-grained spatial structures—like an object's shape, pose, or the layout of its parts—which are crucial for distinguishing between visually similar categories.
- Text isn't always helpful: Existing methods assume text features universally improve clustering. In reality, forcing text guidance on certain datasets (like handwritten digits or facial expressions) introduces semantic noise and actively degrades performance.
Methods
To solve these issues, the authors propose SATC (Spatial Structure and Selective Text Jointly Facilitate Image Clustering), which relies on three key components:
-
Visual and Spatial Feature Extraction: Alongside standard CLIP visual features, SATC extracts spatial features. It uses a pre-trained ResNet-50 to break an image into patches, treating each patch as a node in a graph. A Graph Attention Network (GAT) then processes this graph to capture the relational dependencies (structural layout) between different regions of the image.
-
Compactness-Aware Textual Feature Selection: The model extracts candidate nouns for the images using WordNet and CLIP. It then calculates a "textual compactness" score ($\tau$). If the text features are highly clumped and redundant (low $\tau$), they are deemed unhelpful and discarded. If they show semantic diversity ($\tau > 0.33$), they are kept.
-
Tri-Modal Mutual Distillation: The visual, spatial, and (if selected) textual features are fed into separate Multi-Layer Perceptron (MLP) cluster heads. These heads train together via a mutual distillation framework, sharing knowledge through distillation, consistency, and entropy losses. Ultimately, the visual cluster head provides the final cluster assignments.
Datasets
The authors evaluated SATC on a massive suite of 18 benchmark datasets, covering a wide variety of domains. These include:
- General Objects: CIFAR-10, CIFAR-100, STL-10, ImageNet-10, TinyImageNet
- Fine-Grained Objects: Food101, Flowers, OxfordPets, ImageNet-Dogs
- Specialized Domains: MNIST & USPS (handwritten digits), Fashion-MNIST, FER2013 (facial emotions), EuroSAT & Resisc45 (satellite imagery), GTSRB (traffic signs), and DTD (textures).
No new datasets were introduced, but the breadth of the evaluation highlights the framework's versatility.
Key Insights and Ideas
- Forced text can be toxic to clustering: The authors proved that blindly adding text features hurts performance on datasets lacking rich semantic nouns. For example, the top nouns CLIP associates with the MNIST digit dataset include bizarre, unhelpful terms like "triskaidekaphobia" and "Tetragrammaton." SATC successfully identifies and ignores this noise.
- Spatial structure complements semantic vision: While CLIP provides excellent global semantics, the GAT-processed spatial patches provide structural cues that drastically improve intra-class grouping. They act as a structural anchor when visual semantics are ambiguous.
- The visual modality is the best "student": Even though spatial and text features provide vital guidance during the mutual distillation training process, the visual cluster head ultimately produces the most robust final assignments. Text acts as a "semantic teacher," but vision remains the core modality.
Key Results
- State-of-the-Art Accuracy: SATC consistently outperformed competing methods, achieving an average accuracy of 73.7% across all 18 datasets, compared to the text-enhanced TAC baseline (63.1%) and the visual-only CLIP baseline (59.4%).
- Massive Recovery on "Text-Hostile" Datasets: On the MNIST dataset, the previous SOTA text-based method (TAC) dropped to a dismal 39.8% accuracy due to semantic noise. By smartly ignoring the text and leveraging spatial features, SATC achieved 89.8% accuracy.
- High Efficiency: Despite adding spatial graph processing and a distillation framework, SATC generally runs faster than the TAC baseline while delivering significantly better accuracy, making it highly scalable.
Limitations and Future Work
- Threshold Generalization: The textual compactness threshold ($\tau = 0.33$) was empirically discovered based on aggregated trends across the 18 datasets. While the authors provide theoretical backing for the metric, this specific hardcoded threshold might require tuning if applied to wildly different, unseen domains.
- Future Directions: The authors suggest that future work could explore integrating even more diverse types of prior knowledge (beyond just text and spatial graphs) and developing more advanced fusion strategies to combine these modalities.
Summary updated