SERank: Optimize Sequencewise Learning to Rank Using Squeeze-and-Excitation Network

RuiXing Wang, Kuan Fang, RiKang Zhou, Zhan Shen, LiWen FanarXiv 2020

Introduction

Learning-to-Rank (LTR) is a cornerstone of modern information retrieval systems. Traditionally, LTR models have relied on pointwise or pairwise scoring functions, which evaluate documents independently or in pairs. However, the relevance of a document is often context-dependent; a document's utility to a user can change based on the other candidates present in the search result list.

To capture this context, "Groupwise" Scoring Functions (GSF) were developed to process groups of documents simultaneously. While effective at improving ranking accuracy, GSF models suffer from high computational complexity—often $O(N^k)$ where $N$ is the number of documents and $k$ is the group size. This makes them difficult to deploy in high-traffic production environments like web search engines. SERank addresses this challenge by introducing a "Sequencewise" approach that utilizes Squeeze-and-Excitation (SE) blocks to capture global context with minimal computational overhead.

Methodology: Sequencewise Context via SE Blocks

SERank treats the ranking task as a sequence-to-sequence problem. It takes an entire sequence of $L$ documents, each represented by a feature vector of dimension $C$, as a single input matrix. The core of the architecture is the integration of Squeeze-and-Excitation (SE) blocks, a technique originally designed for channel-wise attention in computer vision.

The SE block operates through three distinct phases:

  1. Squeeze ($F_{sq}$): The model performs global pooling (such as mean or max pooling) across the document dimension. This "squeezes" the $L \times C$ input into a single $1 \times C$ vector that summarizes the global statistics of the entire candidate list.
  2. Excitation ($F_{ex}$): This global vector passes through two fully-connected layers with a bottleneck structure. This allows the model to learn non-linear dependencies between features, effectively determining which features are most important given the current set of candidates.
  3. Reweight ($F_{reweight}$): The learned weights are applied back to the original document features. This dynamic reweighting ensures that the model focuses on the most discriminative features for the specific query context.
The Squeeze-and-Excitation (SE) mechanism used in SERank to learn global feature importance across a sequence of documents.

The authors also introduced a variant called SERank-b. This version adds a dimension-reduction layer before the squeeze operation, allowing the model to extract global weights from a more abstract, compressed feature space, further enhancing efficiency and performance.

Performance and Efficiency

The effectiveness of SERank was evaluated using standard benchmarks like MSLR-Web30K and a massive industrial dataset from Zhihu, containing 2 million queries. A key highlight of the research is the dramatic improvement in the efficiency-accuracy trade-off compared to existing groupwise models.

Comparison of NDCG@5 vs. FLOPS. SERank achieves higher ranking accuracy than GSF(64) while requiring significantly fewer floating-point operations.

Key experimental results include:

  • Computational Efficiency: SERank-b is 16.7x faster than the GSF(64) model. By using global pooling instead of local document interactions, it avoids the combinatorial explosion of groupwise approaches.
  • Ranking Accuracy: On the MSLR-Web30K dataset, SERank-b outperformed neural baselines like RankNet and GSF(1) by 3.5% and 1.9% respectively in terms of NDCG@5.
  • Scalability to Large Data: While tree-based models like LambdaMART remain strong on small, dense datasets, SERank demonstrated superior performance on the large-scale Zhihu dataset, which includes millions of queries and sparse ID features.

Real-World Impact and Robustness

SERank was deployed in online A/B tests at Zhihu, a major Chinese Q&A platform. The model delivered a 0.95% increase in Click@1 (clicks at the top position) compared to the baseline DNN, proving its practical value in production.

Additionally, the model exhibits high robustness. In stability tests where 50% of the documents were randomly removed from a query, the relative ranking of the remaining documents remained consistent. This suggests that the global context captured by the SE blocks is stable and reliable even with incomplete information.

Conclusion

SERank represents a significant step forward in making context-aware ranking practical for large-scale systems. By repurposing Squeeze-and-Excitation blocks for sequencewise learning-to-rank, the authors have created a model that is both smarter than pointwise baselines and significantly faster than previous groupwise attempts. Future work may explore more complex sequence architectures like Transformers, provided they can meet the strict latency requirements of real-world search engines.

Summary updated

BibTeX
@misc{wang2020serank,
  author = {RuiXing Wang and Kuan Fang and RiKang Zhou and Zhan Shen and LiWen Fan},
  title = {{SERank: Optimize Sequencewise Learning to Rank Using Squeeze-and-Excitation Network}},
  year = {2020},
  eprint = {2006.04084},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.04084},
}
Figure