Abstract
Unsupervised image classification aims to categorize images without human-provided labels, a task often hindered by the "mismatch" problem. Traditional sequential methods learn embeddings without classification context, while joint methods often converge on trivial features like color. This paper introduces a novel two-stage framework that first organizes the feature space through sample specificity learning and then refines class boundaries using a joint optimization stage with a new consistency loss. This approach achieves a significant performance leap, notably boosting CIFAR-10 accuracy from 61.7% to 81.0%.
Introduction: The Mismatch Problem
Unsupervised image classification is a fundamental challenge in computer vision. Existing approaches generally fall into two categories, both of which suffer from inherent limitations:
- Sequential Methods: These models first learn a low-dimensional embedding and subsequently apply a clustering algorithm (e.g., k-means). Because the embedding stage is agnostic to the eventual classification task, it often fails to separate semantic classes effectively.
- Joint Methods: These attempt to learn embeddings and class assignments simultaneously. However, starting from a random initialization often leads the model to latch onto "trivial" features such as background color or brightness. These incorrect early gradients corrupt the embedding, trapping the model in a suboptimal state.
Methodology
The proposed framework addresses these issues by decoupling the initial feature organization from the final class assignment through a two-stage process.
Stage 1: Unsupervised Deep Embedding
Instead of joint optimization from scratch, the model begins with Super-AND (an extension of Anchor Neighborhood Discovery). This stage focuses on sample specificity learning, treating every image as its own unique class. This forces the network to learn rich, discriminative features that distinguish images based on visual similarity, creating a well-organized feature space before any clustering begins.
Stage 2: Unsupervised Class Assignment
Once the embedding space is organized, the model enters a joint optimization phase using three primary components:
- Mutual Information (MI) Loss: Ensures clusters are distinct and prevents the model from collapsing all images into a single class.
- Consistency Preserving Loss ($L_{cp}$): A key novelty that penalizes the model if an original image and its augmented version (e.g., rotated or cropped) are assigned to different regions in the embedding space.
- Normalized Fully-connected Layer (Norm-FC): By L2-normalizing weights, the model treats class weights as prototypes on a unit sphere, stabilizing classification and reducing internal covariate shifts.
Experimental Results
The framework was evaluated on standard benchmarks, demonstrating substantial improvements over previous state-of-the-art (SOTA) methods:
- CIFAR-10: Achieved 81.0% accuracy, a 19.3 percentage point increase over the previous SOTA (IIC).
- CIFAR-100-20: Reached 35.3% accuracy, improving by 9.6 percentage points.
- STL-10: Achieved 66.5% accuracy, a 6.9 percentage point gain.
Beyond accuracy, the model proved highly efficient. While previous methods like IIC required 2,000 epochs to converge, this two-stage approach achieved superior results in only 300 epochs. Furthermore, using this framework as a pretraining step for semi-supervised learning (e.g., Mean Teacher) significantly outperformed training from scratch.
Conclusion
The success of this two-stage paradigm highlights that initialization is critical in unsupervised learning. By organizing the embedding space before introducing the pressure of classification, the model avoids the trap of trivial feature clustering. While semantic confusion remains between highly similar categories (e.g., cats vs. dogs), this framework sets a new benchmark for label-free image categorization and provides a robust foundation for future low-label regime tasks.
Summary updated