TL;DR
CDNet introduces a dual-view architecture for click-through rate (CTR) prediction that effectively bridges the gap between sequential user behaviors and static contextual features. By combining a fine-grained view of top-$k$ "core behaviors" with a coarse-grained global interest distribution, the model achieves state-of-the-art accuracy while maintaining low computational complexity, leading to a 2.24% CTR lift in real-world production.
What Problem Does This Paper Address?
In recommender systems, predicting Click-Through Rate (CTR) relies heavily on combining a user's dynamic behavior sequence (their history of clicks) with static contextual features (such as user demographics or item attributes).
However, existing models face a frustrating trade-off:
- The Aggregation Approach: They compress the entire history into a single vector before interacting it with the context. This creates an information bottleneck, diluting fine-grained behavioral details.
- The Full-Interaction Approach: They interact every single past action with the context. While detailed, this is computationally prohibitive for long user histories ($O(L^2)$ complexity) and introduces massive noise from past actions completely irrelevant to the current candidate item.
The authors propose CDNet (Core-Behaviors and Distributional-Compensation Dual-View Interaction Network) to find the sweet spot: capturing critical fine-grained behavioral details without the computational explosion or noise susceptibility.
Methods
CDNet splits the feature interaction process into two complementary "views" before passing them to a standard Transformer layer for final prediction:
- Fine-grained Core-Behaviors Module: The model calculates the cosine similarity between the candidate item and all items in the user's history. It then extracts the top-$k$ most relevant items (the "core behaviors"). Because the
top-koperation is non-differentiable, the authors employ a Straight-Through Estimator (STE) to allow gradient propagation during training while maintaining a clean, discrete selection during online inference. - Global Interest-Distribution Module (Distributional Compensation): To ensure that discarding the non-core behaviors doesn't result in a total loss of broader context, this module creates a histogram (bin count) of the similarity scores across the entire sequence. This coarse-grained statistical summary acts as a global profile of the user's current interest alignment.
Finally, the core behaviors, the global interest embedding, and the static context features are concatenated and fed into a standard Transformer architecture (Multi-Head Attention and Per-token Feed-Forward Networks) to output the final CTR prediction.
Datasets
The authors evaluated CDNet on two datasets:
- Taobao: A public benchmark dataset containing 89 million user behavior logs. The authors used the latest 600 clicked items to form the behavior sequences.
- Industrial Dataset: A massive, real-world dataset sourced from Alibaba's e-commerce platform, containing 7 billion user interactions with sequence lengths reaching up to 1,600 items.
Key Insights and Ideas
- The Dual-View Synergy: Fine-grained modeling and coarse-grained modeling shouldn't be an either-or choice. Core behaviors provide the precision needed to match specific user intents, while the global distribution compensates for information loss without reintroducing behavior-level noise.
- More History, More Noise: Full sequence expansion models (like OneTrans) actually suffer when user histories get very long because irrelevant clicks drown out the true signal. Restricting fine-grained interactions to a sparse subset ($k=16$) yields better results.
- Granularity Matters: Hyperparameter analysis showed that smaller similarity intervals ($n$) for the global interest distribution consistently yield superior performance, meaning that a more precise histogram helps the model better characterize complex behavioral patterns.
Key Results
- Offline Performance: CDNet consistently outperformed mainstream feature interaction paradigms (including DCN, AutoInt, Wukong, and OneTrans) across both datasets, achieving the highest AUC and lowest LogLoss.
- Online A/B Test: Deployed on a large-scale e-commerce platform for 10 days, CDNet achieved a 2.24% relative lift in CTR over the incumbent production model. Crucially, it did so with zero additional inference latency, validating its computational efficiency.
Limitations and Future Work
The authors do not explicitly detail limitations, but their hyperparameter analysis indicates that performance is sensitive to the choice of the selection ratio ($k/L$) and the number of similarity bins ($n$). In very long sequences ($L=1600$), performance drops if $k$ is set too high due to noise injection.
A promising direction for future work would be developing an adaptive mechanism that dynamically adjusts $k$ based on the diversity of an individual user's history, rather than relying on a globally fixed constant.
Summary updated