All models

DeepCTR-xDeepFM

CTR model that pairs a Compressed Interaction Network with a DNN for explicit and implicit feature interactions.

Tabular and recommender · 219 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 (14 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
707.3K
Operations
219
Framework
PyTorch
Recurrent
No
Published
KDD 2018
Cited by
98 (as of 19 October 2026)
Authors
Jianxun Lian, Xiaohuan Zhou, Fuzheng Zhang and others
License
Apache-2.0
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
m661
Graph hash
ebe3d38d792fe33cc3fdf71c2b350c2d7e7b60701d5220616ba4b75944198003
Skeleton hash
4715274b5b817ebaf2fb1e9ae3620f0b50edd07d6c7608bbfcc5283f020ea32d
Architecture hash
7a06557d26c798e8e4e4ed5c0cf2600553300effe39ee1688a5e617a193ba9d1
Diagram SHA-256
b26a57a98efb2fd229b2e95e8a53547ec0fd6983ceb3b81c8d75feab694913fa
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 recommender model that learns how sparse features interact and requires no manual feature engineering. The problem it addresses is that plain deep networks learn feature interactions only implicitly and at the bit-wise level, mixing elements inside one field's embedding.

Its new component is the Compressed Interaction Network, or CIN, which generates feature interactions explicitly and at the vector-wise level, treating each field's embedding vector as a unit. Each CIN layer is built from the interactions between the previous layer and the original field embeddings, so the degree of interaction grows with depth. The paper notes that CIN shares some functionality with both convolutional and recurrent networks. Following the Wide&Deep and DeepFM pattern, xDeepFM joins this explicit module with an implicit DNN and a traditional factorization machine part into one model. The paper shows that with CIN depth and feature maps both set to 1, xDeepFM generalizes DeepFM.

In the paper's experiments on the Criteo, Dianping and Bing News datasets, the best depth setting for xDeepFM was 3, which the authors read as interactions of at most 4-order. They found the identity function most suitable as the activation for CIN neurons. The authors also note that the major downside of CIN lies in its time complexity. This version comes from DeepCTR-Torch, a PyTorch package of deep-learning based CTR models.

Key idea. xDeepFM adds a Compressed Interaction Network that learns high-order feature interactions explicitly and vector-wise, combined with a DNN for implicit interactions.

  • xdeepfm
  • extreme deep factorization machine
  • cin
  • compressed interaction network
  • ctr prediction
  • click-through rate
  • feature interactions
  • recommender systems
  • deepctr-torch
  • factorization machine

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}, 
}