
DeepCTR-Torch DeepFM
Tabular and recommender213 ops74.6K params
A factorization machine and a deep network sharing one feature embedding, predicting click-through rate.
Tabular and recommender · 75 operations Checked
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.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
DeepFM is a click-through rate (CTR) model for recommender systems that combines the power of factorization machines for recommendation and deep learning for feature learning in one network, here in RecBole's implementation.
DeepFM has two components, an FM component and a deep component, that share the same input. A scalar per feature weighs its order-1 importance and a latent vector feeds the FM component for order-2 interactions and the deep component for high-order ones. The final prediction is a sigmoid of the sum of the two component outputs, and all parameters are trained jointly. The deep component is a feed-forward network preceded by an embedding layer that compresses the sparse, high-dimensional, field-grouped input into a low-dimensional dense vector. Unlike Google's Wide & Deep model, which needs two inputs and feature engineering for its wide part, DeepFM's wide and deep parts share one input and one embedding.
The paper evaluates with AUC and Logloss on the Criteo dataset and a company dataset of 7 consecutive days of game center click records. Against models that learn low- and high-order interactions with separate embeddings, it reports gains of more than 0.48% and 0.33% AUC on the company and Criteo datasets.
Key idea. DeepFM feeds one shared feature embedding to both a factorization machine and a deep network, learning low- and high-order interactions end to end without feature engineering.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{guo2017deepfmfactorizationmachinebasedneural,
title={DeepFM: A Factorization-Machine based Neural Network for CTR Prediction},
author={Huifeng Guo and Ruiming Tang and Yunming Ye and Zhenguo Li and Xiuqiang He},
year={2017},
eprint={1703.04247},
archivePrefix={arXiv},
primaryClass={cs.IR},
url={https://arxiv.org/abs/1703.04247},
}