Abstract
Predicting click-through rates (CTR) for online advertising and recommendation systems increasingly relies on modeling long-term user behavior sequences. However, these sequences introduce significant challenges, including system overhead and information noise from redundant or irrelevant actions. This paper presents the Adversarial Filtering Model (ADFM), a novel framework that combines hierarchical data compression with an adversarial training mechanism. ADFM identifies and retains only the most relevant user actions, significantly improving prediction accuracy while maintaining low online storage and latency costs. Experimental results on industrial datasets show a 4.7% increase in CTR and substantial sequence compression.
Introduction
In modern recommendation systems, user behavior modeling is essential for capturing evolving interests. While short-term behaviors (e.g., the last few dozen clicks) provide immediate context, long-term behaviors (spanning months and thousands of actions) offer a richer historical perspective. Despite this potential, long-term data presents two primary hurdles:
- System Overhead: Storing and processing massive sequences in real-time is computationally expensive and often exceeds latency requirements.
- Information Noise: Long-term sequences are inherently noisy, containing "duplicate behaviors" (repeated visits to the same item) and "useless behaviors" (accidental clicks or transient interests) that do not reflect current intent.
Existing solutions, such as memory-based (MIMN) or search-based (SIM) models, often struggle to balance fine-grained detail with computational efficiency. ADFM addresses these limitations by filtering noise through an adversarial learning framework.
Methodology
ADFM utilizes a three-stage pipeline designed to compress data and refine the signal-to-noise ratio within user histories.
1. Hierarchical Aggregation Unit (HAU)
Rather than treating every click as a unique event, the HAU groups duplicate behaviors—such as multiple visits to the same item ID. These are compressed into a single entry containing metadata, including the total interaction count and the most recent timestamp. This process reduces sequence length significantly without losing the "intensity" of the user's interest.
2. Behavior Selection Unit (BSU)
The BSU employs a self-attention mechanism to analyze the relationships between different behaviors in the compressed sequence. It assigns a "usefulness score" to each behavior relative to the target item and selects the top-$k$ most relevant actions for the final prediction.
3. Adversarial Filtering Mechanism
The core innovation of ADFM is the integration of an Adversarial Interest Extraction Unit (AIEU). During the training phase, the model engages in a minimax game:
- The BSU attempts to select behaviors that maximize CTR prediction accuracy.
- The AIEU attempts to identify "missed" interests within the discarded (non-top-$k$) behaviors.
This adversarial supervision forces the BSU to be highly selective, ensuring that the discarded data truly contains no useful signal for the prediction task. The AIEU is used only during offline training, keeping the online inference system lean.
Experimental Evaluation
Datasets
The authors evaluated ADFM on three diverse datasets:
- Amazon (Books): 51 million records.
- Taobao: 89 million records.
- Industrial Dataset: A massive real-world dataset from Alibaba’s online advertising system, comprising 4.3 billion records from 11.5 million users over a 180-day window.
Results and Impact
ADFM consistently outperformed state-of-the-art models like SIM and MIMN. On the industrial dataset, it achieved an AUC gain of 0.0047 over the strongest competitor—a significant margin in the context of high-scale CTR prediction.
In a 12-day live A/B test at Alibaba, ADFM delivered:
- 4.7% increase in CTR
- 3.1% gain in RPM (Revenue Per Mille)
System Efficiency
The model achieved a total sequence length reduction of 87% (60% from HAU and 27% from BSU). Unlike search-based models, ADFM maintains constant latency even as raw user history grows, as it always filters down to a fixed $k$ behaviors for the final prediction layer.
Conclusion and Future Work
ADFM demonstrates that addressing the dual nature of noise—redundancy and irrelevance—is more effective than standard rule-based filtering. By using adversarial supervision, the model ensures that the information discarded is truly irrelevant to the user's current intent.
Future research may address current limitations, such as the reliance on a fixed hyperparameter $k$, which assumes uniform interest density across all users. Additionally, exploring the use of adversarial signals during real-time inference and adapting the filtering mechanism for "cold start" users with sparse histories remain promising avenues for development.
Summary updated