Clustering is often the first step in exploring complex datasets, but deep learning models—while powerful—frequently act as "black boxes." In fields like biomedicine, knowing that a group of cells forms a cluster is only half the battle; scientists need to know which specific genes define that cluster. This paper introduces Interpretable Deep Clustering (IDC), a framework designed specifically for tabular data that provides clear explanations at both the individual sample level and the overall cluster level.
TL;DR
IDC is a two-stage deep clustering framework for tabular data that identifies the most informative features for every individual sample and every cluster. By combining stochastic gating with a maximal coding rate reduction objective, it achieves state-of-the-art clustering accuracy while providing "faithful" and "diverse" feature-based explanations.
What Problem Does This Paper Address?
While deep clustering has seen huge success in image and audio processing, tabular data remains a challenge. Tabular datasets (like medical records or gene expression profiles) lack the inherent spatial or temporal structures that convolutional or recurrent networks exploit.
Furthermore, most deep clustering models lack interpretability. Practitioners need to know:
- Instance-level interpretability: Which features of this specific data point led to its cluster assignment?
- Cluster-level interpretability: Which features define the "prototype" or common characteristics of this entire cluster?
Existing methods often provide one or the other, or rely on post-hoc explainers (like SHAP) that can be computationally expensive and sometimes unfaithful to the model's actual decision-making process.
Methods
The authors propose a two-stage approach to tackle these challenges:
- Stage 1: Local Self-Supervised Feature Selection. The model uses a Gating Network that learns to produce a sparse "gate" vector ($z$) for each input sample ($x$). This gate acts as a mask, selecting only the most informative features. A denoising autoencoder is then trained to reconstruct the original sample using only these gated features ($x \odot z$). This ensures the selected features are sufficient to represent the data.
- Stage 2: Clustering with Global Interpretability. Using the embeddings from Stage 1, a Clustering Head predicts cluster assignments ($\hat{y}$). This is optimized using a Maximal Coding Rate Reduction ($MCR^2$) loss, which simultaneously pushes different clusters apart in the embedding space while making each individual cluster more compact.
- Global Gates: Simultaneously, an Auxiliary Classifier learns a global gate matrix ($Z^G$). Each row in this matrix represents a cluster and identifies which features are globally important for defining that specific cluster.
Datasets
The authors evaluated IDC on a diverse array of 15 datasets:
- Synthetic: A custom dataset with known informative vs. background features.
- Image (treated as tabular): MNIST and FashionMNIST (without using spatial augmentations), and CIFAR-10.
- Biomedical: Seven high-dimensional datasets including gene expressions (ALLAML, PROSTATE, BIASE, etc.) and single-cell data (PBMC-2).
- Text & Physics: CNAE-9 (business descriptions), ALBERT (text), and MiniBooNE (particle physics).
Key Insights and Ideas
- Overcoming Spectral Bias: Neural networks have a natural "spectral bias," meaning they prefer learning low-frequency functions. However, tabular data often requires learning high-frequency target functions. The authors demonstrate that using local gates (sparsification) actually helps the network capture these high-frequency components, leading to better performance on tabular data.
- Interpretability by Design: Unlike post-hoc methods, IDC's interpretability is "baked in." The gates are part of the architecture, meaning the features the model "sees" are exactly the ones it uses for its predictions.
- Faithfulness and Diversity: The model doesn't just pick any features; it picks features that are faithful (removing them hurts accuracy significantly) and diverse (different clusters are defined by different sets of features).
Key Results
- Superior Accuracy: On 11 real-world tabular datasets, IDC achieved the best or second-best clustering accuracy compared to state-of-the-art unsupervised feature selection methods and other deep clustering models like TELL and k-DVAE.
- High-Quality Explanations: On MNIST, IDC achieved a clustering accuracy of 83.45% (without image-specific tricks) and provided significantly more "unique" and "faithful" feature selections than baselines using SHAP or Integrated Gradients.
- Synthetic Validation: On a synthetic dataset where the "ground truth" informative features were known, IDC correctly identified the driving features for each cluster, whereas standard K-means struggled.
Limitations and Future Work
- Correlated Variables: Like many models relying on reconstruction loss, IDC can struggle when features are highly correlated. If two features carry the same information, the model might arbitrarily pick one, potentially muddying the interpretation.
- Cluster Scalability: The authors note that the model might face challenges when dealing with a very large number of clusters.
- Future Directions: The authors suggest incorporating "group sparsity" losses to better handle correlated features and exploring the use of multiple clustering heads to prevent the model from collapsing into too few clusters.
Summary updated