Hello everyone, I am trying to using rgcn form dgl to get an embedding of each node of a heterogeneous graph with features, and I want to construct a negative heterogeneous graph to compute the loss by using positive graph embedding subtract negative graph embedding. I am wondering how to construct a negative graph. Considering each edge in heterogeneous graph as a triple (src, relation, dst), here are three solutions I have thought.
Hello everyone, I am trying to using rgcn form dgl to get an embedding of each node of a heterogeneous graph with features, and I want to construct a negative heterogeneous graph to compute the loss by using positive graph embedding subtract negative graph embedding. I am wondering how to construct a negative graph. Considering each edge in heterogeneous graph as a triple (src, relation, dst), here are three solutions I have thought.