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, I encountered confusion when testing datasets with discrete node features.
For example, the node features in the Cora dataset are discrete and are normalized with a L1 norm (i.e., data.x.sum(dim=1) is 1 and all non-zero features have the same value for every node). Generally, features of injected nodes should be processed using the same data processing method. I noticed that there is a commented out code in line81 if backdoor.py, which makes the feature discrete. However, the feature is not normalized before being injected into the graph.
I use F.normalise(trojan_feat, p=1, dim=1) to normalize the features in line153, line214, and line241, but find that the attack is not successful.
May I ask if I missed any other factors? Thank you for your help.
The text was updated successfully, but these errors were encountered:
Hi, I encountered confusion when testing datasets with discrete node features.
For example, the node features in the Cora dataset are discrete and are normalized with a L1 norm (i.e., data.x.sum(dim=1) is 1 and all non-zero features have the same value for every node). Generally, features of injected nodes should be processed using the same data processing method. I noticed that there is a commented out code in line81 if backdoor.py, which makes the feature discrete. However, the feature is not normalized before being injected into the graph.
I use F.normalise(trojan_feat, p=1, dim=1) to normalize the features in line153, line214, and line241, but find that the attack is not successful.
May I ask if I missed any other factors? Thank you for your help.
The text was updated successfully, but these errors were encountered: