AIM: Automatic Interaction Machine for Click-Through Rate Prediction

Chenxu Zhu, Bo Chen, Weinan Zhang, Jincai Lai, Ruiming Tang, Xiuqiang He, Zhenguo Li, Yong Yu

TL;DR

This paper introduces AIM, an "Automatic Interaction Machine" that tackles key limitations in Click-Through Rate (CTR) prediction models. AIM automatically discovers the most relevant feature interactions, selects appropriate functions to model them, and optimizes embedding sizes, leading to improved accuracy and efficiency.

What Problem Does This Paper Address?

Click-Through Rate (CTR) prediction is crucial for recommender systems, aiming to estimate the probability of a user clicking on an item. While deep learning models have advanced CTR prediction, existing methods face three main challenges:

  1. Feature Interaction Selection: They either manually design or exhaustively enumerate feature interactions. This can lead to overfitting due to noisy, irrelevant interactions or miss important, non-intuitive ones.
  2. Uniform Interaction Functions: All feature interactions are typically modeled using the same function (e.g., inner product). However, different interaction patterns might benefit from distinct modeling functions.
  3. Uniform Embedding Sizes: Features are often assigned the same embedding dimensionality, which can be inefficient. High-impact features might require larger embeddings, while less informative features could use smaller ones, leading to wasted parameters.

Methods

AIM addresses these problems through three core, automated components:

  • Feature Interaction Search (FIS): This component automatically identifies essential feature interactions, including higher-order ones, and prunes useless ones. It uses a "gate" mechanism, relaxed to be continuous and learnable via gradient descent, to determine the importance of each interaction.
  • Interaction Function Search (IFS): Instead of using a single interaction function for all interactions, IFS selects the most appropriate function for each identified interaction. To handle potential conflicts between different functions, it introduces "function-wise embeddings," where each feature has multiple embeddings, one for each potential interaction function.
  • Embedding Dimension Search (EDS): To mitigate the increased model size from function-wise embeddings, EDS automatically determines optimal embedding sizes for each feature. It achieves this by pruning redundant dimensions within feature embeddings, effectively adapting their size based on their predictive power.

These three components are integrated into a unified framework that can be applied to existing factorization machine-based models.

Datasets

The paper evaluates AIM on three large-scale datasets:

  • Avazu: A public CTR prediction dataset from Kaggle.
  • Criteo: Another public CTR prediction dataset.
  • Huawei: A private dataset collected from an app recommendation scenario.

Key Insights and Ideas

  • Automated Feature Engineering: The core idea is to automate the discovery of crucial components (interactions, functions, dimensions) that were previously manual or exhaustive, significantly reducing human effort and potential errors.
  • Granular Modeling: Recognizing that not all feature interactions are equal, AIM allows for specialized modeling of each interaction using different functions and embedding sizes, leading to more nuanced and accurate predictions.
  • Efficiency Through Pruning: By automatically identifying and discarding irrelevant interactions, functions, and embedding dimensions, AIM not only improves accuracy but also optimizes model size and inference speed.
  • Transferability: The learned interaction-IF pairs from AIM can be effectively transferred to other models, boosting their performance, suggesting the generalizability of the learned representations.

Key Results

  • Offline Performance: AIM significantly improves the performance of various factorization machine-based models, achieving higher AUC and lower log loss across all three datasets compared to baselines. For instance, it improved IPNN by 0.66% in AUC on Avazu and 0.21% on Criteo.
  • Interaction Pruning: AIM can remove about 80% of 2nd-order feature interactions without sacrificing performance. For higher-order interactions, it selects a very small fraction (e.g., ~2% of 3rd-order, ~0.3% of 4th-order) to achieve performance gains.
  • Online A/B Test: In a real-world deployment on a mainstream app market, AIM improved the DeepFM model's CTR by 4.4% over a three-week A/B test, demonstrating significant business impact.
  • Efficiency: Despite its complexity, AIM's inference efficiency is comparable to or better than DeepFM, making it suitable for production environments.

Limitations and Future Work

  • Training Complexity: The paper acknowledges that AIM's training process, especially the search stages, can be more computationally intensive than standard models. However, this is a one-time cost for discovering optimal components.
  • Transferability of EDS: While interaction-IF pairs are shown to be transferable, the paper doesn't explicitly detail the transferability of the learned embedding dimensions.
  • Future Work: The authors suggest exploring more complex interaction functions and deeper neural network architectures within the AIM framework. They also mention the potential for further optimization of the search process.

Summary updated

BibTeX
@article{zhu2023aim,
  author = {Chenxu Zhu and Bo Chen and Weinan Zhang and Jincai Lai and Ruiming Tang and Xiuqiang He and Zhenguo Li and Yong Yu},
  title = {{AIM: Automatic Interaction Machine for Click-Through Rate Prediction}},
  journal = {IEEE Trans. Knowl. Data Eng.},
  year = {2023},
  doi = {10.1109/tkde.2021.3134985},
}
Figure