Skip to main content
QUICK REVIEW

[Paper Review] Evaluation Metrics for Item Recommendation under Sampling

Steffen Rendle|arXiv (Cornell University)|Dec 4, 2019
Recommender Systems and TechniquesComputer Science7 references12 citations
TL;DR

This paper investigates the impact of sampling on evaluation metrics in item recommendation, demonstrating that sampled metrics are inconsistent with their exact counterparts and fail to preserve relative performance rankings between algorithms—even in expectation. It shows that for small sampling sizes, all metrics collapse to AUC-like behavior, undermining the purpose of using precision, NDCG, or AP, which emphasize top-ranked items.

ABSTRACT

The task of item recommendation requires ranking a large catalogue of items given a context. Item recommendation algorithms are evaluated using ranking metrics that depend on the positions of relevant items. To speed up the computation of metrics, recent work often uses sampled metrics where only a smaller set of random items and the relevant items are ranked. This paper investigates sampled metrics in more detail and shows that sampled metrics are inconsistent with their exact version. Sampled metrics do not persist relative statements, e.g., 'algorithm A is better than B', not even in expectation. Moreover the smaller the sampling size, the less difference between metrics, and for very small sampling size, all metrics collapse to the AUC metric.

Motivation & Objective

  • To investigate the consequences of using sampled metrics instead of exact metrics in item recommendation evaluation.
  • To identify whether sampled metrics preserve relative performance rankings between algorithms, even in expectation.
  • To analyze how sampling affects the characteristics and discriminative power of common ranking metrics such as AUC, precision, AP, and NDCG.
  • To demonstrate that for small sampling sizes, all metrics behave similarly and converge to AUC behavior, undermining metric-specific design goals.
  • To caution researchers against using sampled metrics when the goal is to evaluate top-list performance with sharp metrics like precision or NDCG.

Proposed method

  • Formalizes standard ranking metrics (AUC, precision, AP, NDCG) as functions of the rank of the single relevant item in a list of size n.
  • Introduces a sampling mechanism where only a small set of random items and the relevant items are ranked, reducing computational cost.
  • Analyzes the expected value of sampled metrics under uniform sampling, deriving closed-form expressions for expected AP and other metrics.
  • Uses mathematical analysis to show that for m=1 (one sampled item), all sampled metrics become linear functions of the true rank r, making them indistinguishable in ranking behavior.
  • Compares sampled metrics to exact metrics and proves that sampled AUC is consistent with exact AUC, but other metrics are not.
  • Employs asymptotic and limit analysis (e.g., m→1) to show that metric distinctions vanish under heavy sampling, especially when m=1.

Experimental results

Research questions

  • RQ1Do sampled metrics preserve the relative performance ordering between two recommendation algorithms, even in expectation?
  • RQ2How does the sampling size affect the discriminative power of different ranking metrics such as AUC, precision, AP, and NDCG?
  • RQ3To what extent do sampled metrics deviate from the intended behavior of exact metrics, particularly in emphasizing top-ranked items?
  • RQ4Is there a sampling size at which all metrics become indistinguishable, and if so, what is the behavior in that limit?
  • RQ5Can sampled metrics still be considered valid proxies for exact metrics when the goal is to evaluate top-k performance?

Key findings

  • Sampled metrics are inconsistent with their exact counterparts and do not preserve relative performance rankings between algorithms, even in expectation.
  • For small sampling sizes, particularly m=1, all sampled metrics behave identically and become linear functions of the true rank r, making them indistinguishable from one another.
  • When m=1, all sampled metrics produce the same qualitative ranking outcomes as the exact AUC metric, regardless of the original metric’s intent.
  • As sampling size decreases, the differences between metrics such as precision, AP, and NDCG diminish, and all metrics converge toward AUC behavior.
  • The expected value of sampled AP for a single relevant item at rank r is approximately proportional to (1 - AUC^n(r)^{m+1}) / (r-1), showing that it only approximates exact AP for large m.
  • The analysis proves that sampled AUC is consistent with exact AUC, but other sampled metrics are not, indicating that sampled metrics measure different quantities than intended.

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.