Adaptive Factorization Network: Learning Adaptive-Order Feature Interactions

Weiyu Cheng, Yanyan Shen, Linpeng Huang

Introduction

Click-through rate (CTR) prediction is a fundamental task in recommender systems and online advertising. The core challenge lies in effectively modeling feature interactions. While traditional Factorization Machines (FMs) and their deep variants have made significant strides, they often rely on predefined, fixed-order interactions. The Adaptive Factorization Network (AFN) introduces a novel approach by learning the optimal order of feature interactions directly from data using a logarithmic transformation layer.

Problem Statement

In large-scale recommendation systems, "cross features"—interactions between raw features such as User Age and Item Category—are critical for predictive accuracy. However, traditional models like FMs typically restrict interactions to the second order due to the exponential computational complexity of enumerating higher-order combinations. Existing high-order models (e.g., HOFMs) require manual specification of the maximum interaction order, leading to a trade-off between model expressiveness and computational cost. Furthermore, predefined orders often introduce "noisy" interactions that can degrade performance.

Methodology

The AFN architecture breaks the "fixed-order" constraint by leveraging a logarithmic transformation. The key mathematical insight is that a product of features raised to certain powers can be represented as a weighted sum in logarithmic space: $\prod x_i^{w_i} = \exp(\sum w_i \ln x_i)$.

The architecture of the Adaptive Factorization Network (AFN).

The model consists of several key components:

  1. Embedding Layer: Categorical features are mapped to dense, positive embedding vectors. To ensure compatibility with the logarithmic operation, the authors use specific initialization and add a small $\epsilon$ to keep values positive.
  2. Logarithmic Transformation Layer: Embeddings are transformed into logarithmic space. The learnable weights ($w$) in this layer represent the "order" of each feature in the interaction.
  3. Exponential Transformation & Concatenation: The weighted sums are passed through an exponential function to return to the original feature space, effectively representing adaptive-order interactions.
  4. Hidden Layers: A standard Multi-Layer Perceptron (MLP) captures further non-linearities.

The authors also propose AFN+, an ensemble model that combines AFN with a standard Deep Neural Network (DNN) to capture both explicit and implicit feature interactions simultaneously.

Experimental Setup

The performance of AFN was evaluated on four benchmark datasets:

  • Criteo: 45M instances of display advertising data.
  • Avazu: 40M instances of mobile ad click data.
  • Movielens: Personalized movie tag recommendations.
  • Frappe: App usage logs in various contexts.

Results and Discussion

AFN and AFN+ consistently outperformed state-of-the-art baselines, including DeepFM, xDeepFM, and PNN. A key finding was that AFN discovered useful interactions spanning orders from 4 to 10 on the Criteo dataset, far exceeding the 2nd or 3rd-order limits of traditional models.

Sensitivity analysis of AFN performance across different hyperparameters.

Sensitivity analysis (Figure 6) demonstrates the model's robustness. AFN achieves competitive performance even with a small number of logarithmic neurons, indicating high efficiency in identifying discriminative feature combinations. The depth and width of the hidden layers also play a role in refining the learned interactions, with optimal performance typically found at moderate depths.

Conclusion

The Adaptive Factorization Network provides a flexible and efficient framework for learning arbitrary-order feature interactions. By moving beyond fixed-order constraints, AFN adaptively discovers complex signals in data while maintaining computational feasibility. While the requirement for positive embeddings presents a constraint, the model's ability to learn high-order interactions automatically represents a significant advancement in CTR prediction. Future work includes exploring more sophisticated logarithmic structures and applying the architecture to broader non-linear approximation tasks.

Summary updated

BibTeX
@inproceedings{cheng2020adaptive,
  author = {Weiyu Cheng and Yanyan Shen and Linpeng Huang},
  title = {{Adaptive Factorization Network: Learning Adaptive-Order Feature Interactions}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i04.5768},
}
Figure