Quantifying Centrality for Complex Data

Hang Zhou, Yidong Zhou, Hans-Georg MüllerNeurIPS 2026

TL;DR

How do you define what is "average" or "typical" when your data points aren't simple numbers, but entire networks, shapes, or probability distributions? This paper introduces Centrality Scores (C-scores), a clever, assumption-free way to rank how "normal" complex objects are—all you need is a way to measure the distance between any two items. Better yet, it draws tight, accurate boundaries around typical data, even when your dataset splits into multiple distinct clusters.

What Problem Does This Paper Address?

In standard flat (Euclidean) space, finding the center of a dataset or flagging outliers is statistics 101: compute a mean, fit a bell curve, or measure probability density.

Modern scientific data, however, rarely lives in flat spaces. Researchers routinely analyze brain connectivity networks, curved manifold shapes, or entire probability distributions. In these general metric spaces, you cannot simply add two networks together and divide by two—concepts like coordinates, linearity, and probability densities often don't exist. You only have a metric: a function that tells you the distance between object A and object B.

Recently, statisticians tackled this using distance profiles. Imagine standing at a specific data point and looking out at the rest of the dataset; your distance profile is the cumulative distribution of distances from you to everyone else. If you are in the middle of the crowd, distances to your neighbors grow rapidly right near zero. If you are an outlier, your profile stays flat before rising much later.

Figure 1: Distance profiles for a Gaussian distribution in M = R2. First row: 200 random samples from N(0, Σ) with Σ = (2, 0; 0, 0.5), with three randomly selected points: One point close to the center (red, left column), one far from the center (blue, right column), and one between the center and the distant point (purple, middle column). Gray circles with varying radii indicate balls around each selected point. Second and third rows: Estimated distance profiles and their corresponding probability density functions for the red (left), purple (middle), and blue (right) points, respectively. Last row: Optimal transport maps for the selected data points, with red, purple, and blue points as starting locations. Positive (negative) values indicate transport to the right (left), with the magnitude reflecting the distance a point is transported from the uniform distribution. In each panel, curve colors correspond to the transport endpoints. For example, in the bottom-left panel, the blue and purple curves represent transports from the red point to the blue and purple points, respectively.

Existing methods compare these profiles globally. That works great if your data forms one giant, single-peaked cloud. But if your data is multimodal—say, two distinct clusters—global comparisons get confused and draw one massive, overly loose boundary covering both clusters and all the empty space in between.

Methods

To make distance profiles sensitive to local clusters, the authors introduce C-scores alongside a conformal prediction framework:

  1. Weighted Optimal Transport (The Novelty): As in prior work, the method measures how much "effort" (optimal transport) it takes to morph a point's distance profile into the profiles of other points. The crucial twist is an exponential decay weight, $e^{-\tau u}$, controlled by a tuning knob $\tau \ge 0$. When $\tau = 0$, all distances matter equally, recovering the old global method. As you crank up $\tau$, the math zeroes in on tiny distances near $0^+$, prioritizing local neighborhood density over global structure.
  2. Conformal Centrality Regions: To draw a boundary around the "normal" data (say, a 95% centrality region), the authors use split conformal prediction—a standard, rock-solid statistical technique. They split the data into a training set (to build the distance profiles) and a calibration set (to compute C-scores and find the 5th percentile cutoff). Any new object scoring above that cutoff is deemed "central."
Figure 2: Estimated centrality region using the proposed centrality scores with different tuning parame- ters τ. The training data are from a 2-dimensional Gaussian mixture, 0.5N(µ1, Σ1)+0.5N(µ2, Σ2), where µ1 = (2, 2)⊤, µ2 = (−2, −2)⊤, Σ1 = (0.5, 0.3; 0.3, 0.3) and Σ2 = (0.5, 0; 0, 0.3). The transition from low to high C-scores is indicated by a color gradient ranging from blue to coral for each data point. The respective 95% centrality regions are shaded in gray.

Datasets

The authors test their method on both synthetic benchmarks and messy real-world objects:

  • Synthetic Spaces: 2D Gaussian mixtures (flat space), bimodal distributions on the surface of a 3D unit sphere $\mathbb{S}^2$ (curved Riemannian manifold), and random normal distributions in 2-Wasserstein space.
  • Colon Tissue Gene Expression: 2,000 genes across 21 paired normal/tumor patient samples, represented as optimal transport maps (functional data in $\mathcal{L}^2$).
  • Tampa Climate Records: 85 annual summer minimum temperature distributions (1939–2023) from Tampa International Airport, treated as distributional objects.
  • Additional Benchmarks (in Appendix): Handwritten digits (MNIST) and Manhattan taxi trip networks.

