[Paper Review] Deep Amortized Clustering
Deep Amortized Clustering (DAC) is a neural network framework that learns to cluster data efficiently through amortized inference, identifying clusters one at a time using a set-transformer architecture. It meta-learns cluster definitions from labeled training datasets, achieving state-of-the-art performance with orders-of-magnitude faster inference than iterative methods, while accurately estimating the number of clusters without prior knowledge.
We propose a deep amortized clustering (DAC), a neural architecture which learns to cluster datasets efficiently using a few forward passes. DAC implicitly learns what makes a cluster, how to group data points into clusters, and how to count the number of clusters in datasets. DAC is meta-learned using labelled datasets for training, a process distinct from traditional clustering algorithms which usually require hand-specified prior knowledge about cluster shapes/structures. We empirically show, on both synthetic and image data, that DAC can efficiently and accurately cluster new datasets coming from the same distribution used to generate training datasets.
Motivation & Objective
- To develop a clustering method that learns cluster definitions implicitly from data, avoiding hand-specified assumptions about cluster shapes or numbers.
- To enable fast, efficient clustering using only a few forward passes through a neural network, unlike iterative optimization-based methods.
- To generalize to unseen datasets from the same distribution, estimating the number of clusters without ground-truth supervision.
- To improve scalability and performance over sequential or iterative clustering approaches by processing data in parallel.
- To demonstrate effectiveness on both synthetic data and real-world image benchmarks like Omniglot, where it matches or exceeds SOTA with minimal computation.
Proposed method
- DAC uses a set-transformer architecture with multi-head attention to process input data in a permutation-invariant manner, enabling robust clustering of unordered data points.
- The model identifies one cluster per forward pass by attending to data points and generating cluster prototypes, allowing it to discover a variable number of clusters based on dataset complexity.
- A filtering mechanism discretizes soft cluster membership probabilities, producing deterministic cluster assignments after a few forward passes.
- The network is trained via meta-learning on synthetic datasets with known ground-truth clusterings, enabling it to generalize to new, unseen datasets.
- A separate head estimates the number of clusters ($k$) using pooled representations, improving robustness to unknown cluster counts.
- The framework supports end-to-end training and inference, with inference time measured in seconds per dataset, even on large-scale benchmarks.
Experimental results
Research questions
- RQ1Can a neural network learn to cluster data efficiently without prior assumptions about cluster shapes or numbers?
- RQ2Can amortized inference via deep learning outperform traditional iterative clustering algorithms in speed and accuracy?
- RQ3Can a model trained on synthetic data generalize effectively to real-world image datasets like Omniglot?
- RQ4How accurately can a deep network estimate the number of clusters ($k$) without supervision?
- RQ5Does a sequential cluster-identification approach enable better scalability and generalization than parallel or iterative methods?
Key findings
- On synthetic data, DAC achieved the highest clustering accuracy among all methods tested, with significantly faster inference times than iterative baselines like KCL and MCL.
- On the Omniglot benchmark, DAC achieved a normalized mutual information (NMI) of 0.829 without requiring the true number of clusters, outperforming non-learned baselines and matching SOTA with far less computation.
- DAC estimated the number of clusters with a mean absolute error (k-MAE) of 4.6, outperforming KCL (6.4) and MCL (5.1) on the Omniglot dataset.
- DAC required only 4.3 seconds on average per dataset, compared to over 120 seconds for KCL and MCL, demonstrating orders-of-magnitude faster inference.
- The model’s performance was robust even when tested on unseen image classes, showing strong generalization from training on diverse synthetic distributions.
- Pretrained features from a VGG backbone enabled strong performance, while end-to-end training on small datasets failed—highlighting the need for sufficient training diversity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.