当前位置:网站首页>Recommendation System - Sorting Layer - Model (1): Embedding + MLP (Multilayer Perceptron) Model [Deep Crossing Model: Classic Embedding + MLP Model Structure]
Recommendation System - Sorting Layer - Model (1): Embedding + MLP (Multilayer Perceptron) Model [Deep Crossing Model: Classic Embedding + MLP Model Structure]
2022-07-30 20:02:00 【u013250861】
First, the structure of Embedding+MLP model
MLP (Multilayer Perceptron) is the abbreviation of Multilayer Perceptron.A perceptron is another name for a neuron, so a multilayer perceptron is a multilayer neural network.
Second, get user characteristics, item characteristics
- Item features can be obtained from raw data;
- User features may require secondary analysis and processing to obtain;
Three, Deep Crossing model
The deep learning Deep crossing model proposed by Microsoft in 2016 is this structure-Deep Crossing can be divided into 5 layers from bottom to top, namely Feature layer, Embedding layer, Stacking layer, MLP layer and Scoring layer (as shown below).).Used for ad recommendations.
- The Feature layer is also called the feature input layer (the bottom layer), as the input of the entire model.Feature has two cases. The first is to connect the Embedding layer, and the second is to directly connect the Stacking layer. The main difference is: Feature #1 represents the feature vector generated by one-hot encoding of categorical features, while Feature #2Represents a numerical feature.Due to the sparsity, the one-hot feature cannot be directly input into the subsequent neural network for training, so it needs to be converted into a denser Embedding vector by connecting to the Embedding layer.
- The Embedding layer is set to convert the sparse One-hot vector into a dense Embedding vector. It should be noted that the Embedding layers are not all connected, but each feature corresponds to an Embedding layer. Different Embedding layersnot interfere with each other.
- Stacking layer Chinese name The stacking layer is also called the connection (Concatenate) layer. Its function is to stitch together different Embedding features and numerical features to form a new feature vector containing all the features.
- The MLP layer is the multi-layer neural network layer we mentioned at the beginning. The Deep Crossing in the figure uses the Multiple Residual Units layer, also called the multi-layer residual network.Deep Crossing selects residual neurons for specific problems. In fact, there are many kinds such as Relu, tanh, and sigmoid.The feature of the MLP layer is that it is fully connected, and there are connections between neurons in different layers.
- Scoring layer is also called output layer.The ultimate goal of deep learning to predict is the probability of a classification.If the click-through rate estimation is a binary classification problem, then we can use logistic regression as the output layer neuron, and if it is a multi-classification problem like image classification, we often use a multi-classification model such as softmax in the output layer.
Summary: For category features, first use the Embedding layer to densify the features, then use the Stacking layer to connect other features, input the multi-layer structure of the MLP, and finally use the Scoring layer to predict the results.
References:
How recommender systems use TensorFlow to implement classic deep learning models (Embedding+MLP)
[Wang Zhe-Recommendation System] Model Chapter-(task4)Embedding+MLP Model
边栏推荐
- 数据库索引:索引并不是万能药
- MySQL six-pulse sword, SQL customs clearance summary
- Maxwell 一款简单易上手的实时抓取Mysql数据的软件
- MySQL分组后取最大一条数据【最优解】
- [c语言]二维数组动态分配内存
- LeetCode 0952. Calculate Maximum Component Size by Common Factor: Mapping / Union Search
- Linux下安装Mysql5.7,超详细完整教程,以及云mysql连接
- 湖仓一体电商项目(四):项目数据种类与采集
- HarmonyOS笔记-----------(三)
- MindSpore:【MindSpore1.1】Mindspore安装后验证出现cudaSetDevice failed错误
猜你喜欢
随机推荐
MySQL数据库之JDBC编程
牛客网——华为题库(100~108)
ImportError: attempted relative import with no known parent package
MySQL八股文背诵版
历史上的今天:Win10 七周年;微软和雅虎的搜索协议;微软发行 NT 4.0
MySQL database --- Addition, deletion, modification and query of MySQL tables (advanced)
Download Win11 how to change the default path?Download Win11 change the default path method
【无标题】多集嵌套集合使不再有MultipleBagFetchException
coming!Dongfang Selection brings goods to the live broadcast of Longjiang agricultural products
ERROR 1045 (28000) Access denied for user 'root'@'localhost'Solution
OSS简单上传图片
FFmpeg —— 裁剪视频(含音视频),不需编解码(附完整源码)
银行数据资产转换能力弱?思迈特软件助力解决银行困境
Frog jumping steps (recursive and non-recursive) ------- Xiaolele walks the steps
[c语言]二维数组动态分配内存
MySQL six-pulse sword, SQL customs clearance summary
【请教】SQL语句按列1去重来计算列2之和?
[Private Series] All kinds of strange problems encountered in daily PHP
基于人脸的常见表情识别——模型搭建、训练与测试
【私人系列】日常PHP遇到的各种稀奇古怪的问题