Rank-Transformed Dissimilarity Profiles for High-Dimensional Classification

Xiangbo Mo, Hao ChenNeurIPS 2026

TL;DR

In high-dimensional spaces, the "curse of dimensionality" warps our geometric intuition—points from the same class can end up farther from each other than from points in a completely different class, breaking standard classifiers. Rather than fighting this quirk, this paper turns it into a useful signal by compressing any data point into a compact, rank-based "profile" of how its distances compare across every class. The result is a simple, robust classification framework that adapts whether classes differ by mean, variance, or correlation, and works just as naturally on complex networks as it does on standard vectors.

What Problem Does This Paper Address?

When you have thousands of features and only a few dozen samples—think tumor gene expressions or complex graph structures—traditional classification hits a wall. Most off-the-shelf classifiers (like SVMs, Random Forests, or MLPs) implicitly assume that observations from the same class cluster closer together than observations from different classes.

In 1,000-dimensional space, geometry gets weird. If Class X is tightly packed and Class Y has slightly higher variance (is more spread out), two points from Class Y will often be much farther apart from each other than they are from points in Class X.

Figure 1: Heatmaps of pairwise distances under mean- and variance-difference settings. Observations are ordered as X1, . . . , X50, Y1, . . . , Y50. From left to right, the panels correspond to: mean difference with (µ0, a) = (4, 1), variance difference with (µ0, a) = (0, 1.05), stronger mean difference with (µ0, a) = (15, 1), and stronger variance difference with (µ0, a) = (0, 1.15).

As a result, algorithms tuned to find location (mean) shifts fail miserably at scale (variance) shifts—performing no better than a coin toss—while specialized distance-based methods fail on location shifts. Usually, you don't know ahead of time what kind of statistical difference separates your classes. We need a single representation that captures all of them.

Methods

The authors propose Rank-Transformed Dissimilarity Profiling, which boils a $d$-dimensional problem with $k$ classes down into a clean $k$-dimensional space:

  1. Compute Pairwise Dissimilarities: Measure the distance between every pair of training points (e.g., squared Euclidean distance for vectors, or edge-count differences for networks).
  2. Rank Transform (The Novel Twist): Instead of using raw distances—which are vulnerable to extreme outliers—convert each column of the distance matrix into ranks.
  3. Build Class-Wise Profiles: For every observation, calculate its average rank relative to each of the $k$ classes. In a 2-class problem, a 1,000-dimensional vector becomes a simple 2D coordinate: (my average distance-rank to Class X, my average distance-rank to Class Y).
  4. Classify: Run standard Quadratic Discriminant Analysis (QDA) on these low-dimensional profiles. For a new test point, you simply score how its distances rank against the training set, build its $k$-dimensional profile, and let QDA draw the boundary.
In the 2D rank-profile space, classes cleanly separate under strong scale differences, allowing QDA to draw a simple boundary.

Datasets

No new benchmarks were introduced; the authors evaluated the method across synthetic and established real-world High-Dimensional Low-Sample-Size (HDLSS) benchmarks:

  • Synthetic Vector Data: 1,000-dimensional two-class and four-class setups testing Gaussian, heavy-tailed ($t_5$), and skewed ($\chi_5^2$) distributions across mean, variance, and pure correlation differences.
  • Synthetic Networks: 40-vertex random graphs generated via configuration models with varying degree sequences.
  • Real Gene-Expression Data: Two classic, tiny-sample bioinformatics benchmarks—Shipp (diffuse large B-cell lymphoma) and Nutt (malignant glioma).
  • Real Graph Data: PROTEINS (from TUDataset), containing 1,113 protein graphs represented via Weisfeiler–Lehman subtree counts.

Key Insights and Ideas

  • Weaponizing high-dimensional geometry: Instead of trying to project away high-dimensional quirks, looking at the joint pattern of within-class and between-class distances turns counterintuitive variance spreads ($D_{XX} < D_{XY} < D_{YY}$) into clean, separable clusters in profile space.
  • Ranks buy massive robustness for free: Theoretically analyzing a raw-distance version of their algorithm showed why profiles capture location, scale, and higher-order moments. Empirically, swapping raw distances for ranks keeps clean-data accuracy intact while making the classifier nearly immune to extreme data contamination.
  • Total data-type agnosticism: Because the classifier only cares about a $N \times N$ pairwise dissimilarity matrix, the underlying data doesn't even need to live in Euclidean space. If you can define a distance between two objects, you can classify them.

Key Results

  • Adapting to hidden signals: In 1,000D synthetic tests where classes differed only in correlation structure (identical means and variances), standard methods like GLDA, Random Forests, and LightGBM hovered near random guessing (~40–54% error), and SVM hit 30.4% error. Rank profiling achieved the lowest error at 19.1%.
  • Outlier resilience: Injecting heavy-tailed or spiked outliers into just three training samples caused a raw-distance profile classifier's error to balloon from 14.5% to 34.9%–50.0%. With the rank transformation, test error barely flinched, moving from 14.9% to 15.0%–16.9%.
  • Networks & Real Data: On simulated graphs, it beat network-SVM and distance-based gMADD across every setting (e.g., 6.6% error vs. 11.6% for SVM). On real datasets, it achieved the lowest mean error on Nutt (16.8% vs. 20.1% for GLDA and 46.4% for SVM) and tied top performers on Shipp (17.8%) and PROTEINS (28.4% balanced error vs. 27.7% for RF).

Limitations and Future Work

  • Sparse signal dilution: If only 4 out of 100 features actually carry class-separating signal, computing global distances across all features drowns out the signal in noise. The authors show that pairing the method with simple supervised feature screening on the training data largely fixes this (dropping error from 49.6% back down to 28.0% in variance-swap tests).
  • Quadratic scaling with sample size: Computing all pairwise dissimilarities costs $O(N^2 d)$ for $N$ training samples. While fast for low-sample-size regimes, scaling to massive datasets will require fast distance approximations.
  • Theory gap for ranks: Because rank transformations introduce tricky nonlinear dependencies, the paper's formal mathematical proofs rely on a raw-distance surrogate, leaving exact asymptotic proofs for the rank-based version to future work.

Summary updated

Abstract

Despite advances in representation learning, high-dimensional classification remains challenging in low-sample-size regimes, where the dominant signal may vary across applications and labeled data are often limited. We propose a dissimilarity-profiling classification framework that represents each observation by its class-wise dissimilarity profile, transforming the original feature space into a low-dimensional representation that summarizes how the observation relates to each class. The key idea is to turn an effect of the curse of dimensionality into signal: high-dimensional geometry can induce systematic within-class and between-class dissimilarity patterns under location, scale, or other distributional changes, and these patterns are captured by the class-wise profiles. Building on this representation, we introduce a rank-transformed algorithm that converts dissimilarities into class-wise rank profiles. The proposed method delivers competitive or improved performance relative to commonly used classifiers on two-class, multi-class, network, and real high-dimensional low-sample-size datasets. To clarify the underlying mechanism, we characterize the mean and covariance of a distance-based surrogate, showing how location, scale, and higher-order distributional features enter the profile representation. Contamination experiments show that the rank transformation can improve robustness. The same profile construction applies to non-Euclidean data whenever pairwise dissimilarities can be computed.
BibTeX
@inproceedings{mo2026rank,
  author = {Xiangbo Mo and Hao Chen},
  title = {{Rank-Transformed Dissimilarity Profiles for High-Dimensional Classification}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=bRnA8Byvs0},
}
Figure