Skip to main content
QUICK REVIEW

[Paper Review] Product-based Neural Networks for User Response Prediction

Yanru Qu, Han Cai|arXiv (Cornell University)|Nov 1, 2016
Text and Document Classification TechnologiesComputer Science9 references52 citations
TL;DR

This paper proposes Product-based Neural Networks (PNNs) for user response prediction in online advertising, using an embedding layer to represent categorical features and a product layer—based on inner or outer products—to explicitly model inter-field feature interactions. PNNs outperform state-of-the-art models on two large-scale CTR prediction datasets, demonstrating superior performance across multiple metrics including AUC and RIG.

ABSTRACT

Predicting user responses, such as clicks and conversions, is of great importance and has found its usage in many Web applications including recommender systems, web search and online advertising. The data in those applications is mostly categorical and contains multiple fields; a typical representation is to transform it into a high-dimensional sparse binary feature representation via one-hot encoding. Facing with the extreme sparsity, traditional models may limit their capacity of mining shallow patterns from the data, i.e. low-order feature combinations. Deep models like deep neural networks, on the other hand, cannot be directly applied for the high-dimensional input because of the huge feature space. In this paper, we propose a Product-based Neural Networks (PNN) with an embedding layer to learn a distributed representation of the categorical data, a product layer to capture interactive patterns between inter-field categories, and further fully connected layers to explore high-order feature interactions. Our experimental results on two large-scale real-world ad click datasets demonstrate that PNNs consistently outperform the state-of-the-art models on various metrics.

Motivation & Objective

  • Address the challenge of modeling high-order feature interactions in high-dimensional, sparse, multi-field categorical data common in online advertising and recommendation systems.
  • Overcome limitations of traditional models like logistic regression and factorization machines, which rely heavily on manual feature engineering and struggle with complex interactions.
  • Improve upon deep neural networks that fail to effectively model inter-field interactions due to reliance on additive operations in fully connected layers.
  • Develop a scalable and efficient deep learning architecture that explicitly captures local dependencies between categorical features across different fields.
  • Demonstrate the effectiveness of product-based operations (inner and outer products) as a superior alternative to standard MLPs for modeling feature interactions in sparse, categorical data.

Proposed method

  • Apply an embedding layer to convert high-dimensional sparse binary features (from one-hot encoding) into dense, low-dimensional real-valued vectors, enabling efficient representation learning.
  • Introduce a product layer that computes either inner products (IPNN) or outer products (OPNN) between embedded vectors from different fields to explicitly model pairwise feature interactions.
  • Use the output of the product layer as input to subsequent fully connected (MLP) layers to learn high-order, non-linear feature interactions.
  • Design two variants: IPNN for capturing interaction strength via dot products, and OPNN for modeling interaction patterns through outer product matrices.
  • Train the model end-to-end using standard deep learning objectives such as binary cross-entropy for click-through rate (CTR) prediction.
  • Optimize hyperparameters including embedding dimension (set to 10), network depth (optimal at 3 layers), and activation functions (ReLU preferred for efficiency and gradient flow).
Figure 1: Product-based Neural Network Architecture.
Figure 1: Product-based Neural Network Architecture.

Experimental results

Research questions

  • RQ1Can explicit product-based operations (inner and outer products) better capture inter-field feature interactions than standard additive operations in deep neural networks for categorical data?
  • RQ2How do IPNN and OPNN compare in performance to existing models like FNN, FM, and CCPM on real-world CTR prediction tasks?
  • RQ3What is the optimal architecture configuration (e.g., embedding size, depth, activation function) for PNNs in terms of generalization and convergence?
  • RQ4Does the use of product layers lead to faster convergence and better generalization compared to traditional MLPs in high-dimensional sparse settings?
  • RQ5Can PNNs effectively model local dependencies between categorical features without relying on pre-trained factorization machines?

Key findings

  • PNNs consistently outperform state-of-the-art models—including FNN, FM, and CCPM—on both the iPinYou and Avazu datasets across multiple metrics, including AUC and RIG.
  • IPNN achieves the best AUC performance on both datasets, outperforming OPNN and PNN* (a hybrid model), indicating that inner product operations are more effective for modeling feature interactions.
  • The model with 3 hidden layers achieves the best generalization on the test set, suggesting that moderate depth is optimal for balancing expressiveness and overfitting.
  • ReLU activation function yields superior performance compared to sigmoid and tanh, due to sparsity, efficient gradient flow, and computational speed.
  • PNNs converge faster than logistic regression and factorization machines, and show better convergence than other neural network baselines during training.
  • The ablation study confirms that the product layer is critical: removing it or replacing it with additive operations leads to performance degradation, validating the importance of explicit interaction modeling.
Figure 2: AUC Comparison of Dropout (OPNN).
Figure 2: AUC Comparison of Dropout (OPNN).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.