Memory-Efficient Factorization Machines via Binarizing both Data and Model Coefficients

08/17/2021
by   Yu Geng, et al.
0

Factorization Machines (FM), a general predictor that can efficiently model feature interactions in linear time, was primarily proposed for collaborative recommendation and have been broadly used for regression, classification and ranking tasks. Subspace Encoding Factorization Machine (SEFM) has been proposed recently to overcome the expressiveness limitation of Factorization Machines (FM) by applying explicit nonlinear feature mapping for both individual features and feature interactions through one-hot encoding to each input feature. Despite the effectiveness of SEFM, it increases the memory cost of FM by b times, where b is the number of bins when applying one-hot encoding on each input feature. To reduce the memory cost of SEFM, we propose a new method called Binarized FM which constraints the model parameters to be binary values (i.e., 1 or -1). Then each parameter value can be efficiently stored in one bit. Our proposed method can significantly reduce the memory cost of SEFM model. In addition, we propose a new algorithm to effectively and efficiently learn proposed FM with binary constraints using Straight Through Estimator (STE) with Adaptive Gradient Descent (Adagrad). Finally, we evaluate the performance of our proposed method on eight different classification datasets. Our experimental results have demonstrated that our proposed method achieves comparable accuracy with SEFM but with much less memory cost.

READ FULL TEXT
research
07/29/2016

Polynomial Networks and Factorization Machines: New Insights and Efficient Training Algorithms

Polynomial networks and factorization machines are two recently-proposed...
research
09/01/2022

Black-box optimization for integer-variable problems using Ising machines and factorization machines

Black-box optimization has potential in numerous applications such as hy...
research
05/18/2019

RaFM: Rank-Aware Factorization Machines

Factorization machines (FM) are a popular model class to learn pairwise ...
research
05/23/2023

Basis Function Encoding of Numerical Features in Factorization Machines for Improved Accuracy

Factorization machine (FM) variants are widely used for large scale real...
research
03/24/2017

Binarsity: a penalization for one-hot encoded features

This paper deals with the problem of large-scale linear supervised learn...
research
09/22/2020

An Exponential Factorization Machine with Percentage Error Minimization to Retail Sales Forecasting

This paper proposes a new approach to sales forecasting for new products...
research
09/27/2017

Multi-way Interacting Regression via Factorization Machines

We propose a Bayesian regression method that accounts for multi-way inte...

Please sign up or login with your details

Forgot password? Click here to reset