Neural Factorization Machines for Sparse Predictive Analytics
目录
- 概
- 主要内容
- 代码
He X. and Chua T. Neural factorization machines for sparse predictive analytics. In International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR), 2017.
概
引入 B-Interaction Layer 引入 二阶的特征交叉, 并通过 MLP 提取 high-order 信息. 和 DeepFM 的区别就是并联和串联的区别?
主要内容
- 稀疏特征 \(\bm{x}\);
- 通过 embedding layer 获得:
- 通过 Bi-Interaction Layer 获得交叉特征:
其中 \(\odot\) 是 element-wise 乘法;
4. 通过 MLP 获得 high-order 信息:
- NFM:
- 如果是预测得分, 可以通过
来训练, 如果是分类, 则可以用 log loss ...
代码
[official]
[PyTorch]
[TensorFlow]