TL;DR
This paper introduces AutoInt, a novel neural network architecture for click-through rate (CTR) prediction that automatically learns high-order feature interactions. By leveraging a multi-head self-attention mechanism, AutoInt explicitly models complex relationships between features, leading to improved prediction accuracy and better explainability compared to existing methods.
What Problem Does This Paper Address?
Predicting whether a user will click on an ad or an item (CTR prediction) is crucial for online advertising and recommender systems. The core challenge lies in the nature of the input data: features are often sparse and high-dimensional (e.g., user IDs, item categories). Effective prediction relies heavily on understanding "combinatorial features" or "cross features" – interactions between multiple raw features (e.g., a young male user interested in action movies). Manually crafting these high-order features is infeasible due to the sheer number of possibilities and the need for domain expertise. Existing methods struggle to efficiently and explicitly learn these complex interactions, often relying on implicit learning within deep networks or being limited to lower-order interactions.
Methods
AutoInt tackles this by proposing a novel architecture that learns feature interactions automatically.
- Embedding Layer: Both sparse categorical and numerical features are first mapped into a shared low-dimensional continuous space. This allows for unified processing and interaction.
- Multi-Head Self-Attention Interacting Layer: This is the core innovation. Each feature embedding can interact with all other feature embeddings. The "self-attention" mechanism, specifically a key-value attention, learns weights that quantify the relevance of other features to a given feature. This allows the model to explicitly identify and learn meaningful feature combinations. The "multi-head" aspect enables learning these interactions in different "subspaces," capturing diverse types of relationships.
- Residual Connections: To preserve information from lower-order interactions and facilitate the learning of arbitrarily high-order combinations, residual connections are incorporated into the interacting layers.
- Stacking Layers: By stacking multiple such interacting layers, AutoInt can model increasingly complex and higher-order feature interactions hierarchically.
- Output Layer: The outputs from the interacting layers (which include raw features and learned combinatorial features) are concatenated and fed into a final layer for CTR prediction.
Datasets
The authors evaluated AutoInt on four public real-world datasets:
- Criteo: A large-scale benchmark dataset for CTR prediction with 45 million user click records.
- Avazu: A dataset focusing on users' mobile ad clicking behavior.
- KDD12: A dataset originally from KDDCup 2012, adapted for binary classification (click/no-click).
- MovieLens-1M: A dataset for movie ratings, binarized to represent user preferences.
Key Insights and Ideas
- Explicit vs. Implicit Interaction Learning: The paper highlights that explicitly modeling feature interactions, as AutoInt does with self-attention, can outperform methods that learn them implicitly within deep neural networks.
- Hierarchical Feature Interaction Learning: AutoInt's stacked interacting layers naturally learn feature interactions in a hierarchical manner, starting from low-order and building up to high-order combinations. This is analogous to how deep learning models learn hierarchical representations in other domains.
- Explainability through Attention: The attention weights learned by the model provide insights into which feature combinations are considered important for prediction. Visualizing these weights can reveal meaningful rules, such as "young men prefer action movies."
- Efficiency of Self-Attention: Despite its complexity, the multi-head self-attention mechanism, when implemented efficiently, allows AutoInt to be competitive in terms of both prediction performance and computational efficiency, even for large-scale datasets.
Key Results
- Performance: AutoInt consistently outperformed state-of-the-art baseline models (including FM, AFM, DeepCrossing, NFM, CrossNet, CIN, and HOFM) on three out of four datasets in terms of AUC and Logloss. On the Avazu dataset, it achieved lower Logloss than CIN, which had a slightly higher AUC.
- Efficiency: AutoInt demonstrated comparable efficiency to other deep learning models like DeepCrossing and NFM, and significantly outperformed CIN in terms of model size (fewer parameters).
- Ablation Studies:
- Removing residual connections led to a performance decrease, emphasizing their importance for modeling high-order interactions.
- Using more interacting layers generally improved performance up to three layers, after which it stabilized, suggesting that extremely high-order features might not always be beneficial.
- Explainability: Heatmaps of attention weights demonstrated AutoInt's ability to identify meaningful feature combinations, providing interpretable insights into user preferences.
Limitations and Future Work
- Limitations: The paper notes that while AutoInt is efficient, integrating it with implicit feature interactions (e.g., by adding a feed-forward network) can further boost performance, suggesting AutoInt alone might not capture all types of interactions.
- Future Work: The authors suggest extending AutoInt to incorporate contextual information for improved online recommender systems and exploring its application to other general machine learning tasks like regression, classification, and ranking.
Summary updated