Code Monkey home page Code Monkey logo

Comments (4)

Cinderella1001 avatar Cinderella1001 commented on September 7, 2024

也就是我不太懂gama^(k+1)(a1)、gama^(k+1)(a2)【全局图上的attention】和alpha^(k+1)(ab)、beta^(k+1)(ai)【局部图上的attention】计算方式的不同,为什么gama^(k+1)(a1)、gama^(k+1)(a2)将两个embedding全连接之后输入MLP计算attention,而alpha^(k+1)(ab)、beta^(k+1)(ai)分别使用只用户embedding、物品embedding输入MLP计算attention。

from diffnet.

Cinderella1001 avatar Cinderella1001 commented on September 7, 2024

二者的区别是node attention 与 graph attention的区别吗?因为用户是处于社交网络和兴趣网络上的,所以需要一个graph attention ,而物品只处于兴趣网络上,因此只需要node attention。

我想问,可以去掉user的node attention,只使用graph attention吗?也就是去掉中间变量p和q的计算过程。您考虑使用node attention,是因为实验效果更好吗?

from diffnet.

akajinchen avatar akajinchen commented on September 7, 2024

二者的区别是node attention 与 graph attention的区别吗?因为用户是处于社交网络和兴趣网络上的,所以需要一个graph attention ,而物品只处于兴趣网络上,因此只需要node attention。

我想问,可以去掉user的node attention,只使用graph attention吗?也就是去掉中间变量p和q的计算过程。您考虑使用node attention,是因为实验效果更好吗?

你好,我也注意到文章中的注意力是通过用户与用户交互的物品连接通过mlp得到注意力得分,但是代码中是直接将用户嵌入和用户的邻居嵌入输入mlp得到分数并且做归一化,这两个好像并不一样。我也想知道如果按照文章的说法用代码实现改如何去做,如何通过mlp计算用户和连接物品的注意力得分然后再做图卷积呢?

from diffnet.

PeiJieSun avatar PeiJieSun commented on September 7, 2024

@lijunweiyhn 已经@作者了,我不太清楚具体的实现哈。

from diffnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.