Source
Alon and Yahav (2020), LIT-839. Read as NOTE-381. The reason is THEORY-132.
The practice
Alon and Yahav (LIT-839) took GNNs that Brockschmidt had tuned over 500 configurations for QM9 and changed one thing: in the K-th layer, every node is a neighbour of every other. With the original code, configuration and five seeds per target, mean relative error fell by 39.5% for R-GIN, 44.6% for R-GAT and 47.4% for GGNN, and by 42% over six GNN types.
- Change the last layer only. The first K − 1 layers keep the molecular graph. With every layer fully adjacent, GCN’s error on QM9 rose by more than 1500%
- Prefer it to more width. Doubling GCN’s hidden size from 128 to 256 cut error by 5.5%, against 43.4% for the fully adjacent layer at the original size. Di Giovanni et al. (LIT-823) prove why: width multiplies every node pair’s sensitivity alike
- Prefer it to more depth when the graphs are already covered. QM9 models used 8 layers, and 90% of graphs have diameter 8 or less. Ten layers gave no gain
- Half the edges keep most of it. A random half of the fully adjacent edges cut error by 31.5%, and a quarter by 8.4%
Conditions
- Graph-level tasks with long-range dependencies. The large effect is on QM9, where targets depend on atoms on opposite sides of a molecule. GIN on ENZYMES gained 8.1 points, but the averaged gains on NCI1 (4.8% less error) and VarMisuse are mostly within one standard deviation
- Not for short-range node classification. In Topping et al.’s (LIT-803) GCN experiments the same layer helped several heterophilic graphs and cost 1.8 points on Citeseer
- Cost. The last layer is quadratic in the number of nodes. QM9 molecules have about 18
- Untuned on purpose. The source kept the base hyperparameters to rule out tuning as the cause. A retuned comparison, as SOTA-349 asks for graph transformers, has not been run here
- A neighbouring remedy. SOTA-457 adds a virtual node joined to every node, another global channel. The two have not been compared under one protocol