recbole.FwFM
A factorization machine for click-through rate prediction with one learned weight per pair of fields.
Tabular and recommender · 224 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
- 14K
- Operations
- 224
- Framework
- PyTorch
- Recurrent
- No
- Published
- WWW 2018
- Paper
- Field-weighted Factorization Machines for Click-Through Rate Prediction in Display Advertising
- Cited by
- 220 (as of 23 October 2026)
- Authors
- Junwei Pan, Jian Xu, Alfonso Lobos Ruiz and others
- Source
- recbole 1.2.1
- 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
- m8618
- Graph hash
- 3bbf05b6ebc665143f8844b3873fafa495ddf9a5861153e21a8797aac1030735
- Skeleton hash
- b204edf1d9c53b7f8ceadd3efd80a4a5dae58b7c5deb6ffcaf7ab9d382f0c8f4
- Architecture hash
- 8945596e6cebb85a6b8df0c46ddc4ae99d37a1ea3b55d0b2035e0462782d3ab8
- Diagram SHA-256
- 5796434016556fa02a3559bde93917abee54a4e1c2d9231edfd637eeac3c595e
- 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
FwFM, short for Field-weighted Factorization Machines, predicts click-through rate (CTR) in display advertising from multi-field categorical data, where every feature is categorical and belongs to exactly one field. The observation behind it is that features from one field often interact differently with features from different other fields.
The model extends the factorization machine with one additional learned weight per pair of fields, which scales the interaction between any two features from those fields. Field-aware Factorization Machines (FFMs) had already modeled this difference, but their parameter count is in the order of the number of features times the number of fields, which the paper calls unacceptable in production systems. FwFM instead needs only n(n − 1)/2 additional parameters for n fields.
The paper reports that FwFMs reach competitive prediction performance with as few as 4% of the parameters of FFMs. With the same number of parameters, it reports an AUC lift over FFMs of 0.92% on the Oath data set and 0.47% on the Criteo data set.
Key idea. FwFMs add a learned weight for every pair of fields to a factorization machine, capturing how field pairs interact differently with far fewer parameters than FFMs.
- fwfm
- fwfms
- field-weighted factorization machines
- field-weighted factorization machine
- ctr prediction
- click-through rate prediction
- display advertising
- field pair interactions
- recbole fwfm
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{pan2020fieldweightedfactorizationmachinesclickthrough,
title={Field-weighted Factorization Machines for Click-Through Rate Prediction in Display Advertising},
author={Junwei Pan and Jian Xu and Alfonso Lobos Ruiz and Wenliang Zhao and Shengjun Pan and Yu Sun and Quan Lu},
year={2020},
eprint={1806.03514},
archivePrefix={arXiv},
primaryClass={cs.LG},
doi={https://doi.org/10.1145/3178876.3186040},
url={https://arxiv.org/abs/1806.03514},
}