NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Variational Inference from Ranked Samples with Features

Yuan Guo, Jennifer G. Dy, Deniz Erdogmus, Jayashree Kalpathy-Cramer, Susan Ostmo, J. Peter Campbell, Michael F. Chiang, Stratis Ioannidis

Abstract

Learning from rankings and pairwise comparisons is a fundamental task in machine learning, often modeled using the Plackett-Luce (PL) framework. While point-estimation methods like Maximum Likelihood Estimation (MLE) are common, they fail to capture parameter uncertainty. This paper introduces M-VI, a Bayesian framework that employs variational inference to approximate the posterior distribution of PL model parameters. By utilizing a specific variational bound for the softmax function, the authors derive a closed-form Gaussian posterior. Experimental results across diverse datasets demonstrate that M-VI improves Top-K ranking accuracy and provides a principled way to assess model reliability through variance.

Introduction

In many domains, such as recommender systems and medical diagnostics, obtaining absolute scores for items is difficult. It is often more intuitive for humans to provide relative rankings or pairwise comparisons. The Plackett-Luce (PL) model is a widely used probabilistic model for such preference data.

Recent advancements have extended the PL model to incorporate item-specific features, allowing the model to generalize to unseen items. However, most existing implementations rely on Maximum Likelihood Estimation (MLE) or Maximum A Posteriori (MAP) estimation. These methods yield a single point estimate, ignoring the underlying uncertainty in the parameters. This lack of uncertainty quantification is a significant drawback in high-stakes applications where understanding the model's confidence is crucial.

Methodology: M-VI

The authors propose M-VI (Variational Inference for Plackett-Luce) to address the intractability of the true posterior in feature-based PL models. The core challenge lies in the likelihood function, which takes a softmax-like form, making direct Bayesian updates mathematically difficult.

Notation and Framework

To facilitate the derivation of the variational bound, the following notation is established to define the sets of alternatives, feature vectors, and variational parameters:

Table of notation used in the Plackett-Luce variational inference framework.

The M-VI approach relies on three key technical components:

  1. The Softmax Bound: The authors employ a variational upper bound on the log-sum-exp term in the PL likelihood. This bound transforms the non-conjugate likelihood into a form that is compatible with a Gaussian prior, resulting in a Gaussian approximate posterior.
  2. Ranking Decomposition: A full ranking of items is decomposed into a sequence of independent "top-query" events. In each step, the most preferred item is selected from the remaining set, allowing the model to handle various data formats, including pairwise comparisons and partial rankings.
  3. Iterative Optimization: The model parameters (mean and covariance of the Gaussian) and the variational parameters are updated iteratively to maximize the Evidence Lower Bound (ELBO).

Experimental Evaluation

The M-VI framework was evaluated against MAP estimation on several datasets, including the ROP dataset (retinal images), the Sushi preference dataset, and movie rating datasets (Netflix, CAMRa) converted into rankings.

Key Results

  • Enhanced Top-K Accuracy: M-VI consistently outperformed MAP in predicting the top $K$ items. This suggests that accounting for parameter uncertainty leads to more robust identification of the highest-ranked items.
  • Reliability Metrics: The inferred variance of the parameters serves as a built-in metric for prediction confidence. High variance in the model's output was found to correlate with a higher likelihood of prediction error, providing a "trust" metric for the model's output.
  • Hyperparameter Selection: The authors demonstrated that the "Variational Lower Bound Ceiling" ($L_\infty$) can be used for hyperparameter tuning. This allows researchers to select the best regularization parameters without needing a separate validation set, which is particularly beneficial when data is scarce.

Discussion and Conclusion

M-VI provides a scalable and efficient Bayesian treatment for the Plackett-Luce model with features. By providing a closed-form Gaussian posterior, it avoids the computational overhead of Markov Chain Monte Carlo (MCMC) methods while offering the benefits of uncertainty quantification.

While the current work assumes a Gaussian posterior, it sets the stage for future applications in active learning. Because the model knows what it does not know (via variance), it could strategically ask experts to rank specific items that would most reduce the model's uncertainty, making it highly valuable for data-scarce environments.

Summary updated

BibTeX
@inproceedings{guo2019variational,
  author = {Yuan Guo and Jennifer G. Dy and Deniz Erdogmus and Jayashree Kalpathy-Cramer and Susan Ostmo and J. Peter Campbell and Michael F. Chiang and Stratis Ioannidis},
  title = {{Variational Inference from Ranked Samples with Features}},
  booktitle = {ACML},
  year = {2019},
}
Figure