TL;DR
Existing deep clustering models often stall by over-learning "easy" samples in high-density regions while neglecting complex, diverse data points. This paper introduces a plug-and-play module that uses density-aware initialization to balance cluster prototypes and a dynamic sample selection strategy to prune "well-learned" samples. Together, these techniques boost clustering accuracy by up to 6.1% and improve training efficiency by 1.3x.
What Problem Does This Paper Address?
Deep clustering aims to group unlabeled data by learning representative features and cluster assignments simultaneously. However, the authors identify a fundamental flaw in current approaches: they treat every sample as equally important.
In reality, data distributions are rarely uniform. Most datasets contain "high-density" regions filled with simple, redundant samples (e.g., a truck viewed from a standard side-on angle). Because these samples are so numerous, they dominate the learning process. The model quickly masters these easy patterns but fails to capture the "low-density" regions containing complex, diverse, or atypical samples (e.g., a truck viewed from a weird angle or in low light).
This imbalance leads to a model that is overfit to the "boring" majority and blind to the "interesting" minority. As shown above, standard models struggle significantly with low-density samples, whereas the proposed approach maintains much higher accuracy across all density levels.
Methods
The authors propose a two-stage "plug-in" approach that can be added to almost any existing deep clustering architecture:
1. Density-Aware Clustering Head Initialization (DACHI)
Standard methods initialize cluster centers (prototypes) by simply averaging features, which inherently biases the center toward the most densely packed, redundant samples.
To counter this, the paper uses $k$-nearest neighbor ($k$-NN) distances to estimate local density. It then weights each sample’s contribution to the initial cluster centers inversely to its density. This ensures that low-density, diverse samples have a significant say in where clusters start, preventing the initial bias toward redundant data and shifting the prototype to a more representative center.
2. Dynamic Sample Selection (DSS)
To improve training efficiency and focus, the authors developed a way to identify when a sample has been "sufficiently learned" without needing ground-truth labels. They look at two metrics:
- Prediction Consistency: Does the model give the same prediction for a "weakly augmented" version of an image versus a "strongly augmented" one?
- Stability: They track the "acceleration" (second-order difference) of this consistency over three epochs. If the consistency is high and stable, and the pseudo-label hasn't changed, the sample is temporarily "excluded" from training.
This dynamic pruning allows the model to reallocate its "learning capacity" toward unstable, under-learned samples.
Datasets
The researchers evaluated their method on a wide variety of benchmarks to ensure broad applicability:
- Natural Images: CIFAR-10, CIFAR-20, STL-10, ImageNet-10, ImageNet-Dogs, and Tiny-ImageNet.
- Non-Natural Images: COIL-20 (objects with complex manifold structures).
- Non-Image Data: CNAE-9 (text), Semeion (handwritten digits), and News20 (text).
Key Insights and Ideas
- Redundancy is a Bottleneck: The "aha moment" here is that more data isn't always better if that data is redundant. By identifying and ignoring samples the model already "understands," the model actually becomes more discriminative.
- Stability as a Proxy for Truth: In unsupervised learning, you don't have labels to tell you if the model is right. However, if the model’s opinion of a sample stops fluctuating even when the sample is heavily distorted (strong augmentation), that stability is a highly reliable indicator that the sample is well-learned.
- Initialization Matters: A bad start is hard to fix. By balancing the initial cluster prototypes to account for density, the model avoids getting stuck in local optima dominated by high-density clusters.
Key Results
- Performance Boost: When added to the "CC" (Contrastive Clustering) baseline, the method improved accuracy by 6.1%. Even when added to the current state-of-the-art "CDC" method, it provided a consistent 1.1% gain.
- Efficiency Gains: By pruning well-learned samples, the model performs fewer gradient updates over time. This resulted in an average training speedup of 1.3x.
- Robustness: The method proved effective across different modalities (images and text), suggesting that the "samples are not equal" philosophy is a general property of data distributions, not just a quirk of computer vision.
Limitations and Future Work
- Hyperparameter Sensitivity: The pruning threshold requires careful tuning. If set too high (aggressive pruning), the model might discard valuable training samples before it has truly mastered them, leading to performance degradation.
- K-Means Assumptions: The initialization strategy still relies on a K-Means step, which assumes clusters are somewhat spherical and balanced. For extremely non-convex data (like the COIL-20 dataset), the authors had to swap K-Means for Spectral Clustering to get the best results.
- Future Directions: The authors suggest exploring more sophisticated ways to "re-include" samples if the model's feature space shifts significantly later in training, ensuring that "stable" samples don't become "unstable" again without the model noticing.
Summary updated