Skip to main content


https://itakigawa.github.io/




...
J’aime la
musique I love music
CH3
N
N
H
N
H
H3C
N
0.739
H3C
H3C
NH
O
N
O
NO
CH3
O N
NH2
O
CH3
Br
CH3
N
H3C
H
NS
N
O
CH3
N
OH
CH3
CH3N
N
N
CH3H3C
H2N NH2
CH3
N
N
H
N
H
H3C
N
0.739
N O
C
C
C
C
H
H
H
H
H








Brc1cncc(Br)c1





 

O
N
N
NH
NHN
N
N
CH3
CH3


CC1CCNO1
N O
C
C
C
C
H
H
H
H
H
Sci Data 1, 140022 (2014). https://doi.org/10.1038/sdata.2014.22
N
O
C
C
C
C
H
H
H
H
H
Dipole moment
Isotropic polarizability
Highest occupied molecular orbital (HOMO) energy
Lowest unoccupied molecular orbital (LUMO) energy
Gap between HOMO and LUMO
Electronic spatial extent
Zero point vibrational energy
Internal energy at 0K
Internal energy at 298.15K
Enthalpy at 298.15K
Free energy at 298.15K
Heat capavity at 298.15K
Atomization energy at 0K
Atomization energy at 298.15K
Atomization enthalpy at 298.15K
Atomization free energy at 298.15K
Rotational constant A
Rotational constant B
Rotational constant C
N O
C
C
C
C
H
H
H
H
H


node[0] node[1]
Edge 0
Edge 4
0 1
(one-hot

encoding)
Single
Double
Triple
Aromatic
(one-hot

encoding)
Single
Double
Triple
Aromatic
H C N O F
(one-hot

encoding)
0
1
2
3
4
5
6
7
8
9
10
https://pytorch-geometric.readthedocs.io/en/latest/_modules/torch_geometric/datasets/qm9.html
N
O
C
C
C
C
H
H
H
H
H
N O
C
C
C
C
H
H
H
H
H






CH3
N
N
H
N
H
H3C
N
H3C
H3C
NH
O
N
O
NO
CH3
O N
NH2
O
CH3
Br
CH3
N
H3C
H
NS
N
O
CH3
N
OH
CH3
CH3N
N
N
CH3H3C
H2N NH2












5 0.20.3
0.41
-2
5 0.20.3
0.41
-2
1.4
5 0.20.3
0.41
-2
0.17
1.4
5 0.20.3
0.41
-2
0.17
0.05
1.4
5 0.20.3
0.41
-2
0.17
0.05 1.0
1.4
5 0.20.3
0.41
-2
0.17
0.05 1.0
0.95
1.4
5 0.20.3
0.41
-2
0.17
0.05 1.0
0.95
8.7
1.4
5 0.20.3
0.41
-2
0.17
0.05 1.0
0.95
8.7
1.4
5 0.20.3
0.41
-2
0.17
0.05 1.0
0.95
8.7
1.4
5 0.20.3
0.41
-2
0.17
0.05 1.0
0.95
8.7
1.4
1
5 0.20.3
0.41
-2
0.17
0.05 1.0
0.95
8.7
1.4
1
-0.99
5 0.20.3
0.41
-2
0.17
0.05 1.0
0.95
8.7
1.4
1
-0.99
0.3 0.17
5 0.20.3
0.41
-2
0.17
0.05 1.0
0.95
8.7
1.4
1
-0.99
0.3 0.17 5
5 0.20.3
0.41
-2
0.17
0.05 1.0
0.95
8.7
1.4
1
-0.99
0.3 0.17 5
-1 1
5 0.20.3
0.41
-2
0.17
0.05 1.0
0.95
8.7
1.4
1
-0.99
0.3 0.17 5
-1 1
5.9










https://pytorch.org/docs/stable/torch.html#math-operations
https://pytorch.org/tutorials/beginner/nlp/pytorch_tutorial.html
5 0.20.3
0.41
-2
0.17
0.05 1.0
0.95
8.7
1.4
5 0.20.3
0.41
-2
0.17
0.05 1.0
0.95
8.7
1.4
5.9
5.9
5.9
1 5
-1 0.17
-1 0.3 -0.99 1
29.5
-1.00
1.75
1
-0.99
0.3 0.17 5
-1 1
5.9
=
=
=
× ×
× ×
× × × ×
5 0.20.3
0.41
-2
0.17
0.05 1.0
0.95
8.7
1.4
1
-0.99
0.3 0.17 5
-1 1
5.9




