The impact of memory on learning sequence-to-sequence tasks

Alireza Seif, Sarah A. M. Loos, Gennaro Tucci, Édgar Roldán, Sebastian Goldt
5/29/2022
cs.LGcond-mat.stat-mechstat.ML

Official code: alirezaseif/nonmarkovian_learning (0 stars, Python, MIT, last commit 2022-05-23).

Abstract

The recent success of neural networks in natural language processing has drawn renewed attention to learning sequence-to-sequence (seq2seq) tasks. While there exists a rich literature that studies classification and regression tasks using solvable models of neural networks, seq2seq tasks have not yet been studied from this perspective.

Show full abstract

Here, we propose a simple model for a seq2seq task that has the advantage of providing explicit control over the degree of memory, or non-Markovianity, in the sequences -- the stochastic switching-Ornstein-Uhlenbeck (SSOU) model. We introduce a measure of non-Markovianity to quantify the amount of memory in the sequences. For a minimal auto-regressive (AR) learning model trained on this task, we identify two learning regimes corresponding to distinct phases in the stationary state of the SSOU process. These phases emerge from the interplay between two different time scales that govern the sequence statistics. Moreover, we observe that while increasing the integration window of the AR model always improves performance, albeit with diminishing returns, increasing the non-Markovianity of the input sequences can improve or degrade its performance. Finally, we perform experiments with recurrent and convolutional neural networks that show that our observations carry over to more complicated neural network architectures.

View on arXivView PDF

Code Implementations(1)

MIT

Codes for the paper "The impact of memory on learning sequence-to-sequence tasks"

00PythonMay 23, 20224 years agoMIT

Similar Papers

Cite this paper

@article{seif2022impact,
  title  = {The impact of memory on learning sequence-to-sequence tasks},
  author = {Alireza Seif and Sarah A. M. Loos and Gennaro Tucci and Édgar Roldán and Sebastian Goldt},
  year   = {2022},
  eprint = {2205.14683},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.14683}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.14683.svg)](https://codeofpaper.com/paper/2205.14683)

Discussion