Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Unsupervised Deep Embedding for Clustering Analysis

Deep Embedded Clustering learns features and cluster assignments together

  • Problem Clustering results depend on a feature space that is usually picked by hand, and with no labels, nothing guides learning a better one.
  • Method DEC pretrains a stacked denoising autoencoder, then minimizes a KL divergence to sharpened soft assignments, updating network and centroids together.
  • Results DEC reached 84.30% ACC on MNIST and 75.63% on the full REUTERS set, the highest in those columns of the comparison table.

Why clustering needs a better feature space

Clustering groups points by a distance, so the outcome depends on the space in which that distance is measured. k-means uses Euclidean distance in whatever feature space it is given, and for images that space is often raw pixels or gradient histograms. Beyond the simplest image sets, Euclidean distance on raw pixels gives poor groupings, yet the feature space is usually left to the end user to pick.

Learned features have improved computer vision benchmarks, but those gains came from supervised training with labels. Clustering has no labels, so the question becomes whether a network can learn a representation suited to clustering without them. The authors answer by learning a parameterized nonlinear map from the data space X into a lower-dimensional space Z and optimizing a clustering objective in Z.

Joint dimensionality reduction and k-means remains limited to linear embeddings. Spectral methods accept richer distances, but they need the full graph Laplacian, whose cost grows quadratically or worse with the number of points. A centroid-based objective avoids both limits, and the authors state its cost as O(nk), where k is the number of centroids.

Soft assignments and the target distribution

DEC learns a mapping f_θ from each data point x_i to an embedded point z_i, together with k centroids μ_j in the feature space Z. The mapping parameters and the centroids are learned together rather than in sequence, which is the joint optimization behind the first contribution the authors list.

The soft assignment q_ij uses a Student's t kernel between z_i and μ_j, normalized over all centroids so that each point's values sum to one. The degrees of freedom α of the Student's t kernel are fixed to 1 in every experiment, because α cannot be cross-validated without labels.

