Recommendation Systems with Distribution-Free Reliability Guarantees

Anastasios N. Angelopoulos, Karl Krauth, Stephen Bates, Yixin Wang, Michael I. Jordan

Authors: Anastasios N. Angelopoulos, Karl Krauth, Stephen Bates, Yixin Wang, and Michael I. Jordan (University of California, Berkeley)

Introduction

Modern recommendation systems, primarily built on "Learning to Rank" (L2R) models, are ubiquitous in digital life. However, these models often lack a formal measure of uncertainty. In high-stakes environments—such as healthcare or legal information retrieval—blindly trusting a model's top-ranked items is risky. This paper introduces a framework that provides rigorous, "distribution-free" guarantees on recommendation quality. By leveraging the "Learn then Test" (LTT) calibration method, the authors demonstrate how to control the False Discovery Rate (FDR), ensuring that a user-specified percentage of recommendations meet a high-quality threshold while optimizing for secondary objectives like item diversity.

The Challenge of Uncalibrated Rankings

Standard L2R models output scores that represent relative rankings rather than absolute probabilities. Consequently, these scores are not "calibrated"—a score of 0.8 does not necessarily mean an 80% chance of relevance. Furthermore, practitioners often struggle to balance accuracy with other goals like diversity or fairness. Current approaches typically rely on ad hoc weighted loss functions, which offer no formal guarantees that the final output will be reliable or meet specific safety constraints.

Methodology: Learn then Test (LTT)

The proposed framework addresses these issues through a three-step calibration procedure:

  1. Scoring: A quality score $s_i(X)$ is defined for each item, representing the model's estimated probability that item $i$ is superior to other candidates.
  2. Calibration via Thresholding: Using a held-out calibration dataset, the algorithm identifies a threshold $\lambda$. The process begins with a strict threshold (returning only high-certainty items) and relaxes it until the False Discovery Rate (FDR) reaches a user-defined risk level $\alpha$.
  3. Statistical Guardrails: To ensure the guarantee holds with high probability ($1-\delta$), concentration inequalities (e.g., Hoeffding’s) are used to calculate an upper-confidence bound on the risk. This makes the guarantee "distribution-free," meaning it does not rely on specific assumptions about the data distribution.
Model predictions and quality score distributions for easy vs. hard queries, illustrating the calibration threshold $\hat{\lambda}$.

A key innovation is the framework's modularity. The authors introduce a greedy pruning algorithm that selects the most diverse $M$ items from the calibrated "safe" set. Because pruning occurs within the set of items already guaranteed to be high-quality, the FDR guarantee remains intact.

Experimental Evaluation

The researchers evaluated their framework on two industry-standard benchmarks:

  • Yahoo! Learning to Rank Challenge: Over 36,000 search queries with human-edited rankings (scale 1-5).
  • MS MARCO (Microsoft Machine Reading Comprehension): A document re-ranking dataset for Bing search queries. A DistilBERT model was used to generate embeddings for diversity calculations.

Key Insights

  • Sets vs. Lists: The system returns variable-sized sets rather than fixed-length lists. A smaller set indicates model uncertainty, while a larger set indicates high confidence, providing an intuitive signal to the end-user.
  • Principled Multi-Objective Optimization: Instead of guessing "diversity weights" in a loss function, this framework sets a hard requirement for accuracy (FDR control) and maximizes diversity within those bounds.
  • Reliable Risk Control: Empirical tests showed that FDR stayed strictly below target levels ($\alpha = 0.3$ for Yahoo and $\alpha = 0.5$ for MS Marco) across 100 random trials.

Results and Future Directions

The framework proved to be "tight," meaning the empirical risk was close to the target $\alpha$ without being overly conservative. On the Yahoo! dataset, diversity-optimized procedures increased average item diversity by 15%, with 40% of recommendation "slates" modified to include more varied, high-quality options.

Future work may focus on developing specialized "nonconformity scores" for ranking tasks to further refine the returned sets. Additionally, while the greedy diversity optimization is efficient, exploring more complex combinatorial optimization techniques within the calibrated set could further enhance utility without compromising statistical guarantees.

Summary updated

BibTeX
@inproceedings{angelopoulos2023recommendation,
  author = {Anastasios N. Angelopoulos and Karl Krauth and Stephen Bates and Yixin Wang and Michael I. Jordan},
  title = {{Recommendation Systems with Distribution-Free Reliability Guarantees}},
  booktitle = {COPA},
  year = {2023},
}
Figure