A new model and dataset for long-range memory
deepmind.com
deepmind.com
The post is worth reading in its entirety.
If I may summarize, the authors propose a transformer augmented with a short-term memory mechanism (analogous to TransformerXL) as well as a long-term memory mechanism (new) that learns to 'compress and memorize' embeddings from the short-term memory. The model is trained on book-length samples (!!!!), and seems to perform significantly better than prior models at generating language with long-range contexts. To my eyes, text generated by the trained model is virtually indistinguishable from human output, and qualitatively superior to GPT2 samples.
In the mean time, there's always Reformer, which has Trax and PyTorch implementations.
https://github.com/deepmind/sonnet/blob/cd5b5fa48e15e4d020f7...
Will look into releasing some pre-trained weights, but the model trained on PG-19 is not really intended to be a general purpose language generation model so I'd prefer if it not be picked up for downstream applications like gpt2 & bert. The text from these old books contains some historical bias etc.
Hopefully the model can be useful for people wanting to model long sequences generally, or build on other compressive memory ideas.
Perhaps a network like this would be interested in reading the same books more than once. Perhaps it could find favorite books it wanted to read many times.
https://www.ncbi.nlm.nih.gov/pubmed/28641107
I was suffering from sleep apnea at this time last year and was on call 1 out of every 3 weeks so was not defragging my brain's hard drive. I got decision fatigue and my productivity fell to 10%, which led to me being unable to work for several months.