NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

xDeepFM: Combining Explicit and Implicit Feature Interactions for Recommender Systems

Jianxun Lian, Xiaohuan Zhou, Fuzheng Zhang, Zhongxia Chen, Xing Xie, Guangzhong Sun · DOI

TL;DR

This paper introduces xDeepFM, a novel deep learning model for recommender systems that explicitly learns high-order feature interactions using a Compressed Interaction Network (CIN) while also implicitly capturing them with a traditional DNN. This hybrid approach significantly outperforms existing methods by effectively combining explicit and implicit interaction learning.

What Problem Does This Paper Address?

Recommender systems heavily rely on understanding how different features interact to make accurate predictions. Manually crafting these "cross features" is a costly and time-consuming process, especially with the massive and dynamic data found in real-world systems. While factorization machines can learn interactions automatically, they can be limited. Deep neural networks (DNNs) are powerful for learning complex patterns but tend to learn feature interactions implicitly and at a "bit-wise" level, which might not be optimal. Existing hybrid models also primarily learn interactions implicitly. This paper addresses the need for a model that can explicitly and effectively learn high-order feature interactions in a vector-wise manner, complementing the implicit learning capabilities of DNNs.

Methods

The core innovation is the Compressed Interaction Network (CIN). Unlike previous "Cross Networks" that produce outputs as scalar multiples of the initial input, CIN generates feature interactions explicitly at the vector-wise level. It achieves this by using outer products of feature embeddings and then applying filters (akin to CNNs) to create feature maps. This process allows the degree of feature interactions to increase with network depth. CIN is designed to be computationally efficient and avoid the exponential complexity of learning all possible high-order interactions.

The paper then combines CIN with a standard DNN and a linear component (similar to Factorization Machines) to create the eXtreme Deep Factorization Machine (xDeepFM). This architecture allows xDeepFM to learn:

  1. Explicit high-order feature interactions through CIN.
  2. Implicit high-order feature interactions through the DNN.
  3. Low-order feature interactions through the linear component and implicitly via the DNN.

This unified model aims to leverage the strengths of both explicit and implicit interaction learning.

Datasets

The models were evaluated on three real-world datasets:

  • Criteo Dataset: A well-known industry benchmark for ad click-through rate prediction.
  • Dianping Dataset: Collected from Dianping.com, China's largest consumer review site, used for restaurant recommendation.
  • Bing News Dataset: Log data from Microsoft's Bing news service, used for news recommendation.

The paper does not introduce new benchmarks but uses these established datasets to demonstrate the effectiveness of their proposed model.

Key Insights and Ideas

  • Explicit vector-wise interactions are crucial: The paper argues that learning feature interactions at the vector level, rather than just bit-wise, is important for recommender systems. CIN provides a mechanism for this.
  • CIN's analogy to CNNs/RNNs: The structure of CIN, particularly its use of filters and feature maps, draws parallels to Convolutional Neural Networks (CNNs) and its sequential nature to Recurrent Neural Networks (RNNs), suggesting a powerful way to model structured interactions.
  • Hybrid models are superior: Combining explicit (CIN) and implicit (DNN) interaction learning in xDeepFM consistently outperforms models that rely solely on one approach or simpler factorization methods.
  • Depth matters, but not infinitely: While deeper networks can capture more complex interactions, the experiments show that performance plateaus or degrades beyond a certain depth (around 3-5 layers for CIN in this study), likely due to overfitting.

Key Results

  • CIN as a strong individual component: In experiments evaluating individual components, CIN consistently outperformed FM, DNN, and CrossNet on AUC and Logloss across all three datasets, demonstrating its effectiveness in learning high-order feature interactions explicitly.
  • xDeepFM achieves state-of-the-art performance: When integrated into the xDeepFM model, the combined approach achieved the best results on all three datasets, outperforming strong baselines like DeepFM, DCN, and Wide&Deep. For example, on the Dianping dataset, xDeepFM achieved an AUC of 0.8639 and a Logloss of 0.3156, surpassing other models.
  • Hyperparameter sensitivity: The study on hyperparameter tuning revealed that the optimal depth for CIN is around 3-5 layers, and that using an identity activation function for CIN neurons yields better results than common non-linear activations like ReLU, sigmoid, or tanh.

Limitations and Future Work

  • Computational Complexity: The paper acknowledges that the time complexity of CIN can be high, especially for deep networks. They suggest exploring L-order decomposition to reduce complexity and are interested in developing a distributed version of xDeepFM for efficient training on GPU clusters.
  • Multivalent Field Handling: Currently, xDeepFM uses a simple sum pooling for multivalent fields. Future work could explore more sophisticated mechanisms, like the DIN (Deep Interest Network) mechanism, to capture related activations based on candidate items.

Summary updated

BibTeX
@inproceedings{lian2018xdeepfm,
  author = {Jianxun Lian and Xiaohuan Zhou and Fuzheng Zhang and Zhongxia Chen and Xing Xie and Guangzhong Sun},
  title = {{xDeepFM: Combining Explicit and Implicit Feature Interactions for Recommender Systems}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2018},
  doi = {10.1145/3219819.3220023},
}
Figure