COLD: Towards the Next Generation of Pre-Ranking System

Zhe Wang, Liqin Zhao, Biye Jiang, Guorui Zhou, Xiaoqiang Zhu, Kun GaiarXiv 2020

Large-scale industrial recommendation and advertising systems, such as those at Alibaba, typically employ a multi-stage "cascade architecture" to balance efficiency and accuracy. This funnel-like process narrows down millions of potential items to a final handful shown to the user through successive stages of filtering.

The multi-stage cascade architecture of industrial recommendation systems, highlighting the role of pre-ranking in the funnel.

The pre-ranking stage is a critical bottleneck in this pipeline. It must process tens of thousands of candidates within a strict 10–20 millisecond latency window. Historically, this constraint forced engineers to use overly simplified models that sacrifice predictive power for speed.

The Evolution of Pre-Ranking

The industry has progressed through several generations of models to address the pre-ranking challenge. Early systems relied on simple statistical scores (Generation 1) or Logistic Regression (Generation 2). The previous state-of-the-art, "Generation 3," utilized Vector-Product Deep Neural Networks (DNNs). In these models, user and item embeddings are computed independently offline, and the online stage only performs a simple inner product.

Evolution of pre-ranking models from simple statistical scores to the COLD (Generation 4) framework.

While efficient, Gen 3 models have a fatal flaw: they cannot model "cross-features"—the direct, non-linear interactions between a specific user and a specific ad. Furthermore, their reliance on offline pre-calculation makes them slow to adapt to rapid changes in user behavior, such as those seen during major shopping festivals like "Double 11."

The COLD Framework

COLD (Computing power cost-aware Online and Lightweight Deep pre-ranking) represents "Generation 4." It breaks the traditional paradigm by shifting from "simplifying the model to fit the system" to a joint algorithm-system co-design.

1. Flexible Network Architecture

COLD employs a deep neural network that incorporates arbitrary cross-features. To manage the increased computational load, it uses Squeeze-and-Excitation (SE) blocks. These blocks learn importance weights for different feature groups, allowing the system to dynamically prune less impactful features to meet a specific latency budget without significant accuracy loss.

2. Hardware-Level Optimizations

To achieve the necessary throughput (scoring 10,000+ candidates in milliseconds), COLD implements several systems-level innovations:

  • Column-based Computation: A cache-friendly approach that utilizes SIMD (Single Instruction Multiple Data) acceleration.
  • Low-Precision GPU Inference: Leveraging NVIDIA T4 GPUs to perform calculations in Float16. This is supported by a custom "Linear-log" operator to prevent numerical instability common in low-precision math.
  • Parallelism: Splitting queries into smaller batches for concurrent processing across GPU threads.

3. Fully Online Infrastructure

Unlike its predecessors, COLD is a fully online system. Both training and serving happen in real-time, ensuring the model stays current with the latest data distributions and user trends.

Key Results and Business Impact

Evaluated on Alibaba’s real-world display advertising traffic, COLD demonstrated significant improvements over the previous state-of-the-art:

  • Standard Performance: In A/B testing, COLD achieved a +6.1% lift in Click-Through Rate (CTR) and a +6.5% increase in Revenue Per Mille (RPM) over the Gen 3 baseline.
  • Event Performance: The system's adaptability was most evident during the "Double 11" shopping festival. Under extreme load and high data volatility, COLD delivered even greater gains: +9.1% CTR and +10.8% RPM.
  • Efficiency Gains: The use of Float16 precision combined with NVIDIA’s Multi-Process Service (MPS) effectively doubled engine throughput compared to standard Float32 implementations.

Conclusion

COLD proves that high-performance machine learning in production is not just about better algorithms, but how those algorithms interact with hardware. By treating computing power as a manageable variable rather than a static constraint, COLD enables the use of complex, cross-feature-rich models in the most demanding stages of the recommendation pipeline. Future work may involve automating feature pruning through Neural Architecture Search (NAS) to further refine the balance between cost and performance.

Summary updated

BibTeX
@misc{wang2020cold,
  author = {Zhe Wang and Liqin Zhao and Biye Jiang and Guorui Zhou and Xiaoqiang Zhu and Kun Gai},
  title = {{COLD: Towards the Next Generation of Pre-Ranking System}},
  year = {2020},
  eprint = {2007.16122},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2007.16122},
}
Figure