Graph Neural Network for interacting systems
Given a time series data of nodes, the NRI model predicts the future node states and underlying relashionship between the nodes as edges.
This is a reproduction work of the neural relational inference (NRI) in Chainer. The original implementation by the authors is found here: ethanfetaya/NRI.
Please refer for details to the paper:
Neural relational inference for interacting systems.
Thomas Kipf*, Ethan Fetaya*, Kuan-Chieh Wang, Max Welling, Richard Zemel.
https://arxiv.org/abs/1802.04687 (*: equal contribution)
cd data
python generate_dataset.py
python train.py --gpu 0
python utils/visualize_results.py \
--args-file results/2019-01-22_10-20-25_0/args.json \
--encoder-snapshot results/2019-01-22_10-20-25_0/encoder_epoch-500.npz \
--decoder-snapshot results/2019-01-22_10-20-25_0/decoder_epoch-500.npz \
--gpu 0
Model | Springs - 5 nodes (test) |
---|---|
chainer-nri (MLPEncoder, MLPDecoder) | 99.8 |
chainer-nri (CNNEncoder, MLPDecoder) | 99.4 |
Original (from paper) | 99.9 |
Model | Springs - 5 nodes (test) |
---|---|
chainer-nri (MLPEncoder, MLPDecoder) | 3.75e-05 |
chainer-nri (CNNEncoder, MLPDecoder) | 3.83e-05 |
Original (from paper) | 3.12e-08 |