recbole.FNN
FNN predicts ad clicks from multi-field categorical features using field embeddings and an MLP.
Tabular and recommender · 54 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.
At a glance
- Parameters
- 212.6K
- Operations
- 54
- Framework
- PyTorch
- Recurrent
- No
- Published
- ECIR 2016
- Cited by
- 109 (as of 22 October 2026)
- Authors
- Weinan Zhang, Tianming Du, Jun Wang
- Source
- GitHub: RUCAIBox/RecBole
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
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.
Details
- Stable ID
- m8614
- Graph hash
- 31c8f48194693663d1caaed6b8e40c9c018dfdafee598982caa78b259e7e1c13
- Skeleton hash
- f98b3fc51f69deb4a7de6370fa95374706afd77ede8f4f2e71e4817970f533b7
- Architecture hash
- fc83a48a182bc948980dceedd3d0fa473de5b395ce29c955664b16ca4b0fde1b
- Diagram SHA-256
- 9bb9c006e22c5dc29f9c2af621cff8b3281dc1c9fa001d508a4b26425b671da7
- 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
FNN is a neural network that predicts users' ad clicks from categorical features. Such input is split into many fields, for example the user's city, device type and ad category, and every feature is discrete. The paper starts from the observation that the main prediction models were either linear or needed manually built high-order combination features.
The input is one-hot encoded field by field. At the bottom, a factorization machine acts as an embedding layer that reduces the sparse features to dense continuous features. On top of that embedding layer the paper builds a multi-layer neural net. The authors say the idea of a factorization machine in the bottom layer came from convolutional networks, which enforce local connectivity between neurons of adjacent layers.
In the paper, the factorization machine and the upper layers are pre-trained and the network is then fine-tuned with back propagation. The authors' code repository later notes that on very large data the factorization machine initialization is no longer necessary to train a good FNN. The experiments use the iPinYou dataset, a public display ad dataset with user click feedback. The paper reports better AUC for FNN and its companion model SNN than for LR and FM on all tested datasets.
Key idea. The paper introduced FNN, which uses a factorization machine as a supervised embedding layer to reduce sparse multi-field categorical features to dense continuous features for a deep network.
- FNN
- factorisation machine supported neural network
- factorization machine supported neural network
- CTR prediction
- click-through rate
- user response prediction
- multi-field categorical data
- ad click prediction
- deep-ctr
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{zhang2016deeplearningmultifieldcategorical,
title={Deep Learning over Multi-field Categorical Data: A Case Study on User Response Prediction},
author={Weinan Zhang and Tianming Du and Jun Wang},
year={2016},
eprint={1601.02376},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1601.02376},
}