Deep Discriminative Clustering Analysis

Jianlong Chang, Yiwen Guo, Lingfeng Wang, Gaofeng Meng, Shiming Xiang, Chunhong Pan

TL;DR

Deep Discriminative Clustering (DDC) unifies deep representation learning and data clustering into a single, iterative framework guided by global and local constraints. By optimizing pairwise relationships rather than explicit labels, DDC learns high-level features that directly serve as cluster centers and can automatically estimate the true number of clusters in a dataset.

What Problem Does This Paper Address?

Traditional clustering algorithms (like K-means or spectral clustering) struggle with complex, high-dimensional data because they rely on low-level, fixed features. While deep unsupervised learning can extract richer representations, keeping feature learning and clustering separate means the features aren't optimized for the clustering task itself.

Existing joint approaches often require predefining the exact number of clusters or struggle to guarantee that the learned features naturally form clean, separable groups. DDC tackles these challenges by introducing a framework that adaptively estimates data relationships while simultaneously training a deep neural network to output discriminative clustering indicators.

Methods

DDC models clustering by looking at pairwise relationships (whether two samples belong to the same cluster) rather than absolute cluster assignments. It alternates between two main steps in a mini-batch manner:

  1. Relationship Estimation (Global Constraint): The framework enforces three classic rules of relations: reflexivity (a sample is similar to itself), symmetry (similarity is mutual), and transitivity (if A matches B, and B matches C, then A matches C). It takes a coarse similarity matrix generated by the network and refines it into an idealized relationship matrix using a mini-batch normalized cut/spectral clustering approach.
  2. Representation Learning (Local Constraint): A specialized constraint layer forces the network's output ("indicator features") to be non-negative. The network is then trained using standard backpropagation with a binary cross-entropy loss, treating the estimated relationship matrix as pseudo-labels.

The authors mathematically prove that at the global minimum, these indicator features become either identical or orthogonal. This means the cluster assignment can be determined directly by finding the maximum response index (argmax), completely bypassing post-processing steps like K-means.

Figure 1. The flowchart of DDC. In each iteration, DDC consists of three essential steps. First, a DNN is built to generate indicator features on a mini batch of patterns. Second, the relationships between patterns are estimated based on the generated indicator features. Third, the DNN is trained by optimizing the relationships, i.e., increasing the similarities of similar patterns (shown in green arrows) and reducing the similarities of dissimilar patterns (shown in red arrows). Iterating step 1 to step 3 until the DDC model can not be further improved. Finally, the trained DNN enables to generate discriminative indicator features that can be treated as clustering centers for clustering directly.

Datasets

The authors evaluated DDC on eight diverse benchmarks spanning three modalities:

  • Images: MNIST (70,000 samples), CIFAR-10 (60,000 samples), STL-10 (13,000 samples), ImageNet-10 (13,000 samples), and ImageNet-Dog (19,500 samples).
  • Text: 20NEWS (18,846 samples) and REUTERS (685,071 samples), encoded using TF-IDF features.
  • Audio: AudioSet-20 (30,000 samples), encoded using Mel-frequency cepstral coefficients (MFCCs).

Key Insights and Ideas

  • Automatic Discovery of Cluster Count: Unlike many deep clustering methods that require a predefined number of clusters ($k$), DDC can automatically find the correct number. The global constraint error reaches its absolute minimum when the dimensionality of the indicator features matches the true number of clusters.
  • Leveraging Deep Network Robustness to Noise: The alternating optimization injects some noise into the pseudo-labels early on. However, because deep neural networks are inherently robust to low rates of label noise, the mini-batch gradients remain stable enough to guide the network toward clean convergence.
  • Direct Indicator Mapping: By proving that optimal features are orthogonal, the authors eliminate the need for a separate K-means step at the end of deep feature extraction—the network's raw output is the cluster assignment.

Key Results

DDC consistently outperformed traditional, representation-based, and single-stage deep clustering methods across all eight datasets on Normalized Mutual Information (NMI), Adjusted Rand Index (ARI), and Clustering Accuracy (ACC).

  • On MNIST, DDC achieved a clustering accuracy of 98.00% and an NMI of 0.9514, beating previous deep methods like DAC and DEC.
  • On the massive REUTERS text dataset (over 680k samples), DDC achieved an accuracy of 82.77%, demonstrating its scalability to large datasets.
  • On complex image datasets like CIFAR-10 and STL-10, DDC achieved accuracies of 52.38% and 48.91% respectively, significantly outperforming standard deep autoencoders.

Limitations and Future Work

While DDC shows strong performance, its final clustering quality is still somewhat sensitive to the network's initial state; better unsupervised initializations (like DAE or SAE) lead to more stable and faster convergence. For future work, the authors suggest combining DDC with graph neural networks (GNNs) to better explore and exploit high-level structural relationships between data points.

Summary updated

BibTeX
@misc{chang2019deep,
  author = {Jianlong Chang and Yiwen Guo and Lingfeng Wang and Gaofeng Meng and Shiming Xiang and Chunhong Pan},
  title = {{Deep Discriminative Clustering Analysis}},
  year = {2019},
  eprint = {1905.01681},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.01681},
}
Figure