Frontiers in Systems Neuroscience (Mar 2024)

Exploring Flip Flop memories and beyond: training Recurrent Neural Networks with key insights

  • Cecilia Jarne,
  • Cecilia Jarne,
  • Cecilia Jarne

DOI
https://doi.org/10.3389/fnsys.2024.1269190
Journal volume & issue
Vol. 18

Abstract

Read online

Training neural networks to perform different tasks is relevant across various disciplines. In particular, Recurrent Neural Networks (RNNs) are of great interest in Computational Neuroscience. Open-source frameworks dedicated to Machine Learning, such as Tensorflow and Keras have produced significant changes in the development of technologies that we currently use. This work contributes by comprehensively investigating and describing the application of RNNs for temporal processing through a study of a 3-bit Flip Flop memory implementation. We delve into the entire modeling process, encompassing equations, task parametrization, and software development. The obtained networks are meticulously analyzed to elucidate dynamics, aided by an array of visualization and analysis tools. Moreover, the provided code is versatile enough to facilitate the modeling of diverse tasks and systems. Furthermore, we present how memory states can be efficiently stored in the vertices of a cube in the dimensionally reduced space, supplementing previous results with a distinct approach.

Keywords