Field-Aware Neural Factorization Machine for Click-Through Rate Prediction

Li Zhang, Weichen Shen, Jianhang Huang, Shijian Li, Gang Pan · DOI

Abstract

Predicting Click-Through Rate (CTR) is a fundamental challenge in online advertising and recommendation systems. Traditional models often rely on manual feature engineering or lossy pooling operations that compress feature interactions prematurely. This paper introduces the Field-aware Neural Factorization Machine (FNFM), a hybrid architecture that combines field-aware embeddings with a novel Bi-Interaction Concatation Layer. By concatenating rather than pooling feature interactions, FNFM preserves high-fidelity signals for subsequent deep neural layers. Experimental results on the Avazu dataset demonstrate that FNFM outperforms existing state-of-the-art models, highlighting the importance of information preservation and stabilization via Batch Normalization in deep CTR models.

Introduction

In the domain of digital advertising, accurately predicting whether a user will click on a specific item—the Click-Through Rate (CTR)—is a high-stakes problem. The primary difficulty lies in capturing complex, non-linear interactions between diverse features such as user demographics, item categories, and temporal contexts. While linear models like Logistic Regression are interpretable, they require extensive manual feature engineering. Conversely, modern deep learning architectures like DeepFM and Neural Factorization Machines (NFM) automate this process but often introduce a "bottleneck" through pooling layers that aggregate feature interactions into a single vector, potentially losing granular relational data.

Methodology: The FNFM Architecture

The Field-aware Neural Factorization Machine (FNFM) is designed to mitigate information loss by retaining the distinct signals of feature interactions. The architecture consists of four key components:

  1. Field-aware Embedding Layer: Categorical features are transformed into dense vectors. Following the logic of Field-aware Factorization Machines (FFM), each feature is associated with multiple embedding vectors, one for each field it interacts with.
  2. Bi-Interaction Concatation Layer: Unlike standard NFM which uses a pooling layer to sum interactions, FNFM computes the element-wise product of feature pairs and concatenates them. This approach ensures that the specific nuances of each interaction are available to the higher layers of the network.
  3. Normalization Layer: To handle the high dimensionality and potential instability of the concatenated vector, the authors integrate Batch Normalization (BN). BN stabilizes the distribution of inputs to the deep layers, preventing gradient issues.
  4. Multi-Layer Perceptron (MLP): The stabilized interaction vector is processed through a deep neural network to extract high-order patterns.
The FNFM architecture featuring the Bi-Interaction Concatation Layer.

Experimental Evaluation

The FNFM model was benchmarked using the Kaggle Avazu dataset, comprising over 40 million samples. For the study, a 10% sample (approximately 4 million records) was utilized, with a temporal split for training and testing.

Performance Comparison

FNFM was compared against a suite of baseline models, including Logistic Regression (LR), Factorization Machines (FM), Field-aware Factorization Machines (FFM), DeepFM, and NFM. FNFM achieved the lowest LogLoss (0.3973) and the highest AUC (0.7470) on the test set, outperforming the next best model (DCN).

Ablation Study: Concatation vs. Pooling

A critical finding of the research is the superiority of the concatenation strategy over traditional pooling. As shown in the ablation study, the "Concatation" mode consistently achieves lower training and validation errors compared to the "Pooling" mode used in previous architectures. This confirms that preserving interaction signals provides a measurable edge in model accuracy.

Comparison of logloss between Bi-Interaction Concatation and Pooling modes during training.

Discussion and Conclusion

The success of FNFM underscores a shift from "compression" to "preservation" in feature interaction modeling. By providing the deep layers with raw, concatenated relational data, the model can learn more sophisticated high-order combinations. However, this comes at the cost of increased computational complexity ($O(n^2k)$) and a larger parameter space due to the field-aware embeddings.

Future research directions include optimizing the computational efficiency of field-aware interactions for real-time deployment and incorporating attention mechanisms to capture the temporal dynamics of user behavior.

Summary updated

BibTeX
@inproceedings{zhang2019field,
  author = {Li Zhang and Weichen Shen and Jianhang Huang and Shijian Li and Gang Pan},
  title = {{Field-Aware Neural Factorization Machine for Click-Through Rate Prediction}},
  booktitle = {IEEE Access},
  year = {2019},
  doi = {10.1109/access.2019.2921026},
}
Figure