DeepLight
DeepLight is a pruned, sparse DeepFwFM network for fast click-through rate prediction in ad serving.
Tabular and recommender · 193 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
- 13.7M
- Operations
- 193
- Framework
- PyTorch
- Recurrent
- No
- Published
- WSDM 2021
- Paper
- DeepLight: Deep Lightweight Feature Interactions for Accelerating CTR Predictions in Ad Serving
- Cited by
- 78 (as of 24 October 2026)
- Authors
- Wei Deng, Junwei Pan, Tian Zhou and others
- 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
- m15960
- Graph hash
- 60018856e2c5fe6eb1956b90664a18836efa71374d412b6a56deb4070f543be6
- Skeleton hash
- 97724da6b09ba2bb9daecd70d3cf8a3d13b5a1b143c0e7c6b8be7a15f18669c4
- Architecture hash
- 61a41c20c9191c57e60415935045c4a20fb3d84b7b353f9f046266888777fc2c
- Diagram SHA-256
- ba7f4b25f5ebce22adb142c7039f18f38e0b11d25e85fb6ca62e408183b08c46
- 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
DeepLight is a click-through rate (CTR) prediction model for ad serving, obtained by pruning DeepFwFM, a network proposed in the same paper. The problem it targets is latency: the paper notes that embedding-based neural networks slow prediction down by hundreds of times compared to simple models such as logistic regression or a factorization machine.
The underlying network is the Deep Field-weighted Factorization Machine (DeepFwFM), which has two components. A deep component passes the feature embeddings through a multilayer perceptron to learn high-order feature interactions. A shallow FwFM component handles second-order interactions, with a matrix R that models the interaction strength of each pair of fields. The paper attributes its speed advantage over xDeepFM to not modeling interactions of third order or higher in the shallow component.
DeepLight then prunes three parts of this network: the weights of the DNN component, the field pair interaction matrix R, and elements of the embedding vectors. The paper reports that the combination accelerates model inference by 46X on the Criteo dataset and 27X on the Avazu dataset without any loss in prediction accuracy. In the Criteo experiments the embedding size is set to 10.
Key idea. DeepLight accelerates CTR prediction by structurally pruning DeepFwFM in three places: the DNN weights, the field pair interaction matrix and the embedding vectors.
- DeepLight
- DeepFwFM
- pruned DeepFwFM
- CTR prediction
- click-through rate prediction
- ad serving
- structural pruning
- field-weighted factorization machine
- deep factorization machine
- Criteo
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{deng2021deeplightdeeplightweightfeature,
title={DeepLight: Deep Lightweight Feature Interactions for Accelerating CTR Predictions in Ad Serving},
author={Wei Deng and Junwei Pan and Tian Zhou and Deguang Kong and Aaron Flores and Guang Lin},
year={2021},
eprint={2002.06987},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2002.06987},
}