Applied machine learning / Information modelling
Deep
Clustering.
From complexity to useful groups.
The technique
Deep Embedded Clustering learns a representation and cluster centres together. Pretrain a denoising autoencoder, initialise centres with KMeans, then refine both using soft assignments, frequency-adjusted targets and KL divergence.
The space becomes part of the learning process: related observations can be brought into clearer focus as the groups evolve. The number of clusters is specified; their identities are learned without category labels.
The experiment in detail
The main experiment uses 70,000 MNIST handwritten images, with pretraining on 60,000. The encoder maps 784 inputs to ten coordinates, and ten clusters are specified. Known identities are used only for evaluation after fitting.
Inspecting the representation
Coordinate separation, cluster profiles and subset comparisons help reveal what the learned space retains. Removing coordinates tests whether a smaller representation preserves much of the useful structure.
In an earlier exploratory comparison, matched accuracy is 76.7% using all ten coordinates, 75.6% using the top three and 73.7% using the bottom three. Information appears to be distributed across the space.
About this coordinate comparison
This earlier, shorter experiment uses 1,797 small handwritten-digit images and predates the reconstruction-loss correction. It reached its training cap before assignment stability. The figures describe a fixed embedding on the fitted sample and are separate from the main result.
What the experiment showed
Matched accuracy rises from 81.79% for autoencoder + KMeans to 87.23% after DEC: a 5.44 percentage-point increase. ARI rises from 0.7046 to 0.8162, and NMI from 0.7536 to 0.8474.
The refinement also reaches assignment stability after 8,160 updates. These are encouraging observations from one run; further comparisons can establish how consistently the improvement carries into a particular application.
How to read these results
The main experiment groups 70,000 MNIST images. Category agreement is evaluated after fitting on that same population, with one seed and refresh setting. Repeated runs and new data would help assess consistency and generalisation.
Commercial possibilities
Learned groups could reveal emerging customer needs, connect related knowledge and help engineers recognise operating patterns. They offer a way to see beyond familiar categories and discover new opportunities within complex data.
Domain expertise and focused pilots can turn those patterns into more relevant services, faster discovery and better operational decisions. Start with a useful question, then measure the difference the resulting action makes.