GraphCL icon indicating copy to clipboard operation
GraphCL copied to clipboard

Question about data augmentation

Open Struggle-Forever opened this issue 3 years ago • 1 comments

Question about data augmentation: When subgraph augmentation is performed, essentially only the enge_index is modified. This means that only the subgraph is aggregated for information propagation. What puzzles me is that when computing the graph level features, the pooling function involves the features of all nodes of the graph (selected subgraph nodes and unselected nodes), does this make sense? Isn't the pooling at this point only considering subgraphs?

Struggle-Forever avatar Aug 31 '22 13:08 Struggle-Forever

Hi @Struggle-Forever,

Please refer to an instantiation of the subgraph augmentation https://github.com/Shen-Lab/GraphCL/issues/24#issuecomment-839406281. We would drop the non-selected nodes via, e.g. data.x = data.x[idx_nondrop] where the pooling function is operated on.

yyou1996 avatar Sep 03 '22 00:09 yyou1996