TL;DR
This paper introduces InterFormer, a novel architecture for Click-Through Rate (CTR) prediction that effectively integrates heterogeneous user data (like profiles and past behavior). It tackles limitations in existing methods by enabling bidirectional information flow between different data types and preventing information loss through selective aggregation, leading to improved prediction accuracy and efficiency.
What Problem Does This Paper Address?
Click-through rate (CTR) prediction is crucial for online advertising and recommendation systems, aiming to estimate the likelihood of a user clicking on an ad or item. Modern systems leverage diverse data sources, including static user profiles (non-sequential features) and dynamic user behavior sequences (sequential features). The challenge lies in effectively combining these heterogeneous information sources. Existing methods often suffer from:
- Insufficient Inter-Mode Interaction: Information flows unidirectionally, meaning non-sequential data might inform sequence learning, but not vice-versa, limiting the model's ability to capture nuanced user interests.
- Aggressive Information Aggregation: To manage computational complexity, early stages of models often summarize or pool information, leading to a significant loss of valuable details.
These limitations hinder the development of truly effective CTR prediction models that can adapt to evolving user preferences.
Methods
The core innovation of InterFormer is its interleaving learning style, which allows for bidirectional information exchange between different data modes. This is achieved through three main architectural components:
- Interaction Arch: This module focuses on learning behavior-aware non-sequence embeddings. It models interactions not only among non-sequential features but also incorporates summarized sequential information, allowing non-sequential features to capture implicit user interests derived from recent behavior.
- Sequence Arch: This component learns context-aware sequence embeddings. It uses a Personalized FeedForward Network (PFFN) to incorporate non-sequential context into sequence modeling and employs Multi-Head Attention (MHA) to capture long-range dependencies within sequences. Crucially, it prepends a "CLS token" derived from non-sequential summarization to the sequence input for MHA, enabling non-sequential context to guide sequence learning.
- Cross Arch: This module acts as a bridge, facilitating selective information exchange and summarization between the Interaction and Sequence Arches. It uses a gating mechanism to select relevant non-sequential information and employs multiple summarization strategies (CLS tokens, PMA tokens, and recent interacted tokens) for sequential data. This selective summarization prevents information loss and allows for efficient exchange of high-dimensional features.
By retaining complete information in each mode until later stages and using selective summarization, InterFormer avoids the aggressive aggregation problem. The bidirectional flow ensures that both non-sequential and sequential information mutually benefit from each other.
Datasets
The paper evaluates InterFormer on three public benchmark datasets and a large-scale internal industrial dataset:
- AmazonElectronics [11]: User reviews and metadata.
- TaobaoAd [42]: Ad click-through data.
- KuaiVideo [20]: User interactions with micro-videos.
- Internal Dataset (Meta Ads): A massive dataset with 70B samples, hundreds of non-sequence features, and 10 sequences of varying lengths.
The paper does not introduce new benchmarks but uses established datasets to demonstrate the effectiveness of its proposed method.
Key Insights and Ideas
- Bidirectional Information Flow is Key: The most significant insight is that enabling information to flow in both directions between non-sequential and sequential data is crucial for capturing complex user interests. Unidirectional approaches limit the model's understanding.
- Selective Aggregation Prevents Information Loss: Aggressively summarizing data early in the pipeline is detrimental. InterFormer's approach of retaining full information and using selective summarization in a dedicated "Cross Arch" is vital for maintaining data integrity.
- Interleaving Learning Style: The core architectural design of interleaving the Interaction and Sequence Arches, mediated by the Cross Arch, allows for a more holistic and mutually beneficial learning process.
- Scalability Matters: The model demonstrates good performance not only on benchmark datasets but also shows promising scalability on a massive industrial dataset, indicating its practical applicability.
Key Results
- Benchmark Performance: InterFormer achieved state-of-the-art performance on public datasets, outperforming the best competitors by up to 0.9% in gAUC, 0.14% in AUC, and 0.54% in LogLoss.
- Industrial Deployment: On a large-scale industrial dataset at Meta Ads, InterFormer achieved a 0.15% Normalized Entropy (NE) gain compared to the internal SOTA model with similar computational resources.
- Efficiency Gains: The model demonstrated a significant 24% Queries Per Second (QPS) gain compared to prior SOTA models.
- Ablation Studies: Experiments confirmed the effectiveness of the interleaving learning style and selective information aggregation, with the fully bidirectional approach ("int") consistently outperforming unidirectional or separate learning scenarios.
Limitations and Future Work
- Limitations: The paper focuses on CTR prediction and its architecture might require adaptation for other recommendation tasks. While it addresses information loss, the computational cost of maintaining full information until later stages could still be a factor for extremely large-scale or real-time scenarios, though the paper highlights efficiency gains.
- Future Work: The authors suggest that InterFormer's architecture is compatible with various interaction learning modules, hinting at future research exploring different backbone components. The successful deployment and promising ROI in key Ads models suggest further integration and exploration in real-world applications. The paper also implies that further optimizations in model-system co-design could yield even greater efficiency gains.
Summary updated