Skip to main content
QUICK REVIEW

[Paper Review] Differentiable Neural Input Search for Recommender Systems

Weiyu Cheng, Yanyan Shen|arXiv (Cornell University)|Jun 8, 2020
Recommender Systems and TechniquesComputer Science40 references20 citations
TL;DR

This paper proposes Differentiable Neural Input Search (DNIS), a differentiable, gradient-based method that jointly optimizes feature embedding dimensions and model performance by introducing a soft selection layer to control dimension significance. DNIS enables flexible, continuous search over embedding dimensions, achieving state-of-the-art recommendation performance with fewer parameters and less training time than prior neural input search methods.

ABSTRACT

Latent factor models are the driving forces of the state-of-the-art recommender systems, with an important insight of vectorizing raw input features into dense embeddings. The dimensions of different feature embeddings are often set to a same value empirically, which limits the predictive performance of latent factor models. Existing works have proposed heuristic or reinforcement learning-based methods to search for mixed feature embedding dimensions. For efficiency concern, these methods typically choose embedding dimensions from a restricted set of candidate dimensions. However, this restriction will hurt the flexibility of dimension selection, leading to suboptimal performance of search results. In this paper, we propose Differentiable Neural Input Search (DNIS), a method that searches for mixed feature embedding dimensions in a more flexible space through continuous relaxation and differentiable optimization. The key idea is to introduce a soft selection layer that controls the significance of each embedding dimension, and optimize this layer according to model's validation performance. DNIS is model-agnostic and thus can be seamlessly incorporated with existing latent factor models for recommendation. We conduct experiments with various architectures of latent factor models on three public real-world datasets for rating prediction, Click-Through-Rate (CTR) prediction, and top-k item recommendation. The results demonstrate that our method achieves the best predictive performance compared with existing neural input search approaches with fewer embedding parameters and less time cost.

Motivation & Objective

  • To address the limitation of fixed, uniform embedding dimensions in latent factor models, which may underutilize high-frequency features or overfit low-frequency ones.
  • To overcome the inefficiency and suboptimality of discrete candidate-based search methods in neural input search (NIS), which restrict dimension selection to predefined sets.
  • To develop a model-agnostic, differentiable approach that enables continuous, gradient-based optimization of embedding dimensions based on validation performance.
  • To reduce model size and parameter count by pruning redundant embedding dimensions through a fine-grained pruning procedure after optimization.

Proposed method

  • Introduce a soft selection layer that performs element-wise multiplication between feature embeddings and a learnable scaling vector, allowing continuous control over the significance of each embedding dimension.
  • Optimize the soft selection layer via gradient descent using validation loss as the objective, enabling end-to-end differentiable training.
  • Propose a gradient normalization technique to stabilize training by reducing high variance in gradients during soft selection layer optimization.
  • After training, merge the soft selection layer with the embedding layer and apply fine-grained pruning to derive a mixed embedding dimension scheme per feature.
  • Use a base dimension space $ K $ and divide features into $ L $ blocks to enable fine-grained control over dimension allocation.
  • The method is model-agnostic and can be seamlessly integrated with any existing latent factor model for recommendation.

Experimental results

Research questions

  • RQ1Can a differentiable, continuous relaxation of embedding dimension search improve recommendation performance compared to discrete, heuristic, or reinforcement learning-based methods?
  • RQ2How does the learned embedding dimension distribution correlate with feature frequency and predictive utility?
  • RQ3Can the proposed gradient normalization technique stabilize training of the soft selection layer and improve convergence?
  • RQ4Does DNIS achieve better performance with fewer parameters and less time cost than existing neural input search methods?

Key findings

  • DNIS achieves state-of-the-art performance on rating prediction, CTR prediction, and top-k item recommendation tasks across three public datasets.
  • The method reduces model size by pruning redundant embedding parameters, achieving better performance with fewer parameters than baseline methods.
  • Features with higher frequency are assigned larger embedding dimensions, while low-frequency features are assigned smaller dimensions, as reflected in learned $ \bm{\alpha} $ parameters and post-pruning dimensions.
  • The soft selection layer parameters $ \bm{\alpha} $ converge to smaller values for low-frequency features, indicating reduced dimensionality assignment.
  • DNIS outperforms network pruning methods in both AUC and Logloss across all pruning rates, demonstrating superior feature dimension selection via gradient-based optimization.
  • Increasing $ K $ (base dimension) and $ L $ (number of feature blocks) improves performance, though gains diminish beyond certain values, suggesting diminishing returns at high settings.

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.