TL;DR
This paper introduces PCDF, a novel distributed framework for sponsored search advertising that tackles the latency challenge of deploying complex models. By splitting the ranking process into parallelizable stages and integrating them with the retrieval pipeline, PCDF significantly reduces inference time without sacrificing accuracy, enabling the use of more sophisticated models in real-time advertising systems.
What Problem Does This Paper Address?
Traditional sponsored search advertising systems rely on a multi-stage pipeline: retrieval, pre-ranking, and deep ranking. The deep ranking stage, crucial for accurate predictions, often employs computationally intensive deep learning models. However, the strict latency requirements of real-time advertising make it difficult to deploy these powerful models without compromising speed. Furthermore, existing models often overlook the impact of organic search results on ad performance. This creates a trade-off between prediction accuracy and system latency, limiting the sophistication of deployed models and potentially impacting ad effectiveness.
Methods
The core innovation of PCDF is its Parallel-Computing Distributed Framework. Instead of a strictly sequential deep ranking process, PCDF splits it into three stages:
- Pre-modeling: This stage handles "target-independent" features (e.g., user historical behavior) and is designed to run in parallel with the initial retrieval and pre-ranking stages. This offloads computation early in the pipeline.
- Mid-modeling: This is the primary ranking stage, processing features from the retrieval, pre-ranking, and pre-modeling stages to generate initial ad scores.
- Post-modeling: This stage incorporates "external items" (like organic search results) to re-rank ads, addressing a limitation of previous models.
This three-stage approach is implemented using pipeline parallelism, allowing these stages to operate concurrently. PCDF also emphasizes end-to-end training and supports an online learning paradigm, ensuring that models can adapt to changing data distributions in real-time. The framework is designed to be flexible, allowing for complex deep learning architectures in each stage without increasing overall inference latency.
Datasets
The paper mentions using an industrial dataset for evaluation. They selected 15-day samples for training and the subsequent two days for evaluation and testing, with approximately 10 billion training examples. Short-term behavior sequences were based on the recent 50 user actions, while long-term sequences considered the most recent 1,024 actions.
Key Insights and Ideas
- Parallelizing the Ranking Pipeline is Key: The most significant insight is that by strategically splitting the deep ranking process and running parts of it in parallel with earlier stages, the overall latency can be drastically reduced. This is a system-level optimization rather than solely a model optimization.
- Target-Independent Features Can Be Processed Early: Identifying and processing features that don't depend on the specific candidate ads (like user history) in a pre-modeling stage, and doing so in parallel, is a crucial step for efficiency.
- Integrating External Information Improves Relevance: The inclusion of a post-modeling stage to consider organic search results is a novel approach to enrich ad ranking beyond just ad-specific features.
- End-to-End Training for Consistency: Maintaining training-inference consistency through end-to-end training is vital for accurate and reliable real-time serving, especially when incorporating online learning.
- Flexibility for Complex Models: PCDF's design allows for the use of advanced, computationally intensive models (like Transformer-based user behavior models) without the typical latency penalties.
Key Results
- Latency Reduction: The PCDF framework achieved stable latency in the ranking stage (around 38ms) even with increasing sequence lengths, whereas the baseline framework's latency increased significantly (up to 15ms increase for longer sequences), reaching an unacceptable 58ms.
- Performance Improvement: In an online A/B test, PCDF achieved a 5% CTR (Click-Through Rate) gain and a 5.1% RPM (Revenue Per Mille) gain compared to the benchmark.
- Offline Evaluation: On an industrial dataset, PCDF consistently outperformed baseline models (SIM and ETA) in terms of AUC (Area Under the Curve), achieving improvements of 2.51% and 1.60% respectively.
- Minimal Latency Overhead: The addition of long-term behavior modeling and post-modeling brought almost no extra inference time to the overall ranking stage, demonstrating the framework's efficiency.
Limitations and Future Work
- Limitations: The paper acknowledges that the traditional three-stage recommendation process is serialized, and while PCDF introduces parallelism, the core retrieval and pre-ranking stages remain sequential. The paper also notes that splitting user requests into sub-requests for parallel processing involves RPC calls, which can increase the chance of failures if too many are made.
- Future Work: The authors suggest that their framework provides a foundation for deploying more complex models. They leave room for further exploration in applying different model architectures for user behavior and other features, as well as investigating other optimization tricks beyond pipeline parallelism, such as data parallelism. The framework's flexibility is highlighted as a key area for future experimentation.
Summary updated