TL;DR
Clustering unlabeled data is hard enough, but when a few massive "head" classes dwarf dozens of tiny "tail" classes, neural networks tend to let the giants swallow the underdogs. DPLC solves this by bringing nonparametric Bayesian statistics—specifically, a Dirichlet Process—into deep clustering, allowing the model to automatically discover sub-clusters and dynamically rebalance itself without any human-tuned thresholds or labels.
What Problem Does This Paper Address?
Standard deep clustering algorithms have a quiet secret: they implicitly assume your dataset is relatively balanced. In the real world, however, data almost always follows a long-tailed distribution—think of a wildlife camera trap with ten thousand photos of squirrels and only three of a snow leopard. Left to its own devices, a neural network optimizes for the majority, letting dominant head classes dictate the boundaries of the representation space while crushing minority tail classes into the margins.
In supervised learning, you can fix this by up-weighting rare labels. Without labels, you are flying blind. Existing unsupervised workarounds usually rely on rigid heuristics: drawing an arbitrary cutoff between "head" and "tail," or running K-means with a manually guessed number of auxiliary mini-clusters ($M$). Guess $M$ too low, and tail classes get absorbed into head clusters; guess too high, and head classes shatter into meaningless fragments. Real-world data is a continuous spectrum, not a binary split, and manual discrete guesses struggle to capture it.
Methods
The authors start with a standard frozen self-supervised backbone (like BYOL or DINOv3) to extract normalized feature embeddings, and attach a trainable linear clustering head. What is new is how they guide that head using DPLC (Dirichlet Process Guided Long-tail Clustering).
Every 15 epochs, DPLC pauses and runs a Chinese Restaurant Process (CRP) Gibbs sampler over the embeddings (modeled on a unit hypersphere via von Mises-Fisher distributions). Think of the CRP as an infinitely flexible clustering algorithm: data points sit at "tables" (sub-clusters) proportional to how crowded they already are, or start a brand-new table controlled by a concentration parameter $\alpha$. No one has to specify the number of sub-clusters in advance—the data's own geometry decides.
Turning this discrete Bayesian sampler into a smooth, end-to-end neural network trainer requires three clever bridges:
- Differentiable Optimization: Hard cluster IDs from a Gibbs sampler block gradients. DPLC treats the sampler as a fixed "stochastic teacher" and trains the clustering head to mimic it using a reinforcement-learning-style score-function estimator stabilized by a stop-gradient baseline.
- Dynamic Propensity Reweighting: The CRP naturally has a "rich-get-richer" bias, favoring big clusters. DPLC flips this on its head using Horvitz–Thompson inverse-propensity weighting: gradients from crowded sub-clusters are scaled down, while rare sub-clusters get amplified—smoothly and without hard cutoffs.
- Geometric Structure Preservation: Reweighting individual points in isolation can warp the global feature map. To anchor the space, an alignment loss forces two samples to have similar predicted assignments if and only if they frequently co-occurred in the same sub-cluster during Gibbs sampling.
Datasets
No new datasets are introduced; instead, the authors follow standard long-tailed clustering protocols by artificially skewing six classic vision benchmarks using exponentially decaying class sizes (with imbalance ratios $\rho$ of 5 and 10, meaning the largest class has $5\times$ or $10\times$ as many samples as the smallest):
- Small/Medium scale: CIFAR-10, CIFAR-20 (using CIFAR-100's 20 super-classes), and STL-10.
- Large scale: Tiny-ImageNet-LT, ImageNet-50-LT, and ImageNet-100-LT.
Key Insights and Ideas
- Overall accuracy can lie on imbalanced data. In ablation studies on severe CIFAR-10 ($\rho=10$), turning off the inverse-propensity reweighting actually made standard Clustering Accuracy (ACC) jump from 61.4% to 64.4%—while Class-Averaged Accuracy (CAA) collapsed by 8 points (down to 59.3%). Without reweighting, the model simply cheats by overfitting to massive head classes and sacrificing the tail.
- Truly "tuning-free" granularity. You might worry DPLC just trades K-means' cluster count $M$ for the Dirichlet concentration parameter $\alpha$. Remarkably, sweeping $\alpha$ from 2 to 12 smoothly shifts the number of discovered sub-clusters from 82 to 117, yet ACC barely budges, staying tightly locked between 61.1% and 61.5%.
- Bayesian inference doesn't break the clock. Because the feature encoder is frozen and embeddings are cached, running periodic CRP-Gibbs sweeps takes just 25 minutes out of a 1.2-hour total training run on CIFAR-10 on a single H100 GPU.
Key Results
DPLC establishes new state-of-the-art performance across nearly all benchmarks and imbalance ratios:
- CIFAR-10 ($\rho=5$ and $\rho=10$): At $\rho=5$, DPLC hits 65.7% ACC and 68.6% CAA (beating MiniClustering's 62.3% / 67.4%). Under severe imbalance ($\rho=10$), DPLC achieves 61.4% ACC and 67.3% CAA—leaping 9.1 percentage points in CAA ahead of the strongest prior method, proving the gains come directly from rescuing minority classes.
- STL-10 & CIFAR-20 ($\rho=10$): Reaches a state-of-the-art 54.0% ACC on STL-10 (up from 48.2%). On CIFAR-20, gains are smaller (37.8% ACC vs. ConMix's 41.7% ACC, though beating MiniClustering's 35.8%), as grouping 100 classes into 20 broad super-classes creates heavy intra-class ambiguity in the underlying embeddings.
- Large-Scale Datasets ($\rho=10$): Paired with a DINOv3 backbone, DPLC decisively leads across the board—reaching 59.4% ACC / 56.3% CAA on ImageNet-100-LT (vs. LFSS at 54.3% / 52.4%) and 30.9% ACC on Tiny-ImageNet-LT (vs. MiniClustering's 25.5%).
Limitations and Future Work
- Full-batch bottleneck: The CRP-Gibbs sampler currently requires periodic full-batch sweeps over cached features. While fast on standard benchmarks, this computational overhead makes it tough to scale to massive, continuous web-scale data streams.
- Garbage in, garbage out: Because the encoder is frozen after pre-training, DPLC can only reweight geometric structures that the upstream self-supervised model already separated. If pre-training fails to distinguish two tail classes, Bayesian modeling downstream cannot magically pull them apart.
- Future directions: The authors plan to explore online or amortized variational inference to eliminate the full-batch sampling bottleneck, and aim to extend DPLC to naturally imbalanced problems like open-set recognition and anomaly detection.
Summary updated