[Paper Review] GATCluster: Self-Supervised Gaussian-Attention Network for Image Clustering
GATCluster proposes a self-supervised Gaussian-attention network that directly predicts semantic cluster labels without post-processing, using four unsupervised learning tasks—transformation invariance, separability maximization, entropy regularization, and attention mapping—to learn one-hot encoded features and avoid trivial solutions. The method achieves state-of-the-art performance on image clustering benchmarks and efficiently handles large-size images via a memory-efficient two-step training strategy.
We propose a self-supervised Gaussian ATtention network for image Clustering (GATCluster). Rather than extracting intermediate features first and then performing the traditional clustering algorithm, GATCluster directly outputs semantic cluster labels without further post-processing. Theoretically, we give a Label Feature Theorem to guarantee the learned features are one-hot encoded vectors, and the trivial solutions are avoided. To train the GATCluster in a completely unsupervised manner, we design four self-learning tasks with the constraints of transformation invariance, separability maximization, entropy analysis, and attention mapping. Specifically, the transformation invariance and separability maximization tasks learn the relationships between sample pairs. The entropy analysis task aims to avoid trivial solutions. To capture the object-oriented semantics, we design a self-supervised attention mechanism that includes a parameterized attention module and a soft-attention loss. All the guiding signals for clustering are self-generated during the training process. Moreover, we develop a two-step learning algorithm that is memory-efficient for clustering large-size images. Extensive experiments demonstrate the superiority of our proposed method in comparison with the state-of-the-art image clustering benchmarks. Our code has been made publicly available at https://github.com/niuchuangnn/GATCluster.
Motivation & Objective
- To address the challenge of learning discriminative semantic features for unsupervised image clustering without relying on intermediate feature extraction or post-processing.
- To avoid trivial clustering solutions where all samples are assigned to a single cluster by enforcing entropy maximization and $l_1$-norm constraints on label features.
- To improve object-oriented semantic understanding in clustering by integrating a parameterized attention mechanism sensitive to local discriminative regions.
- To enable effective training on large-size images (e.g., $128\times 128$ and above) through a memory-efficient two-step learning algorithm that uses statistical pseudo-targets.
- To develop a fully self-supervised framework where all training signals are generated during training, eliminating the need for external supervision.
Proposed method
- The model directly outputs one-hot encoded label features via a Label Feature Theorem, ensuring that the learned features are suitable for clustering and avoiding trivial solutions.
- Four self-learning tasks are designed: (1) transformation invariance to maximize similarity between augmented views of the same image; (2) separability maximization to enhance both similarity and discrepancy between sample pairs; (3) entropy analysis with $l_1$-norm constraint to promote even distribution of samples across clusters and avoid collapse; and (4) a parameterized Gaussian kernel-based attention module with soft-attention loss to highlight discriminative local regions.
- A two-step learning algorithm is proposed: first, pseudo-targets are computed in a split-and-merge fashion over a large batch; second, the model is trained in mini-batches using these pseudo-targets in a supervised manner, enabling memory efficiency.
- All loss functions are optimized simultaneously rather than in an alternating fashion, improving training stability and convergence.
- The attention mechanism uses a differentiable Gaussian kernel to generate high-resolution attention maps, with ablation studies showing optimal performance at $6\times 6$ resolution.
Experimental results
Research questions
- RQ1Can a self-supervised deep clustering model directly predict semantic cluster labels without intermediate feature extraction or post-processing?
- RQ2How can trivial solutions—such as collapsing all samples into one cluster—be effectively avoided in unsupervised deep clustering?
- RQ3To what extent does an attention mechanism that highlights local discriminative regions improve object-oriented semantic clustering?
- RQ4Can the proposed method scale to large-size images (e.g., $128\times 128$) while maintaining high clustering accuracy and memory efficiency?
- RQ5How do different image sizes and attention map resolutions affect the final clustering performance?
Key findings
- On STL10, GATCluster achieves an accuracy of 0.583 (best), 0.537 (mean), and 0.033 (std), outperforming state-of-the-art methods.
- On ImageNet-10, the model achieves 0.762 (best) and 0.735 (mean) accuracy at $128\times 128$ image size, with a significant improvement over $96\times 96$ inputs.
- The $6\times 6$ attention map resolution yields the best performance, with 0.762 (best) and 0.735 (mean) accuracy, outperforming coarser and finer resolutions.
- Clustering performance plateaus or degrades beyond $128\times 128$ due to increased model depth and limited dataset size, indicating a trade-off between image resolution and model capacity.
- The ablation study confirms that all four components—transformation invariance, separability, entropy, and attention—contribute to performance, with the full model setting achieving the best results.
- The two-step learning algorithm enables effective training on large images by reducing memory consumption, making it feasible to process images larger than $96\times 96$.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.