Abstract
Search engines traditionally face a "tradeoff curse": high-quality results (effectiveness) often come at the cost of slow response times (efficiency). This research introduces a "Learning to Efficiently Rank" framework that treats speed as a first-class citizen during model training. By utilizing query-dependent feature pruning, temporally constrained feature selection, and multi-stage cascades, the framework delivers state-of-the-art relevance at a fraction of the computational cost.
Introduction: The Efficiency-Effectiveness Tradeoff
In Information Retrieval (IR), there is a persistent tension between how "good" a search result is and how "fast" it appears. To improve relevance, researchers build increasingly complex models using hundreds of features, such as term proximity and document structure. However, these models are often too slow for web-scale indices. Historically, relevance and speed were handled separately by IR researchers and systems engineers. This work bridges that gap, asking: Can we build a machine learning framework that optimizes for both relevance and speed simultaneously?
Methodology
The author proposes three primary approaches to integrate efficiency into the ranking process:
1. Efficient Sequential Dependence (ESD)
Standard models often use expensive "bigram" features. The ESD approach introduces a pruning mechanism that evaluates features at query-time. If a feature’s predicted contribution to the final score is low relative to its computational cost, the model skips it.
2. Temporally Constrained Ranking
When a system has a hard deadline (e.g., 300ms), probabilistic graphical models (specifically Ising models) are used to select the best subset of features within that budget. This approach accounts for feature redundancy, ensuring the model doesn't waste time on similar features when one diverse feature provides more utility.
3. Cascade Ranking Models
Instead of scoring every document with a complex model, a multi-stage "cascade" is used:
- Stage 1: A "cheap" model filters out 90-95% of clearly irrelevant documents.
- Subsequent Stages: Increasingly complex models are applied only to the surviving pool. A novel boosting algorithm (a generalization of AdaRank) was developed to learn the optimal sequence of models and pruning thresholds.
Evaluation and Results
The research was evaluated using standard TREC web collections: Wt10g (1.7M docs), Gov2 (25M docs), and ClueWeb09 (50M docs).
Key Findings:
- Speedups: ESD models were up to 46% faster than standard models while maintaining relevance (MAP).
- Temporal Constraints: The "Joint" model reached 98% of the effectiveness of an unconstrained model within strict per-query budgets.
- Cascade Efficiency: Cascade models were 30% to 50% faster than standard boosting models.
- Scalability: Benefits were most pronounced on the largest dataset (ClueWeb), proving the framework's suitability for modern web scale.
Insights and Future Directions
A key insight is that efficiency is query-dependent; feature selection must happen at query-time. Additionally, aggressive early pruning in cascades allows systems to focus resources on high-powered models for top candidates with almost zero loss in relevance.
Future work includes extending these techniques to non-linear models like Gradient Boosted Decision Trees (GBDTs), incorporating user-behavior data, and exploring more efficient optimization algorithms like SPSA.
Summary updated