Hello,
I have a heterogeneous graph containing 5 different types of edges and 1 node type. Initially, there are 5 different types of edges in the graph, most commonly appearing as symmetric shapes. Additionally, there are no nodes with a degree of 0 in any of these 5 types of edges.
What is the best solution to address this problem? Should I treat the edges as a homogeneous graph, assigning a unique ID to each type, and then perform message passing using node and edge IDs? Alternatively, should I utilize the heterogeneous graph approach, even though it requires duplicating node features for each type of edge? On the other hand, there’s the possibility of training different GNN layers separately for each type of edge and then combining them in the final layer using an MLP. Or, should I use the same GNN layer for all different types of edges?
I hope you can provide guidance and share your thoughts on the optimal representation of the graph and for training the DGL model.