Skip to main content
QUICK REVIEW

[Paper Review] A plug-in approach to maximising precision at the top and recall at the top

Dirk Tasche|arXiv (Cornell University)|Apr 9, 2018
Machine Learning and AlgorithmsComputer Science12 references5 citations
TL;DR

This paper establishes that thresholding the posterior probability of the positive class optimally maximizes both precision at the top (precision@k) and recall at the top (recall@k) in binary classification and information retrieval. The approach generalizes cost-sensitive classification and provides a plug-in solution via optimal thresholding, even under discontinuous distributions and various constraints on predicted positive rates.

ABSTRACT

For information retrieval and binary classification, we show that precision at the top (or precision at k) and recall at the top (or recall at k) are maximised by thresholding the posterior probability of the positive class. This finding is a consequence of a result on constrained minimisation of the cost-sensitive expected classification error which generalises an earlier related result from the literature.

Motivation & Objective

  • To establish a theoretically optimal plug-in classifier for maximizing precision at the top and recall at the top in binary classification and information retrieval.
  • To generalize prior results on constrained minimization of cost-sensitive error to include arbitrary non-negative cost weights and broader constraints on predicted positive rates.
  • To demonstrate that thresholding the posterior probability of the positive class yields the optimal classifier under these performance criteria, even when distributions are discontinuous.
  • To provide a practical benchmark for evaluating new optimization algorithms in settings where the exact optimal solution is analytically known, such as the binormal model with equal variances.

Proposed method

  • The paper formulates a constrained minimization problem for cost-sensitive expected classification error under a constraint on the predicted positive rate.
  • It proves that the optimal classifier is a randomized decision classifier (RDC) that thresholds the posterior probability of the positive class at a specific quantile.
  • The method generalizes Clémençon and Vayatis (2007) by allowing arbitrary non-negative cost weights (a, b) with a + b > 0.
  • It extends the result to cases with discontinuous posterior probability distributions, ensuring robustness across different data types.
  • The approach uses the binormal model with equal variances as a concrete example to derive analytical expressions for the optimal threshold q via quantile estimation.
  • The solution involves solving for the threshold q such that the probability of the posterior exceeding q equals 1 - α, where α is the desired positive rate.

Experimental results

Research questions

  • RQ1Can thresholding the posterior probability of the positive class be shown to optimally maximize precision at the top and recall at the top in binary classification?
  • RQ2How does the optimal classifier for precision@k and recall@k relate to cost-sensitive classification and the Neyman-Pearson lemma?
  • RQ3What is the mathematical form of the optimal classifier when the posterior probability distribution is discontinuous?
  • RQ4How can the optimal threshold be computed in practice, particularly in the binormal model with equal variances?
  • RQ5Can this plug-in approach serve as a benchmark for evaluating other learning algorithms in precision- and recall-at-top optimization?

Key findings

  • Thresholding the posterior probability of the positive class at a specific quantile yields the optimal plug-in classifier for maximizing both precision@k and recall@k.
  • The optimal classifier is a randomized decision classifier (RDC) that generalizes the cost-sensitive Bayes classifier to constrained performance metrics.
  • The result holds even when the posterior probability distribution is discontinuous, extending prior work limited to continuous cases.
  • In the binormal model with equal variances, the optimal threshold q is determined by solving a quantile equation involving the standard normal CDF and the model parameters.
  • The solution q satisfies P[P(A|H) > q] = 1 - α, where α is the desired positive rate, and q is uniquely determined by the model parameters.
  • The method provides a closed-form benchmark for evaluating new optimization algorithms in precision- and recall-at-top settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.