Statistical Depth Functions for Ranking Distributions: Definitions, Statistical Learning and Applications

Morgane Goibert, Stéphan Clémençon, Ekhine Irurozki, Pavlo Mozharovskyi

Abstract

The concept of median/consensus has been widely investigated in order to provide a statistical summary of ranking data—realizations of a random permutation $\Sigma$ of a finite set. However, as it sheds light onto only one aspect of $\Sigma$’s distribution, it may neglect other informative features. This paper defines analogues of quantiles, ranks, and statistical procedures for the analysis of ranking data by means of a metric-based notion of depth function on the symmetric group. Overcoming the absence of vector space structure on $\mathfrak{S}_n$, this approach defines a center-outward ordering of permutations and extends the classic metric-based formulation of consensus ranking.

Introduction: The Challenge of Ranking Data

In many fields, from search engines to social choice, we deal with "rankings" (permutations of items). However, rankings are mathematically difficult to handle because they live on the symmetric group ($S_n$), which lacks a vector space structure. Standard operations like averaging two rankings to find a mean are not directly applicable. While researchers often use a "consensus ranking" (a median) to summarize data, a single median is a "thin" description. It fails to capture the spread of the data, the presence of outliers, or a clear definition of "quantiles" for rankings. This paper fills that gap by introducing Ranking Depth Functions, providing a way to measure how "deep" or "central" any given ranking is relative to a full distribution of preferences.

Methodology: Metric-Based Depth and Trimming

The authors propose a metric-based notion of depth. Essentially, the depth of a ranking is defined by its expected closeness to the rest of the distribution, based on a chosen distance metric such as Kendall $\tau$ or Spearman $\rho$.

Key Contributions:

  • Axiomatic Framework: Four essential properties are defined for ranking depth: Invariance, Maximality at the center, and Local/Global Monotonicity (depth should decrease as one moves away from the "deepest" ranking).
  • Ranking Depth Trimming (Algorithm 1): A novel algorithm that iteratively removes the "least deep" rankings from a dataset. This is used to "clean" data until it satisfies Stochastic Transitivity (ST)—a property that makes finding a unique consensus ranking much easier and more robust.
  • Statistical Guarantees: The paper provides non-asymptotic bounds, proving that the empirical depth calculated from a sample converges reliably to the true theoretical depth at a rate of $1/\sqrt{N}$.
Effectiveness of the ranking depth trimming algorithm in identifying and removing adversarial points (red) from the clean data (blue).

Empirical Evaluation and Robustness

The methods were evaluated using synthetic models (Mallows-Kendall, Plackett-Luce) and diverse real-world datasets, including Mechanical Turk dot cloud rankings, student concept rankings, and the Netflix Prize dataset.

A key insight is that the least deep rankings are often "adversarial" or noisy. By trimming these outliers, researchers can find a much more accurate consensus ranking than by using standard median-finding algorithms on raw, noisy data. As shown in the trimming process, the remaining data points exhibit higher centrality and lower variance.

Evolution of median depth and dispersion as the trimming algorithm progresses, showing increased centrality and reduced spread in the remaining data.

Key Results and Insights

  • Robust Aggregation: The depth-trimmed Borda estimator was shown to be significantly more robust to noise than the classical Borda count.
  • Visualizing the "Un-visualizable": The authors use DD-plots (Depth-vs-Depth) to visually distinguish between groups (e.g., regional sushi preferences in Japan) even when the data is high-dimensional and discrete.
  • Homogeneity Testing: On the Student dataset, the depth-based test successfully confirmed that students' ranking of concepts improved after a course, outperforming traditional methods that struggle with discrete preference data.

Limitations and Future Work

While depth based on the Kendall $\tau$ distance is computationally efficient ($O(n^2)$), other metrics may become taxing as the number of items ($n$) grows. Furthermore, the current framework focuses primarily on full permutations; extending this to partial rankings (top-$k$ items) remains a promising future direction. Finally, the choice of the "best" metric for specific applications like recommender systems versus voting remains an open research question.

Summary updated

BibTeX
@inproceedings{goibert2022statistical,
  author = {Morgane Goibert and Stéphan Clémençon and Ekhine Irurozki and Pavlo Mozharovskyi},
  title = {{Statistical Depth Functions for Ranking Distributions: Definitions, Statistical Learning and Applications}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
  url = {https://openreview.net/forum?id=OUlVmpxLlEm},
}
Figure