I have attempted to program my LSTM (long short term memory) neural network. I would like to verify that the basic functionality is working. I have implemented a Backpropagation through time BPTT algorithm to train a single cell network.
Should a single cell LSTM network be able to learn a simple sequence, or are more than one cell necessary? The network does not seem to be able to learn a simple sequence such as 1 0 0 0 1 0 0 0 1 0 0 0 1.
I am sending the sequence 1's and 0's one by one, in order, into the network, and feeding it forward. I record each output for the sequence.
After running the whole sequence through the LSTM cell, I feed the mean error signals back into the cell, saving the weight changes internal to the cell, in a separate collection, and after running all the errors one by one through and calculating the new weights after each error, I average the new weights together to get a new weight, for each weight in the cell.
Am I doing something wrong? I would very much appreciate any advice.
Thank you so much!