TL;DR
McRank (Multiple Classification Ranker) reframes the learning-to-rank problem—traditionally treated as regression or pairwise preference learning—as a multi-class classification task. By using gradient boosting trees to estimate relevance probabilities and ranking items by their "Expected Relevance," it consistently outperforms established methods like LambdaRank on large-scale web search datasets.
What Problem Does This Paper Address?
In web search, the goal is to order a list of URLs for a given query so that the most relevant results appear at the top. This is typically measured using Discounted Cumulative Gain (DCG), a metric that rewards placing high-relevance items early in the list.
However, optimizing DCG directly is difficult because the metric is non-smooth and non-convex. Historically, researchers have used two main workarounds:
- Pairwise Ranking: Learning to predict which of two items is "better" (e.g., RankNet, LambdaRank).
- Regression: Predicting a continuous score for each item (e.g., trying to map features to the value $2^{relevance} - 1$).
The authors argue that since relevance labels are usually discrete (e.g., a 0-4 scale), regression is an indirect fit. Meanwhile, pairwise methods can be computationally expensive and may lose sight of the absolute relevance levels.
Methods
The authors propose McRank, which treats the $K$ relevance levels as $K$ distinct classes.
- Multi-class Boosting: They use a gradient boosting tree algorithm (specifically a multi-class version of MART) to learn the probabilities $p_{i,k}$ that a URL $i$ belongs to relevance class $k$.
-
Expected Relevance: To turn these probabilities back into a single ranking score, they calculate the "Expected Relevance": $$S_i = \sum_{k=0}^{K-1} \hat{p}_{i,k} \cdot k$$ This provides a stable, continuous score that allows for fine-grained sorting.
-
Ordinal Classification: They also explore a variant that respects the natural order of labels (0 < 1 < 2 < 3 < 4) by training cumulative probability classifiers (e.g., predicting $Pr(y \le k)$), though this proved more memory-intensive.
- Adaptive Quantization: To handle massive datasets, they implemented an efficient binning scheme for features. This speeds up the tree-building process (the primary bottleneck) and reduces memory overhead without sacrificing accuracy.
Datasets
The researchers evaluated McRank on four diverse datasets:
- Artificial Dataset: 50 features, noise-free, generated from cubic polynomials.
- Web-1: A standard benchmark with 367 features and ~650k URLs.
- Web-2: A larger dataset with 619 features and ~1.7 million URLs.
- Web-3: A proprietary dataset with 450 features and ~475k URLs.
Key Insights and Ideas
- The Classification Bound: The paper provides a theoretical justification for their approach, proving that DCG error is bounded by the square root of the classification error. If you classify perfectly, you rank perfectly.
- Soft vs. Hard Labels: Simply picking the "most likely" class for ranking is unstable. Using the probability distribution (Expected Relevance) acts as a "safety cushion," allowing the model to produce a smooth ranking even when it isn't 100% certain of the exact class.
- Classification > Regression: The authors find that classification is "more direct" than regression for discrete labels. Regression often struggles to fit the exponential gain function ($2^y - 1$) used in DCG, whereas classification naturally handles the discrete nature of human-judged relevance.
- Regularization via Binning: The adaptive quantization used for efficiency also acts as a form of regularization, helping the boosting trees generalize better to unseen data.
Key Results
McRank demonstrated superior performance across the board compared to LambdaRank and regression-based models.
- Better Accuracy: On the Web-1 dataset, McRank achieved an NDCG (Normalized DCG) of 72.2%, compared to LambdaRank's 71.2%.
- Consistency: The improvements were statistically significant (p-values < 0.05) and held true across various "truncation levels" (whether looking at the top 1 result or the top 10).
- Ordinal vs. Standard: While ordinal classification was theoretically more appealing and performed slightly better on some datasets, standard multi-class classification performed nearly as well in practice and was much more computationally efficient for large datasets.
Limitations and Future Work
- Memory Constraints: The ordinal classification version was too memory-hungry for the largest dataset (Web-2), suggesting that further optimization is needed for complex label structures.
- Parameter Tuning: The authors noted that while the algorithm isn't highly sensitive to parameters like tree size ($J$) or learning rate ($\nu$), they did not perform an exhaustive search for the absolute optimal settings.
- Scoring Functions: They briefly experimented with different scoring functions (like "Expected Gain") but found "Expected Relevance" ($T(k)=k$) to be the most robust. Exploring more complex mappings between probabilities and scores remains an open area.
Summary updated