All models

recbole.xDeepFM

A recommender that learns feature interactions with a Compressed Interaction Network and a deep network.

Tabular and recommender · 89 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (21 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Family
xDeepFM
Parameters
148.5K
Operations
89
Framework
PyTorch
Recurrent
No
Published
KDD 2018
Cited by
98 (as of 22 October 2026)
Authors
Jianxun Lian, Xiaohuan Zhou, Fuzheng Zhang and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m8678
Graph hash
7644bd81e091df42d3c51090f9d60317551c66f40e7863971e5781e5978e8c96
Skeleton hash
17d9ef53e452a22a7cde701f33ad872a3907e5bd56d590801b8238830c8eeb48
Architecture hash
bc2464536fa61aaaa4529d65c61e2c238f102fd838c4668822c70b25689ff59a
Diagram SHA-256
1d88caa1faafded63e22f0705c0062dbb4e5ca54700af9f5eae608675d53ca65
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

xDeepFM, short for eXtreme Deep Factorization Machine, is a recommendation model that learns interactions between input features without manual feature engineering. The paper's starting point is that plain deep networks generate feature interactions implicitly and at the bit-wise level.

Its new component is the Compressed Interaction Network (CIN), which generates feature interactions explicitly and at the vector-wise level, with each embedding vector treated as a unit. In the CIN, interactions are measured explicitly and their degree increases with the layer depth. Each feature map of every hidden layer is sum-pooled and connected to the output units. The paper presents the CIN as a replacement for the cross network in the Deep & Cross Network (DCN). Combining a CIN with a classical deep network in one model, xDeepFM learns certain bounded-degree interactions explicitly and arbitrary low- and high-order interactions implicitly. In the RecBole implementation, the predicted score is the sum of a first-order linear term, the CIN output and the deep network output.

The paper reports experiments on three real-world datasets: Criteo, Dianping and Bing News. It also shows that when the depth and feature maps of the CIN are both set to 1, xDeepFM is a generalization of DeepFM.

Key idea. The paper proposes the Compressed Interaction Network, which generates explicit vector-wise feature interactions, and combines it with a classical DNN to form xDeepFM.

  • xDeepFM
  • eXtreme Deep Factorization Machine
  • Compressed Interaction Network
  • CIN
  • feature interactions
  • click-through rate prediction
  • CTR prediction
  • recommender system
  • RecBole xDeepFM

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{lian2018xdeepfmcombiningexplicitimplicit,
      title={xDeepFM: Combining Explicit and Implicit Feature Interactions for Recommender Systems}, 
      author={Jianxun Lian and Xiaohuan Zhou and Fuzheng Zhang and Zhongxia Chen and Xing Xie and Guangzhong Sun},
      year={2018},
      eprint={1803.05170},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      doi={https://doi.org/10.1145/3219819.3220023},
      url={https://arxiv.org/abs/1803.05170}, 
}