The final representation is the form of combined layer embeddings.eu​=∑k=0K​αk​eu(k)​;ei​=∑k=0K​αk​ei(k)​
The model prediction is defined as the inner product of user and item final representations: y^​ui​=euT​ei​ . It implies the similarity between the user and item.
Matrix Form:
A=[0RRT0​],E(k+1)=(D−1/2AD−1/2)E(k)
R is a M×N user-item interaction matrix. Each entries 1 if u is connected to i
Dis a (M+N)×(M+N) diagonal matrix, in which each entry Dii​ denotes the number of nonzero entries in the ith​row vector of A
E is a (M+N)×Tmatrix where T is the embedding size.
We easily make this as a code using torch_geomtric.utils (reference)