English

Reservoir Stack Machines

Neural and Evolutionary Computing 2021-07-27 v2

Abstract

Memory-augmented neural networks equip a recurrent neural network with an explicit memory to support tasks that require information storage without interference over long times. A key motivation for such research is to perform classic computation tasks, such as parsing. However, memory-augmented neural networks are notoriously hard to train, requiring many backpropagation epochs and a lot of data. In this paper, we introduce the reservoir stack machine, a model which can provably recognize all deterministic context-free languages and circumvents the training problem by training only the output layer of a recurrent net and employing auxiliary information during training about the desired interaction with a stack. In our experiments, we validate the reservoir stack machine against deep and shallow networks from the literature on three benchmark tasks for Neural Turing machines and six deterministic context-free languages. Our results show that the reservoir stack machine achieves zero error, even on test sequences longer than the training data, requiring only a few seconds of training time and 100 training sequences.

Keywords

Cite

@article{arxiv.2105.01616,
  title  = {Reservoir Stack Machines},
  author = {Benjamin Paaßen and Alexander Schulz and Barbara Hammer},
  journal= {arXiv preprint arXiv:2105.01616},
  year   = {2021}
}

Comments

in print at the Journal Neurocomputing

R2 v1 2026-06-24T01:46:32.300Z