Abstract
Modern deep recommender systems typically employ a two-stage pipeline consisting of a retriever and a ranker. However, these components are often trained independently, leading to issues such as the "easy negative" trap, data sparsity, and distribution shift between training and inference. This paper introduces the Cooperative Retriever and Ranker (CoRR) framework, which enables joint training through a mutual reinforcement loop. CoRR utilizes a scalable adaptive sampler for hard negatives and a novel "sampled KL divergence" for efficient knowledge distillation. Empirical evaluations on datasets like Amazon, Gowalla, and MovieLens show that CoRR significantly outperforms existing methods, achieving up to a 25.62% relative improvement in NDCG@10.
Introduction
Deep Recommender Systems (DRS) are the backbone of modern digital platforms. To handle millions of items efficiently, they use a two-stage architecture:
- Retriever: A lightweight model that filters the item pool down to a manageable candidate set.
- Ranker: A complex model that performs fine-grained ordering of these candidates.
Despite their success, the independent training of these stages creates a "silo" effect. Rankers trained on random negatives fail to distinguish subtle differences in high-quality candidates provided by the retriever. Conversely, retrievers often lack the fine-grained signals that a ranker possesses. CoRR addresses these challenges by coupling the two stages during training.
Methodology: The CoRR Framework
The core of CoRR is a cooperative loop where the retriever and ranker improve each other iteratively.
Adaptive Hard Negative Sampling
To train the ranker effectively, it must encounter "hard negatives"—items that are similar to the target but not clicked. CoRR employs a scalable and adaptive sampler that uses K-means clustering and multi-level inverted indices to sample from the retriever's distribution in sublinear time. This approach also helps alleviate the "false negative" problem by sampling from the retriever's distribution rather than just taking the top-k items.
Knowledge Distillation via Sampled KL Divergence
The retriever learns from the ranker's sophisticated scoring via knowledge distillation. To overcome the computational cost of calculating KL divergence over millions of items, the authors propose Sampled KL Divergence. This provides an asymptotically unbiased estimation, allowing the retriever to align its ranking order with the ranker using only a small subset of items. This focus on ranking order rather than exact probability scores makes the distillation process more robust for retrieval tasks.
Experimental Results
The framework was tested on several large-scale datasets, including Amazon (Electronics), Gowalla, MovieLens (10M), and Taobao.
Key Findings
- Superior Accuracy: CoRR consistently outperformed independent training and other joint-training baselines like ICC and RankFlow. On average, it achieved a 25.62% improvement in NDCG@10 for general recommendation and an 18.57% improvement in sequential recommendation tasks.
- Robustness: The framework is model-agnostic, showing gains across various architectures including SASRec, DIN, and DeepFM.
- Retriever Enhancement: Unlike previous methods, CoRR significantly boosts the retriever's performance by providing it with high-quality supervision from the ranker, effectively closing the gap between training and real-world inference.
Conclusion
CoRR breaks the traditional boundaries between retrieval and ranking in recommendation systems. By fostering mutual reinforcement through efficient sampling and distillation, it achieves state-of-the-art performance while remaining computationally feasible for large-scale industrial applications. Future work will focus on optimizing the proposal distribution for sampling and scaling the framework to billion-item datasets.
Summary updated