All models

recbole.PNN

A click prediction network with a product layer between field embeddings and fully connected layers.

Tabular and recommender · 60 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (21 KB)

Open in a new tab

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

Family
PNN
Parameters
140.1K
Operations
60
Framework
PyTorch
Recurrent
No
Published
ICDM 2016
Cited by
695 (as of 22 October 2026)
Authors
Yanru Qu, Han Cai, Kan Ren and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m8656
Graph hash
fe64b71d8309b6601bbaec1ef1bd6adb97ab565f28f0abef967375b6c21afbf3
Skeleton hash
96c1a1dcfbf35279aa0958b6fb027782b30a7f4f984a7a258e2555ceb78444d1
Architecture hash
8e119d7ca18b15879e3e5a5e8c0be9da19a30a29a0645d8f63648e9c06f0cfb1
Diagram SHA-256
c48f925e79af28593dca485b88d55269b8e0dfe6daf7e53ec45c0dc707968ced
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

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.

  • PNN
  • Product-based Neural Network
  • IPNN
  • OPNN
  • click-through rate prediction
  • CTR prediction
  • user response prediction
  • feature interaction
  • RecBole PNN
  • context-aware recommendation

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@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}, 
}