CCIIPLab / GCE-GNN

The source code for "Global Context Enhanced Graph Neural Network for Session-based Recommendation".
124 stars 30 forks source link

Where to concatenate content features of node? Should it be before attention network? #26

Open kftam1994 opened 5 months ago

kftam1994 commented 5 months ago

If there are content features of node, such as descriptions and categorical information of the product, where should this frozen embedding (e.g. if sentence embedding with size, number of node*number of embedding dimension) be concatenated in the model?

My understanding is to concatenate to the node embedding before attention network, similar to "Reversed Position Embedding", so it becomes node's representation from graph + Reversed Position Embedding + frozen content features embedding. Is this understanding correct?

Thank you