Reconstructing Hidden Permutations Using the Average-Precision (AP) Correlation Statistic

Lorenzo De Stefani, Alessandro Epasto, Eli Upfal, Fabio Vandin

Abstract

Traditional probabilistic models for rankings, such as the Mallows model, often rely on Kendall’s tau distance, which treats all pairwise inversions with equal weight. This approach fails to capture the reality of many applications—from web search to genomics—where the top of a ranking is significantly more informative and critical than the bottom. We propose a new probabilistic model based on the Average-Precision (AP) correlation statistic. This model naturally emphasizes "top-heavy" importance by assigning higher costs to errors at the beginning of a list. We provide efficient algorithms for reconstructing hidden central permutations from noisy samples and demonstrate that our AP-based approach offers superior robustness and accuracy across synthetic and real-world datasets, including Wikipedia rankings and cancer gene expression data.

Introduction

In fields ranging from information retrieval to social choice theory, data often arrives in the form of permutations or ordered lists. Modeling these permutations typically involves assuming a "true" central ranking exists and that observed data points are noisy perturbations of this ground truth. The Mallows model has been the standard for decades, utilizing Kendall’s tau distance to measure the number of swaps between lists.

However, Kendall’s tau is position-invariant: swapping the 1st and 2nd items incurs the same penalty as swapping the 99th and 100th. In practice, the "tail" of a ranking is often dominated by noise, while the "head" contains the most reliable signal. This paper addresses this discrepancy by introducing a model that mathematically encodes the intuition that the top of the list matters more.

Methodology: The AP-Model

The core of our contribution is the AP-model, an exponential distribution for permutations defined by the Average-Precision (AP) distance.

Weighted Inversions

Unlike the uniform weighting of Kendall’s tau, the AP distance utilizes weighted inversions. The cost of an inversion involving an item at position $j$ is proportional to $1/(j-1)$. This weighting ensures that errors at the top of the ranking are penalized much more heavily than those at the bottom, making the model inherently robust to "tail noise."

Reconstruction Algorithms

We developed two primary methods for estimating the hidden central permutation from a set of noisy samples:

  1. Rank-based Estimator: This algorithm computes the average rank of each item across all observed samples. We prove that this estimator is asymptotically unbiased and consistent under the AP-model.
  2. Comparison-based Estimator: A more efficient "noisy sorting" approach that can learn the central permutation with high probability using only $O(\log n)$ samples, making it suitable for large-scale applications.

Experimental Evaluation

We evaluated the AP-model against traditional Kendall’s tau-based methods using three data sources:

  • Synthetic Data: Permutations of size $n=100$ were generated to test the theoretical limits of reconstruction accuracy under varying noise levels.
  • Wikipedia Rankings: We generated ground-truth rankings using Personalized PageRank on the English Wikipedia graph. By starting from seed pages in specific categories, we created clusters of rankings to test the model's ability to maintain cluster purity under noise.
  • Biological Data: We utilized 10 human cancer datasets, converting gene expression levels into permutations. The goal was to classify samples (e.g., normal vs. tumor) based on the relative ordering of gene expression.

Results and Discussion

Our experiments consistently demonstrated the advantages of the AP-model in handling noisy, real-world ranking data.

Performance metrics of the AP-model across synthetic and real-world data. (a) Accuracy on synthetic data vs. sample size. (b) Accuracy vs. K-means iterations. (c) Purity vs. randomization level.

As shown in Figure (a) above, the AP-based algorithms achieve near-perfect reconstruction of the top items with very few samples, even in high-noise environments. Most notably, Figure (c) illustrates the model's robustness: in Wikipedia clustering tasks, the AP-based method maintained high purity even when the bottom 75% of the rankings were completely randomized. In contrast, the performance of Kendall’s tau-based methods (TAU) degraded rapidly as noise increased.

Comparison of classification precision between Kendall’s Tau and Average-Precision (AP) metrics across 10 biological datasets.

In the biological domain, the AP-based classifier outperformed the Kendall’s tau version in the majority of the 10 cancer datasets tested. This confirms that the relative order of highly-expressed genes provides a more stable and discriminative signal for disease classification than the order of low-expression genes, which are often subject to measurement noise.

Conclusion

By formalizing position-dependent error costs through the Average-Precision statistic, we have created a more realistic and robust framework for modeling permutations. The AP-model's ability to ignore noise in the tail of a ranking while precisely reconstructing the head makes it a powerful tool for modern data science applications. Future work will focus on extending the model to handle tied rankings and exploring its application in broader recommendation system contexts.

Summary updated

BibTeX
@inproceedings{stefani2016reconstructing,
  author = {Lorenzo De Stefani and Alessandro Epasto and Eli Upfal and Fabio Vandin},
  title = {{Reconstructing Hidden Permutations Using the Average-Precision (AP) Correlation Statistic}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2016},
  doi = {10.1609/aaai.v30i1.10236},
}
Figure