Evaluating recommendation systems by ranking a relevant item against a small sample of "negative" items is a common but flawed practice that often leads to misleading results. This paper proposes a shift in perspective: instead of trying to "fix" individual sampled metrics, we should use the sampled data to learn the underlying empirical rank distribution. By modeling this distribution as a mixture of binomials and solving it via Maximum Likelihood or Maximum Entropy, researchers can accurately estimate any global evaluation metric (like NDCG or Recall) from sampled data.
The Challenge of Sampled Metrics
In recommendation research, "global" evaluation involves ranking a test item against every other item in the catalog, which can number in the millions. To save time, researchers often use sampling: ranking the test item against a small set (e.g., 99) of randomly selected "negative" items.
However, recent critiques have shown that metrics calculated on these samples are "inconsistent." A model that appears superior on a sampled version of Recall or NDCG might actually perform worse on the full dataset. While some "correction" methods exist, they are often limited to specific metrics or require complex tuning. This research seeks a unified, metric-independent way to bridge the gap between sampled observations and global performance.
Methodology: Learning the Rank Distribution
The authors introduce a new approach: learning the empirical rank distribution $P(R)$ directly from sampled data.
- The Statistical Model: If an item has a true global rank $R$, its rank $r$ in a random sample of size $n$ follows a Binomial Distribution. The overall distribution of sampled ranks is thus a mixture of binomial distributions, where the mixing weights are the true global rank probabilities.
- Estimation Techniques:
- Maximum Likelihood Estimation (MLE): Uses an Expectation-Maximization (EM) algorithm to find the rank distribution most likely to produce the observed sampled ranks.
- Weighted MLE (WMLE): Places more weight on small sampled ranks, as top-tier performance (e.g., Top-10) is usually the primary concern.
- Maximum Entropy (MES): Regularizes the learned distribution by maximizing entropy while constraining the squared distance to the sampled data.
Once $P(R)$ is learned, any metric—such as Recall@K, NDCG@K, or AP@K—can be calculated as a weighted sum of that metric's importance function over the estimated distribution.
Experimental Evaluation
The approach was evaluated using four major recommendation benchmarks: MovieLens-1M, Pinterest-20, CiteULike, and Yelp. These were tested against several recommendation algorithms, including EASE, MultiVAE, NeuMF, itemKNN, and ALS.
Key Results and Insights
- Metric Independence: By estimating the rank distribution instead of a specific metric, the problem is solved for all metrics simultaneously. One distribution allows for the instant computation of Recall, NDCG, and MRR.
- Accuracy and Consistency: MLE and MES estimators were significantly closer to the "Exact" global metrics than previous baselines like the Bias-Variance (BV) estimator.
- Predicting Winners: In practical tests to identify the better of two algorithms, the WMLE approach correctly identified the "winner" in up to 61% of trials where other sampled methods failed.
Conclusion and Future Directions
The proposed framework demonstrates that the "inconsistency" of sampled metrics can be overcome by reconstructing the global rank distribution. While the new estimators are highly accurate, they can exhibit higher variance than some regularized methods. Future work may explore bootstrapping to reduce this variance and extend the model to non-uniform sampling distributions, such as "hard negative" sampling common in production environments.
Summary updated