Pre-trained models

January 9, 2020 ยท View on GitHub

This file contains information on the 20 pre-trained models that we provided.

Table of Contents

  1. Architecture of the pre-trained models
  2. Sampling from the pre-trained models

Architecture of the pre-trained models

Model architecture

The provided models were trained with the following architecture:

  • Forward RNN, NADE and FB-RNN: Five layers (BatchNormalization, LSTM Layer 1, LSTM Layer 2, BatchNormalization, Linear).
  • BIMODAL: seven layers (BatchNormalization, LSTM Layer 1 - forward, LSTM Layer 1 - backward, LSTM Layer 2 - forward, LSTM Layer 2 โ€“ backward, BatchNormalization, Linear).

A dropout value of 0.3 was used for the output weights in the first LSTM Layer. Models were trained with the Adam optimization algorithm, using cross-entropy loss for performance optimization, computed based on five-fold cross-validation (random partitioning protocol). Models were trained for 10 epochs. Additional details are found in Tables 1-3.

Table 1. Details on the architecture of the Forward RNN and NADE.

TypeNo. UnitsNo. Parameters
BatchNormalization 155110
LSTM 1256 or 512320512
LSTM 2256 or 512526336
BatchNormalization 2256512
Linear Layer5514080

Table 2. Details on the architecture of the FB-RNN models.

TypeNo. UnitsNo. Parameters
BatchNormalization 1110220
LSTM 1256 or 512376832
LSTM 2256 or 512526336
BatchNormalization 2256512
Linear Layer5528160

Table 3. Details on the architecture of the BIMODAL models.

TypeNo. UnitsNo. Parameters
BatchNormalization 155110
LSTM 1 Forward128 or 25694720
LSTM 1Backward 128 or 25694720
LSTM 2128 or 256132096
LSTM 2 Backward128 or 256132096
BatchNormalization 2256512
Linear Layer5514080

Sampling from the pre-trained models

The ID contained in the field "model name" can be use to sample from the pre-trained models, as explained in the README.

*model name *methodstarting pointno. hiddenaugmentation
'BIMODAL_fixed_1024'BIMODALfixed1024none
'BIMODAL_fixed_512'BIMODALfixed512none
'BIMODAL_random_1024'BIMODALrandom1024none
'BIMODAL_random_1024_aug_5'BIMODALrandom10245-fold
'BIMODAL_random_512'BIMODALrandom512none
'BIMODAL_random_512_aug_5'BIMODALrandom5125-fold
'FBRNN_fixed_1024'FB-RNNfixed1024none
'FBRNN_fixed_512'FB-RNNfixed512none
'FBRNN_random_1024'FB-RNNrandom1024none
'FBRNN_random_1024_aug_5'FB-RNNrandom10245-fold
'FBRNN_random_512'FBRNNrandom512none
'FBRNN_random_512_aug_5'FB-RNNrandom5125-fold
'ForwardRNN_1024'Forward RNNfixed1024none
'ForwardRNN_512'Forward RNNfixed512none
'NADE_fixed_1024'NADEfixed1024none
'NADE_fixed_512'NADEfixed512none
'NADE_random_1024'NADErandom1024none
'NADE_random_1024_aug_5'NADErandom10245-fold
'NADE_random_512'NADErandom512none
'NADE_random_512_aug_5'NADErandom5125-fold