Introduction
Standard deep clustering algorithms excel at grouping similar items, but they inherently treat these groups as nominal, unordered categories. This poses a significant limitation for "orderable data"—such as medical images depicting disease progression or photographs of individuals at different ages. In orderable datasets, adjacent classes are highly similar, forming a natural continuum. Standard clustering methods fail to capture this progression; they force hard boundaries and scatter clusters randomly throughout the embedding space. While existing ordinal regression methods can model these sequences, they require labeled data.
To address this, researchers propose Unsupervised Order Learning (UOL), a novel deep clustering algorithm designed to discover both the underlying classes and their intrinsic sequence entirely from scratch, without any human supervision.
Methodology: Unsupervised Order Learning
UOL employs a joint training framework that alternates between a novel clustering step and representation learning to uncover hidden ordinal relationships.
- Ordered $k$-means: Instead of assigning a data point to a single nearest centroid, ordered $k$-means minimizes a point's deviation from a chain of consecutive centroids. A data point is assigned to its "Nearest Consecutive Centroids" (NCCs). The algorithm incorporates a permutation rule that optimally sorts the cluster indices to form a meaningful sequence.
- Representation Learning: An encoder (such as VGG16) is trained to project the data into an embedding space that respects this discovered order. This projection is driven by two custom loss functions:
- Straight Line (SL) loss: Forces data points and their corresponding consecutive centroids to lie flat on a straight line in the embedding space.
- Deviation loss: Penalizes points that stray too far from their assigned centroid chain.
- Unsupervised Rank Estimation: Once the model is trained, the rank (or class) of a completely unseen test instance can be estimated simply by evaluating its $K$-Nearest Neighbors within this highly structured, ordered embedding space.
Experimental Results
UOL was evaluated across a wide variety of modalities, including facial age (MORPH II, CLAP2015), medical assessment (Diabetic Retinopathy, RetinaMNIST), facial expression (FER+), and text/speech scoring (French sentiment, Speechocean762).
Quantitative results demonstrate that UOL significantly outperforms existing state-of-the-art deep clustering methods (like DeepCluster, MiCE, IDFD, and ProPos) on orderable data:
- Facial Age: On the MORPH II dataset ($k$=6), UOL achieved a Spearman's rank correlation coefficient (SRCC) of 0.632, massively outperforming the next best baseline (MiCE at 0.260). Mean Absolute Error (MAE) dropped to 1.122 compared to MiCE's 1.568.
- Medical Assessment: On RetinaMNIST ($k$=5), UOL reached an SRCC of 0.567, compared to MiCE's 0.495.
Qualitatively, t-SNE visualizations reveal the structural advantages of UOL. While traditional methods create disconnected, disordered blobs of data, UOL generates a clear, sequential 1D chain of clusters in the embedding space that perfectly mirrors the ground-truth order.
Discussion and Limitations
Traditional $k$-means forces spherical clusters that ignore the natural continuum of orderable data. By penalizing deviation from a chain of centroids, UOL naturally learns a 1D manifold—a snake-like path in high-dimensional space. The visual progression of the data (e.g., aging faces or worsening lesions) acts as a powerful unsupervised signal that aligns with this path. Interestingly, when applied to nominal data like the FER+ dataset (which contains unordered emotion labels), UOL naturally sorted the faces from the "strongest" expression to the "weakest" (neutral) without being explicitly prompted to look for intensity.
Despite its strong performance, UOL has limitations:
- Sensitivity to Noise: The algorithm struggles with highly diverse or noisy datasets. For instance, performance on the CLAP2015 dataset was lower because wild environmental variations in the images distracted from the subtle ordinal signal of age.
- Assumption of Total Order: UOL assumes a single, 1D "total order" to the data. It cannot currently handle data with partial orders or highly subjective ranking criteria (like image aesthetics), where multiple valid sequences might exist.
Future work will focus on extending the algorithm to handle scenarios without a strict total order, broadening its applicability to more complex, partially ordered datasets.
Summary updated