You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, your GXN work is interesting and I'm trying to implement it using DGL. However, I find something strange in your code.
Specifically, in your paper, the criterion function for VIPool involves two function values: T_w(\mathbf{x}_v, \mathbf{y}_{\mathcal{N}_v}) and T_w(\mathbf{x}_v, \mathbf{y}_{\mathcal{N}_u}), where T_w(\mathbf{x}_v, \mathbf{y}_{\mathcal{N}_u}) = \mathcal{S}_w(\mathcal{E}_w(\mathbf{x}_v), \mathcal{P}_w(\mathbf{y}_{\mathcal{N}_u})). And as described in your paper, \mathcal{E} is MLP, \mathcal{P} is some Message-Passing layer.
However, in your code, it seems like you implement these in the form of T_w(\mathbf{y}_{\mathcal{N}_v}, \mathbf{x}_v) and T_w(\mathbf{y}_{\mathcal{N}_u}, \mathbf{x}_v). More specifically, in the class IndexSelect of your code:
Looks like only X is the output of GCN, while h_1 and h_2 (In my understanding, they represent for \mathcal{P}_w(\mathbf{y}_{\mathcal{N}_v}) and \mathcal{P}_w(\mathbf{y}_{\mathcal{N}_u}) respectively) are output of MLP. If we follow the setting in your paper, shouldn't h_1 and h_2 be the output of GCN?
The text was updated successfully, but these errors were encountered:
Hi, your GXN work is interesting and I'm trying to implement it using DGL. However, I find something strange in your code.
Specifically, in your paper, the criterion function for VIPool involves two function values:
T_w(\mathbf{x}_v, \mathbf{y}_{\mathcal{N}_v})
andT_w(\mathbf{x}_v, \mathbf{y}_{\mathcal{N}_u})
, whereT_w(\mathbf{x}_v, \mathbf{y}_{\mathcal{N}_u}) = \mathcal{S}_w(\mathcal{E}_w(\mathbf{x}_v), \mathcal{P}_w(\mathbf{y}_{\mathcal{N}_u}))
. And as described in your paper,\mathcal{E}
is MLP,\mathcal{P}
is some Message-Passing layer.However, in your code, it seems like you implement these in the form of
T_w(\mathbf{y}_{\mathcal{N}_v}, \mathbf{x}_v)
andT_w(\mathbf{y}_{\mathcal{N}_u}, \mathbf{x}_v)
. More specifically, in the classIndexSelect
of your code:Looks like only
X
is the output of GCN, whileh_1
andh_2
(In my understanding, they represent for\mathcal{P}_w(\mathbf{y}_{\mathcal{N}_v})
and\mathcal{P}_w(\mathbf{y}_{\mathcal{N}_u})
respectively) are output of MLP. If we follow the setting in your paper, shouldn'th_1
andh_2
be the output of GCN?The text was updated successfully, but these errors were encountered: