A probabilistic constrained clustering for transfer learning and image category discovery

Yen-Chang Hsu, Zhaoyang Lv, Joel Schlosser, Phillip Odom, Zsolt KiraarXiv 2018

Introduction

Deep clustering aims to learn feature representations and cluster assignments simultaneously. However, existing methods often struggle with scalability. The authors introduce Constrained Clustering Likelihood (CCL), a novel objective function that leverages pairwise constraints to achieve state-of-the-art performance in transfer learning and image category discovery. Unlike previous approaches, CCL is highly scalable, requires no hyper-parameter tuning, and remains robust as network depth and category counts increase.

The Scalability Walls of Deep Clustering

Traditional clustering methods like K-means are limited by fixed distance metrics in high-dimensional spaces. While deep clustering addresses this by using neural networks, popular Kullback-Leibler (KL) divergence-based approaches face two significant "scalability walls":

  1. Network Depth: Performance often degrades sharply when using deep backbone networks (e.g., transitioning from VGG8 to ResNet-101).
  2. Category Count: Accuracy drops significantly as the number of clusters increases beyond a small set (typically >10).

These limitations hinder the application of deep clustering to real-world tasks, such as discovering hundreds of new object categories in large-scale datasets.

Methodology: Constrained Clustering Likelihood (CCL)

The proposed CCL framework treats the neural network's output as a probability distribution $f_\theta(x)$ over $k$ clusters. The core idea is to model the probability that two images $x_i$ and $x_j$ belong to the same cluster using the dot product of their softmax outputs:

$$P(y_i = y_j) = f_\theta(x_i)^T f_\theta(x_j)$$

The model is trained by maximizing the likelihood of pairwise constraints. For "similar" pairs, the objective maximizes the probability of shared cluster membership; for "dissimilar" pairs, it maximizes the probability of different assignments. Notably, CCL is a pure negative log-likelihood (NLL) objective, eliminating the need for the "margin" parameters or weighting factors common in contrastive losses.

Experimental Results

Overcoming the Depth Wall

A key finding is that the failure of previous methods on deep architectures was a loss function issue rather than an architectural one. As shown in the table below, CCL maintains high accuracy even on a 101-layer PreActResNet, where previous state-of-the-art methods (KCL) collapsed.

Performance stability across network depths

Scaling to Many Categories

CCL also demonstrates superior performance when handling a large number of classes. On the CIFAR-100 dataset, CCL achieves 64.0% accuracy, nearly matching the supervised cross-entropy upper bound and significantly outperforming KCL.

Scalability to high category counts

Transfer Learning and Category Discovery

The researchers further validated CCL on ImageNet-118 and Omniglot. In unsupervised transfer learning tasks, CCL outperformed specialized clustering algorithms in both accuracy and Normalized Mutual Information (NMI). On Omniglot, CCL established a new state-of-the-art with 83.3% accuracy for character discovery, demonstrating its effectiveness in cross-task transfer.

Conclusion

Constrained Clustering Likelihood (CCL) provides a robust and scalable solution for deep clustering. By replacing KL-divergence with a direct likelihood formulation, the authors have bridged the gap between shallow and deep architectures for clustering tasks. Future work will focus on improving constraint quality in unsupervised settings and developing methods to automatically determine the optimal number of clusters.

Summary updated

BibTeX
@misc{hsu2018probabilistic,
  author = {Yen-Chang Hsu and Zhaoyang Lv and Joel Schlosser and Phillip Odom and Zsolt Kira},
  title = {{A probabilistic constrained clustering for transfer learning and image category discovery}},
  year = {2018},
  eprint = {1806.11078},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.11078},
}
Figure