
DeepCTR-Torch PNN
Tabular and recommender113 ops177.3K params
A click prediction network with a product layer between field embeddings and fully connected layers.
Tabular and recommender · 60 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.
PNN (Product-based Neural Network) predicts how a user will respond, for example whether they will click, from data made of many categorical fields. Such data is usually one-hot encoded into a high-dimensional sparse binary representation, and the paper notes that deep neural networks cannot be applied to it directly because the feature space is so large.
PNN has three stages: an embedding layer that learns a distributed representation of the categorical data, a product layer that captures interactions between categories of different fields, and fully connected layers that explore high-order feature interactions. The paper presents two types of PNN, one with an inner product and one with an outer product operation in the product layer, named IPNN and OPNN. In the paper the output is a real number read as the predicted click-through rate (CTR).
The closest earlier model is FNN: the paper notes that PNN differs from it by having a product layer. The experiments use two ad click datasets, Criteo and iPinYou, and the paper reports that PNNs consistently outperformed the models they were compared with on various metrics. Every PNN in those experiments has 1 embedding layer, 1 product layer and 3 hidden layers.
Key idea. PNN inserts a product layer between field embeddings and fully connected layers so that a deep network models interactions between categorical fields directly.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{qu2016productbasedneuralnetworksuser,
title={Product-based Neural Networks for User Response Prediction},
author={Yanru Qu and Han Cai and Kan Ren and Weinan Zhang and Yong Yu and Ying Wen and Jun Wang},
year={2016},
eprint={1611.00144},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1611.00144},
}