NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Deep Clustering With Consensus Representations

Lukas Miklautz, Martin Teuffenbach, Pascal Weber, Rona Perjuci, Walid Durani, Christian Böhm, Claudia Plant · DOI

Abstract

Deep Embedded Clustering with Consensus representationS (DECCS) is a novel deep clustering framework that jointly optimizes a data representation to satisfy an ensemble of heterogeneous clustering algorithms. By forcing diverse methods—such as k-means and spectral clustering—to reach a consensus, the model learns a "consensus representation" where complex, non-linear manifolds are transformed into well-separated, spherical clusters. Experimental results demonstrate that DECCS consistently outperforms state-of-the-art deep clustering and traditional consensus methods across synthetic, tabular, and image datasets.

Introduction

In unsupervised learning, the "No Free Lunch" theorem is particularly evident: no single clustering algorithm is universally optimal for every data distribution. Traditional algorithms often rely on specific geometric assumptions; for instance, k-means expects spherical clusters, while spectral clustering focuses on connectivity.

Deep Clustering (DC) attempts to mitigate this by using neural networks to learn embeddings that simplify the clustering task. However, most DC methods are "monogamous," optimizing for a single algorithm's objective. If the data does not align with that specific algorithm's bias, the model fails. Conversely, Consensus Clustering (CC) combines multiple algorithms to improve robustness but typically operates on fixed features, unable to refine the underlying data representation. DECCS bridges this gap by updating the data representation so that an entire ensemble of diverse algorithms can converge on a unified solution.

Methodology

DECCS utilizes an iterative training loop involving a deep autoencoder to produce a Consensus Representation (CR). The framework consists of four primary components:

  1. The Ensemble: A diverse group of clustering algorithms, including k-means, Spectral Clustering, Agglomerative Clustering, and Gaussian Mixture Models (GMM), is employed to provide varied perspectives on the data structure.
  2. Sampling and Partitioning: To maintain computational efficiency, the ensemble is run on a small data sample to generate "base partitions."
  3. Differentiable Proxies: Standard clustering algorithms are non-differentiable, preventing direct backpropagation. DECCS circumvents this by training simple linear classifiers to act as differentiable proxies for each algorithm's clustering results.
  4. Multi-part Loss Function: The encoder is updated using a composite loss function:
  5. Consensus Loss: Minimizes the distance between data points and the centers of their assigned clusters across all ensemble members.
  6. Cross-Entropy Loss: Ensures the representation remains predictable and consistent for each individual algorithm in the ensemble.
  7. Reconstruction Loss: A standard autoencoder penalty that ensures the learned features retain the essential information of the original input.

By minimizing these losses, the network reshapes the data manifold until clusters become dense and spherical, making it trivial for the ensemble to reach an agreement.

Experimental Evaluation

The authors evaluated DECCS against a variety of benchmarks, including:

  • Synthetic Data: A 2D dataset featuring four non-spherical, complex shapes.
  • UCI Benchmarks: MICE (protein expression), PENDIGITS (handwriting), and HAR (Human Activity Recognition).
  • Image Datasets: MNIST, Fashion-MNIST (FMNIST), Kuzushiji-MNIST (KMNIST), and USPS.

Key Results

DECCS demonstrated superior performance and robustness compared to both traditional consensus clustering and specialized deep clustering methods:

  • Robustness on Real-World Data: On the Human Activity Recognition (HAR) dataset, DECCS achieved a Normalized Mutual Information (NMI) score of 0.75, significantly outperforming the next best method, which scored 0.61.
  • Handling Complex Manifolds: On synthetic datasets where single-model DC methods (like DEC) often fail due to non-spherical cluster shapes, DECCS achieved a near-perfect NMI of 0.99.
  • Stability and Convergence: Experiments indicated that consensus agreement stabilizes rapidly, typically within 5 to 8 rounds of training.
  • Competitive Image Clustering: On image benchmarks like USPS and MNIST, DECCS matched or exceeded the performance of specialized deep clustering models, proving its versatility across domains.

Discussion and Insights

The success of DECCS stems from the idea that simplification is power. Rather than engineering a more complex clustering algorithm, DECCS transforms the data until it fits the assumptions of simple, efficient algorithms. Furthermore, using a heterogeneous ensemble acts as a powerful regularizer; by requiring algorithms with different biases to agree, the model is forced to capture the "true" underlying structure of the data rather than overfitting to the quirks of a single method.

Limitations and Future Work

While effective, DECCS currently lacks explicit mechanisms to handle outliers or significant noise. Future iterations could incorporate noise-aware algorithms like DBSCAN into the ensemble. Additionally, while sampling improves efficiency, the computational cost of running an ensemble remains higher than single-model approaches. Exploring alternative optimization objectives for the consensus representation remains a promising avenue for further research.

Summary updated

BibTeX
@inproceedings{miklautz2022deep,
  author = {Lukas Miklautz and Martin Teuffenbach and Pascal Weber and Rona Perjuci and Walid Durani and Christian Böhm and Claudia Plant},
  title = {{Deep Clustering With Consensus Representations}},
  booktitle = {ICDM},
  year = {2022},
  url = {https://openreview.net/forum?id=r3i_4Izhtj},
}
Figure