Introduction
Clustering is a fundamental task in data mining, yet its effectiveness is often limited by the quality of data representation. While "deep clustering" methods have emerged to learn feature spaces and cluster assignments simultaneously using neural networks, most existing approaches are "flat." These methods require a pre-specified number of clusters ($k$), which can lead to the destruction of natural hierarchical structures if the chosen $k$ is incorrect.
DeepECT (Deep Embedded Cluster Tree) addresses this by being the first divisive hierarchical deep clustering method that learns both data representations and a cluster tree concurrently. It allows for the discovery of sub-populations and hierarchical relationships without requiring prior knowledge of the cluster count.
The DeepECT Framework
DeepECT integrates a standard autoencoder with a specialized hierarchical clustering layer. The model builds a binary tree top-down, starting from a single root node and iteratively splitting nodes with high variance into two children.
Projected Compression Loss
A core innovation of DeepECT is the Projected Compression Loss. Traditional clustering losses typically pull data points toward a single center, which can collapse the internal variance of a cluster and destroy information needed for future splits. In contrast, DeepECT penalizes the distance of a point to its cluster center only when projected onto the line connecting sibling nodes. This approach pushes sibling clusters apart to enlarge the margin while preserving the "orthogonal" structures—the internal variance necessary for subsequent hierarchical divisions.
Dynamic Tree Management
To handle the evolving nature of embeddings during training, DeepECT employs dynamic pruning. This process removes "dead" nodes that no longer receive data assignments, preventing degenerate solutions. Additionally, the model can be extended with data augmentation (e.g., rotations or shears) to ensure that cluster assignments remain invariant to such transformations.
Experimental Evaluation
The authors evaluated DeepECT on several standard benchmarks, including MNIST, USPS, Fashion-MNIST, and the large-scale Reuters text dataset (685k points).
Key Results
- Hierarchical Performance: DeepECT significantly outperformed traditional hierarchical baselines, such as Autoencoders paired with Linkage methods. On MNIST, DeepECT achieved a Dendrogram Purity (DP) of 0.82, compared to 0.53 for the best non-embedded baseline.
- Competitive with Flat Methods: Even when compared to state-of-the-art flat clustering methods like IDEC—which were given the advantage of knowing the true $k$—DeepECT remained highly competitive in Accuracy (ACC) and Normalized Mutual Information (NMI).
- Interpretability: The resulting tree provides clear insights into data relationships. For instance, on Fashion-MNIST, the model naturally separated "shoes" and "bags" from "clothes," then further subdivided clothes into categories like "trousers" versus "upper body" garments.
Conclusion and Future Work
DeepECT demonstrates that hierarchical structures can be discovered effectively within a deep learning framework without sacrificing representation quality. By preserving internal cluster variance, it avoids the pitfalls of flat clustering. Future research directions include automating the splitting schedule based on convergence stability and exploring more complex architectures, such as Convolutional Neural Networks, to further enhance performance on image-heavy datasets.
Summary updated