Ranking Distributions based on Noisy Sorting

Adil El Mesaoudi-Paul, Eyke Hüllermeier, Róbert Busa-Fekete

In fields ranging from social choice to machine learning, researchers frequently need to model "rankings"—ordered lists of items. Traditional statistical models for ranking data usually fall into two opposing camps. On one hand, there are restrictive models like the Mallows model, which are computationally efficient but often too simplistic to capture the nuances of real-world preferences. On the other hand, highly flexible models like the Babington Smith model can capture complex cycles (e.g., A > B > C > A) but lack "cognitive plausibility." For instance, the Babington Smith model assumes people compare every possible pair of items repeatedly until they happen to reach a consistent ranking—a process that does not reflect how humans actually make decisions.

This paper introduces a new family of statistical models for ranking data based on the intuitive concept of "noisy sorting." By replacing deterministic comparisons in standard algorithms like Insertion Sort and Quick Sort with probabilistic Bernoulli trials, the authors create flexible ranking distributions that significantly outperform classical models in fitting real-world data.

The Noisy Sorting Framework

When humans rank items, they often perform a mental "sort," comparing items only as needed rather than exhaustively evaluating every pair. The authors formalize this process into a statistical framework by introducing the Conjunctive Noisy Sorting (CNS) model and its generalization, GCNS.

The core idea is to take a standard sorting algorithm and inject noise. Instead of a comparison always returning the "correct" result based on a hidden reference ranking, each comparison is treated as a "noisy" Bernoulli trial. If item $i$ is objectively better than item $j$, the algorithm correctly identifies this with a probability $p$.

Illustration of initial and output orderings during the sorting process.

Unlike previous attempts that averaged the results of different starting positions, this model uses a multiplicative (conjunctive) approach. This implies that for a ranking to have a high probability, it must be a likely outcome regardless of the initial order of the items.

The authors specifically explore two algorithms:

  • Insertion Sort: The authors derive a closed-form expression for the probability distribution when using this algorithm, making it highly tractable.
  • Quick Sort: They provide a recursive characterization for the resulting distribution.

To estimate parameters, the simpler CNS model utilizes a hill-climbing search combined with the golden section method. For the more complex GCNS model, the authors adapt the Generalized Iterative Scaling (GIS) algorithm, adding a projection step to ensure the resulting probabilities remain valid.

Key Insights

Framing ranking as the result of a noisy algorithm yields several theoretical benefits:

  • Importance Weighting: Noisy sorting naturally weights pairwise comparisons. In traditional flexible models, every pair is treated as equally important. In a noisy sorting model, the "importance" of a comparison between two items depends on how often the sorting algorithm actually compares them during its execution.
  • Cognitive Plausibility: By acting as a generative process, the model mimics how a human ranker might only make the necessary comparisons to reach a conclusion.
  • Algorithm Matters: The choice of the underlying sorting algorithm fundamentally changes the distribution. Interestingly, the authors found that Insertion Sort generally leads to better performance and more tractable mathematics than Quick Sort.
  • Bridging the Gap: The authors demonstrate that their CNS model is essentially a "sorting variant" of the Mallows model, while the GCNS model acts as a "sorting variant" of the Babington Smith model.

Empirical Results

The models were rigorously evaluated on 213 real-world datasets from the PrefLib repository, covering diverse domains such as political elections, movie rankings, and sports competitions. The number of items ($K$) in these rankings typically ranged from 3 to 10.

Using Kullback-Leibler (KL) divergence to measure how well the models fit the empirical data compared to baselines (Mallows, Plackett-Luce, and Insertion Sort Rank data), the noisy sorting models demonstrated clear superiority.

Win/tie/loss statistics comparing CNS models against baselines.
  • Superior Fit: The CNS model utilizing Insertion Sort significantly outperformed the standard Mallows and ISR models across the vast majority of the 213 datasets.
  • GCNS Dominance: The generalized model (GCNS), which allows for independent pairwise preferences, provided the best overall fit. In head-to-head win/tie/loss statistics, GCNS with Insertion Sort beat the standard CNS model in 212 out of 213 cases.
  • Predictive Power: The models do not merely overfit the training data. When trained on half the data and tested on the remaining half, the noisy sorting models maintained their performance edge, indicating strong generalization capabilities.

Limitations and Future Directions

While highly effective for small sets of items ($K \leq 10$), the models face computational hurdles as the number of items grows. Specifically, the normalization constant becomes very expensive to compute for larger sets, prompting the authors to suggest Monte Carlo-based approximations for future scaling.

Additionally, the current study focused primarily on Insertion and Quick Sort. Future work could explore other algorithms, such as Merge Sort or Heap Sort, to determine if they offer different or advantageous statistical properties. Finally, the authors note that the algebraic properties of these log-linear models are not yet fully understood, presenting a fruitful area for future research using tools from computational algebraic geometry.

Summary updated

BibTeX
@inproceedings{mesaoudipaul2018ranking,
  author = {Adil El Mesaoudi-Paul and Eyke Hüllermeier and Róbert Busa-Fekete},
  title = {{Ranking Distributions based on Noisy Sorting}},
  booktitle = {International Conference on Machine Learning},
  year = {2018},
}
Figure