Introduction
Ordinal data, characterized by categories with a natural but non-uniform ordering (e.g., Likert scales), is ubiquitous in fields ranging from social sciences to medical research. Traditional clustering methods often struggle with such data, either by ignoring the order (nominal approach) or by imposing arbitrary numerical distances (numerical approach), both of which can distort the underlying data structure. This paper introduces Distance Learning-based Clustering (DLC), an algorithm designed to automatically discover the optimal distances between ordinal categories during the clustering process.
The Challenge of Ordinal Data
The primary difficulty in clustering ordinal data lies in the "distance" between categories. In a sequence like {Poor, Fair, Good, Very Good, Excellent}, the perceived gap between "Fair" and "Good" may differ significantly from that between "Very Good" and "Excellent." Standard $k$-means algorithms typically assign consecutive integers to these categories, forcing an equidistant relationship that rarely reflects reality. Conversely, categorical methods like $k$-modes treat these labels as unordered, losing valuable structural information.
Methodology: Distance Learning-based Clustering (DLC)
The DLC algorithm is an iterative, $k$-mode-type approach that alternates between partitioning data into clusters and updating the distances between adjacent categories to maximize cluster compactness.
Adjacent Weighting and Distance Learning
A core innovation of DLC is the Adjacent Weighting method. Rather than learning every possible pairwise distance, the algorithm focuses on the weights between adjacent categories. The distance between any two non-adjacent categories is then calculated as the sum of the weights of the intervening adjacent pairs. This ensures that the inherent order of the data is strictly preserved.
The algorithm is parameter-free, automatically adjusting weights based on a novel "expected effectiveness" measure. If reducing the distance between two categories leads to more cohesive clusters, the algorithm increases the corresponding weight in subsequent iterations.
Experimental Evaluation
The authors evaluated DLC against 11 state-of-the-art methods across 10 diverse real-world datasets, including educational surveys (PE, AE, IS, LE), medical records (CS), and general benchmarks (HR, ES, CE, NS). These datasets vary in size from 66 to nearly 13,000 instances, testing both the accuracy and scalability of the approach.
Key Results
DLC consistently outperformed or matched the performance of both categorical and numerical clustering techniques across multiple metrics, including Clustering Accuracy (CA) and Adjusted Rand Index (ARI).
Notably, on the Assistant Evaluation (AE) dataset, DLC achieved an ARI of 0.294, a significant improvement over the 0.113 achieved by standard $k$-modes. Furthermore, the algorithm demonstrates linear scalability with respect to dataset size and typically converges within 20 iterations, making it highly efficient for large-scale applications.
Conclusion and Future Directions
The DLC algorithm represents a significant step forward in handling ordinal data by treating inter-category distances as latent features to be discovered rather than pre-defined constants. While highly effective, future work could explore relaxing the assumption of attribute independence and extending the model to support subspace clustering, where clusters may only be evident in specific subsets of dimensions.
Summary updated