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

Transferable Deep Clustering Model

Zheng Zhang, Liang Zhao

Clustering is the "bread and butter" of unsupervised learning, but in the era of deep learning, it has a significant Achilles' heel: generalizability. While we can train a deep model to cluster a specific dataset with high precision, those models often crumble the moment they encounter a new domain with a slightly different data distribution.

A new paper from researchers at Emory University, titled "Transferable Deep Clustering Model" (TDCM), proposes a clever solution to this "distribution shift" problem. By replacing rigid, fixed cluster centers with a dynamic, attention-based adaptation module, they’ve created a model that can cluster unseen data domains in a single forward pass.

TL;DR

The Transferable Deep Clustering Model (TDCM) solves the problem of "brittle" clustering by using a novel attention-based module that dynamically adapts cluster centroids to new data distributions. Unlike traditional deep clustering that learns fixed points in space, TDCM learns the logic of how to cluster, allowing it to generalize to unseen domains without retraining.

What Problem Does This Paper Address?

Most modern deep clustering methods follow a two-step dance: an encoder maps data into a low-dimensional embedding space, and then the model learns a set of fixed "centroids" (representative points for each cluster).

The problem? These centroids are "overfit" to the training (source) domain. If you train a model on one set of digits and then try to cluster a different set of digits with different lighting or styles (the target domain), the fixed centroids will likely be in the wrong place. To fix this, you’d usually have to retrain the model from scratch—a process that is computationally expensive and ignores the "meta-knowledge" the model should have already learned about what a cluster looks like.

Methods

The core innovation of TDCM is the Learnable Centroids Updating Block (LCUB). Instead of treating centroids as static parameters, the authors treat them as dynamic entities that evolve through a series of layers.

  1. Bi-partite Attention: The model uses a cluster-driven attention mechanism. It treats the data samples and the centroids as two sets in a bipartite graph. By measuring the relationship (similarity) between samples and centroids, the model calculates "assignment weights."
  2. Dynamic Adaptation: These weights are then used to update the centroids. Essentially, the centroids "move" toward the samples they are most related to within the neural network's forward pass.
  3. Theoretical Guardrails: To ensure this process is stable, the authors prove that their specific score function (using real-symmetric matrices and non-decreasing activations) guarantees that centroids move toward similar samples.
  4. Generalization of Classics: Mathematically, the authors demonstrate that traditional algorithms like $k$-means and Gaussian Mixture Models (GMMs) are actually just restricted, special cases of the TDCM framework.

Datasets

The authors evaluated TDCM across several scenarios to test its ability to handle "distribution drift":

  • Synthetic Datasets: Multi-Gaussian distributions where the centers were randomly perturbed between the source and target domains.
  • Digits (MNIST & USPS): Standard benchmarks for digit recognition.
  • CIFAR-10: A more complex image dataset. To create a distribution shift, they applied CenterCrop to the test set.
  • COIL100: A large-scale dataset with 100 different object classes, used to test the model's performance on high-dimensional, many-class problems.

Key Insights and Ideas

  • Learning to Cluster vs. Learning Clusters: The "aha moment" here is shifting the focus from learning where the clusters are to learning how to find them. By parameterizing the update rule rather than the points themselves, the model captures the "intra- and inter-cluster structure."
  • The Power of Symmetry: The use of real-symmetric matrices ($W_Q$ and $W_K$) in the attention module isn't just a design choice—it's a theoretical necessity to ensure the score function behaves predictably (i.e., a sample is always most similar to a centroid if they occupy the same position).
  • Zero-Shot Transfer: Because the adaptation happens during the forward pass, the model can cluster a brand-new domain immediately. This significantly reduces the "computational burden" of deploying clustering models in the wild.

Key Results

The results show that TDCM is significantly more robust than state-of-the-art (SOTA) models like DEC, DCN, or CC.

  • Stability under Shift: On synthetic data, while other models saw their performance (measured by NMI and ARI) drop by 30-40% when moving to a target domain, TDCM’s performance remained nearly flat, often showing less than a 3% decrease.
  • Superior Accuracy: On the CIFAR-10 target domain, TDCM achieved an Adjusted Rand Index (ARI) of 0.617, vastly outperforming the next best model (IDFD), which sat at 0.467.
  • Efficiency: The model achieves these results with a single forward pass, proving it can effectively leverage "acquired knowledge" from the source domain to guide the clustering of the target domain.

Limitations and Future Work

Despite its strengths, the authors acknowledge a few hurdles:

  • The "K" Problem: Like $k$-means, TDCM still requires the user to predefine the number of clusters ($K$). It cannot currently "discover" how many clusters exist on its own.
  • Fixed Hidden Dimensions: The current architecture requires the hidden dimensions of the clusters to remain fixed during the adaptation process.
  • Future Directions: The researchers suggest that future work could involve exploring non-centroid-based deep clustering or developing methods that can dynamically adjust the number of clusters ($K$) based on the target data distribution.

Summary updated

BibTeX
@inproceedings{zhang2025transferable,
  author = {Zheng Zhang and Liang Zhao},
  title = {{Transferable Deep Clustering Model}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2025},
  doi = {10.1145/3746252.3761188},
}
Figure