N O
C
C
C
C
H
H
H
H
H




x =

x1
x2
x1
x2
1
1
w0
ji
w00
i
wkj
1
y
import torch.nn as nn
nn.Sequential(nn.Linear(2, 3), nn.ReLU(), nn.Linear(3, 2), nn.ReLu(), nn.Linear(2, 1))
1

 

N O
C
C
C
C
H
H
H
H
H
N O
C
C
C
C
H
H
H
H
H
MLP
(sum, mean or max)
MLP
1
2
3
4
5
6
0 1 0 0 0 0
1 0 1 1 1 0
0 1 0 0 0 0
0 1 0 0 0 0
0 1 0 0 0 1
0 0 0 0 1 0
1 2 3 4 5 6
1 2 3 4 5 61 2 3 4 5 6
0 1 0 0 0 0
1 0 1 1 1 0
0 1 0 0 0 0
0 1 0 0 0 0
0 1 0 0 0 1
0 0 0 0 1 0
0 1 0 0 0 0
1 0 1 1 1 0
0 1 0 0 0 0
0 1 0 0 0 0
0 1 0 0 0 1
0 0 0 0 1 0
0 1 0 0 0 0
1 0 1 1 1 0
0 1 0 0 0 0
0 1 0 0 0 0
0 1 0 0 0 1
0 0 0 0 1 0
=
=
=
1 2 3 4 5 6 1 2 3 4 5 6
1 2 3 4 5 6 1 2 3 4 5 6
1 2 3 4 5 6 1 2 3 4 5 6
1 3 4 5
2
+ + +
https://pytorch-geometric.readthedocs.io/en/latest/modules/nn.html
č ć
https://pytorch-geometric.readthedocs.io/en/latest/modules/nn.html
N O
C
C
C
C
H
H
H
H
H




(sum, mean or max)
N O
C
C
C
C
H
H
H
H
H








https://ogb.stanford.edu


https://ai.tencent.com/ailab/ml/KDD-Deep-Graph-Learning.html
• KDD2020 Tutorial

Deep Graph Learning: Foundations, Advances and Applications
http://cse.msu.edu/~mayao4/dlg_book/index.html
• Book "Deep Learning on Graphs"
• CS224W: Machine Learning with Graphs (Stanford)
http://web.stanford.edu/class/cs224w/
https://youtu.be/-UjytpbqX4A
https://colab.research.google.com/drive/1DIQm9rOx2mT1bZETEeVUThxcrP1RKqAn
https://www.kaggle.com/c/champs-scalar-coupling/discussion/93972
https://github.com/diningphil/gnn-comparison


Generalization and Representational Limits of Graph Neural Networks
Garg, Jegelka, Jaakkola (ICML2020)
PairNorm: Tackling Oversmoothing in GNNs
Zhao, Akoglu (ICLR2020)
Towards Deeper Graph Neural Networks with Differentiable Group Normalization
Zhou, Huang, Li, Zha, Chen, Hu (NeurIPS2020)
Strategies for Pre-training Graph Neural Networks
Hu, Liu, Gomes, Zitnik, Liang, Pande, Leskovec (ICLR2020)
GROVER: Self-Supervised Message Passing Transformer on Large-scale
Molecular Graphs Rong, Bian, Xu, Xie, Wei, Huang, Huang (NeurIPS2020)
DeepGCNs: Can GCNs Go as Deep as CNNs?
Li, Müller, Thabet, Ghanem (ICCV2019)
Path Integral Based Convolution and Pooling for Graph Neural Networks
Ma, Xuan, Guang Wang, Li, Liò (NeurIPS2020)
Hierarchical Generation of Molecular Graphs using Structural Motifs
Jin, Barzilay, Jaakkola (ICML2020)
GraphAF: a Flow-based Autoregressive Model for Molecular Graph Generation
Shi, Xu, Zhu, Zhang, Zhang, Tang (ICLR2020)
RetroXpert: Decompose Retrosynthesis Prediction like A Chemist
Yan, Ding, Zhao, Zheng, Yang, Yu, Huang (NeurIPS2020)
A Graph to Graphs Framework for Retrosynthesis Prediction
Shi, Xu, Guo, Zhang, Tang (ICML2020)
Rethinking Pooling in Graph Neural Networks
Mesquita, Souza, Kaski (NeurIPS2020)