当前位置:网站首页>【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 .

边栏推荐
- session和cookie有什么区别??小白来告诉你
- 【高并发】高并发场景下一种比读写锁更快的锁,看完我彻底折服了!!(建议收藏)
- Innovation and breakthrough! AsiaInfo technology helped a province of China Mobile complete the independent and controllable transformation of its core accounting database
- OneNET平台控制W5500开发板LED灯
- W5500 upload temperature and humidity to onenet platform
- Intelligent information retrieval(智能信息检索综述)
- Qin long, a technical expert of Alibaba cloud: a prerequisite for reliability assurance - how to carry out chaos engineering on the cloud
- Differences in usage between tostring() and new string()
- [USB device design] - composite device, dual hid high-speed (64BYTE and 1024byte)
- Power BI----这几个技能让报表更具“逼格“
猜你喜欢

PHP curl post length required error setting header header

【多模态】《TransRec: Learning Transferable Recommendation from Mixture-of-Modality Feedback》 Arxiv‘22

Intelligent information retrieval(智能信息检索综述)

Chapter 4 linear equations

Multi-Label Image Classification(多标签图像分类)

JS中的函数

Meta-learning(元学习与少样本学习)

JVM performance tuning methods

Start with the development of wechat official account

PHP curl post x-www-form-urlencoded
随机推荐
[high concurrency] I summarized the best learning route of concurrent programming with 10 diagrams!! (recommended Collection)
WIZnet嵌入式以太网技术培训公开课(免费!!!)
程序员送给女孩子的精美礼物,H5立方体,唯美,精致,高清
Plot ==pyqt5
JS operator
W5500通过上位机控制实现调节LED灯带的亮度
php curl post Length Required 错误设置header头
Oil monkey script link
Various controls ==pyqt5
What is the difference between session and cookie?? Xiaobai came to tell you
How to solve the problem that "w5500 chip cannot connect to the server immediately after power failure and restart in tcp_client mode"
Introduction to redis
微星主板前面板耳机插孔无声音输出问题【已解决】
【多模态】《TransRec: Learning Transferable Recommendation from Mixture-of-Modality Feedback》 Arxiv‘22
JaveScript循环
Management of software defects
JS scope and pre parsing
Javescript loop
创新突破!亚信科技助力中国移动某省完成核心账务数据库自主可控改造
【高并发】高并发场景下一种比读写锁更快的锁,看完我彻底折服了!!(建议收藏)