当前位置:网站首页>【GCN-RS】MCL: Mixed-Centric Loss for Collaborative Filtering (WWW‘22)
【GCN-RS】MCL: Mixed-Centric Loss for Collaborative Filtering (WWW‘22)
2022-07-25 12:00:00 【chad_ lee】
MCL: Mixed-Centric Loss for Collaborative Filtering (WWW’22)
Pointwise and pairwise The information of loss function mining is too little , Just take samples , Then update the weights
In order to mine more signals from the available preference information , Consider difficult samples and global information .
Collect difficult samples first
E E E It's European distance .
Hard to correct sample Is the distance ratio of the correct sample The distance minus threshold of the negative sample with the smallest distance And a large sample .
E u j > min k ∈ N u E u k − ϵ E_{u j}>\min _{k \in N_{u}} E_{u k}-\epsilon Euj>k∈NuminEuk−ϵ
Hard negative sample It refers to the distance ratio of negative samples The distance from the largest positive sample plus the threshold Even smaller samples .
E u k < max j ∈ P u E u j + ϵ E_{u k}<\max _{j \in P_{u}} E_{u j}+\epsilon Euk<j∈PumaxEuj+ϵ
Mixing Center loss (CML)
The positive and negative sample sets collected are : P u s , N u s \mathrm{P}_{\mathrm{u}}^{\mathrm{s}}, \mathrm{N}_{\mathrm{u}}^{\mathrm{s}} Pus,Nus. In the process of training , Given a batch B( contain m Users ), Define the loss function :
L M C L = 1 α log [ 1 + 1 m ∑ u ∈ B ∑ j ∈ P u s e α ( E u j + λ p ) ] + 1 β log [ 1 + 1 m ∑ u ∈ B ∑ k ∈ N u s e − β ( E u k + λ n ) ] \begin{aligned} L_{M C L} &=\frac{1}{\alpha} \log \left[1+\frac{1}{m} \sum_{u \in B} \sum_{j \in P_{u}^{s}} e^{\alpha\left(E_{u j}+\lambda_{p}\right)}\right] \\ &+\frac{1}{\beta} \log \left[1+\frac{1}{m} \sum_{u \in B} \sum_{k \in N_{u}^{s}} e^{-\beta\left(E_{u k}+\lambda_{n}\right)}\right] \end{aligned} LMCL=α1log⎣⎡1+m1u∈B∑j∈Pus∑eα(Euj+λp)⎦⎤+β1log⎣⎡1+m1u∈B∑k∈Nus∑e−β(Euk+λn)⎦⎤
Explain why you designed this loss, This loss For a pair of positive samples :
∂ L ∂ E u j = w u j + = 1 m ⋅ e α E u j e − α λ p + 1 m ∑ u ′ ∈ B ∑ i ∈ P u ′ s e α E u ′ i = 1 m ⋅ 1 w 1 + ( u , j ) + w 2 + ( u , j ) + w 3 + ( u , j ) \begin{aligned} \frac{\partial L}{\partial E_{u j}} =w_{u j}^{+} &=\frac{1}{m} \cdot \frac{e^{\alpha E_{u j}}}{e^{-\alpha \lambda_{p}+\frac{1}{m}} \sum_{u^{\prime} \in B} \sum_{i \in P_{u^{\prime}}^{s}} e^{\alpha E_{u^{\prime} i}}} \\ &=\frac{1}{m} \cdot \frac{1}{w_{1}^{+}(u, j)+w_{2}^{+}(u, j)+w_{3}^{+}(u, j)} \end{aligned} ∂Euj∂L=wuj+=m1⋅e−αλp+m1∑u′∈B∑i∈Pu′seαEu′ieαEuj=m1⋅w1+(u,j)+w2+(u,j)+w3+(u,j)1

- user - Item Center ( w 1 + w_1^+ w1+): Only with users - The distance of the object , The farther w 1 w_1 w1 The smaller it is ,loss The bigger it is .
- Center of the same type ( w 2 + w_2^+ w2+): Calculate the current positive sample items j j j Relationship with other difficult samples of users . If the sample article j j j The distance from the user is greater than that of other difficult samples , be w 1 w_1 w1 The smaller it is ,loss The bigger it is . This is similar to the object embedding Space plus a constraint , We hope that the distance between the same type of items and users is similar ( stay embedding Space , Items interacted with the same user , Around the user .)
- Same batch Center ( w 3 + w_3^+ w3+): And the same batch Compare with other users in , Provides additional consistency across users , It is hoped that each user is the same distance from its positive sample .

边栏推荐
- Various controls ==pyqt5
- return 和 finally的执行顺序 ?各位大佬请看过来,
- php 一台服务器传图片到另一台上 curl post file_get_contents保存图片
- 软件缺陷的管理
- 【GCN多模态RS】《Pre-training Representations of Multi-modal Multi-query E-commerce Search》 KDD 2022
- There is no sound output problem in the headphone jack on the front panel of MSI motherboard [solved]
- Video Caption(跨模态视频摘要/字幕生成)
- Teach you how to configure S2E to UDP working mode through MCU
- Signal and slot mechanism ==pyqt5
- JS operator
猜你喜欢
![[MySQL learning 08]](/img/9e/6e5f0c4c956ca8dc31d82560262013.png)
[MySQL learning 08]

PHP curl post length required error setting header header

【对比学习】Understanding the Behaviour of Contrastive Loss (CVPR‘21)
![[electronic device notes 5] diode parameters and selection](/img/4d/05c60641dbdbfbfa6c3cc19a24fa03.png)
[electronic device notes 5] diode parameters and selection

【GCN-RS】Region or Global? A Principle for Negative Sampling in Graph-based Recommendation (TKDE‘22)

Transformer变体(Routing Transformer,Linformer,Big Bird)

【RS采样】A Gain-Tuning Dynamic Negative Sampler for Recommendation (WWW 2022)

JaveScript循环

OSPF综合实验

GPT plus money (OpenAI CLIP,DALL-E)
随机推荐
JaveScript循环
Attendance system based on w5500
Teach you how to configure S2E as the working mode of TCP client through MCU
Video Caption(跨模态视频摘要/字幕生成)
There is no sound output problem in the headphone jack on the front panel of MSI motherboard [solved]
MySQL historical data supplement new data
brpc源码解析(三)—— 请求其他服务器以及往socket写数据的机制
一文入门Redis
Chapter 4 linear equations
[high concurrency] Why is the simpledateformat class thread safe? (six solutions are attached, which are recommended for collection)
Arrays in JS
教你如何通过MCU将S2E配置为UDP的工作模式
图神经网络用于推荐系统问题(IMP-GCN,LR-GCN)
A beautiful gift for girls from programmers, H5 cube, beautiful, exquisite, HD
Classification parameter stack of JS common built-in object data types
Menu bar + status bar + toolbar ==pyqt5
PHP curl post length required error setting header header
I advise those students who have just joined the work: if you want to enter the big factory, you must master these concurrent programming knowledge! Complete learning route!! (recommended Collection)
【GCN-RS】Region or Global? A Principle for Negative Sampling in Graph-based Recommendation (TKDE‘22)
奉劝那些刚参加工作的学弟学妹们:要想进大厂,这些并发编程知识是你必须要掌握的!完整学习路线!!(建议收藏)