Abstract
Predicting Click-Through Rate (CTR) is a fundamental task in online advertising and e-commerce. Existing models often struggle to capture implicit user interests relative to specific candidate ads or fail to adaptively balance low-order and high-order feature interactions. This paper introduces the Deep Adaptive Interest Network (DAIN), which employs a hierarchical attention framework. DAIN utilizes a local attention mechanism to extract specific user interests from historical behavior and a global attention mechanism to adaptively weight feature interactions. Evaluated on real-world Amazon datasets, DAIN demonstrates significant improvements in AUC and relative performance over state-of-the-art baselines.
Introduction: The CTR Prediction Challenge
In online advertising and e-commerce, predicting whether a user will click an ad—known as Click-Through Rate (CTR) prediction—is a critical challenge. While deep learning has significantly advanced this field, two persistent gaps remain in existing models:
- Implicit Interest Extraction: Many models focus on general user profiles but fail to extract the specific "interest" hidden within a user's historical behavior relative to a specific candidate ad.
- Rigid Feature Interaction: Feature interactions (e.g., "age" and "category") can be low-order (simple pairs) or high-order (complex non-linear patterns). Most models either focus on one type or combine them in a fixed, non-adaptive way.
DAIN addresses these issues by being "adaptive" at two levels: how it interprets user history and how it weights different types of feature interactions.
The DAIN Architecture
The Deep Adaptive Interest Network (DAIN) architecture follows a four-stage pipeline designed to maximize predictive accuracy through hierarchical attention.
1. Feature Vectorization
The process begins with standard one-hot encoding, followed by an embedding layer that transforms sparse categorical data into dense, low-dimensional vectors.
2. Local Attention Mechanism
This module serves as the "interest extractor." Rather than treating all past user behaviors equally, it employs an MLP-based attention unit to weight historical actions based on their relevance to the current candidate ad. For example, if a user recently clicked on a phone case, that behavior receives a higher weight when the system evaluates a smartphone ad.
3. Feature Interaction Extractor
DAIN processes interactions through two parallel components:
- Factorization Machines (FM): Captures low-order, pairwise interactions.
- Multi-layer Perceptron (MLP): Captures complex, high-order non-linear interactions.
4. Linear-based Global Attention
A novel "monitor" layer adaptively learns weights ($w_{FM}$ and $w_{MLP}$) to determine the relative influence of low-order versus high-order interactions on the final prediction.
Experimental Evaluation
The authors evaluated DAIN using three subsets of the Amazon Dataset: Electronics, Beauty, and Office Products. These standard benchmarks represent varying scales of user behavior and product diversity.
Key Results
DAIN was compared against ten baselines, including Logistic Regression (LR), PNN, Wide&Deep, and the Deep Interest Network (DIN).
- Accuracy (AUC): On the Electronics dataset, DAIN achieved an AUC of 0.8291, significantly outperforming DIN (0.7603) and Wide&Deep (0.7456).
- Relative Improvement: DAIN showed a 43.64% relative improvement over the base model on the Electronics dataset and 49.4% on the Beauty dataset.
- Ablation Studies: Removing either the FM component or the local attention mechanism led to a measurable performance drop, confirming the importance of the hierarchical approach.
Insights and Discussion
The core innovation of DAIN is its balancing act. High-order and low-order interactions are not equally important for every dataset. The Global Attention mechanism allows the model to shift focus dynamically. While high-order interactions generally play a larger role, incorporating low-order interactions (via the FM component) consistently improves accuracy.
Furthermore, DAIN demonstrates robustness to "cold start" scenarios. For users with sparse historical data, the adaptive weighting can rely more heavily on general feature interactions, maintaining high predictive performance.
Conclusion and Future Directions
DAIN provides a powerful framework for understanding which behaviors and interaction types drive CTR. Future work may involve:
- Sequence Modeling: Incorporating Transformers to better capture the temporal flow of user actions.
- Interest Horizons: Distinguishing between long-term stable interests and short-term impulsive behaviors.
- Efficiency: Optimizing the dual-path architecture for ultra-high-speed production environments.
Summary updated