Key Insights and Ideas

  • Recovering Density Without Coordinates: Even though C-scores only look at pairwise distances, Theorem 2 proves a remarkable link: in standard Euclidean space (and smooth manifolds), as sample size and $\tau$ grow, C-scores rank points in the exact same order as the true underlying probability density function. It effectively gives you density-like rankings in spaces where densities don't exist!
  • Guaranteed Coverage for Free: Because the region-building step relies on split conformal prediction, the centrality regions come with a strict finite-sample guarantee: a $1-\alpha$ region will genuinely contain at least $1-\alpha$ of future data points, with zero parametric assumptions required.
  • Measuring "Volume" Without Geometry: How do you pick the best $\tau$ to make your region as tight as possible when "volume" isn't even defined in an abstract space? The authors' clever workaround (detailed in the appendix) is to pick the $\tau$ that minimizes how many midpoints between pairs of data points fall inside the region—preventing the boundary from bridging empty gaps between clusters.

Key Results

  • Simulations: Across $\mathbb{R}^2$, spheres ($\mathbb{S}^2$), and Wasserstein spaces with sample sizes $n = 200, 400, 800$, empirical coverage consistently hit the 95% target. Increasing $\tau$ from 0 cleanly split oversized blobs into tight, disconnected islands around true clusters, shrinking region sizes substantially before leveling off.
Figure 3: Simulation results for centrality regions under the Gaussian mixture model (6). (a) Average coverage levels (left panel) and sizes of centrality regions (right panel) over 200 Monte Carlo runs for varying tuning parameters. The mixing coefficient is a = 0.5 and the target centrality level is 95%. Red, blue, and green lines correspond to sample sizes n = 200, n = 400, and n = 800, respectively, and black triangles indicate the optimal τ that minimizes the size of the prediction set. (b) Illustration of 95% centrality regions over 200 Monte Carlo runs for varying tuning parameters τ, with mixing coefficients a = 0.5 and a = 0.8. The sample size is n = 200, and heat maps show the average proportion of each mesh grid residing in the centrality region, ranging from high (dark) to low (light).
  • Cancer Genomics: Scoring the 2,000 gene transport maps ($\tau = 0$) and flagging the bottom 5% isolated genes with dramatic upward expression shifts in tumors—pinpointing ribosomal and cellular metabolism genes previously linked to colon cancer.
  • Climate Change: Analyzing 85 years of Tampa summer night temperatures ($\tau = 10$) immediately flagged 2022 and 2023 as having the lowest C-scores in history, mathematically confirming recent unprecedented heat waves as stark statistical anomalies.

Limitations and Future Work

  • Garbage Metric, Garbage Out: The framework is entirely at the mercy of the chosen distance metric. If pairwise distances concentrate (common in ultra-high dimensions), if the data is too sparse, or if coarse metrics cause lots of ties, ranking resolution degrades.
  • Computational Bottlenecks: Computing all pairwise distances takes $\Theta(n^2)$ time and memory. Worse, tuning $\tau$ via the all-pairs midpoint trick requires evaluating $\binom{n}{2}$ queries against $n$ points, creating a cubic ($\mathcal{O}(n^3)$) bottleneck—though it can be parallelized.
  • Future Directions: The authors plan to adapt C-scores for downstream tasks like nonparametric clustering and formal outlier detection, with an eye toward complex emerging domains like large language models.

Summary updated

Abstract

Analyzing complex data across a wide range of scientific fields often requires identifying central or typical elements, distinguishing them from atypical ones, and constructing central or ''normal'' regions at prespecified levels of centrality. We introduce centrality scores (C-scores) based on distance profiles for random objects taking values in general metric spaces. The proposed C-scores are defined through weighted optimal transport of distance profiles and provide a unified framework for constructing central or ''normal'' regions for complex data. We show that, for Euclidean data the proposed C-scores asymptotically rank points in the same order as the underlying probability density function. The practical merits of the proposed method are illustrated using gene expression data, distributions of recorded temperatures, handwritten digit recognition, and taxi trip records. These examples demonstrate the effectiveness of C-scores in identifying central and peripheral elements and in yielding meaningful insights for non-Euclidean and high-dimensional data.
BibTeX
@inproceedings{zhou2026quantifying,
  author = {Hang Zhou and Yidong Zhou and Hans-Georg Müller},
  title = {{Quantifying Centrality for Complex Data}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=jEjnEqI3Wg},
}
Figure