Training moves q_ij toward a target p_ij, built by squaring q_ij, dividing by the soft cluster frequency f_j = Σ_i q_ij, and normalizing over clusters: \( p_{ij}=\frac{q_{ij}^2/f_j}{\sum_{j'} q_{ij'}^2/f_{j'}} \). Squaring sharpens the assignments and gives more weight to confident points, while dividing by cluster frequency keeps large clusters from dominating the loss.

A hard target that sends each confident point to its nearest centroid would discard the soft information in q_ij, so the soft target is preferred.

The objective is the KL divergence from P to Q, summed over points and clusters: \( L=\sum_i\sum_j p_{ij}\log\frac{p_{ij}}{q_{ij}} \). Minimizing L pulls the soft assignments toward the sharpened targets, and the targets are recomputed from the updated assignments in the next round. The authors liken this to self-training, where a classifier learns from its own confident predictions on unlabeled data.

Joint updates and the stopping rule

The network and the centroids are updated with stochastic gradient descent with momentum. The gradient at each embedded point z_i is a sum over centroids of the kernel term times (p_ij minus q_ij) times (z_i minus μ_j), scaled by (α+1)/α. The gradient at each centroid μ_j has the opposite sign and sums over points instead. The gradient at z_i is passed into the network by ordinary backpropagation, which lets the mapping change during clustering.

The KL minimization phase uses a constant learning rate of 0.01.

Initializing with a stacked denoising autoencoder

The initial mapping comes from a stacked autoencoder, trained one layer at a time, with each layer being a denoising autoencoder. A denoising autoencoder corrupts its input with dropout, encodes it through activation g1, applies dropout to the hidden layer and decodes it through activation g2, minimizing the least-squares reconstruction loss.

Each layer's output becomes the input of the next layer.

ReLUs are used in all encoder and decoder pairs, except for g2 in the first pair and g1 in the last pair, because the input can contain negative values and the final embedding should keep full information. After greedy training, the encoders are concatenated, then the decoders in reverse order, and the whole autoencoder is fine-tuned to minimize reconstruction loss.

Only the encoder is kept as f_θ, and the centroids come from k-means run on the embedded points. The k-means initialization uses 20 restarts and keeps the best solution.

The network has layer dimensions d-500-500-2000-10 for every dataset, where d is the data-space dimension.

Datasets, baselines and the accuracy metric

Experiments use MNIST, STL-10 and REUTERS. MNIST has 70000 digit images of 28-by-28 pixels. For STL-10 the HOG feature is concatenated with an 8-by-8 color map to form the input to all algorithms. REUTERS is pruned to 685071 documents from four root categories, and tf-idf features are computed on the 2000 most frequent word stems. A random subset of 10000 examples, REUTERS-10k, is used for methods that do not scale to the full set.

The baselines are k-means and two spectral methods, LDGMI and SEC, which use Laplacian matrices and transformations. For every method the cluster count is set to the number of ground-truth categories.

Clustering has no validation labels for tuning, so each method has one hyperparameter varied over nine choices and its best value reported. For DEC the varied hyperparameter is λ, which controls annealing speed, taken as 2^i × 10 for i from 0 to 8. k-means is run nine times, and the baselines use 20 random restarts when initializing centroids.

Because the table reports each method at its own best setting, it does not compare all methods under one shared configuration.

Accuracy against the baselines

On MNIST, DEC reached 84.30% ACC, against 84.09% for LDGMI, 80.37% for SEC and 53.49% for k-means. On STL-HOG, DEC reached 35.90%, with LDGMI at 33.08%, SEC at 30.75% and k-means at 28.39%. The margin over LDGMI on MNIST is small, so the clearer gap is on the other datasets.

On REUTERS-10k, DEC reached 72.17%, against 60.08% for SEC, 52.42% for k-means and 43.84% for LDGMI. On the full REUTERS set DEC reached 75.63%, while k-means reached 53.29%. The authors could not run LDGMI and SEC on the full REUTERS set, so their entries are N/A.

The 'DEC w/o backprop' variant freezes the non-linear mapping during clustering, and its ACC is lower than full DEC on all four datasets, at 79.82% on MNIST and 69.62% on REUTERS. The comparison runs the same clustering from the same starting point with the mapping either trained or frozen, so the gap of 84.30% against 79.82% on MNIST isolates the effect of updating the mapping.

Sensitivity to the hyperparameter grid

Accuracy is plotted for each method across the nine settings on each dataset. The authors observe that DEC is more consistent across hyperparameter ranges than LDGMI and SEC. For DEC, λ = 40 gives near-optimal performance on all datasets, while the best setting for the other methods varies widely.

This matters because real data offers no validation labels for choosing a setting. The grid covers only nine values per method, so robustness outside that range is not shown.

Where the gain comes from

Autoencoder features clustered with k-means reached 81.84% on MNIST, still below DEC's 84.30%. With autoencoder features, LDGMI and SEC change little, while k-means improves but stays below DEC. The authors read this as showing that the deep embedding helps and that fine-tuning with the KL objective adds to it.

On MNIST the latent space of a random subset becomes more clearly separated into clusters as KL training proceeds from epoch 0 to epoch 12. Accuracy rises over the SGD epochs of KL training, starting from the k-means initialization. The projections are made with t-SNE applied to the embedded points, so the separation is judged in a two-dimensional view.

On imbalanced MNIST subsamples, the authors describe DEC as fairly robust to variation in cluster size. The authors also report that KL minimization improves accuracy after autoencoder and k-means initialization.

Whether the confident predictions are reliable

DEC's central assumption is that the initial classifier's high-confidence predictions are mostly correct. To check it, the gradient magnitude at each embedded point is plotted against its soft assignment to one MNIST cluster. Points near the centroid, with large q_ij, contribute more to the gradient, so the training signal comes mainly from the most confident points.

Images sorted by q_ij show canonical 5s at high confidence, and as confidence falls they become ambiguous, reaching a mislabeled 8. The authors take this as support for the assumption. The check is qualitative and uses a single MNIST cluster at the start of KL minimization.

The top-scoring images of each cluster are shown for MNIST and STL-10, with one row per cluster. On MNIST the clusters follow digit identity closely, with confusion between 4 and 9. On STL-10, the airplane, truck and car classes come out mostly correct, while animal classes are partly grouped by pose rather than category.

Choosing the number of clusters

The main comparisons assume the number of natural clusters is known, which is often not the case in practice. Two measures are used: NMI, which compares labels and clusters by their mutual information relative to their entropies, and generalizability, the ratio of training loss to validation loss. A small generalizability indicates overfitting, since the training loss is then lower than the validation loss.

Generalizability drops sharply when the cluster count goes from 9 to 10, and NMI is highest at 9. The authors take this as showing that generalizability can select the cluster count. NMI is highest at 9 rather than 10 because the digits 9 and 4 are similar, so DEC tends to merge them into one cluster. This matches the 4 and 9 confusion seen in the MNIST cluster images.

Limitations

LDGMI and SEC were not run on the full REUTERS set, so the largest dataset has only DEC and k-means as entries. DEC's runtime of about half an hour on the full REUTERS set uses GPU acceleration, while the months of computation and terabytes of memory for LDGMI and SEC are the authors' estimate, since they could not run those methods.

α is fixed at 1 and not tuned, so other kernel settings are not shown. Network sizes, pretraining schedules and the convergence tolerance are held fixed across datasets to avoid dataset-specific tuning, which the authors note could improve each result. Each table cell is a single value with no reported spread across runs, and Table 2 reports the best of nine settings per method.

The imbalance result is stated only as a qualitative observation in the text. The cluster-count rule is supported by one NMI and generalizability curve. The complexity claim is linear in the number of points for a fixed k, but the units give no runtime comparison beyond the REUTERS timing.

Paper info

Authors
Junyuan Xie, Ross Girshick, Ali Farhadi
Venue
arXiv · Preprint
First published
2015-11-19
Added
2026-11-12
Updated
2016-5-24
Version
v2
arXiv
1511.06335
Category
cs.LG · cs.CV
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Junyuan Xie, Ross Girshick, Ali Farhadi (2015). Unsupervised Deep Embedding for Clustering Analysis. arXiv:1511.06335v2. https://arxiv.org/abs/1511.06335v2

BibTeX
@misc{xie2015unsupervised,
  title = {{Unsupervised Deep Embedding for Clustering Analysis}},
  author = {Junyuan Xie and Ross Girshick and Ali Farhadi},
  year = {2015},
  eprint = {1511.06335},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1511.06335v2}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up