Skip to main content
QUICK REVIEW

[Paper Review] Higher-Order Factorization Machines

Mathieu Blondel, Akinori Fujino|arXiv (Cornell University)|Jul 25, 2016
Face and Expression RecognitionComputer Science19 references51 citations
TL;DR

This paper presents the first efficient training algorithms for higher-order factorization machines (HOFMs) using a link to the ANOVA kernel, enabling linear-time dynamic programming for prediction and gradient computation. It introduces shared-parameter variants (HOFM-shared-augmented and HOFM-shared-simplex) that reduce model size and inference time while maintaining high accuracy, achieving state-of-the-art AUC scores on four link prediction tasks.

ABSTRACT

Factorization machines (FMs) are a supervised learning approach that can use second-order feature combinations even when the data is very high-dimensional. Unfortunately, despite increasing interest in FMs, there exists to date no efficient training algorithm for higher-order FMs (HOFMs). In this paper, we present the first generic yet efficient algorithms for training arbitrary-order HOFMs. We also present new variants of HOFMs with shared parameters, which greatly reduce model size and prediction times while maintaining similar accuracy. We demonstrate the proposed approaches on four different link prediction tasks.

Motivation & Objective

  • Address the lack of efficient training algorithms for higher-order factorization machines (HOFMs), which have remained impractical due to high computational cost.
  • Enable training of arbitrary-order HOFMs by leveraging a connection to the ANOVA kernel, allowing efficient computation of predictions and gradients.
  • Reduce model complexity and inference time through new HOFM variants with shared parameters, without sacrificing predictive performance.
  • Demonstrate the effectiveness of the proposed methods on real-world link prediction tasks, showing improved generalization and robustness to increasing order.
  • Provide scalable optimization algorithms (stochastic gradient and coordinate descent) with linear-time complexity in feature count and model order.

Proposed method

  • Formulate HOFMs using the ANOVA kernel, enabling a dynamic programming approach to compute the polynomial expansion in linear time relative to the number of features.
  • Design a linear-time dynamic programming algorithm to evaluate the ANOVA kernel and its gradient, crucial for efficient optimization.
  • Develop stochastic gradient and coordinate descent algorithms for training HOFMs, with runtime complexity linear in the number of features and model order.
  • Introduce two new HOFM variants with shared parameters: HOFM-shared-augmented (using augmented feature space) and HOFM-shared-simplex (using simplex-based parameter sharing), reducing parameter count and inference time.
  • Use the same parameter matrix across all feature interaction degrees in shared variants, significantly reducing model size while preserving expressiveness.
  • Apply the algorithms to link prediction tasks using standard evaluation metrics (AUC), with hyperparameters selected via cross-validation and consistent initialization.

Experimental results

Research questions

  • RQ1Can we design an efficient training algorithm for arbitrary-order HOFMs that avoids the combinatorial explosion of feature interactions?
  • RQ2How can we reduce the number of parameters and prediction time in HOFMs while maintaining or improving model accuracy?
  • RQ3What is the impact of shared-parameter design on model performance and scalability across different link prediction tasks?
  • RQ4How do the proposed algorithms compare in convergence speed and stability to standard solvers like AdaGrad and L-BFGS?
  • RQ5Does increasing the order of feature interactions in HOFMs lead to consistent improvements in predictive performance?

Key findings

  • The proposed HOFM model achieved the highest AUC scores on three out of four link prediction datasets (NIPS, Enzyme, Movielens 100K), with 0.875 AUC on NIPS and 0.888 on Enzyme for order m=3.
  • The HOFM-shared-augmented variant achieved comparable performance to standard HOFM (e.g., 0.874 AUC on NIPS for m=4) while using significantly fewer parameters and faster inference.
  • The HOFM-shared-simplex variant underperformed compared to HOFM-shared-augmented, especially on larger datasets, indicating less effective parameter sharing.
  • The coordinate descent algorithm outperformed L-BFGS and AdaGrad for m ≤ 3, but L-BFGS became more effective for m ≥ 4 due to better convergence behavior.
  • AdaGrad showed high sensitivity to learning rate, diverging for η ≥ 0.01 and requiring η = 0.001 to converge, despite its lower per-epoch cost.
  • The HOFM model was robust to increasing order m, with AUC scores remaining stable or improving slightly from m=2 to m=5 on most datasets, indicating effective regularization per degree.

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.