Towards a Better Tradeoff between Effectiveness and Efficiency in Pre-Ranking: A Learnable Feature Selection based Approach

Xu Ma, Pengjie Wang, Hui Zhao, Shaoguo Liu, Chuhan Zhao, Wei Lin, Kuang-Chih Lee, Jian Xu, Bo Zheng

Abstract

In large-scale recommendation systems, the pre-ranking stage faces a critical tradeoff between model effectiveness and computational efficiency. Traditional representation-focused models are efficient but lack the predictive power of interaction-focused models. This paper introduces a learnable feature selection method, Feature Complexity and variational Dropout (FSCD), which enables the use of complex interaction-focused architectures in pre-ranking by pruning features based on both predictive importance and computational cost. Online A/B tests on Taobao demonstrate significant improvements in CTR (+1.54%) and RPM (+2.76%) without increasing CPU overhead.

Introduction

In large-scale search and recommendation systems, such as Alibaba's Taobao, processing millions of items in real-time requires a multi-stage ranking architecture. This pipeline typically consists of matching, pre-ranking, ranking, and re-ranking stages. The pre-ranking stage is particularly critical as it must filter thousands of items down to hundreds while maintaining low latency.

The multi-stage ranking funnel and the efficiency-effectiveness tradeoff between representation-focused and interaction-focused models.

Historically, pre-ranking has relied on representation-focused models (e.g., DSSM), which compute user and item embeddings independently. While efficient, these models fail to capture complex "interaction features"—the non-linear relationships between specific users and items. Transitioning to interaction-focused models offers higher accuracy but often exceeds the strict computational budgets of the pre-ranking stage.

The FSCD Methodology

To bridge this gap, we propose a novel approach that utilizes a complex interaction-focused architecture pruned by a learnable feature selection method called Feature Complexity and variational Dropout (FSCD).

Learnable Feature Selection

Instead of manual feature engineering, FSCD introduces a learnable dropout parameter $z_j$ for each feature field. During training, the model learns to assign weights to features, effectively deciding which are essential for prediction and which can be discarded.

The FSCD process: learnable parameters determine feature importance, allowing the model to rank and prune features based on effectiveness and efficiency.

Complexity-Aware Pruning

Unlike standard selection methods that only optimize for accuracy, FSCD incorporates a Feature Complexity ($c_j$) metric into the loss function. This metric accounts for the online computational cost, embedding size, and key cardinality of each feature. By penalizing "expensive" features that offer marginal accuracy gains, the model automatically identifies a high-ROI feature set that fits within the system's latency constraints.

Experimental Results

The proposed model was evaluated on Taobao's massive production datasets, with initial selection performed on 2 billion samples and final training on over 200 billion samples.

Offline Performance

The FSCD-based model achieved a 95% recall rate relative to the final ranker, a significant improvement over the 88% recall of traditional vector-product models. This indicates that the pruned interaction model captures significantly more signal than a full representation model.

Online Impact

A 30-day live A/B test on Taobao revealed substantial business gains:

  • Click-Through Rate (CTR): +1.54%
  • Revenue (RPM): +2.76%

Crucially, these gains were achieved with zero increase in CPU overhead. The FSCD method successfully offset the increased complexity of the interaction network by pruning approximately 95% of the computational load associated with feature processing.

Conclusion

This work demonstrates that the bottleneck in pre-ranking is not necessarily the model architecture, but the input feature space. By treating efficiency as a learnable constraint through FSCD, we can deploy powerful interaction-focused models in latency-sensitive environments. Future work will explore automating the tuning of complexity weights and integrating Neural Architecture Search (NAS) to further optimize the network structure.

Summary updated

BibTeX
@inproceedings{ma2021towards,
  author = {Xu Ma and Pengjie Wang and Hui Zhao and Shaoguo Liu and Chuhan Zhao and Wei Lin and Kuang-Chih Lee and Jian Xu and Bo Zheng},
  title = {{Towards a Better Tradeoff between Effectiveness and Efficiency in Pre-Ranking: A Learnable Feature Selection based Approach}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2021},
  doi = {10.1145/3404835.3462979},
}
Figure