当前位置:网站首页>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
边栏推荐
- [PyTorchVideo Tutorial 01] Quickly implement video action recognition
- Trial writing C language sanbang
- Day31 LeetCode
- MySQL复制表结构、表数据的方法
- HCIP --- 企业网的三层架构
- 移动web开发01
- 推荐系统-排序层:排序层架构【用户、物品特征处理步骤】
- Mac安装PHP开发环境
- MindSpore:ImageFolderDataset数据读取问题
- MySQL performance optimization (hardware, system configuration, table structure, SQL statements)
猜你喜欢
【Node实现数据加密】
MySQL slow query optimization
推荐系统-排序层-模型(一):Embedding + MLP(多层感知机)模型【Deep Crossing模型:经典的Embedding+MLP模型结构】
Linux download and install mysql5.7 version tutorial the most complete and detailed explanation
HCIP --- 企业网的三层架构
centos7安装mysql8
PHP低代码开发平台 V5.0.7新版发布
技术很牛逼,还需要“向上管理”吗?
MySQL mass production of data
MySQL分组后取最大一条数据【最优解】
随机推荐
【PM专用】快速统计团队还有谁没有登记上报信息,快速筛选出属于自己项目组的成员,未完成XXX工作事项的名单
利用go制作微信机器人
Niuke.com - Huawei Question Bank (100~108)
来了!东方甄选为龙江农产品直播带货
.eslintrc.js for musicApp
Linux下安装Mysql5.7,超详细完整教程,以及云mysql连接
MySQL复制表结构、表数据的方法
从离线到实时对客,湖仓一体释放全量数据价值
MySQL数据库————视图和索引
银行数据资产转换能力弱?思迈特软件助力解决银行困境
MySQL mass production of data
推荐系统:AB测试(AB Test)
基于人脸的常见表情识别(1)——深度学习基础知识
移动web开发01
MySQL数据库主从配置
MySQL database master-slave configuration
使用MULTISET来比较数据集的实例介绍
M3SDA: Moment matching for multi-source domain adaptation
Face-based Common Expression Recognition (2) - Data Acquisition and Arrangement
FFmpeg —— 裁剪视频(含音视频),不需编解码(附完整源码)