DISC: Dimension-Informed Clustering with Entropy Metric Warping and Attractor Basins

Authors:

Abstract
Graph-based clustering builds a neighborhood graph and partitions it, treating every neighborhood alike regardless of its local geometry. We propose DISC (Dimension-Informed Spectral-entropy Clustering), which lets the local geometry decide which edges are trusted. For every point, the Shannon entropy of the normalized eigenvalues of its neighborhood covariance measures how many directions the data locally spread over. This entropy H(x) defines a conformal metric warping, gx = H(x)−2 I, under which directional neighbor affinities are computed. A reciprocity gate then keeps only mutual neighbor pairs whose weaker affinity exceeds the median. The resulting graph is clean (half the cross-class edge weight of a k-NN graph on MNIST) but fragmented. DISC therefore partitions it locally: every point follows its strongest gated edge toward a deeper neighbor, where depth is gated degree divided by entropy, and the resulting attractor basins, 72–99% class-pure on 16 of 17 datasets, are merged by average linkage. We evaluate DISC on 9 benchmark and 8 held-out datasets covering images, deep image features, text, speech, sensor and tabular data. Each subset is clustered with three algorithm seeds, and every method receives the true number of clusters or a label-free search for it. DISC outperforms K-Means, Ward linkage, spectral clustering, DBSCAN and HDBSCAN in adjusted Rand index and accuracy on 13–17 of 17 datasets (Wilcoxon p ≤ 10−10). These gains are as large on the eight held-out datasets, which played no role in its development, as on the benchmark datasets. DISC is statistically on par with Leiden community detection, and it runs in 3.5 s on 70,000 MNIST points.